From 4ed7c35e0c74cbbc6b3b169acf0661f6ab1c8c49 Mon Sep 17 00:00:00 2001 From: Peter Asplund Date: Tue, 5 Nov 2024 21:59:55 +0100 Subject: Update python dependency to 3.11 and 3.12 version. Update e-mail address and url. Remove older versions. Signed-off-by: Peter Asplund --- net-p2p/rsstorrent/rsstorrent-0.8-r1.ebuild | 40 ----------------------------- net-p2p/rsstorrent/rsstorrent-0.8-r2.ebuild | 39 ++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 40 deletions(-) delete mode 100644 net-p2p/rsstorrent/rsstorrent-0.8-r1.ebuild create mode 100644 net-p2p/rsstorrent/rsstorrent-0.8-r2.ebuild diff --git a/net-p2p/rsstorrent/rsstorrent-0.8-r1.ebuild b/net-p2p/rsstorrent/rsstorrent-0.8-r1.ebuild deleted file mode 100644 index b808498..0000000 --- a/net-p2p/rsstorrent/rsstorrent-0.8-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=(python3_{9..11}) - -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/rsstorrent/archive/v${PV} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="" -RDEPEND="${DEPEND} - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/python-daemon[${PYTHON_USEDEP}]" - -python_install_all() { - distutils-r1_python_install_all - - newinitd "${S}/rsstorrent-openrc" rsstorrent - newconfd "${S}/rsstorrent_conf.d" 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)." -} diff --git a/net-p2p/rsstorrent/rsstorrent-0.8-r2.ebuild b/net-p2p/rsstorrent/rsstorrent-0.8-r2.ebuild new file mode 100644 index 0000000..7b3a220 --- /dev/null +++ b/net-p2p/rsstorrent/rsstorrent-0.8-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=(python3_{11..12}) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Tool for automatically downloading torrents using RSS feeds" +HOMEPAGE="https://azp.github.io/rsstorrent/" +SRC_URI="https://github.com/AzP/rsstorrent/releases/tag/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${PYTHON_DEPS} + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/python-daemon[${PYTHON_USEDEP}]" + +python_install_all() { + distutils-r1_python_install_all + + newinitd "${S}/rsstorrent-openrc" rsstorrent + newconfd "${S}/rsstorrent_conf.d" 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)." +} -- cgit v1.2.3-65-gdbad