From 8d804a5ee67cfc27f54bccace39438508d801a48 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 18 Feb 2024 18:34:34 +0000 Subject: Adding metadata --- dev-python/cryptography/Manifest | 2 +- dev-python/cryptography/cryptography-42.0.1.ebuild | 137 -------------------- dev-python/cryptography/cryptography-42.0.3.ebuild | 138 +++++++++++++++++++++ 3 files changed, 139 insertions(+), 138 deletions(-) delete mode 100644 dev-python/cryptography/cryptography-42.0.1.ebuild create mode 100644 dev-python/cryptography/cryptography-42.0.3.ebuild (limited to 'dev-python/cryptography') diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index 05686889991e..309b41c1eff1 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -6,8 +6,8 @@ DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616de DIST bitflags-2.4.2.crate 42602 BLAKE2B 768d4ca52aca73d8acf2f494a66957ed2603eefd5a04332ed0880d230c2cc6ef3bfdc0792fa6f288a0eb132913dbb256793e580bc34f4a40e8200e1fbafe97a9 SHA512 ef4c20e6e78a2ecee97e17189b7100a504d8176c7c15d7f17d62157a116d66f83f8b2bba472a4acf02cd3edbd94b20a7047af918c3f3b371e2e04f7474be0214 DIST cc-1.0.83.crate 68343 BLAKE2B 33245b33fa845ea2f36da36e3830ec835f937e4319865b357ee9d5ea29a0f9f8392eadb38bf1d95e3c15ed201e561acaa87aedcef744f8db3dabff87a96c7f02 SHA512 742a248c3a7547bb220a0b9c97b67a831fab9b4ac21daa08c85a3966b9fe576088def33e16132fcabec9a2828a6fc437088bb045bfc98b2cea829df6742565a7 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff -DIST cryptography-42.0.1.tar.gz 672364 BLAKE2B 5e83c2dff17dc1ae03ca339766c91b28205694d73c9f2a08a169c4e41d63262a7f0180e0f4b92afd2a59d3226576b761c901341bdd4f2568111cfd9e6ffd3063 SHA512 978f21bb14dd15ab559af4c85cbc5c98b2ad047bedc980307d7fc91816ee50ace4b1259dac083eb03f03ce12db1eaae171405e33348ac3affd58c140b986dfbd DIST cryptography-42.0.2.tar.gz 672761 BLAKE2B 9c97305adebb88127cc6e2e44affee6c9703638abb1b09e34da424a617aa9eaddd8498a2452711af998dbe7818a6148392be78106104d01f2106d8de2b65ac97 SHA512 100f604884cfe5335369d48eeb1d28ccd822f13ddd13c007f4a265c887362bda2b88646328ca570c9969897bd838df6c1f6b7fe4abaf36e82cdb93358694b12c +DIST cryptography-42.0.3.tar.gz 669589 BLAKE2B 328c297a989f96d10e92c92d5b84e147512498be7ad205b2f36fcdb6234b4c77ac7f20f3ba8f74d05a573e2eacc68e315a97fbc429b87b5da625d4cf359773bd SHA512 d3733d08afea1cb3ad5a01f241ea7f58aaf38334cd25e2b7f64686ffd697f20ec30133931af7fe6a439ba0cb365d63ea6ec0512c627b768891f9e82c15dc0cdd DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232 DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 diff --git a/dev-python/cryptography/cryptography-42.0.1.ebuild b/dev-python/cryptography/cryptography-42.0.1.ebuild deleted file mode 100644 index b1fe1902a13f..000000000000 --- a/dev-python/cryptography/cryptography-42.0.1.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 2021-2024 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -CARGO_OPTIONAL=yes -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - - -CRATES=" -asn1-0.15.5 -asn1_derive-0.15.5 -autocfg-1.1.0 -base64-0.21.7 -bitflags-1.3.2 -bitflags-2.4.2 -cc-1.0.83 -cfg-if-1.0.0 -foreign-types-0.3.2 -foreign-types-shared-0.1.1 -heck-0.4.1 -indoc-2.0.4 -libc-0.2.152 -lock_api-0.4.11 -memoffset-0.9.0 -once_cell-1.19.0 -openssl-0.10.63 -openssl-macros-0.1.1 -openssl-sys-0.9.99 -parking_lot-0.12.1 -parking_lot_core-0.9.9 -pem-3.0.3 -pkg-config-0.3.29 -proc-macro2-1.0.78 -pyo3-0.20.2 -pyo3-build-config-0.20.2 -pyo3-ffi-0.20.2 -pyo3-macros-0.20.2 -pyo3-macros-backend-0.20.2 -quote-1.0.35 -redox_syscall-0.4.1 -scopeguard-1.2.0 -self_cell-1.0.3 -smallvec-1.13.1 -syn-2.0.48 -target-lexicon-0.12.13 -unicode-ident-1.0.12 -unindent-0.2.3 -vcpkg-0.2.15 -windows-targets-0.48.5 -windows_aarch64_gnullvm-0.48.5 -windows_aarch64_msvc-0.48.5 -windows_i686_gnu-0.48.5 -windows_i686_msvc-0.48.5 -windows_x86_64_gnu-0.48.5 -windows_x86_64_gnullvm-0.48.5 -windows_x86_64_msvc-0.48.5 -" - -inherit cargo distutils-r1 multiprocessing - -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE=" - https://github.com/pyca/cryptography/ - https://pypi.org/project/cryptography/ -" -SRC_URI=" - https://github.com/pyca/cryptography/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris ${CRATES})" - -LICENSE="|| ( Apache-2.0 BSD ) PSF-2" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD MIT - Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="libressl" - -RDEPEND=" - !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) - libressl? ( >=dev-libs/libressl-3.6.0:0= ) - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - ${DEPEND} - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" - -distutils_enable_tests pytest - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - default - - sed -i -e 's:--benchmark-disable::' pyproject.toml || die - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi -} - -python_configure_all() { - filter-lto # bug #903908 -} - -python_test() { - local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} diff --git a/dev-python/cryptography/cryptography-42.0.3.ebuild b/dev-python/cryptography/cryptography-42.0.3.ebuild new file mode 100644 index 000000000000..f141d8de52d7 --- /dev/null +++ b/dev-python/cryptography/cryptography-42.0.3.ebuild @@ -0,0 +1,138 @@ +# Copyright 2021-2024 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +CARGO_OPTIONAL=yes +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="threads(+)" + + + +CRATES=" +asn1-0.15.5 +asn1_derive-0.15.5 +autocfg-1.1.0 +base64-0.21.7 +bitflags-1.3.2 +bitflags-2.4.2 +cc-1.0.83 +cfg-if-1.0.0 +foreign-types-0.3.2 +foreign-types-shared-0.1.1 +heck-0.4.1 +indoc-2.0.4 +libc-0.2.152 +lock_api-0.4.11 +memoffset-0.9.0 +once_cell-1.19.0 +openssl-0.10.63 +openssl-macros-0.1.1 +openssl-sys-0.9.99 +parking_lot-0.12.1 +parking_lot_core-0.9.9 +pem-3.0.3 +pkg-config-0.3.29 +proc-macro2-1.0.78 +pyo3-0.20.2 +pyo3-build-config-0.20.2 +pyo3-ffi-0.20.2 +pyo3-macros-0.20.2 +pyo3-macros-backend-0.20.2 +quote-1.0.35 +redox_syscall-0.4.1 +scopeguard-1.2.0 +self_cell-1.0.3 +smallvec-1.13.1 +syn-2.0.48 +target-lexicon-0.12.13 +unicode-ident-1.0.12 +unindent-0.2.3 +vcpkg-0.2.15 +windows-targets-0.48.5 +windows_aarch64_gnullvm-0.48.5 +windows_aarch64_msvc-0.48.5 +windows_i686_gnu-0.48.5 +windows_i686_msvc-0.48.5 +windows_x86_64_gnu-0.48.5 +windows_x86_64_gnullvm-0.48.5 +windows_x86_64_msvc-0.48.5 +" + +inherit cargo distutils-r1 multiprocessing + +DESCRIPTION="Library providing cryptographic recipes and primitives" +HOMEPAGE=" + https://github.com/pyca/cryptography/ + https://pypi.org/project/cryptography/ +" +SRC_URI=" + https://github.com/pyca/cryptography/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES})" + +LICENSE="|| ( Apache-2.0 BSD ) PSF-2" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD MIT + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="libressl" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) + libressl? ( >=dev-libs/libressl-3.6.0:0= ) + $(python_gen_cond_dep ' + >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] + ' 'python*') +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] + dev-python/iso8601[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" + +distutils_enable_tests pytest + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + default + + sed -i -e 's:--benchmark-disable::' pyproject.toml || die + + # work around availability macros not supported in GCC (yet) + if [[ ${CHOST} == *-darwin* ]] ; then + local darwinok=0 + if [[ ${CHOST##*-darwin} -ge 16 ]] ; then + darwinok=1 + fi + sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ + src/_cffi_src/openssl/src/osrandom_engine.c || die + fi +} + +python_configure_all() { + filter-lto # bug #903908 +} + +python_test() { + local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} -- cgit v1.3