summaryrefslogtreecommitdiff
path: root/dev-python/cryptography
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-29 00:39:29 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-29 00:39:29 +0000
commit89402f15705ad22c058320fa49e47bee774a6f08 (patch)
tree5f6bb10c1e7362b35f2b62e438823ac319d08d10 /dev-python/cryptography
parentb21360e92d0e6892f0924f61608faa02ff30f258 (diff)
downloadbaldeagleos-repo-89402f15705ad22c058320fa49e47bee774a6f08.tar.gz
baldeagleos-repo-89402f15705ad22c058320fa49e47bee774a6f08.tar.xz
baldeagleos-repo-89402f15705ad22c058320fa49e47bee774a6f08.zip
Adding metadata
Diffstat (limited to 'dev-python/cryptography')
-rw-r--r--dev-python/cryptography/Manifest1
-rw-r--r--dev-python/cryptography/cryptography-37.0.1.ebuild121
2 files changed, 122 insertions, 0 deletions
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
index 2b03fb552341..5352f3feb91f 100644
--- a/dev-python/cryptography/Manifest
+++ b/dev-python/cryptography/Manifest
@@ -11,6 +11,7 @@ DIST bitflags-1.2.1.crate 16745 BLAKE2B 0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022
DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
DIST chrono-0.4.19.crate 155663 BLAKE2B c92c273fb6475bbb2546dfb75eaa23321bc8f9a5fa8a7c652f527649b96ff8718fa932f52b500b02a4acae7837df5bdb14f69cb821d4962be2790dbd1d023a54 SHA512 a119349bfc2243a249f1d18b1ae548a04b30fecb75913a56f26d1ff8c0eb53097a2674d9141e2094018191cbbc1620843fbddaf52999824e077c1157f0907980
+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-df06889f348d7c3b7e9c35e4e5a1b1480f0b2c5a.tar.gz 35823566 BLAKE2B 31e6720761672e36548d47a5b2ba1f1a1a2032c5400655868be3d5575ef6d3b0e87a7f13607c9ffe69a8b240952e8a5ae8c440b2c850fcf9a29b057e2222f1a5 SHA512 158c0238e61d9bba927a5edfd55db741bec88e51873816391816c33f92309d29d6e34580c98419bb0b42be5cd122892696b8e08a452a4f056ead7402c831f51d
diff --git a/dev-python/cryptography/cryptography-37.0.1.ebuild b/dev-python/cryptography/cryptography-37.0.1.ebuild
new file mode 100644
index 000000000000..e9df061a6768
--- /dev/null
+++ b/dev-python/cryptography/cryptography-37.0.1.ebuild
@@ -0,0 +1,121 @@
+# 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 -> ${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}:${WORKDIR}/cryptography_vectors-${PV}"
+ epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
+}