summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Asplund <peter.azp@gmail.com>2012-10-15 23:09:06 +0200
committerPeter Asplund <peter.azp@gmail.com>2012-10-15 23:09:06 +0200
commit2c9a4edc66f1aae23a92514f979369848a3ba214 (patch)
treeea487320d7ef647c3b1ec11cd825c2d1e35fd3fb /net-p2p
parentAdd garmintools, update Spotify and add rsstorrent (diff)
downloadAzP-2c9a4edc66f1aae23a92514f979369848a3ba214.tar.gz
AzP-2c9a4edc66f1aae23a92514f979369848a3ba214.tar.bz2
AzP-2c9a4edc66f1aae23a92514f979369848a3ba214.zip
Add rsstorrent
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/rsstorrent/ChangeLog0
-rw-r--r--net-p2p/rsstorrent/Manifest4
-rw-r--r--net-p2p/rsstorrent/metadata.xml9
-rw-r--r--net-p2p/rsstorrent/rsstorrent-0.6.ebuild48
4 files changed, 61 insertions, 0 deletions
diff --git a/net-p2p/rsstorrent/ChangeLog b/net-p2p/rsstorrent/ChangeLog
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/net-p2p/rsstorrent/ChangeLog
diff --git a/net-p2p/rsstorrent/Manifest b/net-p2p/rsstorrent/Manifest
new file mode 100644
index 0000000..03d54a9
--- /dev/null
+++ b/net-p2p/rsstorrent/Manifest
@@ -0,0 +1,4 @@
+DIST rsstorrent-0.6.tar.gz 9335 SHA256 e885c2eca378a033f9b2d01e4bb938c0152770e47f0f9abe44891a09059062cf SHA512 e70288b6e0745dba8461ec7e748f89df771f19d2443f27c96cf9e032b425328a1dca06e3ef0c28c3ae5582145d4b9c73b489815a190c3751979e3fc0a4f61265 WHIRLPOOL 74727a663b28cd2c5c090ee45577684e0cb499da14e3936fdddabb88f2bfc24d37415f4017e5e13aac1b2c572d1ef28e29623597f25e7cbbd09d74f209d4b566
+EBUILD rsstorrent-0.6.ebuild 1278 SHA256 ec7ce77dac1c8f01dbac1de41ae0501a4874b50ef7a9253402e5028e19b536c3 SHA512 560dbcd9bb4525253245fb98ab5d0d222c1b8e8e1d7a15672e0fd9fd54689c8673a4a1c9d9d659be745324771472132ca7dff90fe3b6ae03571356198613d6b2 WHIRLPOOL 80dd83b88134f3e4d3be6eaeb4deefe2440869d6586b6cccf383fb374281d92c5bd71621f9cff2d903aaf3888b8ff6a617966a0a653a24e31fb21cfefdae26d1
+MISC ChangeLog 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 SHA512 cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e WHIRLPOOL 19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3
+MISC metadata.xml 242 SHA256 1ecd8490d5a5136f54234cb9d1b76d2d468ee3f2f74fccfd0130fb190fb710b8 SHA512 ff3c1688af84b6d773c8f45e46097a40bb51f0047beb6e9523d8fefb9bd5ed778f5f525cf4cfe304313e0b3d503bb5c81d31b214fbc1402b76cefa487699a290 WHIRLPOOL df84294b8395882934457e83cc543c59cb85f4a2eb37a60fd9d86588d31f4d8cb2ed4cb25bf41cfaee880d55113996c43167302b2fd5f6ac73eb535d012c2bff
diff --git a/net-p2p/rsstorrent/metadata.xml b/net-p2p/rsstorrent/metadata.xml
new file mode 100644
index 0000000..d773eb8
--- /dev/null
+++ b/net-p2p/rsstorrent/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>@gentoo.org</email>
+ <name>Peter Asplund </name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-p2p/rsstorrent/rsstorrent-0.6.ebuild b/net-p2p/rsstorrent/rsstorrent-0.6.ebuild
new file mode 100644
index 0000000..7b8e621
--- /dev/null
+++ b/net-p2p/rsstorrent/rsstorrent-0.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+PYTHON_DEPEND="2:2.7"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5 3.*"
+
+inherit distutils 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"
+IUSE=""
+
+RDEPEND="dev-python/feedparser
+ dev-python/python-daemon"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+PYTHON_MODNAME="${PN}.py"
+
+src_install() {
+ distutils_src_install
+
+ insinto /etc/init.d
+ newins "${S}/rsstorrent-gentoo" rsstorrent
+ insinto /etc/conf.d
+ newins "${S}/rsstorrent_conf.d" rsstorrent
+ dodir /etc/rsstorrent
+ insinto /etc/rsstorrent
+ newins "${S}/rsstorrent.conf" rsstorrent.conf.sample
+}
+
+pkg_postinst() {
+ distutils_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)."
+}