1 |
commit: 9ddedade76f8233c0983cd943b556f20e2e60ef4 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 26 20:46:18 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 26 20:46:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ddedade |
7 |
|
8 |
net-libs/libtorrent-rasterbar: move stable keywords |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
.../libtorrent-rasterbar-1.1.10-r1.ebuild | 2 +- |
14 |
.../libtorrent-rasterbar-1.1.10.ebuild | 104 ------------------- |
15 |
.../libtorrent-rasterbar-1.1.12-r1.ebuild | 2 +- |
16 |
.../libtorrent-rasterbar-1.1.12.ebuild | 104 ------------------- |
17 |
.../libtorrent-rasterbar-1.1.13-r1.ebuild | 2 +- |
18 |
.../libtorrent-rasterbar-1.1.13.ebuild | 104 ------------------- |
19 |
.../libtorrent-rasterbar-1.2.0.ebuild | 112 --------------------- |
20 |
.../libtorrent-rasterbar-1.2.1.ebuild | 111 -------------------- |
21 |
8 files changed, 3 insertions(+), 538 deletions(-) |
22 |
|
23 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.10-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.10-r1.ebuild |
24 |
index bad9c6cc435..64ee98e5ca6 100644 |
25 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.10-r1.ebuild |
26 |
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.10-r1.ebuild |
27 |
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_ |
28 |
|
29 |
LICENSE="BSD" |
30 |
SLOT="0/9" |
31 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
32 |
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" |
33 |
IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
34 |
|
35 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
36 |
|
37 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.10.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.10.ebuild |
38 |
deleted file mode 100644 |
39 |
index de5e91692fd..00000000000 |
40 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.10.ebuild |
41 |
+++ /dev/null |
42 |
@@ -1,104 +0,0 @@ |
43 |
-# Copyright 1999-2019 Gentoo Authors |
44 |
-# Distributed under the terms of the GNU General Public License v2 |
45 |
- |
46 |
-EAPI=7 |
47 |
- |
48 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
49 |
-PYTHON_REQ_USE="threads" |
50 |
-DISTUTILS_OPTIONAL=true |
51 |
-DISTUTILS_IN_SOURCE_BUILD=true |
52 |
- |
53 |
-inherit distutils-r1 flag-o-matic |
54 |
- |
55 |
-MY_PV=$(ver_rs 1-2 '_') |
56 |
- |
57 |
-DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
58 |
-HOMEPAGE="https://libtorrent.org" |
59 |
-SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${P}.tar.gz" |
60 |
- |
61 |
-LICENSE="BSD" |
62 |
-SLOT="0/9" |
63 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" |
64 |
-IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
65 |
- |
66 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
67 |
- |
68 |
-RDEPEND=" |
69 |
- dev-libs/boost:=[threads] |
70 |
- virtual/libiconv |
71 |
- examples? ( !net-p2p/mldonkey ) |
72 |
- python? ( |
73 |
- ${PYTHON_DEPS} |
74 |
- dev-libs/boost:=[python,${PYTHON_USEDEP}] |
75 |
- ) |
76 |
- ssl? ( |
77 |
- !libressl? ( dev-libs/openssl:0= ) |
78 |
- libressl? ( dev-libs/libressl:= ) |
79 |
- ) |
80 |
-" |
81 |
-DEPEND="${RDEPEND} |
82 |
- sys-devel/libtool |
83 |
-" |
84 |
- |
85 |
-src_prepare() { |
86 |
- default |
87 |
- |
88 |
- # bug 578026 |
89 |
- # prepend -L${S}/... to ensure bindings link against the lib we just built |
90 |
- sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die |
91 |
- |
92 |
- # prepend -I${S}/... to ensure bindings use the right headers |
93 |
- sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die |
94 |
- |
95 |
- use python && distutils-r1_src_prepare |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- append-cxxflags -std=c++11 # bug 634506 |
100 |
- |
101 |
- local myeconfargs=( |
102 |
- $(use_enable debug) |
103 |
- $(use_enable debug logging) |
104 |
- $(use_enable debug disk-stats) |
105 |
- $(use_enable dht dht $(usex debug logging $(usex ('yes' 'no')))) |
106 |
- $(use_enable examples) |
107 |
- $(use_enable ssl encryption) |
108 |
- $(use_enable static-libs static) |
109 |
- $(use_enable test tests) |
110 |
- --with-libiconv |
111 |
- ) |
112 |
- econf "${myeconfargs[@]}" |
113 |
- |
114 |
- if use python; then |
115 |
- python_configure() { |
116 |
- econf "${myeconfargs[@]}" \ |
117 |
- --enable-python-binding \ |
118 |
- --with-boost-python="${EPYTHON#python}" |
119 |
- } |
120 |
- distutils-r1_src_configure |
121 |
- fi |
122 |
-} |
123 |
- |
124 |
-src_compile() { |
125 |
- default |
126 |
- |
127 |
- python_compile() { |
128 |
- cd "${BUILD_DIR}/../bindings/python" || die |
129 |
- distutils-r1_python_compile |
130 |
- } |
131 |
- use python && distutils-r1_src_compile |
132 |
-} |
133 |
- |
134 |
-src_install() { |
135 |
- use doc && HTML_DOCS+=( "${S}"/docs ) |
136 |
- |
137 |
- default |
138 |
- |
139 |
- python_install() { |
140 |
- cd "${BUILD_DIR}/../bindings/python" || die |
141 |
- distutils-r1_python_install |
142 |
- } |
143 |
- use python && distutils-r1_src_install |
144 |
- |
145 |
- find "${D}" -name '*.la' -delete || die |
146 |
-} |
147 |
|
148 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.12-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.12-r1.ebuild |
149 |
index 083a26319c0..732866f9170 100644 |
150 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.12-r1.ebuild |
151 |
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.12-r1.ebuild |
152 |
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent_${MY_ |
153 |
|
154 |
LICENSE="BSD" |
155 |
SLOT="0/9" |
156 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
157 |
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" |
158 |
IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
159 |
|
160 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
161 |
|
162 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.12.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.12.ebuild |
163 |
deleted file mode 100644 |
164 |
index d047b646998..00000000000 |
165 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.12.ebuild |
166 |
+++ /dev/null |
167 |
@@ -1,104 +0,0 @@ |
168 |
-# Copyright 1999-2019 Gentoo Authors |
169 |
-# Distributed under the terms of the GNU General Public License v2 |
170 |
- |
171 |
-EAPI=7 |
172 |
- |
173 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
174 |
-PYTHON_REQ_USE="threads" |
175 |
-DISTUTILS_OPTIONAL=true |
176 |
-DISTUTILS_IN_SOURCE_BUILD=true |
177 |
- |
178 |
-inherit distutils-r1 flag-o-matic |
179 |
- |
180 |
-MY_PV=$(ver_rs 1-2 '_') |
181 |
- |
182 |
-DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
183 |
-HOMEPAGE="https://libtorrent.org" |
184 |
-SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent_${MY_PV}/${P}.tar.gz" |
185 |
- |
186 |
-LICENSE="BSD" |
187 |
-SLOT="0/9" |
188 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" |
189 |
-IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
190 |
- |
191 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
192 |
- |
193 |
-RDEPEND=" |
194 |
- dev-libs/boost:=[threads] |
195 |
- virtual/libiconv |
196 |
- examples? ( !net-p2p/mldonkey ) |
197 |
- python? ( |
198 |
- ${PYTHON_DEPS} |
199 |
- dev-libs/boost:=[python,${PYTHON_USEDEP}] |
200 |
- ) |
201 |
- ssl? ( |
202 |
- !libressl? ( dev-libs/openssl:0= ) |
203 |
- libressl? ( dev-libs/libressl:= ) |
204 |
- ) |
205 |
-" |
206 |
-DEPEND="${RDEPEND} |
207 |
- sys-devel/libtool |
208 |
-" |
209 |
- |
210 |
-src_prepare() { |
211 |
- default |
212 |
- |
213 |
- # bug 578026 |
214 |
- # prepend -L${S}/... to ensure bindings link against the lib we just built |
215 |
- sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die |
216 |
- |
217 |
- # prepend -I${S}/... to ensure bindings use the right headers |
218 |
- sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die |
219 |
- |
220 |
- use python && distutils-r1_src_prepare |
221 |
-} |
222 |
- |
223 |
-src_configure() { |
224 |
- append-cxxflags -std=c++11 # bug 634506 |
225 |
- |
226 |
- local myeconfargs=( |
227 |
- $(use_enable debug) |
228 |
- $(use_enable debug logging) |
229 |
- $(use_enable debug disk-stats) |
230 |
- $(use_enable dht dht $(usex debug logging $(usex ('yes' 'no')))) |
231 |
- $(use_enable examples) |
232 |
- $(use_enable ssl encryption) |
233 |
- $(use_enable static-libs static) |
234 |
- $(use_enable test tests) |
235 |
- --with-libiconv |
236 |
- ) |
237 |
- econf "${myeconfargs[@]}" |
238 |
- |
239 |
- if use python; then |
240 |
- python_configure() { |
241 |
- econf "${myeconfargs[@]}" \ |
242 |
- --enable-python-binding \ |
243 |
- --with-boost-python="${EPYTHON#python}" |
244 |
- } |
245 |
- distutils-r1_src_configure |
246 |
- fi |
247 |
-} |
248 |
- |
249 |
-src_compile() { |
250 |
- default |
251 |
- |
252 |
- python_compile() { |
253 |
- cd "${BUILD_DIR}/../bindings/python" || die |
254 |
- distutils-r1_python_compile |
255 |
- } |
256 |
- use python && distutils-r1_src_compile |
257 |
-} |
258 |
- |
259 |
-src_install() { |
260 |
- use doc && HTML_DOCS+=( "${S}"/docs ) |
261 |
- |
262 |
- default |
263 |
- |
264 |
- python_install() { |
265 |
- cd "${BUILD_DIR}/../bindings/python" || die |
266 |
- distutils-r1_python_install |
267 |
- } |
268 |
- use python && distutils-r1_src_install |
269 |
- |
270 |
- find "${D}" -name '*.la' -delete || die |
271 |
-} |
272 |
|
273 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13-r1.ebuild |
274 |
index 7608777a633..cc10a56b422 100644 |
275 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13-r1.ebuild |
276 |
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13-r1.ebuild |
277 |
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_ |
278 |
|
279 |
LICENSE="BSD" |
280 |
SLOT="0/9" |
281 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
282 |
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" |
283 |
IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
284 |
|
285 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
286 |
|
287 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13.ebuild |
288 |
deleted file mode 100644 |
289 |
index 8cc6099b395..00000000000 |
290 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13.ebuild |
291 |
+++ /dev/null |
292 |
@@ -1,104 +0,0 @@ |
293 |
-# Copyright 1999-2019 Gentoo Authors |
294 |
-# Distributed under the terms of the GNU General Public License v2 |
295 |
- |
296 |
-EAPI=7 |
297 |
- |
298 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
299 |
-PYTHON_REQ_USE="threads" |
300 |
-DISTUTILS_OPTIONAL=true |
301 |
-DISTUTILS_IN_SOURCE_BUILD=true |
302 |
- |
303 |
-inherit distutils-r1 flag-o-matic |
304 |
- |
305 |
-MY_PV=$(ver_rs 1-2 '_') |
306 |
- |
307 |
-DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
308 |
-HOMEPAGE="https://libtorrent.org" |
309 |
-SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${P}.tar.gz" |
310 |
- |
311 |
-LICENSE="BSD" |
312 |
-SLOT="0/9" |
313 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" |
314 |
-IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
315 |
- |
316 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
317 |
- |
318 |
-RDEPEND=" |
319 |
- dev-libs/boost:=[threads] |
320 |
- virtual/libiconv |
321 |
- examples? ( !net-p2p/mldonkey ) |
322 |
- python? ( |
323 |
- ${PYTHON_DEPS} |
324 |
- dev-libs/boost:=[python,${PYTHON_USEDEP}] |
325 |
- ) |
326 |
- ssl? ( |
327 |
- !libressl? ( dev-libs/openssl:0= ) |
328 |
- libressl? ( dev-libs/libressl:= ) |
329 |
- ) |
330 |
-" |
331 |
-DEPEND="${RDEPEND} |
332 |
- sys-devel/libtool |
333 |
-" |
334 |
- |
335 |
-src_prepare() { |
336 |
- default |
337 |
- |
338 |
- # bug 578026 |
339 |
- # prepend -L${S}/... to ensure bindings link against the lib we just built |
340 |
- sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die |
341 |
- |
342 |
- # prepend -I${S}/... to ensure bindings use the right headers |
343 |
- sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die |
344 |
- |
345 |
- use python && distutils-r1_src_prepare |
346 |
-} |
347 |
- |
348 |
-src_configure() { |
349 |
- append-cxxflags -std=c++11 # bug 634506 |
350 |
- |
351 |
- local myeconfargs=( |
352 |
- $(use_enable debug) |
353 |
- $(use_enable debug disk-stats) |
354 |
- $(use_enable debug logging) |
355 |
- $(use_enable dht) |
356 |
- $(use_enable examples) |
357 |
- $(use_enable ssl encryption) |
358 |
- $(use_enable static-libs static) |
359 |
- $(use_enable test tests) |
360 |
- --with-libiconv |
361 |
- ) |
362 |
- econf "${myeconfargs[@]}" |
363 |
- |
364 |
- if use python; then |
365 |
- python_configure() { |
366 |
- econf "${myeconfargs[@]}" \ |
367 |
- --enable-python-binding \ |
368 |
- --with-boost-python="${EPYTHON#python}" |
369 |
- } |
370 |
- distutils-r1_src_configure |
371 |
- fi |
372 |
-} |
373 |
- |
374 |
-src_compile() { |
375 |
- default |
376 |
- |
377 |
- python_compile() { |
378 |
- cd "${BUILD_DIR}/../bindings/python" || die |
379 |
- distutils-r1_python_compile |
380 |
- } |
381 |
- use python && distutils-r1_src_compile |
382 |
-} |
383 |
- |
384 |
-src_install() { |
385 |
- use doc && HTML_DOCS+=( "${S}"/docs ) |
386 |
- |
387 |
- default |
388 |
- |
389 |
- python_install() { |
390 |
- cd "${BUILD_DIR}/../bindings/python" || die |
391 |
- distutils-r1_python_install |
392 |
- } |
393 |
- use python && distutils-r1_src_install |
394 |
- |
395 |
- find "${D}" -name '*.la' -delete || die |
396 |
-} |
397 |
|
398 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.0.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.0.ebuild |
399 |
deleted file mode 100644 |
400 |
index d00acbe4f8e..00000000000 |
401 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.0.ebuild |
402 |
+++ /dev/null |
403 |
@@ -1,112 +0,0 @@ |
404 |
-# Copyright 1999-2019 Gentoo Authors |
405 |
-# Distributed under the terms of the GNU General Public License v2 |
406 |
- |
407 |
-EAPI=7 |
408 |
- |
409 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
410 |
-PYTHON_REQ_USE="threads" |
411 |
-DISTUTILS_OPTIONAL=true |
412 |
-DISTUTILS_IN_SOURCE_BUILD=true |
413 |
- |
414 |
-inherit autotools distutils-r1 flag-o-matic |
415 |
- |
416 |
-MY_PV=$(ver_rs 1-2 '_') |
417 |
-MY_P=${PN/-rasterbar}_${MY_PV} |
418 |
- |
419 |
-DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
420 |
-HOMEPAGE="https://libtorrent.org" |
421 |
-SRC_URI="https://github.com/arvidn/libtorrent/archive/${MY_P}.tar.gz -> ${P}.tar.gz" |
422 |
- |
423 |
-LICENSE="BSD" |
424 |
-SLOT="0/9" |
425 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
426 |
-IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
427 |
- |
428 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
429 |
- |
430 |
-RDEPEND=" |
431 |
- dev-libs/boost:=[threads] |
432 |
- virtual/libiconv |
433 |
- examples? ( !net-p2p/mldonkey ) |
434 |
- python? ( |
435 |
- ${PYTHON_DEPS} |
436 |
- dev-libs/boost:=[python,${PYTHON_USEDEP}] |
437 |
- ) |
438 |
- ssl? ( |
439 |
- !libressl? ( dev-libs/openssl:0= ) |
440 |
- libressl? ( dev-libs/libressl:= ) |
441 |
- ) |
442 |
-" |
443 |
-DEPEND="${RDEPEND} |
444 |
- sys-devel/libtool |
445 |
-" |
446 |
- |
447 |
-S="${WORKDIR}/${PN/-rasterbar}-${MY_P}" |
448 |
- |
449 |
-PATCHES=( "${FILESDIR}"/fix-boost-1.70.patch ) |
450 |
- |
451 |
-src_prepare() { |
452 |
- mkdir "${S}"/build-aux/ || die |
453 |
- touch "${S}"/build-aux/config.rpath || die |
454 |
- eautoreconf |
455 |
- |
456 |
- default |
457 |
- |
458 |
- # bug 578026 |
459 |
- # prepend -L${S}/... to ensure bindings link against the lib we just built |
460 |
- sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die |
461 |
- |
462 |
- # prepend -I${S}/... to ensure bindings use the right headers |
463 |
- sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die |
464 |
- |
465 |
- use python && distutils-r1_src_prepare |
466 |
-} |
467 |
- |
468 |
-src_configure() { |
469 |
- append-cxxflags -std=c++11 # bug 634506 |
470 |
- |
471 |
- local myeconfargs=( |
472 |
- $(use_enable debug) |
473 |
- $(use_enable debug export-all) |
474 |
- $(use_enable dht dht $(usex debug logging $(usex ('yes' 'no')))) |
475 |
- $(use_enable examples) |
476 |
- $(use_enable ssl encryption) |
477 |
- $(use_enable static-libs static) |
478 |
- $(use_enable test tests) |
479 |
- --with-libiconv |
480 |
- ) |
481 |
- econf "${myeconfargs[@]}" |
482 |
- |
483 |
- if use python; then |
484 |
- python_configure() { |
485 |
- econf "${myeconfargs[@]}" \ |
486 |
- --enable-python-binding \ |
487 |
- --with-boost-python="${EPYTHON#python}" |
488 |
- } |
489 |
- distutils-r1_src_configure |
490 |
- fi |
491 |
-} |
492 |
- |
493 |
-src_compile() { |
494 |
- default |
495 |
- |
496 |
- python_compile() { |
497 |
- cd "${BUILD_DIR}/../bindings/python" || die |
498 |
- distutils-r1_python_compile |
499 |
- } |
500 |
- use python && distutils-r1_src_compile |
501 |
-} |
502 |
- |
503 |
-src_install() { |
504 |
- use doc && HTML_DOCS+=( "${S}"/docs ) |
505 |
- |
506 |
- default |
507 |
- |
508 |
- python_install() { |
509 |
- cd "${BUILD_DIR}/../bindings/python" || die |
510 |
- distutils-r1_python_install |
511 |
- } |
512 |
- use python && distutils-r1_src_install |
513 |
- |
514 |
- find "${D}" -name '*.la' -delete || die |
515 |
-} |
516 |
|
517 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.1.ebuild |
518 |
deleted file mode 100644 |
519 |
index 9f40198c2dd..00000000000 |
520 |
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.1.ebuild |
521 |
+++ /dev/null |
522 |
@@ -1,111 +0,0 @@ |
523 |
-# Copyright 1999-2019 Gentoo Authors |
524 |
-# Distributed under the terms of the GNU General Public License v2 |
525 |
- |
526 |
-EAPI=7 |
527 |
- |
528 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
529 |
-PYTHON_REQ_USE="threads" |
530 |
-DISTUTILS_OPTIONAL=true |
531 |
-DISTUTILS_IN_SOURCE_BUILD=true |
532 |
- |
533 |
-inherit autotools distutils-r1 flag-o-matic |
534 |
- |
535 |
-MY_PV=$(ver_rs 1-2 '_') |
536 |
-MY_P=${PN/-rasterbar}-${MY_PV} |
537 |
- |
538 |
-DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
539 |
-HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent" |
540 |
-SRC_URI="https://github.com/arvidn/libtorrent/archive/${MY_P}.tar.gz -> ${P}.tar.gz" |
541 |
- |
542 |
-LICENSE="BSD" |
543 |
-SLOT="0/9" |
544 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
545 |
-IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
546 |
- |
547 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
548 |
- |
549 |
-RDEPEND=" |
550 |
- dev-libs/boost:=[threads] |
551 |
- virtual/libiconv |
552 |
- examples? ( !net-p2p/mldonkey ) |
553 |
- python? ( |
554 |
- ${PYTHON_DEPS} |
555 |
- dev-libs/boost:=[python,${PYTHON_USEDEP}] |
556 |
- ) |
557 |
- ssl? ( |
558 |
- !libressl? ( dev-libs/openssl:0= ) |
559 |
- libressl? ( dev-libs/libressl:= ) |
560 |
- ) |
561 |
-" |
562 |
-DEPEND="${RDEPEND} |
563 |
- sys-devel/libtool |
564 |
-" |
565 |
- |
566 |
-S="${WORKDIR}/${PN/-rasterbar}-${MY_P}" |
567 |
- |
568 |
-src_prepare() { |
569 |
- mkdir "${S}"/build-aux/ || die |
570 |
- touch "${S}"/build-aux/config.rpath || die |
571 |
- eautoreconf |
572 |
- |
573 |
- default |
574 |
- |
575 |
- # bug 578026 |
576 |
- # prepend -L${S}/... to ensure bindings link against the lib we just built |
577 |
- sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die |
578 |
- |
579 |
- # prepend -I${S}/... to ensure bindings use the right headers |
580 |
- sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die |
581 |
- |
582 |
- use python && distutils-r1_src_prepare |
583 |
-} |
584 |
- |
585 |
-src_configure() { |
586 |
- append-cxxflags -std=c++11 # bug 634506 |
587 |
- |
588 |
- local myeconfargs=( |
589 |
- $(use_enable debug) |
590 |
- $(use_enable debug export-all) |
591 |
- $(use_enable debug logging) |
592 |
- $(use_enable dht) |
593 |
- $(use_enable examples) |
594 |
- $(use_enable ssl encryption) |
595 |
- $(use_enable static-libs static) |
596 |
- $(use_enable test tests) |
597 |
- --with-libiconv |
598 |
- ) |
599 |
- econf "${myeconfargs[@]}" |
600 |
- |
601 |
- if use python; then |
602 |
- python_configure() { |
603 |
- econf "${myeconfargs[@]}" \ |
604 |
- --enable-python-binding \ |
605 |
- --with-boost-python="${EPYTHON#python}" |
606 |
- } |
607 |
- distutils-r1_src_configure |
608 |
- fi |
609 |
-} |
610 |
- |
611 |
-src_compile() { |
612 |
- default |
613 |
- |
614 |
- python_compile() { |
615 |
- cd "${BUILD_DIR}/../bindings/python" || die |
616 |
- distutils-r1_python_compile |
617 |
- } |
618 |
- use python && distutils-r1_src_compile |
619 |
-} |
620 |
- |
621 |
-src_install() { |
622 |
- use doc && HTML_DOCS+=( "${S}"/docs ) |
623 |
- |
624 |
- default |
625 |
- |
626 |
- python_install() { |
627 |
- cd "${BUILD_DIR}/../bindings/python" || die |
628 |
- distutils-r1_python_install |
629 |
- } |
630 |
- use python && distutils-r1_src_install |
631 |
- |
632 |
- find "${D}" -name '*.la' -delete || die |
633 |
-} |