summaryrefslogtreecommitdiff
path: root/dev-python/cryptography
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /dev-python/cryptography
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'dev-python/cryptography')
-rw-r--r--dev-python/cryptography/Manifest3
-rw-r--r--dev-python/cryptography/cryptography-39.0.1.ebuild154
2 files changed, 157 insertions, 0 deletions
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
index bf6321436940..15f4880b7119 100644
--- a/dev-python/cryptography/Manifest
+++ b/dev-python/cryptography/Manifest
@@ -18,8 +18,10 @@ DIST codespan-reporting-0.11.1.crate 48963 BLAKE2B 39deb717a853ffbe3585e20a67fd7
DIST core-foundation-sys-0.8.3.crate 17519 BLAKE2B 4ac3d9ab16753dd995abe82f158d460d0d22184ab55d260e73b20305cffe4e03427dabfe0c8be968b6c3ecd348be2e17154ded7c9bbd5a95334ff266fe83bbf7 SHA512 a3ba3184cef65dafe8318c4db7e59eb2749dcde7b2370ad20272b0735ded0032daf2de3fd0cf55eb48448a335f5b81e8e745f2a647f9a43bb85946ce714bfd82
DIST cryptography-38.0.4.tar.gz 599786 BLAKE2B cd6ef7e671dfdf36a5b9ee253307bf069e4c87d5a3a0110cff70f50c17cbe99997d7c9e78678b26a59e7f781076c53934be1d37c52605953c06913cbe2faa3cc SHA512 2dcf3cb8208a5905b930482ce87ac56b77fda0eb02387492f0d6be9df67dc5967c93ec9a2127f83dbea1a9a3d39f1adc98497b020ad654d4afdeb67d2323afa9
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 cryptography_vectors-38.0.4.tar.gz 35273825 BLAKE2B 8bd39caeaa6c1d90320def07e4855995d15cfcf7a422b7491765efc5e88ddbfcfea5c27ed52a48c1ae10f041d8129ef40720fb7b45b26e576230596fcc23f4e1 SHA512 04972f13ff0217e1d8827381fafeb5071f3009d34378e60805ef1f05fefd850a0904a60caef4fc95ce396de01925a3e42443db174508627ed010ef839e97c644
DIST cryptography_vectors-39.0.0.tar.gz 35275931 BLAKE2B b0783fd41cf6920dda2715c8f02d49eff6b093f73efc08a6b8f31c0b4cbd64bf262a9407f956df918093d84897a9d221c25ff0c8a568768dc902f052982f86e0 SHA512 3030e9ef1a1b33c8229b9123b71193baec11020da9110cc9adb6e8f069ede5bff5d228bb258be1537399c641f242674d1fabd0c99694936cd36342a61efd0581
+DIST cryptography_vectors-39.0.1.tar.gz 35275870 BLAKE2B 28e064e0f42ebb7b7af6db65bd506d4047d1087b63199eedaadd346c218b0cd24a16c8b97fc39b3325224026bfd4b2214bb53a5564495acab1297067a52e0649 SHA512 b06585c4ed1fc360165a8801509507a0a546da42cbca80703a173aa55d34f1f9790fc2763c7aef274f479248c57a2e86a56bc098ffb49532cb59132c139eb8af
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
@@ -93,4 +95,5 @@ DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766
DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
EBUILD cryptography-38.0.4.ebuild 3217 BLAKE2B 5f4a61f98ec7f687620d52af85df469ce1f2391db3432f15efb6e814384a2b2e0b3eeb21fd2aeef75af7bf4a7a47e6f299d6201db15a7123b52abc783d1fd347 SHA512 3ec93390adab6ac6d2c433761d334001a6ab37ff3d86769a35b3864c57fb990b90766984e8ff76bc3b5cb49ec59cdd718e4fab086db26d21506c7a7f85727065
EBUILD cryptography-39.0.0.ebuild 3475 BLAKE2B 631008b9ee6510ee30d809683718af2ccf3e765fd066ec1e7aaa2d32e173a2b334ee323010c3437f9e767fb512c943d73aa7bc7f565b04b993a899d0ed29b3f7 SHA512 72d5233e7defc97b264d20cd22ef7633d1e4d1a8143eeae1fe437bc59e4c98a7722a4919ee720000955ce3272820bf4f142985a24156f886fe0b81cb03e94036
+EBUILD cryptography-39.0.1.ebuild 3442 BLAKE2B ec928494b712e2ebcbb6e22fa760b08738c0bed9a455325003e58135492fde6c884f644674a164d26596beff99124f89503316e459d8e7fc73ed2bc42e93571f SHA512 0e7d25b7fe8c3444141bc3e457d465e60b62b44bc8a0102605ed3f2c0235454e9f30a65f7010995a67bfb70b447324f6c39cd133b39a8f91ace28d6822552972
MISC metadata.xml 464 BLAKE2B 96c0bd97b83c9718910d129260402fdc37e88a96ac6002c8f6dd19fb21d6daf31211b83ff7423036811e27954811ebdc810c8328f18c620682bd9428f42ba1f9 SHA512 2f36a186bb195a8cbafe1d8dd6630fadf0ea56b22906ebaf3c90954adb8b66e1017f599169e2b1ca386e1113c1a6b834fff90f2bec527bed53f62985120732d6
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..e67ca02568a3
--- /dev/null
+++ b/dev-python/cryptography/cryptography-39.0.1.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CARGO_OPTIONAL=yes
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+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 pypi
+
+VEC_P=cryptography_vectors-$(ver_cut 1-3)
+DESCRIPTION="Library providing cryptographic recipes and primitives"
+HOMEPAGE="
+ https://github.com/pyca/cryptography/
+ https://pypi.org/project/cryptography/
+"
+SRC_URI+="
+ $(cargo_crate_uris ${CRATES})
+ test? (
+ $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)")
+ )
+"
+
+LICENSE="|| ( Apache-2.0 BSD ) PSF-2"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD-2 BSD MIT Unicode-DFS-2016"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc ~x86"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2o-r6:0=
+ $(python_gen_cond_dep '
+ >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}]
+ ' 'python*')
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ 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() {
+ sed -i -e 's:--benchmark-disable::' pyproject.toml || die
+
+ 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}"
+ local EPYTEST_IGNORE=(
+ tests/bench
+ )
+ epytest -n "$(makeopts_jobs)"
+}