commit:     cdf8156f35593a37676cf770e622c2b1017050a7
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sun Nov 10 23:22:41 2024 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sun Nov 10 23:22:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=cdf8156f

dev-python/cryptography: add version, drop versions

Signed-off-by: orbea <orbea <AT> riseup.net>

 dev-python/cryptography/Manifest                   |   6 -
 dev-python/cryptography/cryptography-43.0.0.ebuild | 143 ---------------------
 dev-python/cryptography/cryptography-43.0.1.ebuild | 138 --------------------
 ...43.0.3.ebuild => cryptography-43.0.3-r1.ebuild} |   6 +-
 4 files changed, 2 insertions(+), 291 deletions(-)

diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
index bc00539..a5fa380 100644
--- a/dev-python/cryptography/Manifest
+++ b/dev-python/cryptography/Manifest
@@ -5,11 +5,7 @@ DIST base64-0.22.1.crate 81597 BLAKE2B 
6f216a560bd36e6e6b74e908344b457594cc768d9
 DIST bitflags-2.6.0.crate 45357 BLAKE2B 
3a368bd2eb58c095b7b4a46680cc2d90a28e24b2e37c854bbf8647c861c4b8fb37eca827599673c5c7df763048149dd82123d1ede1f8a0e58a6bc23c8250f7e6
 SHA512 
f9bb3c48931ed7e7e05ec6d13305af5da6b6c18861ff307d7dc17c658f63972c87b70b0527287b3625c8592befc207cfe15550654995faf3862bb12a6d95bacf
 DIST cc-1.1.6.crate 81585 BLAKE2B 
412ef9d62c32a42164f8c2b827c10f0d41e75faa77e6d1dd8515ff5ec43abd1da75bbb400460a43a252c93dd0a597c2e44c8e899a376d963f0d3727db7ca2c24
 SHA512 
ea8bd8150042268092360e6396226ee5e83ba154eae99d299c897ed16e8543fcfe3179e22b50b0497bcf065a16933f4ebf7edcae7e6fc8be3788f0ae7f61c000
 DIST cfg-if-1.0.0.crate 7934 BLAKE2B 
e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b
 SHA512 
0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
-DIST cryptography-43.0.0.tar.gz 686873 BLAKE2B 
09e1f73ed47a3ab03b49e6a65eceb0ee506b4e1c50b44cd0f971243159b27ea5f725350fcf2c702945438545a89d96ec026441b6b6151a9022bd61b926ca26cd
 SHA512 
0a93a217bf09afca32df5ed6792b8e9de210ca4143697b8b97aa2c41b8e8382ffdce1bae47bf51a6319f03d9ec70933218030ab21d642a0ef907cac3e816929c
-DIST cryptography-43.0.1.tar.gz 686927 BLAKE2B 
5abc6fd0f06fdca735455c812b089f864457c379ae9a4d646b0a5633285be692e1b17eab0ec50e99b41d1c1238a4f81a4b2b0801777e8e41e25a4faa9285af15
 SHA512 
db33cc8930492ccdf1aa6466026e4a3ab50382c863fa2c3c454a554cd53f74592e06fb021b2bd6bc16981c8230089c7a076a352a9d7d982a824ef4c7b1895414
 DIST cryptography-43.0.3.tar.gz 686989 BLAKE2B 
60efc12c020563aa0d229941d237a39e7d7243045433c7c4cf4c57a8f031569d32bfcd0e43316dd9eb3d6dd3b4e6ad8106b7bdca53c2e6c4ebb094391759da66
 SHA512 
965ecdbdac09ba4cf3d3289cb7f0997bfb9abd61aa663554f27651328e5da1c92edadba521b1bf779e245255e5db3da7ea8092496f845b73278ffcdd91076bbc
-DIST cryptography_vectors-43.0.0.tar.gz 35306242 BLAKE2B 
d1dceec0dbe02ad500c73bd94791c6b47320534268cc4fffdb799a632f37b27bd3de837a725c79f733f86eda813a1a512778615c62144275ca5e7aaaa3d65d08
 SHA512 
ca5221a390ebea4eda5d72f9ac9632849ce2174db51385405b1b41b702c0dcd2f24f7fbfaa027bb6eb8c63588ac1eae5fdc7978a08c1561dcaaaaa998b67eaef
-DIST cryptography_vectors-43.0.1.tar.gz 35306252 BLAKE2B 
0ff68e6c1088656491e474f8770f61c0a2c45a318e565325c9259ffd938a765ea9306f13ba25d5e2097d7d113d8a4556914aa07e016ee90ae78d7157cf6d5e6a
 SHA512 
934c4fadba915b10f3216c08cdb862968d138a40c0a3ea2aed6605685730d1d2b60767660356236b519ff98d52c2f21bf9ead4bc247eab80db27257d671037f2
 DIST cryptography_vectors-43.0.3.tar.gz 35306415 BLAKE2B 
daf21d6bc7ba81bac2b38e0459c104117c17c3b5c6d74c3f0ba5c0da961999bc2f0fc0a088e6d3498960de70b2862867c6dd10b6e05db99352c0adc9d65104f8
 SHA512 
7ffbf439b84ea85a8178f6b41a349c8d3ba6586cf6513a6b13d01f55bc0fa8bb5635de2ee9afd334c5660c60cd2fc286f85b2c9c364b6e85bf4164c32fb6ca7e
 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
@@ -18,10 +14,8 @@ DIST indoc-2.0.5.crate 14396 BLAKE2B 
fe838c6a855d6ff7396675a3fe9b2e0b06a93cfd401
 DIST libc-0.2.155.crate 743539 BLAKE2B 
42cdcf8d4a187383548b1f09d404474f168916d626d614463fe10a1fd886e972e1caf6297e75445214af3f31fe631d0927e54ec1cdc63e20082b3587e38dce16
 SHA512 
05354bba532b8338bda1f88f12c7f3893429734a06e33925fca2b99d49548ae5216e2cd84e782d2368a2dfef20b0e035e2dcad8dd13ede7119462a8c639b2807
 DIST memoffset-0.9.1.crate 9032 BLAKE2B 
0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf
 SHA512 
3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa
 DIST once_cell-1.19.0.crate 33046 BLAKE2B 
c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380
 SHA512 
4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c
-DIST openssl-0.10.66.crate 273705 BLAKE2B 
7892e96dac3b24ad5622833b4061bd82028210f9f26ec9772cebb65905ff6e45da8b21ad1aabfb87bb5610f534018da6bd20c10eaee8c189dd08a7ebfbf12b4b
 SHA512 
2f4dd6e40dd8aff8c04563517fabeecd5ac0d986764649cc9af9bf4ce25757a67f75655eee207703b46fe57661a216ff00144358ffcbc70525447a063fa086c1
 DIST openssl-0.10.68.crate 276578 BLAKE2B 
da7c42f8a87150c76cde12316fe1c170593e76a4bd55176ca5ab7a43c57d5457246bfa91bf7bbf73ca47c87a066789226529fb7ad57c5e93c551baa67f6a9eba
 SHA512 
2b0c7f5a888b0e398ebee9c0fffb6fdb8408c36f96eb99182ebb9e162106c012334554304ddaaa6689d3ae41cdf638ba08187a40088efb95a5e9f6aca032a22f
 DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 
69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92
 SHA512 
57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c
-DIST openssl-sys-0.9.103.crate 71552 BLAKE2B 
4cc1ab93f5a444b4b985c84f6ae90f345da4639e4ff7c5502dc1ae59f842d46e3855057a7c05855f7cd739b5311f330dff361480ef2a0102fe46471506956148
 SHA512 
61b802f6baf918ec055be90ee47c69fe0184f6d9a1d29c748386192a11d4df115758961ec9b636126a6b42d7d8f7509248c59f7c035905558c4cc35b804a8eaf
 DIST openssl-sys-0.9.104.crate 72287 BLAKE2B 
d9af8f2ae8a8dfd53b3bb68433a4dd2a4b30038858ac58aa98d7a23b2d23e0b7c7d8fc36c1733d0330bcb9f51284667b2c32fc5a5bd4d9e1a5df7b98d610a997
 SHA512 
e812d5323bc0ec7376f176a980dd9856dad6d36513e854d333b93ce8a14c20a9ca61be88db82ba2a8ae4e086df5c3fe6965ed10ac155eb7b502e0225c0124278
 DIST pem-3.0.4.crate 13040 BLAKE2B 
33126cd0feeeeb8b57691c50f6535c43e853b9835308d69a5afb426c7a738d260a67d5c46f091ad73e934f0347d976c6f65f88b2f7b1058eca542296191bcb9a
 SHA512 
be743157e11ed76e5a9a60f5e58f50277910ecbf12df492b114b4211f1f1d69555702d955337ec41d368566ae1697f550e3705a195105068c617b9392c43f56d
 DIST pkg-config-0.3.30.crate 20613 BLAKE2B 
e14dd544612f74b038bc7d279d629034237946c261e3e97621d6ac910a12f4fa4e75932dbd5d3339e62325d0ccf33002b07f04b0523f93d2bd3b1a919841ba66
 SHA512 
e4bce232e1e1cbb17d1c08c3de4dd12613f5a5238f831c2a765b6ede9b494e647d2416a7d9a0c926104e24066dd1b38df8df98a6c55d62f25060f80eb33d064d

diff --git a/dev-python/cryptography/cryptography-43.0.0.ebuild 
b/dev-python/cryptography/cryptography-43.0.0.ebuild
deleted file mode 100644
index a7b32c0..0000000
--- a/dev-python/cryptography/cryptography-43.0.0.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CARGO_OPTIONAL=yes
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-CRATES="
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-"
-
-inherit cargo distutils-r1 flag-o-matic 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}
-       test? (
-               $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)")
-       )
-"
-
-LICENSE="|| ( Apache-2.0 BSD ) PSF-2"
-# Dependent crate licenses
-LICENSE+="
-       Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016
-"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips 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}
-"
-# XXX: Drop explicit >=virtual/rust-1.56.0 dep once that's the minimum in 
cargo.eclass
-# and replace it with ${RUST_DEPEND}
-BDEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       >=virtual/rust-1.56.0
-       test? (
-               dev-python/certifi[${PYTHON_USEDEP}]
-               >=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() {
-       local PATCHES=(
-               # https://github.com/pyca/cryptography/pull/11324
-               "${FILESDIR}/${P}-rust-openssl-crash.patch"
-       )
-
-       pushd "${ECARGO_HOME}"/gentoo/openssl-sys-0.9.103 > /dev/null || die
-       eapply "${FILESDIR}/${PN}-42.0.8-libressl-openssl-sys.patch"
-       popd > /dev/null || die
-
-       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
-               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_configure_all() {
-       filter-lto # bug #903908
-
-       export UNSAFE_PYO3_SKIP_VERSION_CHECK=1
-}
-
-python_test() {
-       local -x 
PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}"
-       local EPYTEST_IGNORE=(
-               tests/bench
-       )
-       epytest -n "$(makeopts_jobs)"
-}

diff --git a/dev-python/cryptography/cryptography-43.0.1.ebuild 
b/dev-python/cryptography/cryptography-43.0.1.ebuild
deleted file mode 100644
index fada6ba..0000000
--- a/dev-python/cryptography/cryptography-43.0.1.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CARGO_OPTIONAL=yes
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=maturin
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-CRATES="
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-"
-
-inherit cargo distutils-r1 flag-o-matic 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}
-       test? (
-               $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)")
-       )
-"
-
-LICENSE="|| ( Apache-2.0 BSD ) PSF-2"
-# Dependent crate licenses
-LICENSE+="
-       Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016
-"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~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}
-"
-# XXX: Drop explicit >=virtual/rust-1.56.0 dep once that's the minimum in 
cargo.eclass
-# and replace it with ${RUST_DEPEND}
-BDEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       >=virtual/rust-1.56.0
-       test? (
-               dev-python/certifi[${PYTHON_USEDEP}]
-               >=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() {
-       pushd "${ECARGO_HOME}"/gentoo/openssl-sys-0.9.103 > /dev/null || die
-       eapply "${FILESDIR}/${PN}-42.0.8-libressl-openssl-sys.patch"
-       popd > /dev/null || die
-
-       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
-               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_configure_all() {
-       filter-lto # bug #903908
-
-       export UNSAFE_PYO3_SKIP_VERSION_CHECK=1
-}
-
-python_test() {
-       local -x 
PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}"
-       local EPYTEST_IGNORE=(
-               tests/bench
-       )
-       epytest -n "$(makeopts_jobs)"
-}

diff --git a/dev-python/cryptography/cryptography-43.0.3.ebuild 
b/dev-python/cryptography/cryptography-43.0.3-r1.ebuild
similarity index 92%
rename from dev-python/cryptography/cryptography-43.0.3.ebuild
rename to dev-python/cryptography/cryptography-43.0.3-r1.ebuild
index 9df5069..96ffc0c 100644
--- a/dev-python/cryptography/cryptography-43.0.3.ebuild
+++ b/dev-python/cryptography/cryptography-43.0.3-r1.ebuild
@@ -66,7 +66,7 @@ LICENSE+="
        Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016
 "
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
        >=dev-libs/openssl-1.0.2o-r6:0=
@@ -77,11 +77,9 @@ RDEPEND="
 DEPEND="
        ${RDEPEND}
 "
-# XXX: Drop explicit >=virtual/rust-1.56.0 dep once that's the minimum in 
cargo.eclass
-# and replace it with ${RUST_DEPEND}
+
 BDEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
-       >=virtual/rust-1.56.0
        test? (
                dev-python/certifi[${PYTHON_USEDEP}]
                >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]

Reply via email to