Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/
Date: Sat, 01 Jan 2022 09:39:05
Message-Id: 1641029913.b4c6d315ef4456f223851a4aeee6892d26571a32.sam@gentoo
1 commit: b4c6d315ef4456f223851a4aeee6892d26571a32
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 1 09:36:13 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 1 09:38:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c6d315
7
8 dev-libs/botan: drop 2.17.3-r1, 2.18.1-r1, 2.18.2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-libs/botan/Manifest | 3 -
13 dev-libs/botan/botan-2.17.3-r1.ebuild | 131 ---------------------------
14 dev-libs/botan/botan-2.18.1-r1.ebuild | 166 ----------------------------------
15 dev-libs/botan/botan-2.18.2.ebuild | 165 ---------------------------------
16 4 files changed, 465 deletions(-)
17
18 diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest
19 index eef83723d52b..8d41a36d78f5 100644
20 --- a/dev-libs/botan/Manifest
21 +++ b/dev-libs/botan/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST Botan-2.17.3.tar.xz 5937596 BLAKE2B 605e71c959889b459bc26f17d310a33f26c9a51fe00db91db407ac5b96c9ff57bef67a401f71826e83e0d4eda2289c22685957289e6bb357f3693a1bce60f44d SHA512 ead0f144dfb9eca66d0e81e376d0d49f4b0b6bc1599f8cf52299e1753645b5b20100efa004ef5f9571f7bea88958f35db38367fc26f2603890f8f199cc890dbc
24 -DIST Botan-2.18.1.tar.xz 5953936 BLAKE2B 82f6a9563377542d059901adec0fc17a41b0184cf59af76084babec2591830314a4d7f8d3308eb393c4910c9b0e6c056625765f0d95b435f47dc94cf4b83b128 SHA512 2f11d1ab703d977a2d64504d2a2489ce56109a2a6c46c0dc7c8db428470ce511bcc0160f70baedad29237abd5e1622f2c155ea58c4dec4d3ae57ee7b350415c3
25 -DIST Botan-2.18.1.tar.xz.asc 488 BLAKE2B d7e6f18ba969b1fffe5aec27ec28839bb6eefac438b0971bb24293a9a1dc104d4355feaae4f8749ea9ea9a729e9f0c0368782c60c2f1aaed58620624248d09d2 SHA512 0cb24d544e31f347e649661d28fedaad4352cd5096ad41e1513c7915138981c7c099e4ee6025893ed829a65082aaded738a94018a8e0bc079f4f0fb63bbec262
26 DIST Botan-2.18.2.tar.xz 5996928 BLAKE2B 5c5ac1e8e2de16a012aa5716138f4c2d2b8178f0a811993e5e297aa5ae9e7f6d5a4f182d50566f5848a4f93a88bcec622291a15370c4c017361ca65d3bb189bf SHA512 ccf9286ee891fb201065a0a6a991ce78ef7f5dd0caf04010527cd524b824ea470e5ce302853c1839e999a1b3dafb2e82eb298036a37d11f0cf3df5fa09529d9c
27 DIST Botan-2.18.2.tar.xz.asc 488 BLAKE2B 03744e95f52031295162b63dc34d7e0fd9a6b01ae751a809eed5f24c46017fca253c8d42c88b568566f393f0e6dd55d488ef56223d164941386690e2accdf296 SHA512 6764bcdb52a3a28672bcf22f8c364c926511a7b7c9bc227ba15f1e4b2feb9b371a9a4bd9bb1ee43e85faacbef4df5ce39a158357b4ce3706a00f4220bea8d926
28
29 diff --git a/dev-libs/botan/botan-2.17.3-r1.ebuild b/dev-libs/botan/botan-2.17.3-r1.ebuild
30 deleted file mode 100644
31 index 9900e923b2a8..000000000000
32 --- a/dev-libs/botan/botan-2.17.3-r1.ebuild
33 +++ /dev/null
34 @@ -1,131 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( python3_{7,8,9} )
41 -
42 -inherit python-r1 toolchain-funcs
43 -
44 -MY_P="Botan-${PV}"
45 -
46 -DESCRIPTION="C++ crypto library"
47 -HOMEPAGE="https://botan.randombit.net/"
48 -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz"
49 -S="${WORKDIR}/${MY_P}"
50 -
51 -LICENSE="BSD-2"
52 -SLOT="2/$(ver_cut 1-2)" # soname version
53 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos"
54 -IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib"
55 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
56 -
57 -BDEPEND="
58 - ${PYTHON_DEPS}
59 - $(python_gen_any_dep '
60 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
61 - ')
62 -"
63 -
64 -# NOTE: Boost is needed at runtime too for the CLI tool.
65 -DEPEND="
66 - boost? ( >=dev-libs/boost-1.48:= )
67 - bzip2? ( >=app-arch/bzip2-1.0.5:= )
68 - lzma? ( app-arch/xz-utils:= )
69 - python? ( ${PYTHON_DEPS} )
70 - ssl? (
71 - dev-libs/openssl:0=[bindist(-)=]
72 - )
73 - sqlite? ( dev-db/sqlite:3= )
74 - zlib? ( >=sys-libs/zlib-1.2.3:= )
75 -"
76 -
77 -RDEPEND="${DEPEND}"
78 -
79 -# NOTE: Considering patching Botan?
80 -# Please see upstream's guidance:
81 -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches
82 -
83 -python_check_deps() {
84 - if use doc ; then
85 - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1
86 - fi
87 -}
88 -
89 -src_configure() {
90 - python_setup
91 -
92 - local disable_modules=()
93 - use boost || disable_modules+=( "boost" )
94 - use bindist && disable_modules+=( "ecdsa" )
95 - elog "Disabling module(s): ${disable_modules[@]}"
96 -
97 - # Enable v9 instructions for sparc64
98 - local chostarch="${CHOST%%-*}"
99 - if [[ "${PROFILE_ARCH}" = "sparc64" ]] ; then
100 - chostarch="sparc32-v9"
101 - fi
102 -
103 - local myos=
104 - case ${CHOST} in
105 - *-darwin*) myos=darwin ;;
106 - *) myos=linux ;;
107 - esac
108 -
109 - case ${CHOST} in
110 - hppa*) chostarch=parisc ;;
111 - esac
112 -
113 - local pythonvers=()
114 - if use python ; then
115 - _append() {
116 - pythonvers+=( ${EPYTHON/python/} )
117 - }
118 -
119 - python_foreach_impl _append
120 - fi
121 -
122 - # Don't install Python bindings automatically
123 - # (do it manually later in the right place)
124 - # https://bugs.gentoo.org/723096
125 - local myargs=(
126 - $(use_enable static-libs static-library)
127 - $(use_with boost)
128 - $(use_with bzip2)
129 - $(use_with doc documentation)
130 - $(use_with doc sphinx)
131 - $(use_with lzma)
132 - $(use_with sqlite sqlite3)
133 - $(use_with ssl openssl)
134 - $(use_with zlib)
135 - $(usex hppa --without-stack-protector '')
136 - --cpu=${chostarch}
137 - --disable-modules=$( IFS=","; echo "${disable_modules[*]}" )
138 - --docdir=share/doc
139 - --libdir=$(get_libdir)
140 - --os=${myos}
141 - --distribution-info="Gentoo ${PVR}"
142 - --prefix="${EPREFIX}/usr"
143 - --with-endian="$(tc-endian)"
144 - --with-python-version=$( IFS=","; echo "${pythonvers[*]}" )
145 - --without-doxygen
146 - --no-install-python-module
147 - )
148 -
149 - tc-export CC CXX AR
150 -
151 - ${EPYTHON} configure.py "${myargs[@]}" || die "configure.py failed with ${EPYTHON}"
152 -}
153 -
154 -src_test() {
155 - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed"
156 -}
157 -
158 -src_install() {
159 - default
160 -
161 - # Manually install the Python bindings (bug #723096)
162 - if use python ; then
163 - python_foreach_impl python_domodule src/python/botan2.py
164 - fi
165 -}
166
167 diff --git a/dev-libs/botan/botan-2.18.1-r1.ebuild b/dev-libs/botan/botan-2.18.1-r1.ebuild
168 deleted file mode 100644
169 index 2bd62f0815f7..000000000000
170 --- a/dev-libs/botan/botan-2.18.1-r1.ebuild
171 +++ /dev/null
172 @@ -1,166 +0,0 @@
173 -# Copyright 1999-2021 Gentoo Authors
174 -# Distributed under the terms of the GNU General Public License v2
175 -
176 -EAPI=7
177 -
178 -PYTHON_COMPAT=( python3_{8,9,10} )
179 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/botan.asc
180 -inherit python-r1 toolchain-funcs verify-sig
181 -
182 -MY_P="Botan-${PV}"
183 -DESCRIPTION="C++ crypto library"
184 -HOMEPAGE="https://botan.randombit.net/"
185 -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz"
186 -SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )"
187 -S="${WORKDIR}/${MY_P}"
188 -
189 -LICENSE="BSD-2"
190 -SLOT="2/$(ver_cut 1-2)" # soname version
191 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos"
192 -IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib"
193 -
194 -CPU_USE=(
195 - cpu_flags_arm_{aes,neon}
196 - cpu_flags_ppc_altivec
197 - cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2}
198 -)
199 -
200 -IUSE+=" ${CPU_USE[@]}"
201 -
202 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
203 -
204 -# NOTE: Boost is needed at runtime too for the CLI tool.
205 -DEPEND="
206 - boost? ( >=dev-libs/boost-1.48:= )
207 - bzip2? ( >=app-arch/bzip2-1.0.5:= )
208 - lzma? ( app-arch/xz-utils:= )
209 - python? ( ${PYTHON_DEPS} )
210 - ssl? ( dev-libs/openssl:0=[bindist(-)=] )
211 - sqlite? ( dev-db/sqlite:3= )
212 - zlib? ( >=sys-libs/zlib-1.2.3:= )
213 -"
214 -RDEPEND="${DEPEND}"
215 -BDEPEND="
216 - ${PYTHON_DEPS}
217 - $(python_gen_any_dep '
218 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
219 - ')
220 - verify-sig? ( sec-keys/openpgp-keys-botan )
221 -"
222 -
223 -# NOTE: Considering patching Botan?
224 -# Please see upstream's guidance:
225 -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches
226 -
227 -python_check_deps() {
228 - if use doc ; then
229 - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1
230 - fi
231 -}
232 -
233 -src_configure() {
234 - python_setup
235 -
236 - local disable_modules=(
237 - $(usex boost '' 'boost')
238 - $(usex bindist 'ecdsa' '')
239 - )
240 -
241 - if [[ -z "${DISABLE_MODULES}" ]] ; then
242 - elog "Disabling module(s): ${disable_modules[@]}"
243 - fi
244 -
245 - local chostarch="${CHOST%%-*}"
246 -
247 - # Arch specific wrangling
248 -
249 - local myos=
250 - case ${CHOST} in
251 - *-darwin*)
252 - myos=darwin
253 - ;;
254 -
255 - *)
256 - myos=linux
257 -
258 - if [[ ${CHOST} == *hppa* ]] ; then
259 - chostarch=parisc
260 - elif [[ ${PROFILE_ARCH} == "sparc64" ]] ; then
261 - chostarch="sparc32-v9"
262 - fi
263 - ;;
264 -
265 - esac
266 -
267 - local pythonvers=()
268 - if use python ; then
269 - _append() {
270 - pythonvers+=( ${EPYTHON/python/} )
271 - }
272 -
273 - python_foreach_impl _append
274 - fi
275 -
276 - local myargs=(
277 - # Intrinsics
278 - # TODO: x86 RDSEED (new CPU_FLAGS_X86?)
279 - # TODO: POWER Crypto (new CPU_FLAGS_PPC?)
280 - $(usex cpu_flags_arm_aes '' '--disable-armv8crypto')
281 - $(usex cpu_flags_arm_neon '' '--disable-neon')
282 - $(usex cpu_flags_ppc_altivec '' '--disable-altivec')
283 - $(usex cpu_flags_x86_aes '' '--disable-aes-ni')
284 - $(usex cpu_flags_x86_avx2 '' '--disable-avx2')
285 - $(usex cpu_flags_x86_popcnt '' '--disable-bmi2')
286 - $(usex cpu_flags_x86_rdrand '' '--disable-rdrand')
287 - $(usex cpu_flags_x86_sse2 '' '--disable-sse2')
288 - $(usex cpu_flags_x86_ssse3 '' '--disable-ssse3')
289 - $(usex cpu_flags_x86_sse4_1 '' '--disable-sse4.1')
290 - $(usex cpu_flags_x86_sse4_2 '' '--disable-sse4.2')
291 -
292 - $(usex hppa --without-stack-protector '')
293 -
294 - $(use_with boost)
295 - $(use_with bzip2)
296 - $(use_with doc documentation)
297 - $(use_with doc sphinx)
298 - $(use_with lzma)
299 - $(use_enable static-libs static-library)
300 - $(use_with ssl openssl)
301 - $(use_with sqlite sqlite3)
302 - $(use_with zlib)
303 -
304 - --cpu=${chostarch}
305 - --docdir=share/doc
306 - --disable-modules=$( IFS=","; echo "${disable_modules[*]}" )
307 - --distribution-info="Gentoo ${PVR}"
308 - --libdir=$(get_libdir)
309 -
310 - # Don't install Python bindings automatically
311 - # (do it manually later in the right place)
312 - # https://bugs.gentoo.org/723096
313 - --no-install-python-module
314 -
315 - --os=${myos}
316 - --prefix="${EPREFIX}/usr"
317 - --with-endian="$(tc-endian)"
318 - --with-python-version=$( IFS=","; echo "${pythonvers[*]}" )
319 - --without-doxygen
320 - )
321 -
322 - tc-export CC CXX AR
323 -
324 - ${EPYTHON} configure.py "${myargs[@]}" || die "configure.py failed with ${EPYTHON}"
325 -}
326 -
327 -src_test() {
328 - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed"
329 -}
330 -
331 -src_install() {
332 - default
333 -
334 - # Manually install the Python bindings (bug #723096)
335 - if use python ; then
336 - python_foreach_impl python_domodule src/python/botan2.py
337 - fi
338 -}
339
340 diff --git a/dev-libs/botan/botan-2.18.2.ebuild b/dev-libs/botan/botan-2.18.2.ebuild
341 deleted file mode 100644
342 index c13bf19a1196..000000000000
343 --- a/dev-libs/botan/botan-2.18.2.ebuild
344 +++ /dev/null
345 @@ -1,165 +0,0 @@
346 -# Copyright 1999-2021 Gentoo Authors
347 -# Distributed under the terms of the GNU General Public License v2
348 -
349 -EAPI=8
350 -
351 -PYTHON_COMPAT=( python3_{8..10} )
352 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/botan.asc
353 -inherit python-r1 toolchain-funcs verify-sig
354 -
355 -MY_P="Botan-${PV}"
356 -DESCRIPTION="C++ crypto library"
357 -HOMEPAGE="https://botan.randombit.net/"
358 -SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz"
359 -SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )"
360 -S="${WORKDIR}/${MY_P}"
361 -
362 -LICENSE="BSD-2"
363 -SLOT="2/$(ver_cut 1-2)" # soname version
364 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~ppc-macos"
365 -IUSE="bindist doc boost bzip2 lzma python ssl static-libs sqlite zlib"
366 -
367 -CPU_USE=(
368 - cpu_flags_arm_{aes,neon}
369 - cpu_flags_ppc_altivec
370 - cpu_flags_x86_{aes,avx2,popcnt,rdrand,sse2,ssse3,sse4_1,sse4_2}
371 -)
372 -
373 -IUSE+=" ${CPU_USE[@]}"
374 -
375 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
376 -
377 -# NOTE: Boost is needed at runtime too for the CLI tool.
378 -DEPEND="
379 - boost? ( >=dev-libs/boost-1.48:= )
380 - bzip2? ( >=app-arch/bzip2-1.0.5:= )
381 - lzma? ( app-arch/xz-utils:= )
382 - python? ( ${PYTHON_DEPS} )
383 - ssl? ( dev-libs/openssl:0=[bindist(-)=] )
384 - sqlite? ( dev-db/sqlite:3= )
385 - zlib? ( >=sys-libs/zlib-1.2.3:= )
386 -"
387 -RDEPEND="${DEPEND}"
388 -BDEPEND="
389 - ${PYTHON_DEPS}
390 - $(python_gen_any_dep '
391 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
392 - ')
393 - verify-sig? ( sec-keys/openpgp-keys-botan )
394 -"
395 -
396 -# NOTE: Considering patching Botan?
397 -# Please see upstream's guidance:
398 -# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches
399 -
400 -python_check_deps() {
401 - if use doc ; then
402 - has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1
403 - fi
404 -}
405 -
406 -src_configure() {
407 - python_setup
408 -
409 - local disable_modules=(
410 - $(usev !boost 'boost')
411 - $(usev bindist 'ecdsa')
412 - )
413 -
414 - if [[ -z "${DISABLE_MODULES}" ]] ; then
415 - elog "Disabling module(s): ${disable_modules[@]}"
416 - fi
417 -
418 - local chostarch="${CHOST%%-*}"
419 -
420 - # Arch specific wrangling
421 - local myos=
422 - case ${CHOST} in
423 - *-darwin*)
424 - myos=darwin
425 - ;;
426 -
427 - *)
428 - myos=linux
429 -
430 - if [[ ${CHOST} == *hppa* ]] ; then
431 - chostarch=parisc
432 - elif [[ ${PROFILE_ARCH} == "sparc64" ]] ; then
433 - chostarch="sparc32-v9"
434 - fi
435 - ;;
436 -
437 - esac
438 -
439 - local pythonvers=()
440 - if use python ; then
441 - _append() {
442 - pythonvers+=( ${EPYTHON/python/} )
443 - }
444 -
445 - python_foreach_impl _append
446 - fi
447 -
448 - local myargs=(
449 - # Intrinsics
450 - # TODO: x86 RDSEED (new CPU_FLAGS_X86?)
451 - # TODO: POWER Crypto (new CPU_FLAGS_PPC?)
452 - $(usev !cpu_flags_arm_aes '--disable-armv8crypto')
453 - $(usev !cpu_flags_arm_neon '--disable-neon')
454 - $(usev !cpu_flags_ppc_altivec '--disable-altivec')
455 - $(usev !cpu_flags_x86_aes '--disable-aes-ni')
456 - $(usev !cpu_flags_x86_avx2 '--disable-avx2')
457 - $(usev !cpu_flags_x86_popcnt '--disable-bmi2')
458 - $(usev !cpu_flags_x86_rdrand '--disable-rdrand')
459 - $(usev !cpu_flags_x86_sse2 '--disable-sse2')
460 - $(usev !cpu_flags_x86_ssse3 '--disable-ssse3')
461 - $(usev !cpu_flags_x86_sse4_1 '--disable-sse4.1')
462 - $(usev !cpu_flags_x86_sse4_2 '--disable-sse4.2')
463 -
464 - $(usev hppa '--without-stack-protector')
465 -
466 - $(use_with boost)
467 - $(use_with bzip2)
468 - $(use_with doc documentation)
469 - $(use_with doc sphinx)
470 - $(use_with lzma)
471 - $(use_enable static-libs static-library)
472 - $(use_with ssl openssl)
473 - $(use_with sqlite sqlite3)
474 - $(use_with zlib)
475 -
476 - --cpu=${chostarch}
477 - --docdir=share/doc
478 - --disable-modules=$( IFS=","; echo "${disable_modules[*]}" )
479 - --distribution-info="Gentoo ${PVR}"
480 - --libdir=$(get_libdir)
481 -
482 - # Don't install Python bindings automatically
483 - # (do it manually later in the right place)
484 - # https://bugs.gentoo.org/723096
485 - --no-install-python-module
486 -
487 - --os=${myos}
488 - --prefix="${EPREFIX}/usr"
489 - --with-endian="$(tc-endian)"
490 - --with-python-version=$( IFS=","; echo "${pythonvers[*]}" )
491 - --without-doxygen
492 - )
493 -
494 - tc-export CC CXX AR
495 -
496 - ${EPYTHON} configure.py "${myargs[@]}" || die "configure.py failed with ${EPYTHON}"
497 -}
498 -
499 -src_test() {
500 - LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed"
501 -}
502 -
503 -src_install() {
504 - default
505 -
506 - # Manually install the Python bindings (bug #723096)
507 - if use python ; then
508 - python_foreach_impl python_domodule src/python/botan2.py
509 - fi
510 -}