summaryrefslogtreecommitdiff
path: root/dev-python/cryptography
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-07-12 07:06:58 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-07-12 07:06:58 +0000
commit17941f2641896d9fd9aae102ec1552d6682a1ef7 (patch)
tree66b4bf9f985a40b15ea645fc5e30c8525c377788 /dev-python/cryptography
parenta88245c4a732c86ba16fee8108cdf8565e7b2e69 (diff)
downloadbaldeagleos-repo-17941f2641896d9fd9aae102ec1552d6682a1ef7.tar.gz
baldeagleos-repo-17941f2641896d9fd9aae102ec1552d6682a1ef7.tar.xz
baldeagleos-repo-17941f2641896d9fd9aae102ec1552d6682a1ef7.zip
Adding metadata
Diffstat (limited to 'dev-python/cryptography')
-rw-r--r--dev-python/cryptography/Manifest2
-rw-r--r--dev-python/cryptography/cryptography-41.0.2.ebuild31
2 files changed, 23 insertions, 10 deletions
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
index b6d99d2bca86..0e8c118de50f 100644
--- a/dev-python/cryptography/Manifest
+++ b/dev-python/cryptography/Manifest
@@ -7,7 +7,7 @@ DIST base64-0.13.1.crate 61002 BLAKE2B 3b3a5b26e2ef18e9b4f1ede72b1bd160a14947518
DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5
DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
-DIST cryptography-41.0.1.tar.gz 35942260 BLAKE2B d7681823c97fef60fb61a92da91b02618464248807339368d5eb8731f3c66bc8dfdd945e6c163571ebfbfc7fc3676b51a8791b3110fa4da6e194c52b6fe95fd0 SHA512 83988352d4d127b3e3e87573a2a57f4845b1432a7b2ec5a6df504cad6bb3d26ea7fd99dff75083c57e755db4b8cf5f53965c3aad7895632a50a58f8316338dc5
+DIST cryptography-41.0.1.tar.gz 629124 BLAKE2B 726b6adbdd175e71135c7fcf239c2be822eea2e0221d59301dba3ee24aa958bd12acd0945883e4d0a14028cb0fe16b4c5f0c0adde3d44d23a815a290d87eb4af SHA512 7f944cc99f57db3e3e54eaea74ce65a4477c71fc9475dfb50247ca291d5e806dbf0323651edf9ce8ec3bf03de8912fb86f6c83b3b76f1d0e37369bd83e86805c
DIST cryptography-41.0.2.tar.gz 630080 BLAKE2B 26f1422133510d2c8076dfdccc4cfc2134b3704122b13e15cc34b1b4a1362d81a22efb7cb9ba64a266a7832ff7910ddd9da94f4ab8e58bf7308985ca57c3c00c SHA512 9c9b7fd047430bbde841fcd97e4ce76be6c708b372a7c1170013d8d8baaa263d90bed4a0fa4fca82ff713e8acf25971e7eab0f4ec1c8cbc8e9658a8527787e3a
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
diff --git a/dev-python/cryptography/cryptography-41.0.2.ebuild b/dev-python/cryptography/cryptography-41.0.2.ebuild
index 1895b19b74e7..d58a208e2647 100644
--- a/dev-python/cryptography/cryptography-41.0.2.ebuild
+++ b/dev-python/cryptography/cryptography-41.0.2.ebuild
@@ -64,27 +64,34 @@ windows_x86_64_msvc-0.42.2
inherit cargo distutils-r1 multiprocessing
DESCRIPTION="Library providing cryptographic recipes and primitives"
-HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/"
+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"
+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 ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="libressl"
-DEPEND="
+RDEPEND="
!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*')
"
+DEPEND="
+ ${RDEPEND}
+"
BDEPEND="
${DEPEND}
dev-python/setuptools-rust[${PYTHON_USEDEP}]
@@ -100,7 +107,7 @@ BDEPEND="
"
# Files built without CFLAGS/LDFLAGS, acceptable for rust
-QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.abi3.so"
+QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so"
distutils_enable_tests pytest
@@ -111,6 +118,8 @@ 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
@@ -122,6 +131,10 @@ src_prepare() {
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)")"