commit:     1c21179d3301d32b52969e4d4e49c4242c98e671
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 08:56:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 08:57:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c21179d

net-libs/libtorrent-rasterbar: fix setuptools dependency

Bug: https://bugs.gentoo.org/789699
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...terbar-1.2.14.ebuild => libtorrent-rasterbar-1.2.14-r1.ebuild} | 8 ++++----
 ...erbar-2.0.4-r2.ebuild => libtorrent-rasterbar-2.0.4-r3.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
similarity index 94%
rename from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14.ebuild
rename to net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild
index c4c0789e0fc..a554e4fd27c 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
similarity index 93%
rename from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r2.ebuild
rename to net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild
index a90461c46c8..787c4093411 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

Reply via email to