Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
Date: Sat, 25 Jun 2022 21:18:36
Message-Id: 1656191897.0d9916f56c377aab4143f2f2b157f62d97e2da0f.soap@gentoo
1 commit: 0d9916f56c377aab4143f2f2b157f62d97e2da0f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 21:18:17 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 21:18:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9916f5
7
8 net-libs/libtorrent-rasterbar: drop 1.2.15-r1, 1.2.16, 2.0.5
9
10 Closes: https://bugs.gentoo.org/775104
11 Closes: https://bugs.gentoo.org/791016
12 Closes: https://bugs.gentoo.org/832424
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 net-libs/libtorrent-rasterbar/Manifest | 3 -
16 .../libtorrent-rasterbar-2.0.5-boost-1.78.patch | 46 -------------
17 .../libtorrent-rasterbar-1.2.15-r1.ebuild | 69 -------------------
18 .../libtorrent-rasterbar-1.2.16.ebuild | 69 -------------------
19 .../libtorrent-rasterbar-2.0.5.ebuild | 78 ----------------------
20 5 files changed, 265 deletions(-)
21
22 diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest
23 index 7eb5e03678e5..45b2ea13fd39 100644
24 --- a/net-libs/libtorrent-rasterbar/Manifest
25 +++ b/net-libs/libtorrent-rasterbar/Manifest
26 @@ -1,4 +1 @@
27 -DIST libtorrent-rasterbar-1.2.15.tar.gz 4163049 BLAKE2B 282d6cf19897706f96d68c75df3c1f5f004df38c07ca2fcaa760f0004512dc8759ea47d4e0c96ff4d8ac2d23569a05507c5dd0667d83c702e14825a0d9ffcd0e SHA512 c409c53ec9c299a05b51ab61d7df1209803cbd6070f0a014dd6fb42c30f6f5230ea90848330f901c61816bc70901e618409acacc95bb0e5acb7f81211d001fa2
28 -DIST libtorrent-rasterbar-1.2.16.tar.gz 4163867 BLAKE2B 2cb4c79d83854bf3e5fc1b2ff9a361539b7690d0df3c2c15f2df1c7b9e782df51fbab57920a3bac56dff872c829a49303d66d33cdc10586ccc01dad3e83b149c SHA512 2bad1bf1604f99b85567056f798bfb78cdd663612291536d1145141e61f843aced416f7608911793c948d77802ef5b3088197b914c100a4278c94033eb304d4b
29 -DIST libtorrent-rasterbar-2.0.5.tar.gz 4407260 BLAKE2B 71c64879be103326fe438ba6b11b672fb0d631ed0de4eb23c2595f3596b522693594ded9f8733c7827dd668e285cb5099cad78bcd437ec184837eafbd39b356f SHA512 be5b812135dada957e565085b5bdda06827c8427f78a4468ef263e1a1e33d3a0bbba7ac27235f0d17ae6087d54311281e3b1975eef81cda514acc8329862dc04
30 DIST libtorrent-rasterbar-2.0.6.tar.gz 4431174 BLAKE2B 4951a102b68a5a7ba9a98d771ca638e8438b2aeaa95f5d7bf616542c7a02d28e184ee1bf5b7a55cd91a068cd2d4e9756c479e4ddb5eabe89d8aa833d70aa7502 SHA512 4a5d710706040ef6193967dbb13998cb0ddebe7e95c3bf8aec0812876027c68c32b001fd3f07cd4ff1b819660a8d46ae8c7077e72caf92572288a51cdec7daea
31
32 diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch
33 deleted file mode 100644
34 index 93e14963e366..000000000000
35 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch
36 +++ /dev/null
37 @@ -1,46 +0,0 @@
38 -From feb911a19c8a66bf13915973649d3a4f5d729f12 Mon Sep 17 00:00:00 2001
39 -From: arvidn <arvid@××××××××××.org>
40 -Date: Sun, 12 Dec 2021 21:52:15 +0100
41 -Subject: [PATCH] update allocator sizes for boost-1.78
42 -
43 ----
44 - include/libtorrent/aux_/allocating_handler.hpp | 16 ++++++++--------
45 - 1 file changed, 8 insertions(+), 8 deletions(-)
46 -
47 -diff --git a/include/libtorrent/aux_/allocating_handler.hpp b/include/libtorrent/aux_/allocating_handler.hpp
48 -index 726032e085c..7096dfd2e67 100644
49 ---- a/include/libtorrent/aux_/allocating_handler.hpp
50 -+++ b/include/libtorrent/aux_/allocating_handler.hpp
51 -@@ -77,11 +77,11 @@ namespace libtorrent { namespace aux {
52 - constexpr std::size_t openssl_write_cost = 0;
53 - #endif
54 -
55 -- constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + 102 + 8 * sizeof(void*);
56 -- constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + 102 + 8 * sizeof(void*);
57 -- constexpr std::size_t udp_handler_max_size = tracking + debug_tick + 144 + 8 * sizeof(void*);
58 -- constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 168 + 8 * sizeof(void*);
59 -- constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 160;
60 -+ constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + 102 + 9 * sizeof(void*);
61 -+ constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + 102 + 9 * sizeof(void*);
62 -+ constexpr std::size_t udp_handler_max_size = tracking + debug_tick + 144 + 9 * sizeof(void*);
63 -+ constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 168 + 9 * sizeof(void*);
64 -+ constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 168;
65 - constexpr std::size_t abort_handler_max_size = tracking + debug_tick + 104;
66 - constexpr std::size_t submit_handler_max_size = tracking + debug_tick + 104;
67 - constexpr std::size_t deferred_handler_max_size = tracking + debug_tick + 112;
68 -@@ -124,12 +124,12 @@ namespace libtorrent { namespace aux {
69 - #endif
70 - constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 168;
71 - constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 168;
72 -- constexpr std::size_t udp_handler_max_size = tracking + 160;
73 -- constexpr std::size_t utp_handler_max_size = tracking + 184;
74 -+ constexpr std::size_t udp_handler_max_size = tracking + 168;
75 -+ constexpr std::size_t utp_handler_max_size = tracking + 192;
76 - constexpr std::size_t abort_handler_max_size = tracking + 72;
77 - constexpr std::size_t submit_handler_max_size = tracking + 72;
78 - constexpr std::size_t deferred_handler_max_size = tracking + 80;
79 -- constexpr std::size_t tick_handler_max_size = tracking + 128;
80 -+ constexpr std::size_t tick_handler_max_size = tracking + 136;
81 - #endif
82 -
83 - enum HandlerName
84
85 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild
86 deleted file mode 100644
87 index 94e0b8f3d964..000000000000
88 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild
89 +++ /dev/null
90 @@ -1,69 +0,0 @@
91 -# Copyright 2021-2022 Gentoo Authors
92 -# Distributed under the terms of the GNU General Public License v2
93 -
94 -EAPI=7
95 -
96 -PYTHON_COMPAT=( python3_{8,9,10} )
97 -
98 -inherit cmake python-single-r1
99 -
100 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
101 -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent"
102 -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz"
103 -
104 -LICENSE="BSD"
105 -SLOT="0/10"
106 -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86"
107 -IUSE="+dht debug python ssl test"
108 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
109 -RESTRICT="!test? ( test )"
110 -
111 -DEPEND="
112 - dev-libs/boost:=[threads(+)]
113 - python? (
114 - ${PYTHON_DEPS}
115 - $(python_gen_cond_dep '
116 - dev-libs/boost[python,${PYTHON_USEDEP}]
117 - ')
118 - )
119 - ssl? ( dev-libs/openssl:= )
120 -"
121 -RDEPEND="${DEPEND}"
122 -BDEPEND="python? (
123 - $(python_gen_cond_dep '
124 - dev-python/setuptools[${PYTHON_USEDEP}]
125 - ')
126 - )"
127 -
128 -pkg_setup() {
129 - use python && python-single-r1_pkg_setup
130 -}
131 -
132 -src_configure() {
133 - local mycmakeargs=(
134 - -DBUILD_SHARED_LIBS=ON
135 - -Dbuild_examples=OFF
136 - -Ddht=$(usex dht ON OFF)
137 - -Dencryption=$(usex ssl ON OFF)
138 - -Dlogging=$(usex debug ON OFF)
139 - -Dpython-bindings=$(usex python ON OFF)
140 - -Dbuild_tests=$(usex test ON OFF)
141 - )
142 -
143 - # We need to drop the . from the Python version to satisfy Boost's
144 - # FindBoost.cmake module, bug #793038.
145 - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" )
146 -
147 - cmake_src_configure
148 -}
149 -
150 -src_test() {
151 - local myctestargs=(
152 - # Needs running UPnP server
153 - -E "test_upnp"
154 - )
155 -
156 - # Checked out Fedora's test workarounds for inspiration
157 - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120
158 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test
159 -}
160
161 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.16.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.16.ebuild
162 deleted file mode 100644
163 index ee7e88d32406..000000000000
164 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.16.ebuild
165 +++ /dev/null
166 @@ -1,69 +0,0 @@
167 -# Copyright 2021-2022 Gentoo Authors
168 -# Distributed under the terms of the GNU General Public License v2
169 -
170 -EAPI=7
171 -
172 -PYTHON_COMPAT=( python3_{8,9,10} )
173 -
174 -inherit cmake python-single-r1
175 -
176 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
177 -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent"
178 -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz"
179 -
180 -LICENSE="BSD"
181 -SLOT="0/10"
182 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
183 -IUSE="+dht debug python ssl test"
184 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
185 -RESTRICT="!test? ( test )"
186 -
187 -DEPEND="
188 - dev-libs/boost:=[threads(+)]
189 - python? (
190 - ${PYTHON_DEPS}
191 - $(python_gen_cond_dep '
192 - dev-libs/boost[python,${PYTHON_USEDEP}]
193 - ')
194 - )
195 - ssl? ( dev-libs/openssl:= )
196 -"
197 -RDEPEND="${DEPEND}"
198 -BDEPEND="python? (
199 - $(python_gen_cond_dep '
200 - dev-python/setuptools[${PYTHON_USEDEP}]
201 - ')
202 - )"
203 -
204 -pkg_setup() {
205 - use python && python-single-r1_pkg_setup
206 -}
207 -
208 -src_configure() {
209 - local mycmakeargs=(
210 - -DBUILD_SHARED_LIBS=ON
211 - -Dbuild_examples=OFF
212 - -Ddht=$(usex dht ON OFF)
213 - -Dencryption=$(usex ssl ON OFF)
214 - -Dlogging=$(usex debug ON OFF)
215 - -Dpython-bindings=$(usex python ON OFF)
216 - -Dbuild_tests=$(usex test ON OFF)
217 - )
218 -
219 - # We need to drop the . from the Python version to satisfy Boost's
220 - # FindBoost.cmake module, bug #793038.
221 - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" )
222 -
223 - cmake_src_configure
224 -}
225 -
226 -src_test() {
227 - local myctestargs=(
228 - # Needs running UPnP server
229 - -E "test_upnp"
230 - )
231 -
232 - # Checked out Fedora's test workarounds for inspiration
233 - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120
234 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test
235 -}
236
237 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild
238 deleted file mode 100644
239 index 03981e30ef77..000000000000
240 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild
241 +++ /dev/null
242 @@ -1,78 +0,0 @@
243 -# Copyright 2021-2022 Gentoo Authors
244 -# Distributed under the terms of the GNU General Public License v2
245 -
246 -EAPI=7
247 -
248 -PYTHON_COMPAT=( python3_{8,9,10} )
249 -
250 -inherit cmake python-single-r1
251 -
252 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
253 -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent"
254 -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz"
255 -
256 -LICENSE="BSD"
257 -SLOT="0/2.0"
258 -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
259 -IUSE="+dht debug gnutls python ssl test"
260 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
261 -RESTRICT="!test? ( test )"
262 -
263 -DEPEND="
264 - dev-libs/boost:=[threads(+)]
265 - python? (
266 - ${PYTHON_DEPS}
267 - $(python_gen_cond_dep '
268 - dev-libs/boost[python,${PYTHON_USEDEP}]
269 - ')
270 - )
271 - ssl? (
272 - gnutls? ( net-libs/gnutls:= )
273 - !gnutls? ( dev-libs/openssl:= )
274 - )
275 -"
276 -RDEPEND="${DEPEND}"
277 -BDEPEND="python? (
278 - $(python_gen_cond_dep '
279 - dev-python/setuptools[${PYTHON_USEDEP}]
280 - ')
281 - )"
282 -
283 -PATCHES=(
284 - "${FILESDIR}/${P}-boost-1.78.patch"
285 -)
286 -
287 -pkg_setup() {
288 - use python && python-single-r1_pkg_setup
289 -}
290 -
291 -src_configure() {
292 - local mycmakeargs=(
293 - -DCMAKE_CXX_STANDARD=17
294 - -DBUILD_SHARED_LIBS=ON
295 - -Dbuild_examples=OFF
296 - -Ddht=$(usex dht ON OFF)
297 - -Dencryption=$(usex ssl ON OFF)
298 - -Dgnutls=$(usex gnutls ON OFF)
299 - -Dlogging=$(usex debug ON OFF)
300 - -Dpython-bindings=$(usex python ON OFF)
301 - -Dbuild_tests=$(usex test ON OFF)
302 - )
303 -
304 - # We need to drop the . from the Python version to satisfy Boost's
305 - # FindBoost.cmake module, bug #793038.
306 - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" )
307 -
308 - cmake_src_configure
309 -}
310 -
311 -src_test() {
312 - local myctestargs=(
313 - # Needs running UPnP server
314 - -E "test_upnp"
315 - )
316 -
317 - # Checked out Fedora's test workarounds for inspiration
318 - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120
319 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test
320 -}