summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Asplund <peter.azp@gmail.com>2018-02-17 22:52:28 +0100
committerPeter Asplund <peter.azp@gmail.com>2018-02-17 22:52:28 +0100
commit8ec044d9e923dbc2e6b01b91e0fca486c91d693f (patch)
tree780e433978dd4cb17f5337afbda357d0f501a86c
parentNew python3 ebuild for rsstorrent (diff)
downloadAzP-8ec044d9e923dbc2e6b01b91e0fca486c91d693f.tar.gz
AzP-8ec044d9e923dbc2e6b01b91e0fca486c91d693f.tar.bz2
AzP-8ec044d9e923dbc2e6b01b91e0fca486c91d693f.zip
Remove Kinsky
-rw-r--r--media-sound/kinsky/Manifest5
-rw-r--r--media-sound/kinsky/kinsky-4.3.13.ebuild69
-rw-r--r--media-sound/kinsky/metadata.xml16
-rw-r--r--net-p2p/rsstorrent/rsstorrent-0.7.ebuild37
4 files changed, 37 insertions, 90 deletions
diff --git a/media-sound/kinsky/Manifest b/media-sound/kinsky/Manifest
deleted file mode 100644
index 784aeef..0000000
--- a/media-sound/kinsky/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST kinsky_4.3.13-1_all.deb 2817622 SHA256 21c9421a9527ddf0b7cf1caa09ca489d5e548fb6cf3dc12c6f83e2a15b3c698b SHA512 b0ba867dba58d4fdac0065e08202256f5d4c3fd4db667e4ab298b69eaa0b42d8442ec8ec5251da6468fac728244aa2c37534305430db322d25c38eec9ff74e6a WHIRLPOOL 88bc7532a683620d96e82f75adc336276fbe6b20b70eb22dd273f6fdff2838e4e9b8ce74706392374532f879ddaab84340626b18237820b14eb272213c538d5d
-DIST kinsky_4.3.6-1_all.deb 2917524 SHA256 d8a437a528c96d1b412ce86d4e27718f94dc797900d5a6379be0f23dbe90ef1e SHA512 6054f4575c3ebc6535d4197fda50366f93ae5770f4d094dfd5033c1979b641e0b03dd222dee31022b143ba3a1d3141652ba72a2ae5e8acea1199226736e36bee WHIRLPOOL ecf56660faa3dc2965fc7e687e6df32583a38af06adec0e8436184a9433f9e44337297cdaa724b00635fa9aba8aae709c055a50448649128440ad6aba154dcfc
-EBUILD kinsky-4.3.13.ebuild 1404 SHA256 ed2f854e64c9e4659fd932c7971cfb31952b2aae15ae5450f951503811635801 SHA512 b3fe4dac594911c2e5fa0a560deb4c8649e582c7c69059b3f0f2db8ae8df47ddc96aaef01d367c571aa7aa4d9b3fd7e33a42209a3e838647ec1575661128f759 WHIRLPOOL 187bb5bc196a506067c0c9f5d8ac8870eb1991832b8d0a7489748dbeeffb12643462d3b3f0012eb842c5489c35ac43be800978a6f7e07035e91476b61cda62e4
-EBUILD kinsky-4.3.6.ebuild 1404 SHA256 ed2f854e64c9e4659fd932c7971cfb31952b2aae15ae5450f951503811635801 SHA512 b3fe4dac594911c2e5fa0a560deb4c8649e582c7c69059b3f0f2db8ae8df47ddc96aaef01d367c571aa7aa4d9b3fd7e33a42209a3e838647ec1575661128f759 WHIRLPOOL 187bb5bc196a506067c0c9f5d8ac8870eb1991832b8d0a7489748dbeeffb12643462d3b3f0012eb842c5489c35ac43be800978a6f7e07035e91476b61cda62e4
-MISC metadata.xml 698 SHA256 fdccdd9d76ee8b2de867fad022cc51569cf5932e8ddf4b1eba263f0add1f4973 SHA512 b79c280f8d5833dbb2f5c73d59df903711d0878f853b9f8c287162ebbbb177aac4a7437cdf765fc74774ccf441b2f1822cae07be80a0633590d412b0019495af WHIRLPOOL d2d16597076c85fe8d835bc4f93960ac71d7a53c4ef8455ede68bd8f10387dc122080f8d1b4dd5ebc51b60eb59a29fffe728c550414fe80237d2a974faffa523
diff --git a/media-sound/kinsky/kinsky-4.3.13.ebuild b/media-sound/kinsky/kinsky-4.3.13.ebuild
deleted file mode 100644
index 88812a3..0000000
--- a/media-sound/kinsky/kinsky-4.3.13.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils autotools mono fdo-mime gnome.org gnome2-utils
-
-DESCRIPTION="Control your Linn DS player."
-HOMEPAGE="http://oss.linn.co.uk/"
-SRC_URI="http://oss.linn.co.uk/Releases/Kinsky/Davaar/${PN}_${PV}-1_all.deb"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=">=dev-lang/mono-2.0.1"
-
-DEPEND="${RDEPEND}"
-
-RESTRICT="mirror strip"
-
-src_unpack() {
- mkdir "${P}"
- cd "${P}"
- unpack ${A}
- unpack ./data.tar.gz
-}
-
-src_prepare() {
- #Replace /usr/bin/cli with /usr/bin/mono
- sed -i \
- -e 's/cli/mono/g' usr/bin/Kinsky || die "sed failed"
- #Fix warning about incorrent bool
- sed -i \
- -e 's/False/false/g' \
- -e '/Encoding/d' \
- usr/share/applications/kinsky.desktop || die "sed failed"
-}
-
-src_install() {
- insinto /usr/share/applications
- doins usr/share/applications/*.desktop
- insinto /usr/share/pixmaps
- doins usr/share/pixmaps/*.xpm
- insinto /usr/share/menu
- doins usr/share/menu/*
- insinto /usr/lib
- doins -r usr/lib/Kinsky
- insinto /usr/bin
- doins usr/bin/Kinsky
- fperms +x /usr/bin/Kinsky
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- gnome2_icon_cache_update
-}
diff --git a/media-sound/kinsky/metadata.xml b/media-sound/kinsky/metadata.xml
deleted file mode 100644
index e3c4e2f..0000000
--- a/media-sound/kinsky/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>dotnet</herd>
-<herd>gstreamer</herd>
-<use>
- <flag name="boo">Use external Boo instead of the bundled one</flag>
- <flag name="bpm">Build beats per minute detection extension</flag>
- <flag name="cdda">Build with audio CD support</flag>
- <flag name="daap">Build with Daap support</flag>
- <flag name="karma">Build with karma support</flag>
- <flag name="web">Enable support for plugins that access web-based services
- such as Amazon and wikipedia (requires <pkg>net-libs/webkit-gtk</pkg>)</flag>
- <flag name="youtube">Enable the Youtube plugin</flag>
-</use>
-</pkgmetadata>
diff --git a/net-p2p/rsstorrent/rsstorrent-0.7.ebuild b/net-p2p/rsstorrent/rsstorrent-0.7.ebuild
new file mode 100644
index 0000000..2c1ee73
--- /dev/null
+++ b/net-p2p/rsstorrent/rsstorrent-0.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{2,3,4,5,6} )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="Tool for automatically downloading torrents using RSS feeds"
+HOMEPAGE="http://azp.github.com/rsstorrent/"
+SRC_URI="https://github.com/AzP/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/feedparser[${PYTHON_USEDEP}]
+ dev-python/python-daemon[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+src_install() {
+ doinitd "${S}/rsstorrent-gentoo" rsstorrent
+ doconfd "${S}/rsstorrent_conf.d" rsstorrent
+ dodir /etc/rsstorrent
+ insinto /etc/rsstorrent
+ newins "${S}/rsstorrent.conf" rsstorrent.conf.sample
+}
+
+pkg_postinst() {
+ einfo "For rsstorrent to work, you need to set up a user for which"
+ einfo "the downloads should be handled. This is done by editing the"
+ einfo "configuration file /etc/conf.d/rsstorrent, as well as copying"
+ einfo "and editing the user specific sample file in /etc/rsstorrent/"
+ einfo "to that user's home directory (inside .rsstorrent)."
+}