From 1da7b6b2c619ce5403c3a769acaab91a7ef3f58a Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 11 Dec 2021 01:15:06 +0000 Subject: net-p2p/deluge: use PYTHON_SINGLE_USEDEP for libtorrent-rasterbar Finally had to convert older versions (1.2.x) of libtorrent-rasterbar to python-single-r1 so fixing the dependency here too. Bug: https://bugs.gentoo.org/828676 Signed-off-by: Sam James --- net-p2p/deluge/deluge-2.0.3-r11.ebuild | 145 +++++++++++++++++++++++++++++++++ net-p2p/deluge/deluge-9999.ebuild | 7 +- 2 files changed, 147 insertions(+), 5 deletions(-) create mode 100644 net-p2p/deluge/deluge-2.0.3-r11.ebuild (limited to 'net-p2p/deluge') diff --git a/net-p2p/deluge/deluge-2.0.3-r11.ebuild b/net-p2p/deluge/deluge-2.0.3-r11.ebuild new file mode 100644 index 000000000000..e244b9e1a44c --- /dev/null +++ b/net-p2p/deluge/deluge-2.0.3-r11.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{8,9} ) +DISTUTILS_SINGLE_IMPL=1 +inherit xdg distutils-r1 systemd + +DESCRIPTION="BitTorrent client with a client/server model" +HOMEPAGE="https://deluge-torrent.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" +else + SRC_URI="http://download.deluge-torrent.org/source/2.0/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="console geoip gtk libnotify sound webinterface" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + libnotify? ( gtk ) + sound? ( gtk ) +" + +DEPEND=" + = 2, please -# move the dependency *outside* of gen_cond_dep and use PYTHON_SINGLE_USEDEP -# instead. It doesn't seem like Deluge supports >= 2 right now. DEPEND=" + =dev-python/twisted-17.1.0[crypt,${PYTHON_USEDEP}] >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}] -