diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-13 06:41:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-13 06:41:32 +0000 |
commit | 4b1d73e089a436406c89fadc33638314981c44e6 (patch) | |
tree | 1777930320566e090b2b462273c045e555b85b86 /dev-python/pyopenssl | |
parent | dc9bfd846ffa3990be92029481684342bc57218e (diff) |
gentoo auto-resync : 13:01:2025 - 06:41:32
Diffstat (limited to 'dev-python/pyopenssl')
-rw-r--r-- | dev-python/pyopenssl/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyopenssl/pyopenssl-25.0.0.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest index 9c62572a39a6..da9f78e2db68 100644 --- a/dev-python/pyopenssl/Manifest +++ b/dev-python/pyopenssl/Manifest @@ -1,5 +1,7 @@ DIST pyopenssl-24.2.1.tar.gz 184323 BLAKE2B 5d077508c45c56b1da886877fb41e18699f932933badb73b271ce6d55fbf985398f5a74187fe65fde79b60768cb1705daf805f6fb8570f66ad3cecf11ad9b1c3 SHA512 4d0cdf71a5ae785644bd466ef094592fbf4ab804de8d153c139a88d3ff9b8cc80d073f3d49d4dc73d8ebf97a867e1560a5308b998f7ef0ccc734dcc56697c831 DIST pyopenssl-24.3.0.tar.gz 178944 BLAKE2B ba3117c3c1238ecc84dfdbc84beaeb47c2d12d9e7f2742f798816482954696fd61405884780726f902f7784407e47f129cc5c38f7cf4cd76df4511d215ea4e4c SHA512 ca46a56a5c97ac91d1cbe1cb8b4d9e6d84610785736e925a579560802c1dce6b1cd95c0fed5c25aa775be8a4ae514c5962a86f2db5ecab4506e67ba80ebebd44 +DIST pyopenssl-25.0.0.tar.gz 179573 BLAKE2B e5c9c9e4daa590008163b2e67b7c318cf72a0c922b1db41bf8ef31a44aa59f98a7a594ce1b59a887d47ffb0257f1d11faa920d3bf7807a19e6ece819947e5614 SHA512 77f9f03610a4ddaf115d581b873e728a79ba0e8d762ddeffacb600b6bc4a50bde2edfc114aebe12b9e177f3d53c19fe0c2bf0a5821e609489b8640e23c324376 EBUILD pyopenssl-24.2.1.ebuild 1378 BLAKE2B 7e76254185844940363f56e1c9088ce0ee92725da093fa3378f53c73b57555e790c2ebfd565cdc12dd166ea86c81a00532dcf9d3c8d5bc84d91117dfd911826e SHA512 7eb1453dce2e3289b90c918dae3ab9e7fac648ad9b7302115cf73b6f6ba186fc47a07339ab412a6d9ed43bc33108ff93136f543e453b01259f62a14591deef03 EBUILD pyopenssl-24.3.0.ebuild 1379 BLAKE2B 3452b31db6398e1543709f85aed3540c7ba25b210ac83081c0d85b7c6ad9983b2047f4c8a120944c6906cf46cb72460f202fcfaa757fdc5583a21d93c769cb1b SHA512 f99a1743c025b81ba18b4d49d284991c4ccd6366e2a567a887a626ee46746157a275475e82bb40dcf0edee67c644c02847c33cdb8aa8803f7f03979f5e3bd5e2 +EBUILD pyopenssl-25.0.0.ebuild 1480 BLAKE2B 82ce1ac521d1a9582a52b0bf79cbf75aa3930c98de0dfc3aa593b4b916ea2802a45b2adfb44213d44627ba64f73d595d5cd67ad7a92ab6434f6843a27d6f58d8 SHA512 ba6f5f1b31a4054f5c164ef15cca691b268a10302e360dd06afe2c3fca2ab98287d42ecf1fc943625e922066b10458ce206523723c69d72e0aa47fe65ef14a7a MISC metadata.xml 536 BLAKE2B 86db822042b6fb3e965ece87b6b15dcabf76cdfbfa76ba285a491208ad5c6a2a196ca7144a1a73b152decc4df1641ad4c57a1cbde9f90d09d25eef1f6f4da39a SHA512 996d0e20291e744c6c20b38fd750d242920541aca7d92de63ca5b1dcc2f1c10308545797ccf499f38e50dfd04db2bb031e93b02c7c1705908f2363c813294ff1 diff --git a/dev-python/pyopenssl/pyopenssl-25.0.0.ebuild b/dev-python/pyopenssl/pyopenssl-25.0.0.ebuild new file mode 100644 index 000000000000..cb646ef145ef --- /dev/null +++ b/dev-python/pyopenssl/pyopenssl-25.0.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=pyOpenSSL +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 toolchain-funcs pypi + +DESCRIPTION="Python interface to the OpenSSL library" +HOMEPAGE=" + https://www.pyopenssl.org/ + https://github.com/pyca/pyopenssl/ + https://pypi.org/project/pyOpenSSL/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/cryptography-45[${PYTHON_USEDEP}] + >=dev-python/cryptography-41.0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] + ' 3.{10..12}) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + local -x TZ=UTC + local EPYTEST_DESELECT=( + tests/test_ssl.py::TestContext::test_set_default_verify_paths + ) + + if ! tc-has-64bit-time_t; then + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_crypto.py::TestX509StoreContext::test_verify_with_time + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + distutils-r1_src_test +} + +python_test() { + epytest -p rerunfailures +} |