summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-29 09:56:25 +0100
committerSam James <sam@gentoo.org>2021-10-29 09:57:02 +0100
commit1c21179d3301d32b52969e4d4e49c4242c98e671 (patch)
treea9adceb37aadbb6c679e861072c23160a6fbb248 /net-libs
parentsci-geosciences/gpsd: enable +python by default (fix RequiredUseDefaults) (diff)
downloadgentoo-1c21179d3301d32b52969e4d4e49c4242c98e671.tar.gz
gentoo-1c21179d3301d32b52969e4d4e49c4242c98e671.tar.bz2
gentoo-1c21179d3301d32b52969e4d4e49c4242c98e671.zip
net-libs/libtorrent-rasterbar: fix setuptools dependency
Bug: https://bugs.gentoo.org/789699 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild (renamed from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14.ebuild)8
-rw-r--r--net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild (renamed from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r2.ebuild)5
2 files changed, 9 insertions, 4 deletions
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild
index c4c0789e0fca..a554e4fd27ca 100644
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14.ebuild
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild
@@ -8,7 +8,7 @@ PYTHON_REQ_USE="threads(+)"
DISTUTILS_OPTIONAL=true
DISTUTILS_IN_SOURCE_BUILD=true
-inherit autotools flag-o-matic distutils-r1
+inherit autotools distutils-r1
DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent"
@@ -37,9 +37,9 @@ RDEPEND="
dev-libs/openssl:0=
)
"
-DEPEND="${RDEPEND}
- sys-devel/libtool
-"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/libtool
+ python? ( dev-python/setuptools[${PYTHON_USEDEP}] )"
src_prepare() {
mkdir -p "${S}"/build-aux || die
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r2.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild
index a90461c46c84..787c4093411b 100644
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r2.ebuild
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild
@@ -32,6 +32,11 @@ DEPEND="
)
"
RDEPEND="${DEPEND}"
+BDEPEND="python? (
+ $(python_gen_cond_dep '
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ')
+ )"
PATCHES=(
"${FILESDIR}"/${P}-boost-1.77.patch