Gentoo Archives: gentoo-commits

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