From 5defc51ae54deefb79f317e6d163eb3593ff5d6f Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 9 Feb 2023 18:18:26 +0000 Subject: Adding metadata --- dev-python/cryptography/Manifest | 2 +- dev-python/cryptography/cryptography-38.0.3.ebuild | 132 ------------------- dev-python/cryptography/cryptography-39.0.1.ebuild | 141 +++++++++++++++++++++ 3 files changed, 142 insertions(+), 133 deletions(-) delete mode 100644 dev-python/cryptography/cryptography-38.0.3.ebuild create mode 100644 dev-python/cryptography/cryptography-39.0.1.ebuild (limited to 'dev-python/cryptography') diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index 7036480fd3b9..68865fb29f51 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -16,9 +16,9 @@ DIST chrono-0.4.22.crate 185570 BLAKE2B 10dfae2fe871a9910bf885b78aaf3e9ed1bcb87a DIST chrono-0.4.23.crate 187259 BLAKE2B b4a7cfb8d1921d396c9e2bf350e6c61d04480a78c170d153e525ff581e8298936583744b6c59769774fdb8ad433269d01ad792f967da96e6c19d33460de937f9 SHA512 697a78ee83eaf38d83011bdf2086b3149b830d3d270e8414828b98ed2426063df43ac6eb4324f2dd694662afb86e6e4f005dee6116dfdd97adaebedefffd43fa DIST codespan-reporting-0.11.1.crate 48963 BLAKE2B 39deb717a853ffbe3585e20a67fd7a75b62e2d796a66b5004876501fd7476acde9f126804f2ef6220ebab66821a3ccf058d544d689a2705eae44285f34b510cb SHA512 0869789f5c50d3523d3ee16a8fe64756498a13704efbe82bb0845eaa87c7b6b1d075b3b6b80567cd9fce6cb09c5179e9c07e485fd17ce56c8139ade0f8bc6844 DIST core-foundation-sys-0.8.3.crate 17519 BLAKE2B 4ac3d9ab16753dd995abe82f158d460d0d22184ab55d260e73b20305cffe4e03427dabfe0c8be968b6c3ecd348be2e17154ded7c9bbd5a95334ff266fe83bbf7 SHA512 a3ba3184cef65dafe8318c4db7e59eb2749dcde7b2370ad20272b0735ded0032daf2de3fd0cf55eb48448a335f5b81e8e745f2a647f9a43bb85946ce714bfd82 -DIST cryptography-38.0.3.tar.gz 599876 BLAKE2B 84a296a3fae42e465d6fb79f86e22527ddf3e8702bc34d9d77942db20572236b4f5a525cea7b82000c9aa46af1f9ff345e1e4188b6658e929b2d8b7e6027d768 SHA512 f133d83266f386cb0169a3cf2226d258b7d599e7aaad9913f8a4b01ee0841670586a21cee93fb4d4d9f61b0da53109c5dbcf7d91d470cfbb166aa04f4a1d7634 DIST cryptography-38.0.4.tar.gz 35900813 BLAKE2B c838936532920f1340db0120efeacbe3c7f0296c687bfd699eef4db1ac4af646f52d0b70ff57ad27e81117880a12873a685f9497d931892d52f7278dfd4e877d SHA512 72489688185332c6030d904f0f43c08ef4352a5d72dd4415883bc6d5824c13a4107712dd28f61f53d81fd0f58ad6d8a4617ee951c45086a25a41ed555a42d17b DIST cryptography-39.0.0.tar.gz 603406 BLAKE2B bd36fb786a12cee965ac42c2eaec214f7f261d6a8652a4859819577c8c079673730608e3f61c059ab65489e50bbcfb3ba7bbcd2a8f9e4169e844f3c497411b9a SHA512 bac0268ca0b6a12adc2d2a1f4ec047aad0643afa021d43574f189187a6a6802bc79e9329afd77a950b158040c85137da4cdee1973f4bb89815ad2203fa969393 +DIST cryptography-39.0.1.tar.gz 603634 BLAKE2B 20247ec0fd933b8541712169feced6247ad6fd708af78b06c4bb633631a2160473a818a3c5e545243f3dea3b254ae63055b05e226eb8e1348413b5a883236ded SHA512 a7df2cc73309b6902a2743273e41c7bec8e0dd0c8160b24edf6554089ca8d160cde7d9007cf45751cb52823c2a6f4a3c437a447292f6e8c06db547d519e98b94 DIST cxx-1.0.85.crate 589916 BLAKE2B 3be165b6d8c5ccaa7e5ec3d456c1bc2aeb95e2dc7890feb1ebeb2d25b2887b1b023afdccda08862a13928a8f379200c46fcaf88ecc111d9dbb3bbc5dde63f88d SHA512 bf9386f58ea007bcc7171af713e944459a6b219ddbe88813f16df5e274ab85418be23dd7bdaee7964108e9a4a1698365de67362d5504c80bee726f1151166f5c DIST cxx-build-1.0.85.crate 84820 BLAKE2B 6dd01e251776f33cbb11b4ef6a9d77db7c476e6184f942d0a5fca5505c5fc2463bc03edcf8f08597238898b92df1c53ba330e9c3b4e63a106136445fcf202584 SHA512 3ef75dc28bed9c1c9cea5dbd7b396f8e88a5fe288e19d1aa1f96add32830236b2414fe33ed7b06566759298cf0130d6b82d2049ba9bf362c95413ce8481f2bf2 DIST cxxbridge-flags-1.0.85.crate 5635 BLAKE2B 5d365e5a6e2ef5bdde5f223f5ab726e0667aedcecdc2a2f1ec961d9c199c291dfcf94ed4ca6a2ea9056073c8519839cad7d5b49f7c8022bf96b96186f19874a2 SHA512 186a08d40469bfc8fcf801bd766e89e72d160a7b28ce465b3e8a39b4f38d7c17bc373e9bd8f5e50c758be7755ac450d532aa88c7c20d908c3905106bd8cac05c diff --git a/dev-python/cryptography/cryptography-38.0.3.ebuild b/dev-python/cryptography/cryptography-38.0.3.ebuild deleted file mode 100644 index 8d95d67dc86a..000000000000 --- a/dev-python/cryptography/cryptography-38.0.3.ebuild +++ /dev/null @@ -1,132 +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,11} ) -PYTHON_REQ_USE="threads(+)" - -CRATES=" -Inflector-0.11.4 -aliasable-0.1.3 -android_system_properties-0.1.5 -asn1-0.12.2 -asn1_derive-0.12.2 -autocfg-1.1.0 -base64-0.13.0 -bitflags-1.3.2 -bumpalo-3.10.0 -cfg-if-1.0.0 -chrono-0.4.22 -core-foundation-sys-0.8.3 -iana-time-zone-0.1.47 -indoc-0.3.6 -indoc-impl-0.3.6 -instant-0.1.12 -js-sys-0.3.59 -libc-0.2.132 -lock_api-0.4.8 -log-0.4.17 -num-integer-0.1.45 -num-traits-0.2.15 -once_cell-1.14.0 -ouroboros-0.15.4 -ouroboros_macro-0.15.4 -parking_lot-0.11.2 -parking_lot_core-0.8.5 -paste-0.1.18 -paste-impl-0.1.18 -pem-1.1.0 -proc-macro-error-1.0.4 -proc-macro-error-attr-1.0.4 -proc-macro-hack-0.5.19 -proc-macro2-1.0.43 -pyo3-0.15.2 -pyo3-build-config-0.15.2 -pyo3-macros-0.15.2 -pyo3-macros-backend-0.15.2 -quote-1.0.21 -redox_syscall-0.2.16 -scopeguard-1.1.0 -smallvec-1.9.0 -syn-1.0.99 -unicode-ident-1.0.3 -unindent-0.1.10 -version_check-0.9.4 -wasm-bindgen-0.2.82 -wasm-bindgen-backend-0.2.82 -wasm-bindgen-macro-0.2.82 -wasm-bindgen-macro-support-0.2.82 -wasm-bindgen-shared-0.2.82 -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-3.6.0: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" - -PATCHES=( - ${FILESDIR}/openssl_cleanup.patch -) - -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)")" -} diff --git a/dev-python/cryptography/cryptography-39.0.1.ebuild b/dev-python/cryptography/cryptography-39.0.1.ebuild new file mode 100644 index 000000000000..e324cd930f89 --- /dev/null +++ b/dev-python/cryptography/cryptography-39.0.1.ebuild @@ -0,0 +1,141 @@ +# Copyright 2021-2023 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,11} ) +PYTHON_REQ_USE="threads(+)" + +CRATES=" + Inflector-0.11.4 + aliasable-0.1.3 + android_system_properties-0.1.5 + asn1-0.13.0 + asn1_derive-0.13.0 + autocfg-1.1.0 + base64-0.13.1 + bitflags-1.3.2 + bumpalo-3.10.0 + cc-1.0.78 + cfg-if-1.0.0 + chrono-0.4.23 + codespan-reporting-0.11.1 + core-foundation-sys-0.8.3 + cxx-1.0.85 + cxx-build-1.0.85 + cxxbridge-flags-1.0.85 + cxxbridge-macro-1.0.85 + iana-time-zone-0.1.53 + iana-time-zone-haiku-0.1.1 + indoc-0.3.6 + indoc-impl-0.3.6 + instant-0.1.12 + js-sys-0.3.60 + libc-0.2.139 + link-cplusplus-1.0.8 + lock_api-0.4.9 + log-0.4.17 + num-integer-0.1.45 + num-traits-0.2.15 + once_cell-1.14.0 + ouroboros-0.15.5 + ouroboros_macro-0.15.5 + parking_lot-0.11.2 + parking_lot_core-0.8.6 + paste-0.1.18 + paste-impl-0.1.18 + pem-1.1.0 + proc-macro-error-1.0.4 + proc-macro-error-attr-1.0.4 + proc-macro-hack-0.5.20+deprecated + proc-macro2-1.0.49 + pyo3-0.15.2 + pyo3-build-config-0.15.2 + pyo3-macros-0.15.2 + pyo3-macros-backend-0.15.2 + quote-1.0.23 + redox_syscall-0.2.16 + scopeguard-1.1.0 + scratch-1.0.3 + smallvec-1.10.0 + syn-1.0.107 + termcolor-1.1.3 + unicode-ident-1.0.6 + unicode-width-0.1.10 + unindent-0.1.11 + version_check-0.9.4 + wasm-bindgen-0.2.83 + wasm-bindgen-backend-0.2.83 + wasm-bindgen-macro-0.2.83 + wasm-bindgen-macro-support-0.2.83 + wasm-bindgen-shared-0.2.83 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + 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-3.6.0: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