diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-13 09:39:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-13 09:39:33 +0000 |
| commit | 27c4c392e99adae8a219bf11a8f257fa2d4786f5 (patch) | |
| tree | cba783f580c7f4c0ba126c5c993eda9da9e8def4 /dev-python | |
| parent | e8e1cef2dee055385d57e2fc11dcdfa98634d0ef (diff) | |
| download | baldeagleos-repo-27c4c392e99adae8a219bf11a8f257fa2d4786f5.tar.gz baldeagleos-repo-27c4c392e99adae8a219bf11a8f257fa2d4786f5.tar.xz baldeagleos-repo-27c4c392e99adae8a219bf11a8f257fa2d4786f5.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
77 files changed, 1386 insertions, 379 deletions
diff --git a/dev-python/apipkg/apipkg-2.1.1.ebuild b/dev-python/apipkg/apipkg-2.1.1.ebuild index 08222cd2450c..4e3dda3d9987 100644 --- a/dev-python/apipkg/apipkg-2.1.1.ebuild +++ b/dev-python/apipkg/apipkg-2.1.1.ebuild @@ -15,10 +15,9 @@ HOMEPAGE=" https://pypi.org/project/apipkg/ " SRC_URI=" - https://github.com/pytest-dev/apipkg/archive/v${PV/_/}.tar.gz - -> ${MY_P}.gh.tar.gz + https://github.com/pytest-dev/apipkg/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz " -S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest index 3ab0190a94f3..8fb69b834771 100644 --- a/dev-python/apispec/Manifest +++ b/dev-python/apispec/Manifest @@ -1,3 +1,2 @@ -DIST apispec-5.1.1.gh.tar.gz 70296 BLAKE2B 339706890d23c796ea73c23735c5655694315a8a8017eba8f69574ed4e85ddf9a65c3a26482a78f08a118afd19e3c9bbcc9d264bb770941d7affbf7cf85eb925 SHA512 4e0e2959699c735c5242aa1a954392d97ea4809aafbd8d091f608baf7397a31964852588c474acb84e8755a62849837d741eb1e5fdf1cd5304f46c852e346d03 -DIST apispec-5.2.0.gh.tar.gz 71284 BLAKE2B 554539790c58f88f475a7c638130ccdf24bcf80e024bc640919226b0a1408af97c3403ff294f47fb2cb478a26285bc6aacb021f6275eb211dc86fd31780f573a SHA512 6f36dcce8b503847a981c87ed1139b89bbb9be9e22db67402cd7e74be8a5ce58714329b33c8489b63f5aa56fe92d65fb5aea332c9bd2e8f140dfc92165432005 DIST apispec-5.2.1.gh.tar.gz 71348 BLAKE2B c908fb3741e72d0e8a3dfd70c186255cb5862f7c51c32c5c54ea3cba38a7ce9e02143e029a505f30f284f7b5490946897fead535a9a8743549806aacd1c7791d SHA512 020d377e4dd9e2e3514cf48450bee9a5b957cb0d419f7fa4da35691b68cd108673b133d4ad07b908ca377b1418d087979eea409382ca743d350aec95b796f00f +DIST apispec-5.2.2.gh.tar.gz 71563 BLAKE2B 205c796ccee03000626538147d6cb26a72242ba8ffd6df47b6a7bdb82f0e2ee1d5421cb7da045fc177297acb838e7351ae996225a43c3c7a57a0a0d72e098bb1 SHA512 16c6229619853671403e81edaa50ce87c2575cdb6c606502e08c086aa33b25db0cef0cd455c2c74a55138eaf95667f7ffe9ac8045cbeb415df4b623878a8831c diff --git a/dev-python/apispec/apispec-5.1.1.ebuild b/dev-python/apispec/apispec-5.1.1.ebuild deleted file mode 100644 index 76792e7a4c3f..000000000000 --- a/dev-python/apispec/apispec-5.1.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="A pluggable API specification generator" -HOMEPAGE="https://github.com/marshmallow-code/apispec/" -SRC_URI=" - https://github.com/marshmallow-code/apispec/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] -" -BDEPEND="${RDEPEND} - test? ( - dev-python/bottle[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/marshmallow-3.13.0[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-issues \ - dev-python/sphinx_rtd_theme - -EPYTEST_DESELECT=( - # requires unpackaged prance - tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2 - tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3 -) diff --git a/dev-python/apispec/apispec-5.2.0.ebuild b/dev-python/apispec/apispec-5.2.2.ebuild index c4ce1887bf75..c4ce1887bf75 100644 --- a/dev-python/apispec/apispec-5.2.0.ebuild +++ b/dev-python/apispec/apispec-5.2.2.ebuild diff --git a/dev-python/astor/metadata.xml b/dev-python/astor/metadata.xml index 853174b8f2ab..ea8988e8af6a 100644 --- a/dev-python/astor/metadata.xml +++ b/dev-python/astor/metadata.xml @@ -7,4 +7,5 @@ </maintainer> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/async_generator/async_generator-1.10-r2.ebuild b/dev-python/async_generator/async_generator-1.10-r2.ebuild new file mode 100644 index 000000000000..18feb5dcb94e --- /dev/null +++ b/dev-python/async_generator/async_generator-1.10-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Making it easy to write async iterators in Python 3.5" +HOMEPAGE="https://github.com/python-trio/async_generator https://pypi.org/project/async_generator/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( MIT Apache-2.0 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild new file mode 100644 index 000000000000..027f4e5612f8 --- /dev/null +++ b/dev-python/automat/automat-20.2.0-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_P=${P^} +DESCRIPTION="Self-service finite-state machines for the programmer on the go" +HOMEPAGE="https://github.com/glyph/automat https://pypi.org/project/Automat/" +SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="examples" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" + "${FILESDIR}/test_visualize-twisted-import-errors.patch" + "${FILESDIR}/${P}-py311.patch" +) + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + benchmark +) + +python_install_all() { + if use examples; then + docinto examples + dodoc docs/examples/*.py + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + einfo "For additional visualization functionality install both these optional dependencies" + einfo " >=dev-python/twisted-16.1.1" + einfo " media-gfx/graphviz[python]" +} diff --git a/dev-python/automat/files/automat-20.2.0-py311.patch b/dev-python/automat/files/automat-20.2.0-py311.patch new file mode 100644 index 000000000000..14ca69e7235d --- /dev/null +++ b/dev-python/automat/files/automat-20.2.0-py311.patch @@ -0,0 +1,23 @@ +https://github.com/glyph/automat/commit/d0c2845ead9b8f576042d42134bfb5c63086be39 + +diff --git a/automat/_introspection.py b/automat/_introspection.py +index 3f7307d..403cddb 100644 +--- a/automat/_introspection.py ++++ b/automat/_introspection.py +@@ -6,6 +6,8 @@ + + + def copycode(template, changes): ++ if hasattr(code, "replace"): ++ return template.replace(**{"co_" + k : v for k, v in changes.items()}) + names = [ + "argcount", "nlocals", "stacksize", "flags", "code", "consts", + "names", "varnames", "filename", "name", "firstlineno", "lnotab", +@@ -23,7 +25,6 @@ def copycode(template, changes): + return code(*values) + + +- + def copyfunction(template, funcchanges, codechanges): + names = [ + "globals", "name", "defaults", "closure", diff --git a/dev-python/bitstring/bitstring-3.1.9.ebuild b/dev-python/bitstring/bitstring-3.1.9.ebuild index e23785a5cb88..04ab7ca57bc8 100644 --- a/dev-python/bitstring/bitstring-3.1.9.ebuild +++ b/dev-python/bitstring/bitstring-3.1.9.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/blinker/blinker-1.4-r3.ebuild b/dev-python/blinker/blinker-1.4-r3.ebuild new file mode 100644 index 000000000000..f2b66f709b86 --- /dev/null +++ b/dev-python/blinker/blinker-1.4-r3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Fast, simple object-to-object and broadcast signaling" +HOMEPAGE=" + https://pythonhosted.org/blinker/ + https://github.com/pallets-eco/blinker/ + https://pypi.org/project/blinker/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/pallets-eco/blinker/pull/60 + "${FILESDIR}"/${P}-pytest.patch +) + +python_install_all() { + use doc && HTML_DOCS=( docs/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/blinker/files/blinker-1.4-pytest.patch b/dev-python/blinker/files/blinker-1.4-pytest.patch new file mode 100644 index 000000000000..e5c2b04998b5 --- /dev/null +++ b/dev-python/blinker/files/blinker-1.4-pytest.patch @@ -0,0 +1,31 @@ +From 8238e16c699ce7f99f5ff3f80d03d332d72015f8 Mon Sep 17 00:00:00 2001 +From: pgajdos <pgajdos@suse.cz> +Date: Wed, 8 Jul 2020 15:22:19 +0200 +Subject: [PATCH] use pytest instead of deprecated nose + +--- + tests/test_signals.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/test_signals.py b/tests/test_signals.py +index 2d6a65a..e74db47 100644 +--- a/tests/test_signals.py ++++ b/tests/test_signals.py +@@ -4,7 +4,7 @@ + + import blinker + +-from nose.tools import assert_raises ++import pytest + + + jython = sys.platform.startswith('java') +@@ -227,7 +227,7 @@ def receiver(sender, **kw): + pass + sig = blinker.Signal() + +- assert_raises(TypeError, sig.connect, receiver) ++ pytest.raises(TypeError, sig.connect, receiver) + assert not sig.receivers + assert not sig._by_receiver + assert sig._by_sender == {blinker.base.ANY_ID: set()} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 1b7d2e24a687..674316a42001 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,6 +1,7 @@ DIST boto3-1.22.10.tar.gz 497369 BLAKE2B 448cb581fa31746083da4271436071b1ab5625207e5cc0560746beca9216a9748191206238a950a5a04cc178c20b744d19d3d99c1aefb775eaa79c5b96b75cbd SHA512 0e4ed0cf8f14997b4e61d926491fba05e4ec06dfae347e65ab3dceb48d61e24860e82fb922a7eac73e1e1322679418c96915c62f6279bad694685361d9970d7d DIST boto3-1.22.11.tar.gz 497893 BLAKE2B 07b757e4ab108eb70273dc3df082394dc730223417d1776f38c195831d2361578ed8722b107224b9e6c79685c7fedb02c386ea92c749d654a2f70b28d8de1e3e SHA512 f1367f66a93af59bcff2d29df6064440eac579e3aba4ab65083904de7a44b2c175fcfc2fd7836a8b0a425cf5519847c5e17075d42e82d46b2a0c4b46b7d5dabf DIST boto3-1.22.12.tar.gz 498085 BLAKE2B 650ebe35436fcbb087063ff0cbbda4a8d8643fa551e2061c27ec797b62daf6ad1b5ae4c5271bd73404f8c6cf11d2b4b6b066eb7cebde478f68db7ed8fbfc813a SHA512 db2479d5b7b0cedb063af34155d3e54bea507fc5526fbcacc5b1a2d20120c8d564d155d91ca3cf6753cf7ceafa7de2789a7547cfefde6ac290829c7c02fa2aa4 +DIST boto3-1.22.13.tar.gz 498932 BLAKE2B aaaba92850f7e0cc80d7b178745e26b8e2f96efc43e9bebd2692f4ac8324efba6d293065fc9d3881dcb9c88b5a69a97fbb748e384c4170aeb97b6e2a59dc664e SHA512 21589837d607892ccedb65decc249c1f4a563d7f9ad6574255dc3546917b95801b529c6a3659434ccc267c7d6a95bd42eedf38c8931fee290fe6c8bd8132c34e DIST boto3-1.22.4.tar.gz 495554 BLAKE2B 4c06e2101bcc96e4fab7e088f8593c7b1cfd2b07431d4cd062666df6c1f5d55d9b7fb594268e9a86c4793d35bc3d8de2644244728cf62833dfefb62525eedbdc SHA512 26dbd9ed1af900f7466a1767ada3fb8ee86fa09ca21733f857e2748d98525661fc76e69d75440fe913260e75245cf30298493417d055399a242af0aedaffd349 DIST boto3-1.22.7.tar.gz 496523 BLAKE2B 400370268e51b229bd3c465ccc43df93b713e3088baf76cbb7367cdc75b8374b787fee635cc921b431d5e1471a60a990d57a306d8ebdb14f0c462f211b323f99 SHA512 a7b56723a0fd692496a4e397ca29139f0813bfcea365877900441f01f38e5fd15d20a1642a5717940994bdfc840540d38b9a594e2510ab070ae62fadf9b4958b DIST boto3-1.22.8.tar.gz 496856 BLAKE2B c7707eae7a5966dbe04e86c35270674f532286d3fbed46580836729988e55cdeba872496de750af89de6a7afdc6b19bbe4f8b9025580dc9b825cd04a87530b21 SHA512 43498179a59c2a1c9401f0629fbf0f3ff1dd51d2208ade828ff283b44be28fd539af68d4fb274e5e8c6c01bd03699872cd1a81d006f4c929dcdbf7227f77416f diff --git a/dev-python/boto3/boto3-1.22.13.ebuild b/dev-python/boto3/boto3-1.22.13.ebuild new file mode 100644 index 000000000000..6e54ecb92f37 --- /dev/null +++ b/dev-python/boto3/boto3-1.22.13.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index e6f0dd5cfec9..7065171883cc 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,6 +1,7 @@ DIST botocore-1.25.10.tar.gz 8963726 BLAKE2B 9823581417f4ddbca840fec85421c01089987ae53fff3825463a79e2663c753d0aa00c2f3dc714d5bf62ee491b4521964869c8e39c5f88ebd562676267b35831 SHA512 6daaec14be1cafdf43bdb4b182a31649d88ee3a9b7e2a88409e3a9fc5279479f78800a0b49ec405936e6695ac4c1b672a62b31b2486049193734ade98f275a10 DIST botocore-1.25.11.tar.gz 8965078 BLAKE2B 9303ea0c5bd298be3167a887bf8a5b66edbe0f2c82273841daabf975c1f78f18e80092252d0c9c79e05992039ea1048cfe36f4ecf9e5a941e2ad80f7a7ede314 SHA512 2afe95fc0ee2d50e87c6ffc8cbd189fea71f0a97ce508c01642f0a736cb2fe220531324366fddad3e725bc81ca4ef3ffdf2c281c3c89075cae5416f5722b1b1d DIST botocore-1.25.12.tar.gz 8964692 BLAKE2B f039aa570d74a2fb5cacfb4d43ab2e34c677f471a6d325fe02afa2aa7231960dd70f13b8b0c988fbf9c0dec2bda7b95ac2069b00233211c30aa2d9e0cf287747 SHA512 da88d66db527216f81101fe30a2c90cf423025bbe28d7fda227fc80b9a33696c63630a885e5809810688dc80eb274898301a3877855c904b8c8bd8b85edc12a3 +DIST botocore-1.25.13.tar.gz 8969020 BLAKE2B 00107c6ffeb7957d21dc6b5de1f5dbca94ea59095857cc99653cfd705be845814e1f36b23b4c036f88c1fae9f9fdfb856f4293bdd7d20b97cb937b46f20707e1 SHA512 adc80608abfa3b8d2eab52d8690e002e9ca66e9378e114780592f2f9b0443aeb5a3d879d731d717b242df72dd21470df3a52808318b39cdbb1718e556b4248d4 DIST botocore-1.25.4.tar.gz 8955210 BLAKE2B 50880e9d7f57e4f3b8662625a64e9470eaf8a984fdbcc34239bfe604544ccd3ac62e953d7be4e1b486fab4ad0d571361ffc9fdc43cb860cd37a95c33d7b824b2 SHA512 a04e03271d217ab1ef5488dcfedda2904b8e628dae969c74e284d004ae72f18d9734d3f7cf775235c8384b30f4d0fbfda7c0e5dcd687039ddb7b339330e63317 DIST botocore-1.25.7.tar.gz 8961319 BLAKE2B 1d22e3cd625252f1e6c6b13b9317750b48765150006ca0b632fd15aa6f31079855a1b6c7201cbed0ebfc7147a87389e1a4445d0736829554f8063b68944107cf SHA512 a22a35a1de87aff2efa7b4b5f478e44be7ce2eadf0b7da43af2a0de9ba315a9b75ac59da29a8f10ed15bbf6ff4d76d904407f95a7f8f08049c546450bd6c7c4d DIST botocore-1.25.8.tar.gz 8961194 BLAKE2B 4a13f5b01352ff0cb8932431e9431229a73fe922c2719ee571fa26ed55faa0315e0bdd561dcf2069748d13c809c7c5b7e2a35051d5d8bbd498677658b69ff454 SHA512 bc78c24629308d4d8cb4190646b7f465713a5462c54ff0946fdbcfa8b87951fa337a2f8f97bbd27991a79da03d140b890f2b021f865c7550b791d2fbb95282a1 diff --git a/dev-python/botocore/botocore-1.25.13.ebuild b/dev-python/botocore/botocore-1.25.13.ebuild new file mode 100644 index 000000000000..f5cc64418e9a --- /dev/null +++ b/dev-python/botocore/botocore-1.25.13.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/colorlog/colorlog-6.6.0.ebuild b/dev-python/colorlog/colorlog-6.6.0-r1.ebuild index 056472fe883b..e96c8f67d20b 100644 --- a/dev-python/colorlog/colorlog-6.6.0.ebuild +++ b/dev-python/colorlog/colorlog-6.6.0-r1.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/configargparse/configargparse-1.5.3.ebuild b/dev-python/configargparse/configargparse-1.5.3.ebuild index 8f743978fe8f..dbfef9bbd620 100644 --- a/dev-python/configargparse/configargparse-1.5.3.ebuild +++ b/dev-python/configargparse/configargparse-1.5.3.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/cookies/cookies-2.2.1-r2.ebuild b/dev-python/cookies/cookies-2.2.1-r2.ebuild new file mode 100644 index 000000000000..f949c2f180ab --- /dev/null +++ b/dev-python/cookies/cookies-2.2.1-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Friendlier RFC 6265-compliant cookie parser/renderer" +HOMEPAGE="https://gitlab.com/sashahart/cookies" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +PATCHES=( + # https://gitlab.com/sashahart/cookies/merge_requests/2 + "${FILESDIR}/cookies-2.2.1-fix-warnings.patch" + + "${FILESDIR}/cookies-2.2.1-tests.patch" +) + +distutils_enable_tests pytest diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index b1d0f8be9c94..f7989c8cd0a4 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1 +1,2 @@ DIST coverage-6.3.2.tar.gz 709294 BLAKE2B 2da96731ee0065fb6139af7db073284a83efa135e7379d2a6d6e571cdf58c888cf72719fbddadb1bd8f62b0b155b8420a84377068c40e4c813533b3ad6b190a8 SHA512 d9ea3a93eefe2dbb723ed1eadb09dc1165c4f46e7186889ce3615411283baac1d80f04a3831208a164f99accea5d246d4613a7c2e909d2e63d3c714620432a16 +DIST coverage-6.3.3.tar.gz 710958 BLAKE2B 8bc1e9504e8f59bc2afea40c63958e463d2f6bfc5fa09c890c1c1f8e2ab502e6ad657edda5616f6a866f460b9f73cdda5ab081f8de281d23314f205d61c7621b SHA512 4b3f42602c50bf00a627ff40f3a04b1e8e457ad57759fb93dddb55eedd5ffe775fa81983f5f53502576b89c793c69a52a269148e7b028d5c87f0d4bf3a4d11b1 diff --git a/dev-python/coverage/coverage-6.3.3.ebuild b/dev-python/coverage/coverage-6.3.3.ebuild new file mode 100644 index 000000000000..883ec5f3bcbe --- /dev/null +++ b/dev-python/coverage/coverage-6.3.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE="https://coverage.readthedocs.io/en/latest/ https://pypi.org/project/coverage/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die + distutils-r1_src_prepare +} + +test_tracer() { + local -x COVERAGE_TEST_TRACER=${1} + einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." + epytest tests +} + +python_test() { + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" \ + coverage/ || die + test_tracer c + rm coverage/*.so || die + else + test_tracer py + fi +} diff --git a/dev-python/deprecated/deprecated-1.2.13-r1.ebuild b/dev-python/deprecated/deprecated-1.2.13-r1.ebuild new file mode 100644 index 000000000000..e20dbe5b7a13 --- /dev/null +++ b/dev-python/deprecated/deprecated-1.2.13-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python @deprecated decorator to deprecate old API" +HOMEPAGE=" + https://github.com/tantale/deprecated/ + https://pypi.org/project/deprecated/ +" +SRC_URI=" + https://github.com/tantale/deprecated/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/wrapt[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + tests/test_deprecated.py::test_respect_global_filter + tests/test_deprecated_class.py::test_class_respect_global_filter + ) + + epytest +} diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest index 9a2135a7f0f2..a725dcdc9c12 100644 --- a/dev-python/eventlet/Manifest +++ b/dev-python/eventlet/Manifest @@ -1 +1,2 @@ DIST eventlet-0.33.0.tar.gz 414929 BLAKE2B cfb2500d25ed56f5eb7b81968286b1d7d0286511e1658dca8ab4fcf07029390168aea1f95092b5f1b486bd6fb34a96b762c2087cd19f903d232f1da183508888 SHA512 52ef5c6997d0c8a3b55d5f6e969320e06950503984c90440b484020ba346d622ba99abf2bd389b962534849b0c70d80b06f110b2586417f27fb6dde725bfaef4 +DIST eventlet-0.33.1.tar.gz 415294 BLAKE2B 25efb9b9848a6e0db2040d111288447aa07ceb70d2cbd9b3d189a2ca58aadad6b6d64054f76f3329ff7ca832efccbabb780c839c4db6d95a5b623d80079b7da3 SHA512 c8ece6a26039631b13ecc188f480f348a42551267fb6135551899dec7a23d0cfd032c14728e114901e4d256bf580203bfbdb1795881abdd71e49a53f8ed58964 diff --git a/dev-python/eventlet/eventlet-0.33.1.ebuild b/dev-python/eventlet/eventlet-0.33.1.ebuild new file mode 100644 index 000000000000..3ebc054a0342 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.33.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Highly concurrent networking library" +HOMEPAGE=" + https://pypi.org/project/eventlet/ + https://github.com/eventlet/eventlet/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + virtual/python-greenlet[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/eventlet-0.25.1-tests.patch" + "${FILESDIR}/eventlet-0.30.0-tests-socket.patch" + "${FILESDIR}/eventlet-0.30.2-test-timeout.patch" +) + +distutils_enable_tests nose + +src_prepare() { + # increase timeout - #791748 + sed -e '/eventlet.sleep/s/0.1/5.0/' -i tests/isolated/patcher_fork_after_monkey_patch.py || die + + distutils-r1_src_prepare +} + +python_test() { + unset PYTHONPATH + export TMPDIR="${T}" + nosetests -v -x || die +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/feedgenerator/feedgenerator-2.0.0.ebuild b/dev-python/feedgenerator/feedgenerator-2.0.0.ebuild index 97a5d6bc2375..4ba0b5edeb25 100644 --- a/dev-python/feedgenerator/feedgenerator-2.0.0.ebuild +++ b/dev-python/feedgenerator/feedgenerator-2.0.0.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/flatbuffers/flatbuffers-2.0.ebuild b/dev-python/flatbuffers/flatbuffers-2.0.ebuild index cc01516ec569..c7844b0e8ee3 100644 --- a/dev-python/flatbuffers/flatbuffers-2.0.ebuild +++ b/dev-python/flatbuffers/flatbuffers-2.0.ebuild @@ -7,7 +7,8 @@ PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="RFC 7049 - Concise Binary Object Representation" -HOMEPAGE="https://github.com/google/flatbuffers https://pypi.org/project/flatbuffers/" +HOMEPAGE="https://github.com/google/flatbuffers + https://pypi.org/project/flatbuffers/" SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" diff --git a/dev-python/fleep/fleep-1.0.1-r1.ebuild b/dev-python/fleep/fleep-1.0.1-r1.ebuild index 7d3fb678f27a..805526a2c9f3 100644 --- a/dev-python/fleep/fleep-1.0.1-r1.ebuild +++ b/dev-python/fleep/fleep-1.0.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - inherit distutils-r1 if [[ ${PV} == 9999 ]]; then @@ -13,7 +13,6 @@ if [[ ${PV} == 9999 ]]; then else # upstream aren't tagging the releases, just as commit title COMMIT="994bc2c274482d80ab13d89d8f7343eb316d3e44" - # Note: On next bump, remove gh suffix from SRC_URI - was added just for tests SRC_URI="https://github.com/floyernick/fleep-py/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/fleep-py-${COMMIT}" diff --git a/dev-python/fleep/fleep-9999.ebuild b/dev-python/fleep/fleep-9999.ebuild index 95f0a120eaef..6afaa31b6d4a 100644 --- a/dev-python/fleep/fleep-9999.ebuild +++ b/dev-python/fleep/fleep-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - inherit distutils-r1 if [[ ${PV} == 9999 ]]; then diff --git a/dev-python/gmpy/gmpy-2.1.2-r1.ebuild b/dev-python/gmpy/gmpy-2.1.2-r1.ebuild new file mode 100644 index 000000000000..a0ff3d55143a --- /dev/null +++ b/dev-python/gmpy/gmpy-2.1.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PN="${PN}2" +MY_P="${MY_PN}-${PV/_beta/b}" + +DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries" +HOMEPAGE=" + https://github.com/aleaxit/gmpy/ + https://pypi.org/project/gmpy2/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-3+" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +DEPEND=" + >=dev-libs/mpc-1.0.2:= + >=dev-libs/mpfr-3.1.2:= + dev-libs/gmp:0= +" +RDEPEND=" + ${DEPEND} +" + +PATCHES=( + # The tests program asks for input when running, disable that + "${FILESDIR}"/gmpy-2.1.0_beta5-test-input.patch +) + +distutils_enable_sphinx docs + +python_test() { + cd test || die + "${EPYTHON}" runtests.py || die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest index bf90264798da..7ff0e9f16b98 100644 --- a/dev-python/googleapis-common-protos/Manifest +++ b/dev-python/googleapis-common-protos/Manifest @@ -1 +1,2 @@ DIST googleapis-common-protos-1.56.0.tar.gz 132706 BLAKE2B a0adf6527c24aaa30922800a80ef4af8abf3d83c4639c227a859c92e02d248f44b408f98820387a51b310dedf005872cb0fa7824bd27ac6309f31f85810edd40 SHA512 ef6ed067457aad3b46d81bacbb66abe3b36b0640290e0047ef7c6d612dfd8bf865dad47c77275f0d5a1e03cd4e5dca32d08f44c7a7bfe7b264ee59e5c5bb9a27 +DIST googleapis-common-protos-1.56.1.tar.gz 109702 BLAKE2B ac54a63164a64a125a7dece77a8a9219d922860d6dce9a1057b4dd2f015e2efc6719c224473cee358280028f016fd171e05c8ec6377cdcb216318230ea42df02 SHA512 155698770a790df0ed92144cc0b79373ccdab2bff7109633df5f4f66e75f4f1c312f2ec7248c173f4750416619c65cf6bb7cfc33abfe7530c5d5d7fe2b3cec2c diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.1.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.1.ebuild new file mode 100644 index 000000000000..30d85b52db41 --- /dev/null +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.56.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python classes generated from the common protos in the googleapis repository" +HOMEPAGE=" + https://github.com/googleapis/python-api-common-protos/ + https://pypi.org/project/googleapis-common-protos/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/protobuf-python-3.15.0[${PYTHON_USEDEP}] + !dev-python/namespace-google +" + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +# no tests as this is all generated code diff --git a/dev-python/gst-python/Manifest b/dev-python/gst-python/Manifest index 55403f8f4c75..043a8e54adc7 100644 --- a/dev-python/gst-python/Manifest +++ b/dev-python/gst-python/Manifest @@ -2,3 +2,4 @@ DIST gst-python-1.16.3.tar.xz 419932 BLAKE2B 3c3d7d8dbde7d77d57e340c68503c436ab0 DIST gst-python-1.18.4.tar.xz 158252 BLAKE2B 2fd60d2d451ae572cee2f7e9158e9c06e82cdd56c4fc70d2731aa0a46a21e495321ec02c97ecd9a946278ce9b7290a290b9f2bc13184582c1f8ff19e874d0e3a SHA512 6b9df9e4faaeb030f0596c9e52262c0f82b8854faf821497a840a762913dccb005321c60565754ef571e34976fcda481a41aefbbd486c2932377a95121433bf5 DIST gst-python-1.18.6.tar.xz 163648 BLAKE2B 2a72d323f3620b976f537d91ac579824c65a112cd7a599b75f8ee6859ea2dcfeaf327a0dd90e1072071d036b6e7a4bd14fbd737ea95e42a1dd8868f05e6a8936 SHA512 312a141bc57a00496c34445648f11c8d61800fde0d5aefcc51bd296f6aafb9556e3ebed71904d262be6134c4b20eda30e025badddc977fdceb65b72ab788497e DIST gst-python-1.20.1.tar.xz 151020 BLAKE2B 49d6730eeff90cc967e96fc1c9600f82690ff1136e46f65777d057880b239c65c6d88aa519a7558af94822f9ea57faf9b55a11c27bf9b8b567c1cea3fbbdfbf0 SHA512 16819b7b8c564af8d0cc5f3d5a64921c45523865d705d5f4580bf644aeaacf24fd1922f27c3729e8334e710d318646ee5250ac26045f863fedaf1c8481724750 +DIST gst-python-1.20.2.tar.xz 153428 BLAKE2B 051be5996530989b0e016662f4bf33ac01d576dff56ef779ae481f6f02143595cb3132b9a1ad56cd26f7de55c5df28d25cac448ef28f1b8595974f468252c6b5 SHA512 99af8bad76f930e6c11dcacac013ffe30670ad77259ebe96ee6059a9c359fd1a9c9b22188856f2f19f31469c152b3ad269ba821d06ef92f0c92b3b0fe0eac0d2 diff --git a/dev-python/gst-python/gst-python-1.20.2.ebuild b/dev-python/gst-python/gst-python-1.20.2.ebuild new file mode 100644 index 000000000000..be3ad764d760 --- /dev/null +++ b/dev-python/gst-python/gst-python-1.20.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit meson python-r1 xdg-utils + +DESCRIPTION="A Python Interface to GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" +SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=media-libs/gstreamer-${PV}:1.0[introspection] + >=media-libs/gst-plugins-base-${PV}:1.0[introspection] + >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + + # Avoid building & testing plugin - it must NOT be multi-python as gst-inspect will map in all libpython.so versions and crash or behave mysteriously. + # Python plugin support is of limited use (GIL gets in the way). If it's ever requested or needed, it should be a + # separate python-single-r1 media-plugins/gst-plugins-python package that only builds the plugin directory. + sed -e '/subdir.*plugin/d' -i meson.build || die + sed -e '/test_plugin.py/d' -i testsuite/meson.build || die + + xdg_environment_reset +} + +src_configure() { + configuring() { + meson_src_configure \ + -Dpython="${EPYTHON}" + } + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing +} diff --git a/dev-python/h11/h11-0.13.0-r1.ebuild b/dev-python/h11/h11-0.13.0-r1.ebuild index 8f732eaa1ae8..de22b6986474 100644 --- a/dev-python/h11/h11-0.13.0-r1.ebuild +++ b/dev-python/h11/h11-0.13.0-r1.ebuild @@ -9,7 +9,11 @@ PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="A pure-Python implementation of HTTP/1.1 inspired by hyper-h2" -HOMEPAGE="https://github.com/python-hyper/h11/ https://pypi.org/project/h11/" +HOMEPAGE=" + https://h11.readthedocs.io/en/latest/ + https://github.com/python-hyper/h11/ + https://pypi.org/project/h11/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/h2/h2-3.2.0-r1.ebuild b/dev-python/h2/h2-3.2.0-r1.ebuild new file mode 100644 index 000000000000..778f4d39bb91 --- /dev/null +++ b/dev-python/h2/h2-3.2.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_P=hyper-h2-${PV} +DESCRIPTION="HTTP/2 State-Machine based protocol implementation" +HOMEPAGE=" + https://python-hyper.org/projects/h2/en/stable/ + https://github.com/python-hyper/h2/ + https://pypi.org/project/h2/ +" +SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}] + <dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}] + >=dev-python/hpack-3.0.0[${PYTHON_USEDEP}] + <dev-python/hpack-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # From https://github.com/python-hyper/h2/pull/1248 + # Disables some failing healthchecks + "${FILESDIR}/hyper-h2-3.2.0-failed-healthcheck.patch" +) + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == python3.1[01] ]] && EPYTEST_DESELECT+=( + # these rely on fixed string repr() and fail because enum repr + # changed in py3.10 + test/test_basic_logic.py::TestBasicServer::test_stream_repr + test/test_events.py::TestEventReprs::test_remotesettingschanged_repr + test/test_events.py::TestEventReprs::test_streamreset_repr + test/test_events.py::TestEventReprs::test_settingsacknowledged_repr + test/test_events.py::TestEventReprs::test_connectionterminated_repr + ) + + epytest --hypothesis-profile=travis +} diff --git a/dev-python/h2/h2-4.1.0-r1.ebuild b/dev-python/h2/h2-4.1.0-r1.ebuild index b26b747fb8fe..4ecfccf4e5a3 100644 --- a/dev-python/h2/h2-4.1.0-r1.ebuild +++ b/dev-python/h2/h2-4.1.0-r1.ebuild @@ -12,7 +12,8 @@ DESCRIPTION="HTTP/2 State-Machine based protocol implementation" HOMEPAGE=" https://python-hyper.org/projects/h2/en/stable/ https://github.com/python-hyper/h2/ - https://pypi.org/project/h2/" + https://pypi.org/project/h2/ +" SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" @@ -32,3 +33,17 @@ BDEPEND=" " distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if [[ ${EPYTHON} == python3.11 ]]; then + EPYTEST_DESELECT+=( + test/test_events.py::TestEventReprs::test_remotesettingschanged_repr + test/test_events.py::TestEventReprs::test_streamreset_repr + test/test_events.py::TestEventReprs::test_settingsacknowledged_repr + test/test_events.py::TestEventReprs::test_connectionterminated_repr + ) + fi + + epytest +} diff --git a/dev-python/hpack/hpack-3.0.0-r1.ebuild b/dev-python/hpack/hpack-3.0.0-r1.ebuild new file mode 100644 index 000000000000..72cdbb6b5ec2 --- /dev/null +++ b/dev-python/hpack/hpack-3.0.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python HPACK header compression" +HOMEPAGE=" + https://python-hyper.org/projects/hpack/en/latest/ + https://github.com/python-hyper/hpack/ + https://pypi.org/project/hpack/ +" +SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# dev-python/pytest-relaxed causes tests to fail +BDEPEND=" + test? ( + >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] + !!dev-python/pytest-relaxed[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/hpack-3.0.0-hypothesis-healthcheck.patch +) + +EPYTEST_DESELECT=( + # relies on outdated exception strings + test/test_table.py::TestHeaderTable::test_get_by_index_out_of_range +) + +EPYTEST_IGNORE=( + bench +) diff --git a/dev-python/hpack/hpack-4.0.0-r1.ebuild b/dev-python/hpack/hpack-4.0.0-r1.ebuild index 83dca99cbc3d..2a638bb9e95d 100644 --- a/dev-python/hpack/hpack-4.0.0-r1.ebuild +++ b/dev-python/hpack/hpack-4.0.0-r1.ebuild @@ -12,7 +12,8 @@ DESCRIPTION="Pure-Python HPACK header compression" HOMEPAGE=" https://python-hyper.org/projects/hpack/en/latest/ https://github.com/python-hyper/hpack/ - https://pypi.org/project/hpack/" + https://pypi.org/project/hpack/ +" SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/hyperframe/hyperframe-5.2.0-r1.ebuild b/dev-python/hyperframe/hyperframe-5.2.0-r1.ebuild new file mode 100644 index 000000000000..71536cef1cc7 --- /dev/null +++ b/dev-python/hyperframe/hyperframe-5.2.0-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="HTTP/2 framing layer for Python" +HOMEPAGE=" + https://python-hyper.org/projects/hyperframe/en/latest/ + https://pypi.org/project/hyperframe/ + https://github.com/python-hyper/hyperframe/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/hyperframe/hyperframe-6.0.1-r1.ebuild b/dev-python/hyperframe/hyperframe-6.0.1-r1.ebuild index f1603a502fe0..4dbb23b7f1ab 100644 --- a/dev-python/hyperframe/hyperframe-6.0.1-r1.ebuild +++ b/dev-python/hyperframe/hyperframe-6.0.1-r1.ebuild @@ -9,9 +9,11 @@ PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="HTTP/2 framing layer for Python" -HOMEPAGE="https://python-hyper.org/projects/hyperframe/en/latest/ +HOMEPAGE=" + https://python-hyper.org/projects/hyperframe/en/latest/ https://pypi.org/project/hyperframe/ - https://github.com/python-hyper/hyperframe/" + https://github.com/python-hyper/hyperframe/ +" SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild b/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild index e131492ff7af..0c5091081b1f 100644 --- a/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild +++ b/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild @@ -9,14 +9,19 @@ PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="A featureful, correct URL for Python" -HOMEPAGE="https://github.com/python-hyper/hyperlink https://pypi.org/project/hyperlink/" +HOMEPAGE=" + https://github.com/python-hyper/hyperlink/ + https://pypi.org/project/hyperlink/ +" SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -RDEPEND="dev-python/idna[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/idna[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/iso8601/iso8601-1.0.2-r1.ebuild b/dev-python/iso8601/iso8601-1.0.2-r1.ebuild index 13629e13569c..d91238140236 100644 --- a/dev-python/iso8601/iso8601-1.0.2-r1.ebuild +++ b/dev-python/iso8601/iso8601-1.0.2-r1.ebuild @@ -9,7 +9,10 @@ PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Simple module to parse ISO 8601 dates" -HOMEPAGE="https://pypi.org/project/iso8601/" +HOMEPAGE=" + https://github.com/micktwomey/pyiso8601/ + https://pypi.org/project/iso8601/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" @@ -20,6 +23,7 @@ BDEPEND=" test? ( dev-python/hypothesis[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/dev-python/itsdangerous/Manifest b/dev-python/itsdangerous/Manifest index 72ae768d2a28..fbb0fcf1d8c2 100644 --- a/dev-python/itsdangerous/Manifest +++ b/dev-python/itsdangerous/Manifest @@ -1,2 +1 @@ -DIST itsdangerous-1.1.0.tar.gz 53219 BLAKE2B 6ad74dacb9728e77d57ac5e364e79e3cc749be206fa03e82a407cdd77b5b72ddb4861bf181772915e684539e6404c6a45f6081c7c8e17a33a2d532b4fc3fed80 SHA512 61bab3fce5f87a3b5fc8fad61e735a63df6aa039416ee3494e1c99a2a1162b4fb72793bc5dc949de0985724c40121810b159513606c4c3976a7666dba3a1b93d DIST itsdangerous-2.1.2.tar.gz 56143 BLAKE2B 4c36cb26bcc6b6821b92b88b0254711ebe00bfda2193cecf0a7eb1fd514806f366fc0b4dc587a383003ec1272a2bc732418a46b44fa711beaedc06c379635ddc SHA512 e4d870a33992b309ed778f403c0c1e098983a693d1165260748bf36385ebfadb583811e05ddd48001a33cf6a4e963b7dd8a8c68919c5b4b86f63621d8869e259 diff --git a/dev-python/itsdangerous/itsdangerous-1.1.0-r1.ebuild b/dev-python/itsdangerous/itsdangerous-1.1.0-r1.ebuild deleted file mode 100644 index cb129a6b3579..000000000000 --- a/dev-python/itsdangerous/itsdangerous-1.1.0-r1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Various helpers to pass trusted data to untrusted environments and back" -HOMEPAGE="https://pythonhosted.org/itsdangerous/ https://pypi.org/project/itsdangerous/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - test? ( dev-python/freezegun[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest diff --git a/dev-python/itsdangerous/itsdangerous-2.1.2.ebuild b/dev-python/itsdangerous/itsdangerous-2.1.2.ebuild index 6dc73639269d..e4d6623a9c44 100644 --- a/dev-python/itsdangerous/itsdangerous-2.1.2.ebuild +++ b/dev-python/itsdangerous/itsdangerous-2.1.2.ebuild @@ -9,7 +9,11 @@ PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Various helpers to pass trusted data to untrusted environments and back" -HOMEPAGE="https://pythonhosted.org/itsdangerous/ https://pypi.org/project/itsdangerous/" +HOMEPAGE=" + https://palletsprojects.com/p/itsdangerous/ + https://github.com/pallets/itsdangerous/ + https://pypi.org/project/itsdangerous/ +" SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest index a374acbb4deb..d4550976c267 100644 --- a/dev-python/jwcrypto/Manifest +++ b/dev-python/jwcrypto/Manifest @@ -1,3 +1,4 @@ DIST jwcrypto-1.0.0.tar.gz 87000 BLAKE2B 6e85d52c26447b07c3d06387ac9e3b7adf585d5dc320c633e80ca2bc1e327f01ac95cec9a0fe2b92f7f8ed7f5650d5ad1a95de500d328b33763d604aaba1bd62 SHA512 12d270219d289041098f875f5b2b0773ffbf9044996a6189b827cafbf3e5dccfc103915275b1a11dce2d50e3510510eea476b024d19cf97fd7c66c25de5b3dbf DIST jwcrypto-1.1.0.gh.tar.gz 87344 BLAKE2B 4bc72c01e6d49d68ff8e3c89a09758a5e8a634c308926ed2b750fdc373006b30710a841df4e26e1ce3287be6e4b509674887a0b01cc3b225bc87d97588f5b7a6 SHA512 c7530f68d74247f23ad2d76def257f4f0091203a22d39f248f4a15363b17bdf79699b96775cfb7f909b5b0a99ed1dd73ff5ae30ca8bc41662f1be38933c9f3c1 DIST jwcrypto-1.2.0.gh.tar.gz 88369 BLAKE2B c2f03cef2130884e8a27faa5a7e204ee448ef0a2b56da414f10df34821a67898a0ed2768201d00e2dc7d14b5a3cad3e73c0bd5707910dd2cb1082d1a20a14c04 SHA512 df9073b0561b43cd92f7f1861f9b517bc736d0846f8ef1c7496a48aa5dec49755e5915285ae659c5e2bb18cd51912cd782d799c41c5c6399330f688348096fa5 +DIST jwcrypto-1.3.0.gh.tar.gz 91206 BLAKE2B bbc11ae9fe5a27233ad3e27e0ef38fff4bacd4d429fbf7b379b0ee61f4551cc3f8810181ef6e61c196951b971e2e49c5faf34e481b62f2caebd534bcbf26f981 SHA512 6071df4bbb735b7096fab35855534cbcf6bb2244b3e789cac81cc49d1d2f3a79112227a909074e2ee30e9a2fdf13d711f15222a2aeaedf8b7a098d8f569bcc40 diff --git a/dev-python/jwcrypto/jwcrypto-1.3.0.ebuild b/dev-python/jwcrypto/jwcrypto-1.3.0.ebuild new file mode 100644 index 000000000000..9d451b084945 --- /dev/null +++ b/dev-python/jwcrypto/jwcrypto-1.3.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Implements JWK,JWS,JWE specifications using python-cryptography" +HOMEPAGE=" + https://github.com/latchset/jwcrypto/ + https://pypi.org/project/jwcrypto/ +" +SRC_URI=" + https://github.com/latchset/jwcrypto/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.3[${PYTHON_USEDEP}] + dev-python/deprecated[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +python_prepare_all() { + # Do not install doc in non-standard paths + sed -i "/data_files/d" setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/lark/lark-1.1.2.ebuild b/dev-python/lark/lark-1.1.2.ebuild index a6c6abacbe38..109b0184b456 100644 --- a/dev-python/lark/lark-1.1.2.ebuild +++ b/dev-python/lark/lark-1.1.2.ebuild @@ -18,8 +18,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/lark/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" BDEPEND=" test? ( @@ -28,6 +26,19 @@ BDEPEND=" ) " +distutils_enable_tests pytest + python_test() { - "${EPYTHON}" -m tests -v || die "Tests fail with ${EPYTHON}" + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # require dev-python/js2py which is a really bad quality package + tests/test_nearley/test_nearley.py + ) + + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # https://github.com/lark-parser/lark/issues/1146 + tests/test_trees.py::TestTrees::test_smart_decorator + ) + + epytest } diff --git a/dev-python/markdown/markdown-3.3.7.ebuild b/dev-python/markdown/markdown-3.3.7.ebuild index 3bc6d4f8d847..e127e9fbd769 100644 --- a/dev-python/markdown/markdown-3.3.7.ebuild +++ b/dev-python/markdown/markdown-3.3.7.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${P^}" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="doc" RDEPEND=" diff --git a/dev-python/mistune/mistune-2.0.2-r1.ebuild b/dev-python/mistune/mistune-2.0.2-r1.ebuild new file mode 100644 index 000000000000..60956556341d --- /dev/null +++ b/dev-python/mistune/mistune-2.0.2-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="The fastest markdown parser in pure Python" +HOMEPAGE=" + https://github.com/lepture/mistune/ + https://pypi.org/project/mistune/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests pytest diff --git a/dev-python/pip-run/pip-run-8.8.0.ebuild b/dev-python/pip-run/pip-run-8.8.0.ebuild index 7b35f42257a4..7087719ea2e5 100644 --- a/dev-python/pip-run/pip-run-8.8.0.ebuild +++ b/dev-python/pip-run/pip-run-8.8.0.ebuild @@ -5,14 +5,18 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 DESCRIPTION="Install packages and run Python with them" -HOMEPAGE="https://pypi.org/project/pip-run/ - https://github.com/jaraco/pip-run" +HOMEPAGE=" + https://github.com/jaraco/pip-run/ + https://pypi.org/project/pip-run/ +" SRC_URI=" https://github.com/jaraco/pip-run/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" diff --git a/dev-python/poetry-core/poetry-core-1.0.8.ebuild b/dev-python/poetry-core/poetry-core-1.0.8.ebuild index d338999e342a..f8edf9c38dd3 100644 --- a/dev-python/poetry-core/poetry-core-1.0.8.ebuild +++ b/dev-python/poetry-core/poetry-core-1.0.8.ebuild @@ -5,10 +5,14 @@ EAPI=8 DISTUTILS_USE_PEP517=standalone PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 DESCRIPTION="Poetry PEP 517 Build Backend" -HOMEPAGE="https://pypi.org/project/poetry-core/ https://github.com/python-poetry/poetry-core" +HOMEPAGE=" + https://github.com/python-poetry/poetry-core/ + https://pypi.org/project/poetry-core/ +" SRC_URI=" https://github.com/python-poetry/poetry-core/archive/${PV}.tar.gz -> ${P}.gh.tar.gz diff --git a/dev-python/priority/priority-1.3.0-r1.ebuild b/dev-python/priority/priority-1.3.0-r1.ebuild new file mode 100644 index 000000000000..c736823fc140 --- /dev/null +++ b/dev-python/priority/priority-1.3.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A pure-Python implementation of the HTTP/2 priority tree" +HOMEPAGE=" + https://python-hyper.org/projects/priority/en/latest/ + https://github.com/python-hyper/priority/ + https://pypi.org/project/priority/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] ) +" + +PATCHES=( + "${FILESDIR}"/priority-1.3.0-test-timeout.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/priority/priority-2.0.0-r1.ebuild b/dev-python/priority/priority-2.0.0-r1.ebuild index 81cc20792c63..f1c39cf3eb42 100644 --- a/dev-python/priority/priority-2.0.0-r1.ebuild +++ b/dev-python/priority/priority-2.0.0-r1.ebuild @@ -9,9 +9,11 @@ PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="A pure-Python implementation of the HTTP/2 priority tree" -HOMEPAGE="https://python-hyper.org/projects/priority/en/latest/ +HOMEPAGE=" + https://python-hyper.org/projects/priority/en/latest/ https://github.com/python-hyper/priority/ - https://pypi.org/project/priority/" + https://pypi.org/project/priority/ +" SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 566682da1905..e98bc52caf37 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1 +1,2 @@ DIST pyglet-1.5.23.tar.gz 6532823 BLAKE2B 0f69766ff424385c623c0b5bbca74741f4a55008365a90617a8f688954cbd58e898f733b893ef5dc2e1a25f9aab400e1d6f17bb932353f1f4f339e73f79406d5 SHA512 ed088ee37521d8594cb7fd017f86c3ce0f8e8794bc628c5404cbe2d33fb56db0fa306e83e89be7d132be68be73619fdd30d4410cd04a3bcb2f5f012443fb8ed8 +DIST pyglet-1.5.24.tar.gz 6533762 BLAKE2B 6ac19bc8e5eb55b068cacd1828adb09bb2f42f0231e795770cb110ad70961c7618dacb47bed043d26ca237b2fbdb6e7a319180208f9401e82e18beb73da62638 SHA512 d7dcc5ce8f718184e3cc8c398033975ca95c67802153e9470075e93c8ab587fd81f2c9f5a851e0719fd32d42576706da4a6f9b3053a597d56bdd8ad0047c735f diff --git a/dev-python/pyglet/pyglet-1.5.24.ebuild b/dev-python/pyglet/pyglet-1.5.24.ebuild new file mode 100644 index 000000000000..86afc0582b9c --- /dev/null +++ b/dev-python/pyglet/pyglet-1.5.24.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 virtualx xdg-utils + +DESCRIPTION="Cross-platform windowing and multimedia library for Python" +HOMEPAGE=" + https://pyglet.org/ + https://github.com/pyglet/pyglet/ + https://pypi.org/project/pyglet/ +" +SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="examples image +sound" + +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/fontconfig + ) +" +RDEPEND=" + virtual/glu + virtual/opengl + image? ( || ( + dev-python/pillow[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + ) ) + sound? ( || ( + media-libs/openal + media-sound/pulseaudio + ) ) +" +# ffmpeg? ( media-libs/avbin-bin ) + +DOCS=( DESIGN NOTICE README.md RELEASE_NOTES ) + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + xdg_environment_reset + + local EPYTEST_DESELECT=( + # lacking device/server permissions + tests/unit/media/test_listener.py::test_openal_listener + tests/unit/media/test_listener.py::test_pulse_listener + ) + + # Specify path to avoid running interactive tests + # We could add in integration tests, but they're slow + nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyhamcrest/pyhamcrest-2.0.3-r1.ebuild b/dev-python/pyhamcrest/pyhamcrest-2.0.3-r1.ebuild new file mode 100644 index 000000000000..90a11e5be2fd --- /dev/null +++ b/dev-python/pyhamcrest/pyhamcrest-2.0.3-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_P="PyHamcrest-${PV}" +DESCRIPTION="Hamcrest framework for matcher objects" +HOMEPAGE=" + https://github.com/hamcrest/PyHamcrest/ + https://pypi.org/project/PyHamcrest/ +" +SRC_URI=" + https://github.com/hamcrest/PyHamcrest/archive/V${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="examples" + +distutils_enable_sphinx doc \ + dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest index 83ba313e1e3c..5488502fb3b8 100644 --- a/dev-python/pyjwt/Manifest +++ b/dev-python/pyjwt/Manifest @@ -1,2 +1,3 @@ DIST PyJWT-1.7.1.tar.gz 41979 BLAKE2B 5604b309838b2dfb2f95e18e291c43703954664aa8acb7439072f002c1c8a1e49ff2c21d907be77a4d2f86e695ec71970d550aad2541252ac85bd7133e300b28 SHA512 70cd38127b6848933992c8b88303725ef71bfb430ad42eb63247e549b0bdab2a194137349d43ab02a1c97212dbc89f447ee3f0c5403dd14632b8b4b6b9235fc4 DIST PyJWT-2.3.0.tar.gz 62279 BLAKE2B 0f4cea0cee2461e5f829b2bba40fb6d2646d5bccaa8e6b2d26ba7379386a64dc9f5204ea607edec98fc0102facf3cc5595e5e97523e9a567e0cf0b072542a3f5 SHA512 c6a1d8c3ce87d2122aa4ce4e19c5d2683aeffae6fb29b20fa17e2dfb1a07faf721beb8ca390d3acdeb85a1476025ca5af4fcdb1019f84c8c1bf229246a7aafe3 +DIST PyJWT-2.4.0.tar.gz 66327 BLAKE2B bc78ceebe3fedd4216420c34034de96dc6af488b4b50d20a03073753cfe94d059cda3e118f79cc3718253f56bb977b5b86543d1cd1ab7346a4095d0c2c6855b2 SHA512 6c60afe62f9341c0fd889be227cd9e44260bc88696a93d0c3398547e159001f04e402d207d2230641f0f3d37cfd7e6f9e50a42dadfb011d7087c32a864c792a4 diff --git a/dev-python/pyjwt/pyjwt-2.4.0.ebuild b/dev-python/pyjwt/pyjwt-2.4.0.ebuild new file mode 100644 index 000000000000..b96d4e4e7079 --- /dev/null +++ b/dev-python/pyjwt/pyjwt-2.4.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 optfeature + +MY_PN="PyJWT" +DESCRIPTION="JSON Web Token implementation in Python" +HOMEPAGE=" + https://github.com/jpadilla/pyjwt/ + https://pypi.org/project/PyJWT/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S=${WORKDIR}/${MY_PN}-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + !dev-python/python-jwt +" +BDEPEND=" + test? ( + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "cryptography" dev-python/cryptography +} diff --git a/dev-python/pyopenssl/pyopenssl-20.0.1-r1.ebuild b/dev-python/pyopenssl/pyopenssl-20.0.1-r1.ebuild new file mode 100644 index 000000000000..0953860867e5 --- /dev/null +++ b/dev-python/pyopenssl/pyopenssl-20.0.1-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 toolchain-funcs + +MY_PN=pyOpenSSL +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python interface to the OpenSSL library" +HOMEPAGE=" + https://www.pyopenssl.org/ + https://pypi.org/project/pyOpenSSL/ + https://github.com/pyca/pyopenssl/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + >=dev-python/six-1.5.2[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pretend[${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 + ) + + # test for 32-bit time_t + "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null + #include <sys/types.h> + int test[sizeof(time_t) >= 8 ? 1 : -1]; + EOF + + if [[ ${?} -eq 0 ]]; then + einfo "time_t is at least 64-bit long" + else + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_crypto.py::TestX509StoreContext::test_verify_with_time + ) + fi + + distutils-r1_src_test +} diff --git a/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild b/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild index 308ebbab24ed..c7df155fe99b 100644 --- a/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild +++ b/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild @@ -11,6 +11,7 @@ inherit distutils-r1 toolchain-funcs MY_PN=pyOpenSSL MY_P=${MY_PN}-${PV} + DESCRIPTION="Python interface to the OpenSSL library" HOMEPAGE=" https://www.pyopenssl.org/ @@ -41,7 +42,12 @@ distutils_enable_sphinx doc \ dev-python/sphinx_rtd_theme distutils_enable_tests pytest -src_configure() { +src_test() { + local -x TZ=UTC + local EPYTEST_DESELECT=( + tests/test_ssl.py::TestContext::test_set_default_verify_paths + ) + # test for 32-bit time_t "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null #include <sys/types.h> @@ -49,22 +55,13 @@ src_configure() { EOF if [[ ${?} -eq 0 ]]; then - PYOPENSSL_SKIP_LARGE_TIME= einfo "time_t is at least 64-bit long" else - PYOPENSSL_SKIP_LARGE_TIME=1 einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_crypto.py::TestX509StoreContext::test_verify_with_time + ) fi -} - -python_test() { - local -x TZ=UTC - local EPYTEST_DESELECT=( - tests/test_ssl.py::TestContext::test_set_default_verify_paths - ) - [[ ${PYOPENSSL_SKIP_LARGE_TIME} ]] && EPYTEST_DESELECT+=( - tests/test_crypto.py::TestX509StoreContext::test_verify_with_time - ) - epytest + distutils-r1_src_test } diff --git a/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r2.ebuild b/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r2.ebuild new file mode 100644 index 000000000000..58bdad03e778 --- /dev/null +++ b/dev-python/pytest-fixture-config/pytest-fixture-config-1.7.0-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Virtualenv fixture for py.test" +HOMEPAGE=" + https://github.com/man-group/pytest-plugins/ + https://pypi.org/project/pytest-fixture-config/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +# block pytest plugins that will be broken by the upgrade +RDEPEND+=" + !<dev-python/pytest-virtualenv-1.7.0-r1[python_targets_python2_7(-)] +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + dev-python/six[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-shutil/pytest-shutil-1.7.0-r3.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r3.ebuild new file mode 100644 index 000000000000..f306657018ae --- /dev/null +++ b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A goodie-bag of unix shell and environment tools for py.test" +HOMEPAGE=" + https://github.com/man-group/pytest-plugins/ + https://pypi.org/project/pytest-shutil/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/execnet[${PYTHON_USEDEP}] + dev-python/path-py[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] +" +# block pytest plugins that will be broken by the upgrade +RDEPEND+=" + !<dev-python/pytest-virtualenv-1.7.0-r1[python_targets_python2_7(-)] +" + +BDEPEND=" + ${RDEPEND} + dev-python/setuptools-git[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove unnecessary deps + # (contextlib2 is not used in py3) + sed -i -e '/path\.py/d' -e '/contextlib2/d' setup.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild index 31889be63357..8fe94925f0c2 100644 --- a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild +++ b/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild @@ -27,7 +27,8 @@ BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest @@ -36,5 +37,13 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # broken by output changes + # https://github.com/pytest-dev/pytest-subtests/issues/69 + "tests/test_subtests.py::TestSubTest::test_simple_terminal_normal[unittest]" + "tests/test_subtests.py::TestSubTest::test_simple_terminal_verbose[unittest]" + ) + epytest } diff --git a/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild new file mode 100644 index 000000000000..affd31166d30 --- /dev/null +++ b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Virtualenv fixture for py.test" +HOMEPAGE=" + https://github.com/man-group/pytest-plugins/ + https://pypi.org/project/pytest-virtualenv/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/pytest-fixture-config[${PYTHON_USEDEP}] + dev-python/pytest-shutil[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/python-pam/python-pam-2.0.2-r1.ebuild b/dev-python/python-pam/python-pam-2.0.2-r1.ebuild index 50c2f013290e..38791866f073 100644 --- a/dev-python/python-pam/python-pam-2.0.2-r1.ebuild +++ b/dev-python/python-pam/python-pam-2.0.2-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/FirefighterBlu3/python-pam/archive/refs/tags/v${PV}. LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~riscv x86" RDEPEND="dev-python/six[${PYTHON_USEDEP}] dev-python/toml[${PYTHON_USEDEP}]" diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index 77a0c0f32c5a..f72a15bd58e1 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -1 +1,2 @@ DIST python-utils-3.1.0.tar.gz 24251 BLAKE2B c00f4c45480f0948cddfa65d4f1ce17ac6831e29b24913d225544619ebedaca67c0f143b55698f8e2edd658e5f90ac39e005a5c29e09d75b5643f79992ba878a SHA512 e22ea0dc7aa0e6c5b45c55843011971c5075639424d38a712703b0d5ef8af32e3661d39af63b6015c4edfe11fca7a256f4f02c3705e1724fe8b9015931d85cbf +DIST python-utils-3.2.2.tar.gz 25202 BLAKE2B ae36d918bfd125ed1c01a71f8b448390b70071eca8c404f2ce89312c0de8296b29026cd72baa1eeba940d84e2f0b5275ea0ee96735fdecd1b7fb8f5d42ac1b57 SHA512 cd3a9efbd71e33a343de4793c1b415129fbe280ea6b6bc40e84fc1ada7d409139d8bef6c7e2954ef6cd3b9407d817b07a61093d1a8b9de70f6af0b6aba3ebc8d diff --git a/dev-python/python-utils/python-utils-3.2.2.ebuild b/dev-python/python-utils/python-utils-3.2.2.ebuild new file mode 100644 index 000000000000..e51c7aa0ebd5 --- /dev/null +++ b/dev-python/python-utils/python-utils-3.2.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE=" + https://github.com/WoLpH/python-utils/ + https://pypi.org/project/python-utils/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + docs + _python_utils_tests/test_logger.py + python_utils/loguru.py +) + +python_prepare_all() { + sed -i -e '/--cov/d' -e '/--mypy/d' pytest.ini || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/service_identity/service_identity-21.1.0-r1.ebuild b/dev-python/service_identity/service_identity-21.1.0-r1.ebuild new file mode 100644 index 000000000000..e4786c994cf2 --- /dev/null +++ b/dev-python/service_identity/service_identity-21.1.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Service identity verification for pyOpenSSL" +HOMEPAGE=" + https://github.com/pyca/service-identity/ + https://pypi.org/project/service-identity/ +" +SRC_URI=" + https://github.com/pyca/service-identity/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${P/_/-} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +# TODO: upstream made pyopenssl optional +RDEPEND=" + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] + >=dev-python/attrs-19.1.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/setuptools/setuptools-62.2.0.ebuild b/dev-python/setuptools/setuptools-62.2.0.ebuild index 6d125c8dffe7..6bfe9f64356f 100644 --- a/dev-python/setuptools/setuptools-62.2.0.ebuild +++ b/dev-python/setuptools/setuptools-62.2.0.ebuild @@ -54,7 +54,6 @@ BDEPEND=" dev-python/mock[${PYTHON_USEDEP}] dev-python/pip[${PYTHON_USEDEP}] dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] dev-python/pytest-fixture-config[${PYTHON_USEDEP}] dev-python/pytest-virtualenv[${PYTHON_USEDEP}] @@ -63,7 +62,7 @@ BDEPEND=" >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] >=dev-python/virtualenv-20[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] - ' python3_{8..10} pypy3) + ' python3_{7..10} pypy3) ) " PDEPEND=" @@ -99,7 +98,7 @@ python_test() { local -x SETUPTOOLS_USE_DISTUTILS=stdlib # keep in sync with python_gen_cond_dep above! - has "${EPYTHON}" python3.{8..10} pypy3 || return + has "${EPYTHON}" python3.{8..11} pypy3 || return local EPYTEST_DESELECT=( # network diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild index e06357171b2e..bfa553e0dce1 100644 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-1.4.35.ebuild @@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" BDEPEND=" diff --git a/dev-python/statsmodels/files/statsmodels-0.11.1-tests.patch b/dev-python/statsmodels/files/statsmodels-0.11.1-tests.patch deleted file mode 100644 index 9a1a258d0779..000000000000 --- a/dev-python/statsmodels/files/statsmodels-0.11.1-tests.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -ur statsmodels-0.11.1.orig/statsmodels/base/tests/test_penalized.py statsmodels-0.11.1/statsmodels/base/tests/test_penalized.py ---- statsmodels-0.11.1.orig/statsmodels/base/tests/test_penalized.py 2020-04-28 22:02:47.150938650 -0700 -+++ statsmodels-0.11.1/statsmodels/base/tests/test_penalized.py 2020-04-28 22:03:24.468704937 -0700 -@@ -73,6 +73,7 @@ - y = np.random.poisson(mu) - return y - -+ @pytest.mark.skip("Broken on all impls") - def test_params_table(self): - res1 = self.res1 - res2 = self.res2 -@@ -380,9 +381,6 @@ - bse = np.array([0.028126650444581985, 0.033099984564283147, - 0.033184585514904545, 0.034282504130503301]) - assert_allclose(res2.params[:self.k_nonzero], params, atol=1e-5) -- assert_allclose(res2.bse[:self.k_nonzero], bse, rtol=5e-6) -- assert_allclose(res1.params[:self.k_nonzero], params, atol=1e-5) -- assert_allclose(res1.bse[:self.k_nonzero], bse, rtol=5e-6) - - - # the following classes are copies of Poisson with model adjustments -Only in statsmodels-0.11.1/statsmodels/base/tests: test_penalized.py.orig -diff -ur statsmodels-0.11.1.orig/statsmodels/tsa/statespace/tests/test_structural.py statsmodels-0.11.1/statsmodels/tsa/statespace/tests/test_structural.py ---- statsmodels-0.11.1.orig/statsmodels/tsa/statespace/tests/test_structural.py 2020-04-28 22:02:47.207938293 -0700 -+++ statsmodels-0.11.1/statsmodels/tsa/statespace/tests/test_structural.py 2020-04-28 22:04:02.871464429 -0700 -@@ -243,7 +243,7 @@ - run_ucm('rtrend_ar1', use_exact_diffuse=True) - - --@pytest.mark.slow -+@pytest.mark.skip("Fails") - def test_lltrend_cycle_seasonal_reg_ar1(close_figures): - run_ucm('lltrend_cycle_seasonal_reg_ar1_approx_diffuse') - run_ucm('lltrend_cycle_seasonal_reg_ar1', use_exact_diffuse=True) -Only in statsmodels-0.11.1/statsmodels/tsa/statespace/tests: .test_structural.py.un~ diff --git a/dev-python/statsmodels/files/statsmodels-0.12.2-new-pandas-scipy.patch b/dev-python/statsmodels/files/statsmodels-0.12.2-new-pandas-scipy.patch deleted file mode 100644 index d11cd08ecf6f..000000000000 --- a/dev-python/statsmodels/files/statsmodels-0.12.2-new-pandas-scipy.patch +++ /dev/null @@ -1,122 +0,0 @@ -From 4f32f3990fbba0ee440af47e23a9354fdb7a0285 Mon Sep 17 00:00:00 2001 -From: Kevin Sheppard <kevin.sheppard@gmail.com> -Date: Fri, 12 Mar 2021 10:52:38 +0000 -Subject: [PATCH] MAINT: Fix issues arising from future changes - -Fix issues due to changes in SciPy and pandas ---- - statsmodels/regression/tests/test_rolling.py | 6 ++++-- - statsmodels/stats/descriptivestats.py | 8 +++++++- - statsmodels/stats/stattools.py | 4 +++- - 3 files changed, 14 insertions(+), 4 deletions(-) - -diff --git a/statsmodels/regression/tests/test_rolling.py b/statsmodels/regression/tests/test_rolling.py -index 050de605f..f02e076d6 100644 ---- a/statsmodels/regression/tests/test_rolling.py -+++ b/statsmodels/regression/tests/test_rolling.py -@@ -1,5 +1,6 @@ - from io import BytesIO - from itertools import product -+import warnings - - import numpy as np - import pandas as pd -@@ -261,8 +262,9 @@ def test_plot(): - res.plot_recursive_coefficient(variables="x4") - - fig = plt.Figure() -- with pytest.warns(Warning): -- # Just silence the warning -+ # Just silence the warning -+ with warnings.catch_warnings(): -+ warnings.simplefilter("ignore") - out = res.plot_recursive_coefficient(fig=fig) - assert out is fig - res.plot_recursive_coefficient(alpha=None, figsize=(30, 7)) -diff --git a/statsmodels/stats/descriptivestats.py b/statsmodels/stats/descriptivestats.py -index 96d455ca1..d5ad2f2a5 100644 ---- a/statsmodels/stats/descriptivestats.py -+++ b/statsmodels/stats/descriptivestats.py -@@ -446,8 +446,14 @@ class Description: - else: - iqr = mean - -+ def _safe_jarque_bera(c): -+ a = np.asarray(c) -+ if a.shape[0] < 2: -+ return (np.nan,) * 4 -+ return jarque_bera(a) -+ - jb = df.apply( -- lambda x: list(jarque_bera(x.dropna())), result_type="expand" -+ lambda x: list(_safe_jarque_bera(x.dropna())), result_type="expand" - ).T - nan_mean = mean.copy() - nan_mean.loc[nan_mean == 0] = np.nan -diff --git a/statsmodels/stats/stattools.py b/statsmodels/stats/stattools.py -index d349c472d..2ee1a6e0b 100644 ---- a/statsmodels/stats/stattools.py -+++ b/statsmodels/stats/stattools.py -@@ -118,7 +118,9 @@ def jarque_bera(resids, axis=0): - where n is the number of data points, S is the sample skewness, and K is - the sample kurtosis of the data. - """ -- resids = np.asarray(resids) -+ resids = np.atleast_1d(np.asarray(resids, dtype=float)) -+ if resids.size < 2: -+ raise ValueError("resids must contain at least 2 elements") - # Calculate residual skewness and kurtosis - skew = stats.skew(resids, axis=axis) - kurtosis = 3 + stats.kurtosis(resids, axis=axis) --- -2.32.0 - -From a9e21aef508ea98da8c5889547b8e5748986dae1 Mon Sep 17 00:00:00 2001 -From: Kevin Sheppard <kevin.k.sheppard@gmail.com> -Date: Wed, 7 Apr 2021 09:52:25 +0100 -Subject: [PATCH] MAINT: Fix descriptive stats with extension dtypes - -Add special path for extension dtypes to remove N/A ---- - statsmodels/stats/descriptivestats.py | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -diff --git a/statsmodels/stats/descriptivestats.py b/statsmodels/stats/descriptivestats.py -index d5ad2f2a5..0fd3eb542 100644 ---- a/statsmodels/stats/descriptivestats.py -+++ b/statsmodels/stats/descriptivestats.py -@@ -441,8 +441,20 @@ class Description: - loc = count > 0 - mode_freq = np.full(mode.shape[0], np.nan) - mode_freq[loc] = mode_counts[loc] / count.loc[loc] -+ # TODO: Workaround for pandas AbstractMethodError in extension -+ # types. Remove when quantile is supported for these -+ _df = df -+ try: -+ from pandas.api.types import is_extension_array_dtype -+ _df = df.copy() -+ for col in df: -+ if is_extension_array_dtype(df[col].dtype): -+ _df[col] = _df[col].astype(object).fillna(np.nan) -+ except ImportError: -+ pass -+ - if df.shape[1] > 0: -- iqr = df.quantile(0.75) - df.quantile(0.25) -+ iqr = _df.quantile(0.75) - _df.quantile(0.25) - else: - iqr = mean - -@@ -493,7 +505,8 @@ class Description: - return results_df - # Pandas before 1.0 cannot handle empty DF - if df.shape[1] > 0: -- perc = df.quantile(self._percentiles / 100).astype(float) -+ # TODO: Remove when extension types support quantile -+ perc = _df.quantile(self._percentiles / 100).astype(float) - else: - perc = pd.DataFrame(index=self._percentiles / 100, dtype=float) - if np.all(np.floor(100 * perc.index) == (100 * perc.index)): --- -2.32.0 - diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index 55f6e0480152..fbe4563e9de3 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1,4 +1,2 @@ -DIST werkzeug-1.0.1.gh.tar.gz 907482 BLAKE2B d2dcdce8b1bcbb177b52b0915f2c0ac17d235dee3c77b23e81e4b35412d1f53a194d3c7c7f2a5c065ade99797effe72cc464cf6980b12c761a8a919338021660 SHA512 ba82120fb3e96e3a1334c6452d5ba1950fc016d2d147d643bbc2168ccec496f1dea799982ae8c578167155082c0bdbda5d56a23f64b4b6865f97e90e22df022e -DIST werkzeug-2.0.3.gh.tar.gz 897523 BLAKE2B 1f97a2f7184e8e11bb85722becae7cc032ada38a642a2f925f7b81e89c881011889189999d50dab4591fc2e874aac4ab92b0f1531c211468cf352e31b0b8c8d0 SHA512 a205cd981b3e1b481436e483190427ff3808a5ea80abc616ca08d899d0e6a39893a5cb60adc65c99dcab3af47c24b321c71996d719cb7f224de7942b44b1fd69 DIST werkzeug-2.1.1.gh.tar.gz 833268 BLAKE2B 28d922f99259b606c431b224222fe6474c68f8a11f9910fe9e4eedbdf30d18a101c25490dee205035ea7b3675e644f619a81cbf493c7d5540c6141ff3840d84a SHA512 992b5b0a95db5266d025e06683b04f932def72c3967b2c9903f718c5f2672cf0abadb247cf77029d99b567c9588f5ae03b6b07d566bfd764c738ede53501ba1b DIST werkzeug-2.1.2.gh.tar.gz 833667 BLAKE2B e045f566862bfe0f86185cd10aa26bf94a4fc2f7b23173c6a28c9b55d0f239fbba5c66071fab5df6102717b51a1c1fada872e9d9383b9d3b34ab92ffcfd96e59 SHA512 28c4a794a3dbc8423e59244fbcf192b60b53f378444aaaf60330bdd62cec38a4625033b5d72b55613c8b26053a60153ddcb816331ff28ad3ee03bede74d8b1b3 diff --git a/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild b/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild deleted file mode 100644 index ecfa8824acab..000000000000 --- a/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN="Werkzeug" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Collection of various utilities for WSGI applications" -HOMEPAGE=" - https://werkzeug.palletsprojects.com/ - https://pypi.org/project/Werkzeug/ - https://github.com/pallets/werkzeug" -#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -SRC_URI="https://github.com/pallets/werkzeug/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" -DEPEND=" - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xprocess[${PYTHON_USEDEP}] - !alpha? ( !hppa? ( !ia64? ( - dev-python/cryptography[${PYTHON_USEDEP}] - ) ) ) - )" - -distutils_enable_tests pytest - -src_prepare() { - # this test is very unreliable; it may fail randomly depending - # on installed packages - sed -i -e 's:test_no_memory_leak_from_Rule_builder:_&:' \ - tests/test_routing.py || die - - distutils-r1_src_prepare -} - -python_test() { - pytest -vv -x -p no:httpbin tests/test_routing.py || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/werkzeug/werkzeug-2.0.3.ebuild b/dev-python/werkzeug/werkzeug-2.0.3.ebuild deleted file mode 100644 index bb5f6ecc4ce4..000000000000 --- a/dev-python/werkzeug/werkzeug-2.0.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Collection of various utilities for WSGI applications" -HOMEPAGE=" - https://werkzeug.palletsprojects.com/ - https://pypi.org/project/Werkzeug/ - https://github.com/pallets/werkzeug/" -SRC_URI=" - https://github.com/pallets/werkzeug/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - !hppa? ( !ia64? ( - $(python_gen_cond_dep ' - dev-python/greenlet[${PYTHON_USEDEP}] - ' 'python*') - ) ) - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xprocess[${PYTHON_USEDEP}] - dev-python/watchdog[${PYTHON_USEDEP}] - !alpha? ( !hppa? ( !ia64? ( - dev-python/cryptography[${PYTHON_USEDEP}] - ) ) ) - )" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - "tests/test_serving.py::test_server[https]" - tests/test_serving.py::test_ssl_dev_cert - tests/test_serving.py::test_ssl_object - ) - fi - - # the default portage tempdir is too long for AF_UNIX sockets - local -x TMPDIR=/tmp - epytest -p no:django -p no:httpbin tests -} diff --git a/dev-python/zope-component/zope-component-5.0.1.ebuild b/dev-python/zope-component/zope-component-5.0.1.ebuild index 59633ba3994f..79dff10198e6 100644 --- a/dev-python/zope-component/zope-component-5.0.1.ebuild +++ b/dev-python/zope-component/zope-component-5.0.1.ebuild @@ -20,7 +20,7 @@ S=${WORKDIR}/${MY_P} LICENSE="ZPL" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm ~ppc64 ~riscv" RDEPEND=" dev-python/zope-event[${PYTHON_USEDEP}] diff --git a/dev-python/zope-hookable/zope-hookable-5.1.0.ebuild b/dev-python/zope-hookable/zope-hookable-5.1.0.ebuild index c6e1fc965fee..bf8b6b554175 100644 --- a/dev-python/zope-hookable/zope-hookable-5.1.0.ebuild +++ b/dev-python/zope-hookable/zope-hookable-5.1.0.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/${MY_P} LICENSE="ZPL" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm ~ppc64 ~riscv" BDEPEND=" test? ( |
