From 1a0422d9518fb795cbf2e9ffd2310ed561b5c5db Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 5 May 2022 00:39:32 +0000 Subject: Adding metadata --- dev-python/cryptography/Manifest | 2 +- dev-python/cryptography/cryptography-37.0.0.ebuild | 123 --------------------- dev-python/cryptography/cryptography-37.0.2.ebuild | 119 ++++++++++++++++++++ 3 files changed, 120 insertions(+), 124 deletions(-) delete mode 100644 dev-python/cryptography/cryptography-37.0.0.ebuild create mode 100644 dev-python/cryptography/cryptography-37.0.2.ebuild (limited to 'dev-python/cryptography') diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index 5352f3feb91f..478753235d57 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -14,8 +14,8 @@ DIST chrono-0.4.19.crate 155663 BLAKE2B c92c273fb6475bbb2546dfb75eaa23321bc8f9a5 DIST cryptography-.tar.gz 35846451 BLAKE2B 6891e35df82b80b3a1d6bbadf2f211803870ae7600a960333fed2787fa2c302cbadc6b22cfdabb65ed6a444eebc5696f439c3534f19f8f2ded9ec058b0922ce7 SHA512 0340109a811af3bbef87ec0259f6b12438cba1c3159f6c5aca10a1aa4fd821f3d3a6906d3e23f6f3139450b158718657f2a59e94f54f0e3379d62e8623545b24 DIST cryptography-3.3.2.tar.gz 539883 BLAKE2B e35de90362b24170c4025f67914e60c16fbf37fce6bcd5d6f3fe32e5a9bb60de8edbebcb1ff0450fabc9c244d4b1a4618c720b630f28c747fea17e9bf008f01f SHA512 55f6ee13342b3209b1fcb310f4c4d33d22856ee785cb2347e6ad36c34e9b42f6e0d5bece8e458b09663a5b78e34c4567fe7a211b51ca71f55ccc93e3f62dc5e4 DIST cryptography-3.4.8.tar.gz 35746288 BLAKE2B 750a265a5b518fdc992bf8a402792ff849129286751185f931ea82ebf4c9d3dabfed680ec2eb1c73d4c773ef2feac6186e251365921fbc67044b89bc040d311e SHA512 4007cb3a4312bd8053491741474309e9f39c21fe37e66b6a832ae837cf2e9330b71caa9bfc6d6692764336684c26809cb794521800b7f6dadce4367a588117ff +DIST cryptography-37.0.2.tar.gz 585433 BLAKE2B fe70543d53b1cf5d6986a9d8f18394c1a32bbeb19e39bc9ce185cfb1f21a78a94beb228a078d7d74aa070d5899705a5a0dbf4b4b46ab6f43a4cece1bb6647ddc SHA512 28d8b52ca457dec0c854ffb798c9ecb4316c3f161ece5c304c7a5e0cdc86e8b567f1cea82f96f23b01af611e04f48fa310c0e78b3175f4b06e9175acc6a2de45 DIST cryptography-df06889f348d7c3b7e9c35e4e5a1b1480f0b2c5a.tar.gz 35823566 BLAKE2B 31e6720761672e36548d47a5b2ba1f1a1a2032c5400655868be3d5575ef6d3b0e87a7f13607c9ffe69a8b240952e8a5ae8c440b2c850fcf9a29b057e2222f1a5 SHA512 158c0238e61d9bba927a5edfd55db741bec88e51873816391816c33f92309d29d6e34580c98419bb0b42be5cd122892696b8e08a452a4f056ead7402c831f51d -DIST cryptography-e0f6f38433e3a1cb57509dec1bec9107cbbe827d.tar.gz 35849818 BLAKE2B 4b7c411d7d765617fbf875f4b34677cbacccd3229af6df45d62bc19f00fae91cf42b1d0f9cc95a6bf5ba203dbfc9cb69676e01ff0c2a01b273f719b8de2a4a90 SHA512 72942b467c741057ae99892e57cea2da4bd0d7012d43ffe090b390b7eee016964f5ba0bf005b1aefbe108bc430d8b82390e12f148a5497bb02250f0217b71006 DIST cryptography_vectors-3.3.2.tar.gz 35168168 BLAKE2B 3991a16556ae5be0d153cfe302dd9a860918a80bd0bdef7104f3c170ba63941c4b1ff74750bc12329422a6061161cb6452bea60e191d85c0d79e0852566c6c0b SHA512 18590adb96a6f04b8a41d4346b126b8adfc854cbcec85f8c1c0a23b1b363f215b37da60ea94a481b8fd7752f07fba515b08fc18faf2e29fb858e133129971f7c DIST ctor-0.1.20.crate 9328 BLAKE2B bc2f4ce53f6b7d6a2fb441317a3f91b8852c541261f95f0b7d12adb35ec1c943810242ce71e514445479c5d225b735cd50fa4dfb514e6b121be753555ab3c30c SHA512 877f4663f8079a368d198a3351e98551c6d8123dd5e53b812529b77b09f1c08296e6df817d7429e4c70a73a6203fd98bce5ec2ce7b09baabe4f348bd54a9c0dd DIST ghost-0.1.2.crate 12777 BLAKE2B 34293c1ec8412ef207627ca2a041f2dd8822c2d8990df8e0f17ffdfc865a1662991a80680c484ddef505758578177d358c2e56003003a2cb685f07a41d6a9feb SHA512 4258fdfab59946a4955f053cf0b73f964d5bdf25ac9357ef8f4cb21948299fb749bf0c0e89a9c1e95a8606e74c6b3a3630fb4f6316815d83882a9531e3b78b5a diff --git a/dev-python/cryptography/cryptography-37.0.0.ebuild b/dev-python/cryptography/cryptography-37.0.0.ebuild deleted file mode 100644 index ec8ec08e6020..000000000000 --- a/dev-python/cryptography/cryptography-37.0.0.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 2021-2022 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -CARGO_OPTIONAL=yes -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -CRATES=" -Inflector-0.11.4 -aliasable-0.1.3 -asn1-0.8.7 -asn1_derive-0.8.7 -autocfg-1.1.0 -base64-0.13.0 -bitflags-1.3.2 -cfg-if-1.0.0 -chrono-0.4.19 -indoc-0.3.6 -indoc-impl-0.3.6 -instant-0.1.12 -lazy_static-1.4.0 -libc-0.2.124 -lock_api-0.4.7 -num-integer-0.1.44 -num-traits-0.2.14 -once_cell-1.10.0 -ouroboros-0.15.0 -ouroboros_macro-0.15.0 -parking_lot-0.11.2 -parking_lot_core-0.8.5 -paste-0.1.18 -paste-impl-0.1.18 -pem-1.0.2 -proc-macro-error-1.0.4 -proc-macro-error-attr-1.0.4 -proc-macro-hack-0.5.19 -proc-macro2-1.0.37 -pyo3-0.15.2 -pyo3-build-config-0.15.2 -pyo3-macros-0.15.2 -pyo3-macros-backend-0.15.2 -quote-1.0.18 -redox_syscall-0.2.13 -scopeguard-1.1.0 -smallvec-1.8.0 -stable_deref_trait-1.2.0 -syn-1.0.91 -unicode-xid-0.2.2 -unindent-0.1.8 -version_check-0.9.4 -winapi-0.3.9 -winapi-i686-pc-windows-gnu-0.4.0 -winapi-x86_64-pc-windows-gnu-0.4.0 -" - -inherit cargo distutils-r1 multiprocessing - -GIT_TAG="e0f6f38433e3a1cb57509dec1bec9107cbbe827d" -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/${GIT_TAG}.tar.gz -> ${PN}-${GIT_TAG}.tar.gz - $(cargo_crate_uris ${CRATES})" - -# MIT and BSD-3-Clause come from rust dependencies, some dependencies are also Apache 2.0 exclusively, -# and some are Apache 2.0 or MIT -LICENSE="Apache-2.0 MIT BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" -IUSE="libressl" - -DEPEND=" - !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) - libressl? ( dev-libs/libressl:0= ) -" -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') -" -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.abi3.so" -S="${WORKDIR}/${PN}-${GIT_TAG}" - -distutils_enable_tests pytest - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - default - - # 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_test() { - #local -x PYTHONPATH="${PYTHONPATH}:${S}/vectors" - local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} diff --git a/dev-python/cryptography/cryptography-37.0.2.ebuild b/dev-python/cryptography/cryptography-37.0.2.ebuild new file mode 100644 index 000000000000..c1c38c89b40d --- /dev/null +++ b/dev-python/cryptography/cryptography-37.0.2.ebuild @@ -0,0 +1,119 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +CARGO_OPTIONAL=yes +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" + +CRATES=" +Inflector-0.11.4 +aliasable-0.1.3 +asn1-0.8.7 +asn1_derive-0.8.7 +autocfg-1.1.0 +base64-0.13.0 +bitflags-1.3.2 +cfg-if-1.0.0 +chrono-0.4.19 +indoc-0.3.6 +indoc-impl-0.3.6 +instant-0.1.12 +lazy_static-1.4.0 +libc-0.2.124 +lock_api-0.4.7 +num-integer-0.1.44 +num-traits-0.2.14 +once_cell-1.10.0 +ouroboros-0.15.0 +ouroboros_macro-0.15.0 +parking_lot-0.11.2 +parking_lot_core-0.8.5 +paste-0.1.18 +paste-impl-0.1.18 +pem-1.0.2 +proc-macro-error-1.0.4 +proc-macro-error-attr-1.0.4 +proc-macro-hack-0.5.19 +proc-macro2-1.0.37 +pyo3-0.15.2 +pyo3-build-config-0.15.2 +pyo3-macros-0.15.2 +pyo3-macros-backend-0.15.2 +quote-1.0.18 +redox_syscall-0.2.13 +scopeguard-1.1.0 +smallvec-1.8.0 +stable_deref_trait-1.2.0 +syn-1.0.91 +unicode-xid-0.2.2 +unindent-0.1.8 +version_check-0.9.4 +winapi-0.3.9 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 +" +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})" + +# MIT and BSD-3-Clause come from rust dependencies, some dependencies are also Apache 2.0 exclusively, +# and some are Apache 2.0 or MIT +LICENSE="Apache-2.0 MIT BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="libressl" + +DEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) + libressl? ( dev-libs/libressl:0= ) +" +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] + ' 'python*') +" +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.abi3.so" + +distutils_enable_tests pytest + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + default + + # 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_test() { + local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}" + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} -- cgit v1.3