1 |
commit: 1c21179d3301d32b52969e4d4e49c4242c98e671 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 08:56:25 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 08:57:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c21179d |
7 |
|
8 |
net-libs/libtorrent-rasterbar: fix setuptools dependency |
9 |
|
10 |
Bug: https://bugs.gentoo.org/789699 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
...terbar-1.2.14.ebuild => libtorrent-rasterbar-1.2.14-r1.ebuild} | 8 ++++---- |
14 |
...erbar-2.0.4-r2.ebuild => libtorrent-rasterbar-2.0.4-r3.ebuild} | 5 +++++ |
15 |
2 files changed, 9 insertions(+), 4 deletions(-) |
16 |
|
17 |
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 |
18 |
similarity index 94% |
19 |
rename from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14.ebuild |
20 |
rename to net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild |
21 |
index c4c0789e0fc..a554e4fd27c 100644 |
22 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14.ebuild |
23 |
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild |
24 |
@@ -8,7 +8,7 @@ PYTHON_REQ_USE="threads(+)" |
25 |
DISTUTILS_OPTIONAL=true |
26 |
DISTUTILS_IN_SOURCE_BUILD=true |
27 |
|
28 |
-inherit autotools flag-o-matic distutils-r1 |
29 |
+inherit autotools distutils-r1 |
30 |
|
31 |
DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
32 |
HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent" |
33 |
@@ -37,9 +37,9 @@ RDEPEND=" |
34 |
dev-libs/openssl:0= |
35 |
) |
36 |
" |
37 |
-DEPEND="${RDEPEND} |
38 |
- sys-devel/libtool |
39 |
-" |
40 |
+DEPEND="${RDEPEND}" |
41 |
+BDEPEND="sys-devel/libtool |
42 |
+ python? ( dev-python/setuptools[${PYTHON_USEDEP}] )" |
43 |
|
44 |
src_prepare() { |
45 |
mkdir -p "${S}"/build-aux || die |
46 |
|
47 |
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 |
48 |
similarity index 93% |
49 |
rename from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r2.ebuild |
50 |
rename to net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild |
51 |
index a90461c46c8..787c4093411 100644 |
52 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r2.ebuild |
53 |
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild |
54 |
@@ -32,6 +32,11 @@ DEPEND=" |
55 |
) |
56 |
" |
57 |
RDEPEND="${DEPEND}" |
58 |
+BDEPEND="python? ( |
59 |
+ $(python_gen_cond_dep ' |
60 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
+ ') |
62 |
+ )" |
63 |
|
64 |
PATCHES=( |
65 |
"${FILESDIR}"/${P}-boost-1.77.patch |