diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-07-06 08:55:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-07-06 08:55:11 +0000 |
| commit | 00cc746cb29fda18e142951ff748a87781347813 (patch) | |
| tree | 840673eb8fe6c2f56705afaf3b9a86dabe7ff46d /dev-python | |
| parent | 8bf7aec3f8ac05fbd8f514d8b7762271abdbcd6a (diff) | |
| download | baldeagleos-repo-00cc746cb29fda18e142951ff748a87781347813.tar.gz baldeagleos-repo-00cc746cb29fda18e142951ff748a87781347813.tar.xz baldeagleos-repo-00cc746cb29fda18e142951ff748a87781347813.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
114 files changed, 590 insertions, 1225 deletions
diff --git a/dev-python/PyQt-builder/Manifest b/dev-python/PyQt-builder/Manifest index 98e6cffafbe9..009eaa993eb7 100644 --- a/dev-python/PyQt-builder/Manifest +++ b/dev-python/PyQt-builder/Manifest @@ -1,2 +1 @@ -DIST pyqt_builder-1.16.2.tar.gz 3671133 BLAKE2B 854a3182488ad8b4fc6ddc5a363580f7555ec01aeecc8c8e6d7f121d7477df1481888450dc25fabfbcd965be5a1b98734d2679013b28b95e8a0cce92f4442a3f SHA512 64fc969799a12a176eb730fdc4581f18293dceb8edff20db0177ce409fe7e712cdfb07449b6c4abdd33f1fd9aabe8bee248fe9aeb5373df533d805f9d2a0c6a5 DIST pyqt_builder-1.16.3.tar.gz 3671995 BLAKE2B ba3fb0ee1988106d1f4d4e822030b3848a5c3d42f79ac06d1dd4a4084c1e526d0c54c1720614f9005dec120b5395e9358ad75c52c74199d7413100bff82e8414 SHA512 f3820fd5714c88da69bc696abcfde74f0cebaff543de5cf93bd37f4aad22a6bc91627ff22a0f665850ca9c968b4350383784f65cf1b6bf76f3ebfe71a4a5f3b4 diff --git a/dev-python/PyQt-builder/PyQt-builder-1.16.2.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.16.2.ebuild deleted file mode 100644 index a87c35f79ec1..000000000000 --- a/dev-python/PyQt-builder/PyQt-builder-1.16.2.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 pypi - -DESCRIPTION="The PEP 517 compliant PyQt build system" -HOMEPAGE="https://github.com/Python-PyQt/PyQt-builder/" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/sip-6.7[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] -" - -src_prepare() { - distutils-r1_src_prepare - - # don't install prebuilt DLLs - rm -r pyqtbuild/bundle/dlls || die -} diff --git a/dev-python/PyQt-builder/PyQt-builder-1.16.3.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.16.3.ebuild index 07d83d20dd9f..5083e28a5c1a 100644 --- a/dev-python/PyQt-builder/PyQt-builder-1.16.3.ebuild +++ b/dev-python/PyQt-builder/PyQt-builder-1.16.3.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/Python-PyQt/PyQt-builder/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/a2wsgi/a2wsgi-1.10.6.ebuild b/dev-python/a2wsgi/a2wsgi-1.10.6.ebuild index 9f1626395794..b099cea92ac8 100644 --- a/dev-python/a2wsgi/a2wsgi-1.10.6.ebuild +++ b/dev-python/a2wsgi/a2wsgi-1.10.6.ebuild @@ -39,6 +39,9 @@ python_test() { local EPYTEST_DESELECT=( # requires baize tests/test_asgi.py::test_baize_stream_response + # requires starlette + tests/test_asgi.py::test_starlette_stream_response + tests/test_asgi.py::test_starlette_base_http_middleware ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 15c169b0b93e..13a5306894b2 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,2 +1 @@ -DIST argcomplete-3.3.0.tar.gz 81832 BLAKE2B 63778dc48f90bb06dbf59c8d4d94ca905c9b188ec5b64e3a8cf7604d66cf075b31350f241da00e460d97b1920c620d4fbf8df772485987897a698cec060b6ec9 SHA512 30776b7e2dc3ee1f7dfcd665d2ae6e403b09644829c1cd7a30ce80e39c6bd7331cc0b7bd7d6cec58a409ef6ec209ca6b1cca0888e83a7a9a228658fa72f6e578 DIST argcomplete-3.4.0.tar.gz 82275 BLAKE2B 18b81aa5ee0c148a3b935f157f4c39b0ade79b36c8e3aa94aa7af8a424a08793a4cf661cb2431c201d5eead02e12c35b78d351310ff4e4e750bf7d7dc702ca89 SHA512 bd619a34edf1f1d05bdfab7fa830d1fc5375bc292dc95b95ddc4d3bfaced5728067e6ad0a901f672b7e0d5a550c10b00e0851f83cf9b358301c037da256a4a56 diff --git a/dev-python/argcomplete/argcomplete-3.3.0.ebuild b/dev-python/argcomplete/argcomplete-3.3.0.ebuild deleted file mode 100644 index e5ff82ea719c..000000000000 --- a/dev-python/argcomplete/argcomplete-3.3.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Bash tab completion for argparse" -HOMEPAGE=" - https://github.com/kislyuk/argcomplete/ - https://pypi.org/project/argcomplete/ -" - -LICENSE="Apache-2.0" -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="test" -RESTRICT="!test? ( test )" - -# pip is called as an external tool -BDEPEND=" - test? ( - app-shells/fish - app-shells/tcsh - app-shells/zsh - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pip-19 - ) -" - -PATCHES=( - # increase test timeouts -- this is particularly necessary - # for entry point tests because they read metadata of all installed - # packages which can take real long on systems with lots of packages - "${FILESDIR}/argcomplete-3.1.6-timeout.patch" - # https://github.com/kislyuk/argcomplete/pull/485 - "${FILESDIR}/${P}-test-bashrc.patch" -) - -python_test() { - "${EPYTHON}" test/test.py -v || die -} diff --git a/dev-python/argcomplete/argcomplete-3.4.0.ebuild b/dev-python/argcomplete/argcomplete-3.4.0.ebuild index 7c1ca19cd6e2..fe5b0f433005 100644 --- a/dev-python/argcomplete/argcomplete-3.4.0.ebuild +++ b/dev-python/argcomplete/argcomplete-3.4.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch deleted file mode 100644 index 0e9f2fa1cea6..000000000000 --- a/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/test/test.py b/test/test.py -index c8f9419..ca38be6 100755 ---- a/test/test.py -+++ b/test/test.py -@@ -73,7 +73,7 @@ def _repl_sh(command, args, non_printable_insert): - - - def bash_repl(command="bash"): -- bashrc = os.path.join(os.path.dirname(pexpect.__file__), "replwrap", "bashrc.sh") -+ bashrc = os.path.join(os.path.dirname(pexpect.__file__), "bashrc.sh") - sh = _repl_sh(command, ["--rcfile", bashrc], non_printable_insert="\\[\\]") - return sh - diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest index a89712e34d50..273224ad84d7 100644 --- a/dev-python/backrefs/Manifest +++ b/dev-python/backrefs/Manifest @@ -1,2 +1 @@ -DIST backrefs-5.6.post1.tar.gz 5399113 BLAKE2B d5b359b0b4333baacb53dd4a7267e431cdca3fd844ba1d1120e34961979c39a9f89f8f52db16f1a8aaf1a89f18063c5301c1a46803c9e1f011e0a20bde24b126 SHA512 20ea63bd9d60db7c242faa687e464eecb8c2e1852456126e2961db14e0526f5048581ec7f7de1017c87d718544629f8491391e3be14c55133876bf169a4d71fe DIST backrefs-5.7.post1.tar.gz 6582270 BLAKE2B 348c94a3386fce51cdbe03c9f8dda52d0c642409edacd10b708ce7090f676888fd934a681e02bb0d01893c2a81cd69b114c8fc72e28a4137bb30f2843fe04f4f SHA512 85c9043091c3a48746252e92a82c69b7238e53329b06148aeafecc67f2750b5a2fb726d706e194313d0b3d685ba728a39ea38f2e009ce02208e332e68fba6c74 diff --git a/dev-python/backrefs/backrefs-5.6_p1.ebuild b/dev-python/backrefs/backrefs-5.6_p1.ebuild deleted file mode 100644 index 4b56701f826c..000000000000 --- a/dev-python/backrefs/backrefs-5.6_p1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Wrapper around re or regex that adds additional back references" -HOMEPAGE=" - https://github.com/facelessuser/backrefs/ - https://pypi.org/project/backrefs/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/backrefs/backrefs-5.7_p1.ebuild b/dev-python/backrefs/backrefs-5.7_p1.ebuild index 5d7fb5f040fa..e01932b65cb3 100644 --- a/dev-python/backrefs/backrefs-5.7_p1.ebuild +++ b/dev-python/backrefs/backrefs-5.7_p1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ae51df2b7c87..2396b2f04ad7 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.34.136.gh.tar.gz 826543 BLAKE2B 307705ba777d155772a2dafad775e55d94e DIST boto3-1.34.137.gh.tar.gz 827294 BLAKE2B ba4f008114e02f40c5e4ac095241c7dac2b919e1dbe7ffaacc9ab40b3d2a97a12ace2b27359190b20cf2f2c1dcc66044188f15ed12177b002a54537a692b0203 SHA512 7303b32359080f360a95e0fb068ca1e7b83fe54a5f553f6681df3382bd110c70927138e435afc8eb8e93760c9bd685afa7355e661243e6b7f91cd8e8063d401c DIST boto3-1.34.138.gh.tar.gz 827512 BLAKE2B d8022cb470f2f68bf16dd179fb348b3419a4fc7dd2095816916619dc314809db6a2385e86b83ff552609a4cb6285369d806debac20887cefa69b113cd0385552 SHA512 9e12dd97ffd1f15cdb527219184bef8dff012bd9b11214f566fd98a82b37e6ee9699b05de62eb48393ff551089d683143373cbef167ca7e35e64851894fb3fe1 DIST boto3-1.34.139.gh.tar.gz 828069 BLAKE2B 71abb24a57f173a4136e8334fa2db9f2b5d92d2e154141da122575869e0b40bbe1f8ee893a8b8735ce8f6d2c7457334c5e08ead983a01516d591d594528c4cdb SHA512 bc3ca92551ffa9d2400341982b670b70ccbd539539fd86d6ec88091606504ad74247103ef9677d45023f4e2f9d737878c55313c28f08299d24b06701eb221ced +DIST boto3-1.34.140.gh.tar.gz 828290 BLAKE2B 129c0f791ddc07f90d2b9ae2972839a0bcaa393e3a8f843a9bca9ebf699f36290b95d17c3f906f49ae5c9ee8cd15c5de7f9de96572573f12d40c7ada778c7679 SHA512 b052ac336e68577140017b5a45f1787eec985e42d86e25cdafc15c6eadf8652b75bb006cf86ce0a3e0d9f3b657ae2afee41a75f624fb5e277a49f1653a83f64f diff --git a/dev-python/boto3/boto3-1.34.131.ebuild b/dev-python/boto3/boto3-1.34.131.ebuild index 509842b2699d..1ad6d3c11774 100644 --- a/dev-python/boto3/boto3-1.34.131.ebuild +++ b/dev-python/boto3/boto3-1.34.131.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/boto3-1.34.140.ebuild b/dev-python/boto3/boto3-1.34.140.ebuild new file mode 100644 index 000000000000..509842b2699d --- /dev/null +++ b/dev-python/boto3/boto3-1.34.140.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index b1aa34985927..6bb8463c7bc2 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.34.136.gh.tar.gz 13151618 BLAKE2B 800b800ff2481335f0defb79c10a42 DIST botocore-1.34.137.gh.tar.gz 13153450 BLAKE2B 4049e5f7b12a4df94fa4a819f11732b86897ae838cc1fc9443f343037915e69134c0e3f335796976002ca63305dd12a8272252bed9370b6d64dc83186826467f SHA512 f3ba697813ec4a68978f27be12e44df02336210e47b5347f3868c4630d899eccf4cb0e0cc679122e4e5ae55ba002efc7067e6e13ea5a286707b958cae14b4186 DIST botocore-1.34.138.gh.tar.gz 13153609 BLAKE2B d2f16e1c49b51dbe35e21774bac766b88ad83cad18c6ee972de7f83086d1d00eb70826dbc0ffaff2b4bdb916fa22a849c1c0b8a4980206d9fb8c8288a047d803 SHA512 a43deaa3a5e95dbaa3a018907b8b44b822c399542f91291963e31708efbe06ca566f5f1290ba9c13359ebcac3566586d5b1c4ba391778ca11ed2d09ef1335162 DIST botocore-1.34.139.gh.tar.gz 13155941 BLAKE2B 8c916972478f947f75cc9e864904da5f9304d8ae1e454ff2777d943ffc7fec6959c34ade893ce74d7b63cc15133317dab4b3610ec0ad8f7e73255d37411a2cf0 SHA512 6cd86c0bbebf9251060dd2b16962dbc514bb487c33fb13301a7d8e4e036d56f9c20a252e89be94209962ff83d253eba4e568babbf8c6b93987274050c48a6e3c +DIST botocore-1.34.140.gh.tar.gz 13156596 BLAKE2B 4a264fe767c35dcc65ddbe1eb29529d2576553e4d6f9a3d6c28f249aaa0eab5a0fd150fdbdc1dbd1b83cc1fb6fce8f58c68de43f5dc338cb3feb5b9f76c8f973 SHA512 36c90da9670639ccc10e65ced501a2b16e50b664f11be2686f6fcfc56fa81271f160b27b7ffac513446afe09ef6ed4768818ad8b8ca540571737c47fdf980443 diff --git a/dev-python/botocore/botocore-1.34.131.ebuild b/dev-python/botocore/botocore-1.34.131.ebuild index 857224b496b7..beb1bdc6a919 100644 --- a/dev-python/botocore/botocore-1.34.131.ebuild +++ b/dev-python/botocore/botocore-1.34.131.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" <dev-python/jmespath-2[${PYTHON_USEDEP}] diff --git a/dev-python/botocore/botocore-1.34.140.ebuild b/dev-python/botocore/botocore-1.34.140.ebuild new file mode 100644 index 000000000000..857224b496b7 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.140.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/bottleneck/bottleneck-1.4.0.ebuild b/dev-python/bottleneck/bottleneck-1.4.0.ebuild index 126ce47f5820..eea36b22549f 100644 --- a/dev-python/bottleneck/bottleneck-1.4.0.ebuild +++ b/dev-python/bottleneck/bottleneck-1.4.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" DEPEND=" >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] diff --git a/dev-python/cairocffi/cairocffi-1.7.1.ebuild b/dev-python/cairocffi/cairocffi-1.7.1.ebuild index 310c915c1e57..58f3089e44ca 100644 --- a/dev-python/cairocffi/cairocffi-1.7.1.ebuild +++ b/dev-python/cairocffi/cairocffi-1.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" DEPEND=" >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] diff --git a/dev-python/cheetah3/cheetah3-3.3.3.ebuild b/dev-python/cheetah3/cheetah3-3.3.3.ebuild index 8eb2dabbff05..9eb80e6f19e7 100644 --- a/dev-python/cheetah3/cheetah3-3.3.3.ebuild +++ b/dev-python/cheetah3/cheetah3-3.3.3.ebuild @@ -25,7 +25,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86" RDEPEND=" dev-python/markdown[${PYTHON_USEDEP}] diff --git a/dev-python/commentjson/commentjson-0.9.0-r2.ebuild b/dev-python/commentjson/commentjson-0.9.0-r2.ebuild index 9aa5ac0c3da5..c4aae575f92c 100644 --- a/dev-python/commentjson/commentjson-0.9.0-r2.ebuild +++ b/dev-python/commentjson/commentjson-0.9.0-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/lark[${PYTHON_USEDEP}] diff --git a/dev-python/dep-logic/Manifest b/dev-python/dep-logic/Manifest index 68aa62f6b070..cbb71cd6c1ff 100644 --- a/dev-python/dep-logic/Manifest +++ b/dev-python/dep-logic/Manifest @@ -1,3 +1,2 @@ -DIST dep_logic-0.3.1.tar.gz 33762 BLAKE2B 1d03419456ce20b4a183644d8515e7221df2e90b3e3713d5ddc7700e6fec76b1903095892ac9f77658980155419e4bc2b1726d219dcbc515199fcfd94b3a3c62 SHA512 3195b3c65517a64cdac310b2c4dff5378138a2cff05fdb146dc192c9a2405a448483bff969d35130ba0af0953d80036ce676e1c9d0242ce372c543baa45db03d -DIST dep_logic-0.3.3.tar.gz 33770 BLAKE2B d8151c6778167ca7cf60ec71fd9371d3328cd146dd78fe89d568e4dd9a211b4f9f04a9327a716931a8b7e90a9b2c8b29a6f95459eea14636eccdb19219c9db35 SHA512 5f68b78b948c7888e79dad106d254616a2965005aea2d940caacc442a9c629b1928f93a2a7fdc524089b359f374a703339c16d54eb9178963cdf6390a663e8ae DIST dep_logic-0.3.5.tar.gz 33880 BLAKE2B 0aa7b2ef7408e0c3a0a81d2cd1fc11037e633a521aff5b673e2c9c4efc535ff59d0991daa9ee50b859302a25cfcdaf94406950358a150cd173d627e87b497a51 SHA512 7ceb90c4cf8d98a192dca94206c363e6bc5d68fa596f18c64374f1512afbfa33339b739343ed7663bba6a94d8c6a573e62bf46fecccb01d0d87827a810d0f4d9 +DIST dep_logic-0.4.1.tar.gz 34727 BLAKE2B 08475ec5f6836f853d2406be6fad2d00df54498555902e61987f1e7b61bfa99a769b5d7472e56fb8e27063f1129a8c989f49ae69f4c8dd8c5c1482995aae5c20 SHA512 da0445f126877281764c182550d14e8b549b6cd344ec61780d993c223c00829b003837d0cdbd78c905f1bb0eec90a24f24e55501d3a2e291c0d417f21486d854 diff --git a/dev-python/dep-logic/dep-logic-0.3.3.ebuild b/dev-python/dep-logic/dep-logic-0.3.3.ebuild deleted file mode 100644 index 0be9fa5f44dd..000000000000 --- a/dev-python/dep-logic/dep-logic-0.3.3.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python dependency specifications supporting logical operations" -HOMEPAGE=" - https://github.com/pdm-project/dep-logic/ - https://pypi.org/project/dep-logic/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/packaging-22[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/dep-logic/dep-logic-0.3.1.ebuild b/dev-python/dep-logic/dep-logic-0.4.1.ebuild index 0be9fa5f44dd..0be9fa5f44dd 100644 --- a/dev-python/dep-logic/dep-logic-0.3.1.ebuild +++ b/dev-python/dep-logic/dep-logic-0.4.1.ebuild diff --git a/dev-python/elasticsearch/elasticsearch-8.14.0.ebuild b/dev-python/elasticsearch/elasticsearch-8.14.0.ebuild index c9d02dccad40..5285efa00601 100644 --- a/dev-python/elasticsearch/elasticsearch-8.14.0.ebuild +++ b/dev-python/elasticsearch/elasticsearch-8.14.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" <dev-python/aiohttp-4[${PYTHON_USEDEP}] diff --git a/dev-python/email-validator/Manifest b/dev-python/email-validator/Manifest index 44e127023944..1cc0196a4b49 100644 --- a/dev-python/email-validator/Manifest +++ b/dev-python/email-validator/Manifest @@ -1,3 +1 @@ -DIST email_validator-2.1.1.tar.gz 44709 BLAKE2B 7b5a67c0690ee11519d16ce56be7e3ddc955b06fda84b2bb9793e9bc80d82adf7e39799dd1d6cd1b902911721d8e5f7dcf4624b6fbf1e97b0a8edaa16f7ca062 SHA512 659bc5ec1583ff0fdeb256f57ac2506089758772fb471a49865cdee62af3f96a43ff21a94099bb13b69f1efff20952f33ad6bf0cb1bea0793285820948c9fdb4 -DIST email_validator-2.1.2.tar.gz 45112 BLAKE2B e109024daac789d2edf206a13dee5198701b4f322e62f1f3f7e4d2f59fde1591abb5676b9b2153dab483ae9bedf46243117d2fade594976f92d7733c0bfebdc3 SHA512 43069b7fd0eafce5e7f46cc02e3e10bec796204f498af9c8bf358f6091fae2805611e1f6c05e6c7e2334985d1a57450753d3bc5e05fbb2ecf3b7d02b21173af5 DIST email_validator-2.2.0.tar.gz 48967 BLAKE2B e4bd0bd77f86bfc93726d91cb3d3c983d230cf347cb449969e9010e98f79b18e138c51ca5d9909e97017e8983d90280aa55c904dc5e01692c494acff5f0b791a SHA512 ec6a3a330bbb32d1c097ff3f9604ec248b0599e43db7b08799b1764cf0e26c4ff544fc439c9e7fd7d1a7dfe07b618294bd31e3e4ce1de35676242f4dd0174d9c diff --git a/dev-python/email-validator/email-validator-2.1.1.ebuild b/dev-python/email-validator/email-validator-2.1.1.ebuild deleted file mode 100644 index c9a03356c003..000000000000 --- a/dev-python/email-validator/email-validator-2.1.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=email-validator -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A robust email syntax and deliverability validation library" -HOMEPAGE=" - https://github.com/JoshData/python-email-validator/ - https://pypi.org/project/email-validator/ -" - -LICENSE="CC0-1.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/idna-2.8[${PYTHON_USEDEP}] - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - epytest -m "not network" -} diff --git a/dev-python/email-validator/email-validator-2.1.2.ebuild b/dev-python/email-validator/email-validator-2.1.2.ebuild deleted file mode 100644 index 7112d98acb82..000000000000 --- a/dev-python/email-validator/email-validator-2.1.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=email-validator -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A robust email syntax and deliverability validation library" -HOMEPAGE=" - https://github.com/JoshData/python-email-validator/ - https://pypi.org/project/email-validator/ -" - -LICENSE="CC0-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/idna-2.8[${PYTHON_USEDEP}] - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - epytest -m "not network" -} diff --git a/dev-python/email-validator/email-validator-2.2.0.ebuild b/dev-python/email-validator/email-validator-2.2.0.ebuild index 7112d98acb82..c9a03356c003 100644 --- a/dev-python/email-validator/email-validator-2.2.0.ebuild +++ b/dev-python/email-validator/email-validator-2.2.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="CC0-1.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/idna-2.8[${PYTHON_USEDEP}] diff --git a/dev-python/fastjsonschema/Manifest b/dev-python/fastjsonschema/Manifest index 79bedb09a3b0..cb5819766185 100644 --- a/dev-python/fastjsonschema/Manifest +++ b/dev-python/fastjsonschema/Manifest @@ -1,2 +1 @@ -DIST fastjsonschema-2.19.1.tar.gz 372732 BLAKE2B f028e027483e02969c4d750a888659add9dd7f661776ab42242f74492272267b93a2248cdc50b78389091cc1a1fd7661abbf377d81edf73df35ed1e222be7328 SHA512 b276788ebe1d3a6bc5d1463c2a4940fbe5c9e0a7919c813b78f385faa406527cac34d4042e6a69e0ca1631f3e5ed0bc351e13d9d1e245132a1607e010a5a2346 DIST fastjsonschema-2.20.0.tar.gz 373056 BLAKE2B 99e80a6aa05aef421c5d95149f5f40f0a732bd686888f32067295c19d9c1d7569bf628d06b59bbeb68ea302e06de700b05c27e7a44e018b213e0c1a7f4dc1304 SHA512 7881937a02c7487d1dfd7499dbe85e8f8e359b9686673f32491d93cef1d7a949df5309b0d4a5cc525a7d9c8269568bc34e9d072ec1a49e44d5becbf8718b250d diff --git a/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild deleted file mode 100644 index 71a9c9334f2d..000000000000 --- a/dev-python/fastjsonschema/fastjsonschema-2.19.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast JSON schema validator for Python" -HOMEPAGE=" - https://github.com/horejsek/python-fastjsonschema/ - https://pypi.org/project/fastjsonschema/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - tests/benchmarks -) - -PATCHES=( - # https://github.com/horejsek/python-fastjsonschema/pull/180 - "${FILESDIR}/${P}-pytest-8.patch" -) diff --git a/dev-python/fastjsonschema/fastjsonschema-2.20.0.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.20.0.ebuild index 7ca399367892..fed3cceb7298 100644 --- a/dev-python/fastjsonschema/fastjsonschema-2.20.0.ebuild +++ b/dev-python/fastjsonschema/fastjsonschema-2.20.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +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/fastjsonschema/files/fastjsonschema-2.19.1-pytest-8.patch b/dev-python/fastjsonschema/files/fastjsonschema-2.19.1-pytest-8.patch deleted file mode 100644 index 40cd057f6299..000000000000 --- a/dev-python/fastjsonschema/files/fastjsonschema-2.19.1-pytest-8.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 427a34e9ef409fefd8f1f7ae7e1c2a2bb7eb4496 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= - <edgarrm358@gmail.com> -Date: Tue, 14 Nov 2023 18:05:17 -0600 -Subject: [PATCH] Use `warnings.catch_warnings` instead of `pytest.warns(None)` - in tests - ---- - tests/test_pattern_properties.py | 7 ++++--- - tests/test_string.py | 7 ++++--- - 2 files changed, 8 insertions(+), 6 deletions(-) - -diff --git a/tests/test_pattern_properties.py b/tests/test_pattern_properties.py -index ae86946..945315b 100644 ---- a/tests/test_pattern_properties.py -+++ b/tests/test_pattern_properties.py -@@ -1,3 +1,5 @@ -+import warnings -+ - import pytest - - -@@ -59,12 +61,11 @@ def test_pattern_with_escape_no_warnings(asserter): - 'bar': {} - } - -- with pytest.warns(None) as record: -+ with warnings.catch_warnings(): -+ warnings.simplefilter("error") - asserter({ - 'type': 'object', - 'patternProperties': { - '\\w+': {'type': 'object'} - } - }, value, value) -- -- assert len(record) == 0 -diff --git a/tests/test_string.py b/tests/test_string.py -index a8e8318..12fc3c9 100644 ---- a/tests/test_string.py -+++ b/tests/test_string.py -@@ -1,3 +1,5 @@ -+import warnings -+ - import pytest - - from fastjsonschema import JsonSchemaValueException -@@ -74,14 +76,13 @@ def test_pattern_with_space(asserter, pattern): - - - def test_pattern_with_escape_no_warnings(asserter): -- with pytest.warns(None) as record: -+ with warnings.catch_warnings(): -+ warnings.simplefilter("error") - asserter({ - 'type': 'string', - 'pattern': '\\s' - }, ' ', ' ') - -- assert len(record) == 0 -- - - exc = JsonSchemaValueException('data must be a valid regex', value='{data}', name='data', definition='{definition}', rule='format') - @pytest.mark.parametrize('value, expected', [ --- -2.44.0 - diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index 340fa3fdfb18..0cf8d7634cc2 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -1,2 +1 @@ -DIST flake8-7.0.0.gh.tar.gz 138456 BLAKE2B faf0b54ede3c3184e12986fb9247f73a149a5fd9ebba90578aae8550d2749bcacdab1fa4699ea0b8d69309d0bd5c26dd5162c54a8f8eb33ed64009c919e147fe SHA512 cebcd61d266c6d2f837178d0708217b471662e81dabaa911850883657307747180173c5f6cde11abc2b14381baecff9d6adeca2979bcb85be03a4a6ff57de2c4 DIST flake8-7.1.0.gh.tar.gz 138600 BLAKE2B df6781e676d4eccf296d5fc3d767643956799d1c99adccb32d0005951f0aca13b7e99ff7506f7026e9ed6c2dd78d5bdd02d9a25aaf64a1353097b8a9c02c5739 SHA512 0e970bdb0facff3a6e2ee33a74fe77ee1f7c80fbc517125df34d831ff897e222d0955d56fa9e9eedef83ccdc4e92aa7bbc583517d7b19a8cf1041790a225693a diff --git a/dev-python/flake8/flake8-7.0.0.ebuild b/dev-python/flake8/flake8-7.0.0.ebuild deleted file mode 100644 index c3b811bf7989..000000000000 --- a/dev-python/flake8/flake8-7.0.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE=" - https://github.com/PyCQA/flake8/ - https://pypi.org/project/flake8/ -" -SRC_URI=" - https://github.com/PyCQA/flake8/archive/${PV}.tar.gz - -> ${P}.gh.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/pyflakes-3.3.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-3.2.0[${PYTHON_USEDEP}] - <dev-python/pycodestyle-2.12.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.11.0[${PYTHON_USEDEP}] -" -PDEPEND=" - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - ${PDEPEND} - ) -" - -distutils_enable_sphinx docs/source \ - dev-python/sphinx-prompt \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fails if additional flake8 plugins are installed - tests/integration/test_plugins.py::test_local_plugin_can_add_option - ) - if [[ ${EPYTHON} == pypy3 ]]; then - EPYTEST_DESELECT+=( - # problem with pypy3.10 in dev-python/pyflakes - # https://github.com/PyCQA/pyflakes/issues/779 - tests/integration/test_main.py::test_malformed_per_file_ignores_error - tests/integration/test_main.py::test_tokenization_error_but_not_syntax_error - tests/integration/test_main.py::test_tokenization_error_is_a_syntax_error - ) - fi - - epytest -} diff --git a/dev-python/flake8/flake8-7.1.0.ebuild b/dev-python/flake8/flake8-7.1.0.ebuild index e984968fb1cf..3bf457fda05f 100644 --- a/dev-python/flake8/flake8-7.1.0.ebuild +++ b/dev-python/flake8/flake8-7.1.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" =dev-python/pyflakes-3.2*[${PYTHON_USEDEP}] diff --git a/dev-python/genshi/genshi-0.7.9.ebuild b/dev-python/genshi/genshi-0.7.9.ebuild index d84ca3515f96..903994de3d99 100644 --- a/dev-python/genshi/genshi-0.7.9.ebuild +++ b/dev-python/genshi/genshi-0.7.9.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/google-api-python-client/google-api-python-client-2.134.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.134.0.ebuild index 2b0d333aae0a..0d95bd55107c 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.134.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.134.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index 29db86e2b26f..fb7ca1bb5883 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,3 +1,2 @@ -DIST icalendar-5.0.12.tar.gz 115981 BLAKE2B b6a778f78977b2e967f639ca1a6209002c003c0729a993217da2fa7d3e407d5fa696740daae7b3c1084588140675a2fb1346b39042fe869195d917b3a2436f49 SHA512 0b608054b955223c1b876c8395b94a501f6b5afb92285561750749882cde2d55cbb48487f7fcd64188d2d6cd193f3bdb5634871352eb5b7a445c483075a62453 DIST icalendar-5.0.13.tar.gz 119371 BLAKE2B ab0673af636b76682f1b0409df4333511c9cb19623dbdc639d84f46dcb9c14580ebfc1ea0465aa22b729852d5eaf76b12aa76041d189bcb3099f205caf43fac4 SHA512 df688298acc0bf3cf25aa08b16e149abab696e44540f11695a654065b90316189460481bde17d68e7c6760c1c4bfbbc74e9d7c7e3e640b5a1978d2c6faafbb78 DIST icalendar-6.0.0a0.tar.gz 133899 BLAKE2B 33cc480e4c5422223837094f341b4057b374c0ec54ff56a27f9ade09a9dfe4f9c8c0ba295a811a9e2c457229183d5b4e335eff1fdd2f70d323664c4ba7203967 SHA512 79d7e4a634bbb68fbac1eccfb208f11bcf1ecfc061fd764e7370c0a33f8ae660e82d5d729404e87e6b1f8c5b3b35f1dbd1c2d22eb27ae5305efdd20177791fec diff --git a/dev-python/icalendar/icalendar-5.0.12.ebuild b/dev-python/icalendar/icalendar-5.0.12.ebuild deleted file mode 100644 index cac9be0d83a8..000000000000 --- a/dev-python/icalendar/icalendar-5.0.12.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" -HOMEPAGE=" - https://github.com/collective/icalendar/ - https://pypi.org/project/icalendar/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -python_prepare_all() { - # reset conf.py to not read version from an installed instance - sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':" \ - -i docs/conf.py || die - distutils-r1_python_prepare_all -} diff --git a/dev-python/icalendar/icalendar-5.0.13.ebuild b/dev-python/icalendar/icalendar-5.0.13.ebuild index 74929e747e83..cac9be0d83a8 100644 --- a/dev-python/icalendar/icalendar-5.0.13.ebuild +++ b/dev-python/icalendar/icalendar-5.0.13.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest index b8c2cec71460..d1e5df543bdd 100644 --- a/dev-python/jaraco-text/Manifest +++ b/dev-python/jaraco-text/Manifest @@ -1,2 +1 @@ -DIST jaraco.text-3.12.0.tar.gz 16329 BLAKE2B e1314b3121d5d75ac4a986a342c3290f5523bb45be8bf8e994ed87188712464e75a805498a7d846aea157aa8592fbca444842d1b70a21e0add49e89dfa743a7a SHA512 75068006c96dae3b8d21228f2ae21820939c68b1fb7e5db35bd0c1126a20399eb4d99c6bea15e88076599956c4b41104558cd32d860d8f4fd4e96aeeb22711c9 DIST jaraco_text-3.12.1.tar.gz 16580 BLAKE2B 89f11877052e6b7cacbee4ae53ea140ce337a3a8f25657c558e3634378d20ac70206fd188f8492bdc725ebfec94c7f553ec61a9a3be97738918746fab79a9414 SHA512 4a459e497259de8dc37fbe92eec19973f5d1425f23212221885339a9c7b0f432301978c3c918f4cdd4e1cb3e50b465aad07634ab8cf40f86151d08b150d097e4 diff --git a/dev-python/jaraco-text/jaraco-text-3.12.0.ebuild b/dev-python/jaraco-text/jaraco-text-3.12.0.ebuild deleted file mode 100644 index f4ed2331fd86..000000000000 --- a/dev-python/jaraco-text/jaraco-text-3.12.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Text utilities used by other projects by developer jaraco" -HOMEPAGE=" - https://github.com/jaraco/jaraco.text/ - https://pypi.org/project/jaraco.text/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/jaraco-context-4.1.1-r1[${PYTHON_USEDEP}] - >=dev-python/jaraco-functools-3.5.0-r1[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "jaraco.text" - version = "${PV}" - description = "Module for text manipulation" - EOF - - # remove CLI tools, they have annoying deps, no entry points - # and since there are dashes in their names, they can't be imported - # anyway - rm jaraco/text/*-*.py || die -} - -python_install() { - distutils-r1_python_install - # rename to workaround a bug in pkg_resources - # https://bugs.gentoo.org/834522 - mv "${D}$(python_get_sitedir)"/jaraco{_,.}text-${PV}.dist-info || die -} diff --git a/dev-python/jaraco-text/jaraco-text-3.12.1.ebuild b/dev-python/jaraco-text/jaraco-text-3.12.1.ebuild index aa7fdf10128c..cec26b5cb567 100644 --- a/dev-python/jaraco-text/jaraco-text-3.12.1.ebuild +++ b/dev-python/jaraco-text/jaraco-text-3.12.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" >=dev-python/jaraco-context-4.1.1-r1[${PYTHON_USEDEP}] diff --git a/dev-python/jsonpickle/jsonpickle-3.2.2.ebuild b/dev-python/jsonpickle/jsonpickle-3.2.2.ebuild index 1ecff08fe9ce..b6dc4e7bb9d6 100644 --- a/dev-python/jsonpickle/jsonpickle-3.2.2.ebuild +++ b/dev-python/jsonpickle/jsonpickle-3.2.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 ~riscv x86 ~amd64-linux ~x86-linux" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/legacy-cgi/Manifest b/dev-python/legacy-cgi/Manifest index 852a65502fc9..6effbd44b8ce 100644 --- a/dev-python/legacy-cgi/Manifest +++ b/dev-python/legacy-cgi/Manifest @@ -1,2 +1 @@ DIST legacy_cgi-2.6.1.tar.gz 24782 BLAKE2B 4a147583a951e128282eef445fce9ad0acc6f63036d115b9f048956f17999946808f563e025bc6f45687e6ea095b459c10e90e01c114ff535a485de1fe344917 SHA512 584ed4c2fdf05e89944dc86dc31dd4de80efbad3e43f15e411f9eff0fabbeeaf3df757faa2a56527f61d661b6d73eb258135ab7763dd3a58c9611829c6d28cb0 -DIST python-cgi-c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6.gh.tar.gz 34964 BLAKE2B 0717bf9de721aef145443dd09475a4ed2d093bda0746512bc2074b2d7b90da37055662a47726240c9e7c07f0afca88639eb160d48289b0e9726e6638e1049b42 SHA512 0c0ca50a82a8fe76dd3eec56f75e408bbb035b16e726ba0156fd9360210068d63e7e3e60bd6f6793cef38276fc3c940d3195f7c0a9b1eea5056373358fbdb564 diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild b/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild deleted file mode 100644 index 01a3b591a242..000000000000 --- a/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -# this is 2.6 + tests -EGIT_COMMIT=c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6 -MY_P=python-cgi-${EGIT_COMMIT} -DESCRIPTION="Fork of the standard library cgi and cgitb modules (deprecated)" -HOMEPAGE=" - https://github.com/jackrosenthal/python-cgi/ - https://pypi.org/project/legacy-cgi/ -" -# no tests in sdist -SRC_URI=" - https://github.com/jackrosenthal/python-cgi/archive/${EGIT_COMMIT}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -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/libevdev/libevdev-0.11.ebuild b/dev-python/libevdev/libevdev-0.11.ebuild index 61a6a16ab6ab..6b22fce77143 100644 --- a/dev-python/libevdev/libevdev-0.11.ebuild +++ b/dev-python/libevdev/libevdev-0.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/makefun/Manifest b/dev-python/makefun/Manifest index 37e5a01e8007..553020e218c7 100644 --- a/dev-python/makefun/Manifest +++ b/dev-python/makefun/Manifest @@ -1 +1,2 @@ DIST makefun-1.15.2.tar.gz 74602 BLAKE2B 1992eebfdbff6062ed60e1f66891995a91b7155792ef7b6e701d1d3ee5939ab40d3ab976674e25a5b97030cd7de59db2c69f3c215681cef2f80f2b64523f822b SHA512 b6cb588ebf491176b06e97201846b2a5cee65f60e34b5dbcc4878d8a55e7f9fcf4b58126cb3a4ca47f5d2726422dff9ee685566c5d093dbd8fd75119ecc796b2 +DIST makefun-1.15.3.tar.gz 71799 BLAKE2B 3500be7bc5b0e86a6f75781bb8fb7156624e4c910f54dfd7498268f96cd3df84e1f4d4502f4705f9a278948043e571951137e420358e94e051ba81387b14d4ba SHA512 6d48d8e1bdd60ab440b31241a957ba60aa5ae6c77a7a4785dd0a3c6cf4cedd5389ff76d7a309d230bdf1db9be577ab85446741febb30dae0be87e9c3a2d003a0 diff --git a/dev-python/makefun/files/makefun-1.15.3-test.patch b/dev-python/makefun/files/makefun-1.15.3-test.patch new file mode 100644 index 000000000000..bed2b01c01d4 --- /dev/null +++ b/dev-python/makefun/files/makefun-1.15.3-test.patch @@ -0,0 +1,80 @@ +diff --git a/tests/test_partial_and_macros.py b/tests/test_partial_and_macros.py +index 6fd4503..3ce0a33 100644 +--- a/tests/test_partial_and_macros.py ++++ b/tests/test_partial_and_macros.py +@@ -1,5 +1,6 @@ + import functools + import pytest ++import re + import sys + + import makefun +@@ -11,6 +12,11 @@ except ImportError: + + PY2 = sys.version_info < (3, ) + ++# Python 3.13 dedents docstrings, earlier versions just strip initial ++# whitespace. Use a regexp to get a consistently dedented docstring ++# for comparison across Python versions. ++DOCSTRING_NORMALIZE_RE = re.compile(r"^ +", re.MULTILINE) ++ + + def test_doc(): + def foo(x, y): +@@ -41,15 +47,15 @@ def test_doc(): + + sig_actual_call = ref_sig_str.replace("*, ", "") + +- assert bar.__doc__ \ ++ assert DOCSTRING_NORMALIZE_RE.sub("", bar.__doc__) \ + == """<This function is equivalent to 'foo%s', see original 'foo' doc below.> + +- a `foo` function ++a `foo` function + +- :param x: +- :param y: +- :return: +- """ % sig_actual_call ++:param x: ++:param y: ++:return: ++""" % sig_actual_call + + + def test_partial(): +@@ -78,16 +84,16 @@ def test_partial(): + + sig_actual_call = "(x, y='hello', a)" # if PY2 else "(x, *, y='hello', a)" + +- assert foo.__doc__.replace("=KW_ONLY_ARG!", "") \ ++ assert DOCSTRING_NORMALIZE_RE.sub("", foo.__doc__.replace("=KW_ONLY_ARG!", "")) \ + == """<This function is equivalent to 'foo%s', see original 'foo' doc below.> + +- a `foo` function ++a `foo` function + +- :param x: +- :param y: +- :param a: +- :return: +- """ % sig_actual_call ++:param x: ++:param y: ++:param a: ++:return: ++""" % sig_actual_call + + + def test_issue_57(): +@@ -127,9 +133,7 @@ def test_create_with_partial(): + assert m() == -1 + assert m.i == 1 + # the doc remains untouched in create_function as opposed to wraps, this is normal +- assert m.__doc__ == """partial(func, *args, **keywords) - new function with partial application +- of the given arguments and keywords. +-""" ++ assert m.__doc__ == functools.partial.__doc__ + + + def test_args_order_and_kind(): diff --git a/dev-python/makefun/makefun-1.15.3.ebuild b/dev-python/makefun/makefun-1.15.3.ebuild new file mode 100644 index 000000000000..ae5635708b1a --- /dev/null +++ b/dev-python/makefun/makefun-1.15.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Small library to dynamically create Python functions" +HOMEPAGE=" + https://pypi.org/project/makefun/ + https://github.com/smarie/python-makefun/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # https://github.com/smarie/python-makefun/pull/104 + "${FILESDIR}/${P}-test.patch" + ) + + distutils-r1_src_prepare +} diff --git a/dev-python/miniupnpc/miniupnpc-2.2.8.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.8.ebuild index 0c5282eed456..fe9163a7eb35 100644 --- a/dev-python/miniupnpc/miniupnpc-2.2.8.ebuild +++ b/dev-python/miniupnpc/miniupnpc-2.2.8.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ppc ppc64 x86" DEPEND=" >=net-libs/miniupnpc-${PV}:0= diff --git a/dev-python/numexpr/numexpr-2.10.1.ebuild b/dev-python/numexpr/numexpr-2.10.1.ebuild index d7b317e79559..ae81b1e40e7f 100644 --- a/dev-python/numexpr/numexpr-2.10.1.ebuild +++ b/dev-python/numexpr/numexpr-2.10.1.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.gh.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" DEPEND=" >=dev-python/numpy-2.0.0_rc:=[${PYTHON_USEDEP}] diff --git a/dev-python/numpy/numpy-2.0.0.ebuild b/dev-python/numpy/numpy-2.0.0.ebuild index 1d06e3af61d1..76fae575ae27 100644 --- a/dev-python/numpy/numpy-2.0.0.ebuild +++ b/dev-python/numpy/numpy-2.0.0.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0/2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" # +lapack because the internal fallbacks are pretty slow. Building without blas # is barely supported anyway, see bug #914358. IUSE="+lapack" diff --git a/dev-python/openapi-core/openapi-core-0.19.2.ebuild b/dev-python/openapi-core/openapi-core-0.19.2.ebuild index 59c15dd0f57e..689b6ee8a188 100644 --- a/dev-python/openapi-core/openapi-core-0.19.2.ebuild +++ b/dev-python/openapi-core/openapi-core-0.19.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" <dev-python/asgiref-4[${PYTHON_USEDEP}] diff --git a/dev-python/openpyxl/Manifest b/dev-python/openpyxl/Manifest index 224b91b00159..b10533673c92 100644 --- a/dev-python/openpyxl/Manifest +++ b/dev-python/openpyxl/Manifest @@ -1,3 +1,2 @@ -DIST openpyxl-3.1.3.tar.bz2 2739587 BLAKE2B 64161f8ea0629f4bd2ef65187c2d1c0cfa23e155df7b5a4a81c386c48d339956e3d854da040157170852df19ab53d65fd0be9a4f1d4f5b5f6eed20e0fe1e89f9 SHA512 dee9dac201319ed6b3c14cb0cd396148a7caedebb2a95534a1b9fcb75afc445bfd73e67fdbd750334872e4bd3bf1a71d20c48930ff6b195f4f1c6312a5e762f8 DIST openpyxl-3.1.4.tar.bz2 2738775 BLAKE2B 88236c4a5d49d02f746c0a5393cf0e996ee2864c38e9f9b9774355b5263447dfb73eaa027ae8d710fd81585a99ba5a20f1cbecc6615f153387b94516faea4820 SHA512 f2b4d7566428d3e5ff36be37cfce12c247f90e1ab10cfd4e04e285106b48c4d9b30791a9b1f1c6f388ea063e69d9843801b9f7568d4694cfcd20d4e8d0d723b8 DIST openpyxl-3.1.5.tar.bz2 2739068 BLAKE2B 7a70de814c39945ce4ed8c1e8105da9db4347b4a5f90e6620f6a22f85ba55e2330a305a9d6f78ab27f2055b589b6f3beba6943d8c15cbb9a24e94d663bffcf1d SHA512 556d3f1660ae5d045b0801b99740b2cd1eea1fc69c07c87c4bdd7e78999b5094e84db6fcb107b2a80f4648004810d18eea22779e2d3c231a996bbe2a12d33288 diff --git a/dev-python/openpyxl/openpyxl-3.1.3.ebuild b/dev-python/openpyxl/openpyxl-3.1.3.ebuild deleted file mode 100644 index c193bd751445..000000000000 --- a/dev-python/openpyxl/openpyxl-3.1.3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Pure python reader and writer of Excel OpenXML files" -HOMEPAGE=" - https://openpyxl.readthedocs.io/en/stable/ - https://foss.heptapod.net/openpyxl/openpyxl/ -" -SRC_URI=" - https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${PV}/${P}.tar.bz2 -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/et-xmlfile[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/lxml-5.0.3[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff,jpeg] - ) -" - -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # GC assumptions (pypy) - openpyxl/tests/test_iter.py::test_file_descriptor_leak - ) - - if has_version ">=dev-python/numpy-2[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2187 - openpyxl/compat/tests/test_compat.py::test_numpy_tostring - ) - fi - - epytest -} diff --git a/dev-python/openpyxl/openpyxl-3.1.4.ebuild b/dev-python/openpyxl/openpyxl-3.1.4.ebuild index aa7745e34dc5..7740ca985d16 100644 --- a/dev-python/openpyxl/openpyxl-3.1.4.ebuild +++ b/dev-python/openpyxl/openpyxl-3.1.4.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-python/et-xmlfile[${PYTHON_USEDEP}] diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index 31fcd44e73b9..432d9d52f336 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1,3 +1,2 @@ -DIST pdm-backend-2.3.0.gh.tar.gz 134657 BLAKE2B 346011ed97111e54c9cd063e216aa5943e6dd5ac1e531ceed225bf07420d07131aca0d6c23d24c0ba11e2e4a8c581b8c1cb1c8b7efa9c7a030d48ba982264dce SHA512 0169b97b662a0520c9810d566b74b6ef378db083954064ee37e8ed8cc40375a556500c307cebb9e269c3192b9f9b8659f575f0d24d67f970b3797e2354b53d54 DIST pdm-backend-2.3.1.gh.tar.gz 136710 BLAKE2B 72293989700a429bfddb1d865b14f0467d56e024d69976264909d1c5113be67fd6892f3821803b6e86d73653f54a62b15ccb02f3dc16a190f6ccd0ca5e0650b5 SHA512 6a1a4d45a95b08f0a06f54635224c6faabc000384f489eb1e462d7dfffdd9899a3040a0fb708d193b3da541e2704b30921185728a178517fa55ecf3314f9903d DIST pdm-backend-2.3.2.gh.tar.gz 136819 BLAKE2B 15f1375a646337f25fa37b94cd88d257849dbaa79cc2153ca608c4bc35d8e243f7d2a63ddcac87d435bea2fa5200b2d254544720d959566584526c8f182f9152 SHA512 acbf3be68dba894152b0257dbb99ba21e120e5dd48c5989fe5047a6c0073c58f829cb52f8537f32b096838202f0a29f2c38cab43d5c284d1b610811c9f2c25a3 diff --git a/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild b/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild deleted file mode 100644 index a5b80f13ddd8..000000000000 --- a/dev-python/pdm-backend/pdm-backend-2.3.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" -HOMEPAGE=" - https://pypi.org/project/pdm-backend/ - https://github.com/pdm-project/pdm-backend/ -" -SRC_URI=" - https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -# see src/pdm/backend/_vendor/vendor.txt -RDEPEND=" - >=dev-python/packaging-24.0[${PYTHON_USEDEP}] - >=dev-python/pyproject-metadata-0.8.0[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/setuptools[${PYTHON_USEDEP}] - dev-vcs/git - ) -" -# setuptools are used to build C extensions -RDEPEND+=" - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - rm -r src/pdm/backend/_vendor || die - find -name '*.py' -exec sed \ - -e 's:from pdm\.backend\._vendor\.:from :' \ - -e 's:from pdm\.backend\._vendor ::' \ - -e 's:import pdm\.backend\._vendor\.:import :' \ - -i {} + || die - distutils-r1_src_prepare -} - -src_compile() { - # this must not be set during src_test() - local -x PDM_BUILD_SCM_VERSION=${PV} - distutils-r1_src_compile -} - -src_test() { - git config --global user.email "test@example.com" || die - git config --global user.name "Test User" || die - distutils-r1_src_test -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -k "not [hg" -} diff --git a/dev-python/pdm-backend/pdm-backend-2.3.1.ebuild b/dev-python/pdm-backend/pdm-backend-2.3.1.ebuild index 4cfb39e7b26d..42dc17372d35 100644 --- a/dev-python/pdm-backend/pdm-backend-2.3.1.ebuild +++ b/dev-python/pdm-backend/pdm-backend-2.3.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" # see src/pdm/backend/_vendor/vendor.txt RDEPEND=" diff --git a/dev-python/pdm-backend/pdm-backend-2.3.2.ebuild b/dev-python/pdm-backend/pdm-backend-2.3.2.ebuild index 4cfb39e7b26d..c3952a450dd6 100644 --- a/dev-python/pdm-backend/pdm-backend-2.3.2.ebuild +++ b/dev-python/pdm-backend/pdm-backend-2.3.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # see src/pdm/backend/_vendor/vendor.txt RDEPEND=" diff --git a/dev-python/pip/pip-24.1.1.ebuild b/dev-python/pip/pip-24.1.1.ebuild index 545cae4d5fa8..7efb18455123 100644 --- a/dev-python/pip/pip-24.1.1.ebuild +++ b/dev-python/pip/pip-24.1.1.ebuild @@ -26,7 +26,7 @@ LICENSE="MIT" # bundled deps LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86" IUSE="test-rust" # see src/pip/_vendor/vendor.txt diff --git a/dev-python/portend/portend-3.2.0.ebuild b/dev-python/portend/portend-3.2.0.ebuild index 7b2a297f5239..b16e6b9e48c2 100644 --- a/dev-python/portend/portend-3.2.0.ebuild +++ b/dev-python/portend/portend-3.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/tempora-1.8[${PYTHON_USEDEP}] diff --git a/dev-python/proto-plus/proto-plus-1.24.0.ebuild b/dev-python/proto-plus/proto-plus-1.24.0.ebuild index 898d3f5479d3..f333a68968c1 100644 --- a/dev-python/proto-plus/proto-plus-1.24.0.ebuild +++ b/dev-python/proto-plus/proto-plus-1.24.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 arm64 x86" RDEPEND=" <dev-python/protobuf-python-5[${PYTHON_USEDEP}] diff --git a/dev-python/psutil/psutil-6.0.0.ebuild b/dev-python/psutil/psutil-6.0.0.ebuild index 4b58810e6193..151f9f425785 100644 --- a/dev-python/psutil/psutil-6.0.0.ebuild +++ b/dev-python/psutil/psutil-6.0.0.ebuild @@ -21,7 +21,7 @@ SRC_URI+=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/puremagic/puremagic-1.25.ebuild b/dev-python/puremagic/puremagic-1.25.ebuild index 51b9731459c1..42b9f8f2bd7b 100644 --- a/dev-python/puremagic/puremagic-1.25.ebuild +++ b/dev-python/puremagic/puremagic-1.25.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" DOCS=( CHANGELOG.md README.rst ) diff --git a/dev-python/pycairo/pycairo-1.26.1.ebuild b/dev-python/pycairo/pycairo-1.26.1.ebuild index f43689d4c2b4..b6e11849457c 100644 --- a/dev-python/pycairo/pycairo-1.26.1.ebuild +++ b/dev-python/pycairo/pycairo-1.26.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="examples" BDEPEND=" diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 0a3970bfc438..b69fb60e375f 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,2 +1,3 @@ DIST pyfakefs-5.3.5.gh.tar.gz 227359 BLAKE2B 635e41cb9892e1707555559769c01d5b575e44c5f1dd412acc05c3bed3b2dad2724ba32341b59cdecdfb658c94008e09396970349d8c1ffdcb90bf89ea82aca0 SHA512 342dc9cc0378af8cd8a9b0783fb6a1415207505ec8d4992f8fdd7e8d2bc4aada26d0803ed3b74d30b42a50dffb793c70acdeb3f28f199c0918783e1ea0a5e0d8 DIST pyfakefs-5.5.0.gh.tar.gz 239883 BLAKE2B cf9b91fbfbb77b012ec768ac2188ea5c611a271f50ded69cc92607d955b4dda8cacf7b0560da5a2b57f7a4aa6879fafb328357e5996d8c7c025f531530a04f4d SHA512 d9f05318f26ca9c26e0cca3c4fdf19dc3cf33bd21a6a87e1e4d8871b06eba9d8ba875301b001221ec9e0bd17c14f8aba3e61d3ec5b3c72587d28b7b5263e2a2c +DIST pyfakefs-9c19d6a55e6ebac98267713d571202e82b641279.gh.tar.gz 242645 BLAKE2B 175ebb18f15222152b12d0651cc378393f8a6d758d33355babca017a4fa4462610499466e0ba4ff429ac066880e1475fcb5c504cf085e067c87ceb878537ffb3 SHA512 b9c57128d057560882558b8d5ece24c98e377a6ed563e69d1e899106295f2fc43058265da092d34b9c00e886171f905acff851f78ce3e9c66ff4a9c0b1288581 diff --git a/dev-python/pyfakefs/pyfakefs-5.6_pre20240703.ebuild b/dev-python/pyfakefs/pyfakefs-5.6_pre20240703.ebuild new file mode 100644 index 000000000000..8be380ae0892 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.6_pre20240703.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +EGIT_COMMIT=9c19d6a55e6ebac98267713d571202e82b641279 +MY_P=${PN}-${EGIT_COMMIT} +DESCRIPTION="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/pytest-dev/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/pytest-dev/pyfakefs/archive/${EGIT_COMMIT}.tar.gz + -> ${MY_P}.gh.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-macos" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # test for regression with opentimelineio package + pyfakefs/pytest_tests/segfault_test.py + # test for regression with undefined package + pyfakefs/pytest_tests/pytest_fixture_test.py + ) + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + pyfakefs/pytest_tests/pytest_reload_pandas_test.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +} diff --git a/dev-python/pyproject-api/Manifest b/dev-python/pyproject-api/Manifest index 89ec454d550d..5e56a747aa86 100644 --- a/dev-python/pyproject-api/Manifest +++ b/dev-python/pyproject-api/Manifest @@ -1,2 +1 @@ -DIST pyproject_api-1.6.1.tar.gz 22507 BLAKE2B 8e10240f57e321e4ae78f3269c7b61cdabf29a40a4d6f374dd97451a9dc237a9ae022020c6d1e6ab140dd8c121cb93199d4ec7030c50f7ab6a492670576aeef5 SHA512 a2c1d19dc47a1deb2e3f4d65243e41310434c739a70960ae5a18d8caab11d36fe232b173db253392ff5c3432024b5c494728950d1495d6b9d5c4acf6ad0a2e90 DIST pyproject_api-1.7.1.tar.gz 22271 BLAKE2B 833001e4638594e61ba8dd97e2e62dffd25650cc30cbcdb9367f09605e128733d7c8945afeadc5ba16d15e932da0cc60eee2715eeef21290c04a73f74165e748 SHA512 e016d612578f46dbb5ab9d406d01513d8e1528524dcb58c4ebe76c5d7518289da187bed0e500d382b37aaac0e38236d54a88e7cc1f3a2a6876088b26d17337a8 diff --git a/dev-python/pyproject-api/pyproject-api-1.6.1.ebuild b/dev-python/pyproject-api/pyproject-api-1.6.1.ebuild deleted file mode 100644 index e9a8b5e0f68a..000000000000 --- a/dev-python/pyproject-api/pyproject-api-1.6.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="API to interact with the python pyproject.toml based projects" -HOMEPAGE=" - https://github.com/tox-dev/pyproject-api/ - https://pypi.org/project/pyproject-api/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/packaging-23.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - >=dev-python/hatch-vcs-0.3.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/pytest-mock-3.11.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-68.1.2[${PYTHON_USEDEP}] - >=dev-python/wheel-0.40.2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - tests/test_frontend_setuptools.py::test_setuptools_prepare_metadata_for_build_wheel - # requires Python 2 installed - tests/test_frontend.py::test_can_build_on_python_2 -) diff --git a/dev-python/pyproject-api/pyproject-api-1.7.1.ebuild b/dev-python/pyproject-api/pyproject-api-1.7.1.ebuild index 0c02c2326366..05a08c250e0a 100644 --- a/dev-python/pyproject-api/pyproject-api-1.7.1.ebuild +++ b/dev-python/pyproject-api/pyproject-api-1.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/packaging-24.1[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-freezer/pytest-freezer-0.4.8.ebuild b/dev-python/pytest-freezer/pytest-freezer-0.4.8.ebuild index 895746f6fd34..f6feeda98d11 100644 --- a/dev-python/pytest-freezer/pytest-freezer-0.4.8.ebuild +++ b/dev-python/pytest-freezer/pytest-freezer-0.4.8.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/freezegun-1.0[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-reraise/Manifest b/dev-python/pytest-reraise/Manifest new file mode 100644 index 000000000000..62e7e97648d6 --- /dev/null +++ b/dev-python/pytest-reraise/Manifest @@ -0,0 +1 @@ +DIST pytest-reraise-2.1.2.gh.tar.gz 33487 BLAKE2B 8abb4d9524a397ab9ec8554534b26ce13ce14eaa88fe7073b57f3b4a410ff4e179a5ee7d3eb9e3e94f963a912ea0bdbc44c172e2474ab0035b8be7665b0ca756 SHA512 0095a3fd9672349a8d6628f11ac57369d48e1fdc20722215a8713ee396af563d0c95947592b5578da251b590087e479d6597bd403d1e6c2e38de4208a6db04a9 diff --git a/dev-python/pytest-reraise/metadata.xml b/dev-python/pytest-reraise/metadata.xml new file mode 100644 index 000000000000..a0d4c5913ba0 --- /dev/null +++ b/dev-python/pytest-reraise/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest-reraise/pytest-reraise-2.1.2.ebuild b/dev-python/pytest-reraise/pytest-reraise-2.1.2.ebuild new file mode 100644 index 000000000000..d13b49a8c3f5 --- /dev/null +++ b/dev-python/pytest-reraise/pytest-reraise-2.1.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Make multi-threaded pytest test cases fail when they should" +HOMEPAGE=" + https://github.com/bjoluc/pytest-reraise/ + https://pypi.org/project/pytest-reraise/ +" +# no tests in pypi sdist, v2.1.2 +SRC_URI=" + https://github.com/bjoluc/pytest-reraise/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pytest-4.6[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 8f213ef7fe86..402efa8db244 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1,2 +1 @@ -DIST requests-cache-1.2.0.gh.tar.gz 3057187 BLAKE2B 135d39d8fac1e123c71b07b30002b980b5fdcdb586cafb310f8f72e865cdc97f62b699cd981068207c6f020deef595469801d440cf5034566e9618385d569437 SHA512 b198d282cfd656c432d3a63f4d615191ac1ff97c9563e9bd6945e7a78444601108beb47a0f4a79740c7bd6942c3753f025cd52457e87ece7964229799bbb8fa1 DIST requests-cache-1.2.1.gh.tar.gz 3056882 BLAKE2B e1e5f971490f865ac2771d1dd87802ba138940adbfa0183ed5978b92794795fb26a30219de5560a925642ca08de1b8854d759408f86b30e6150e1c948ec8dcfe SHA512 f8977b1afc005ddd73019d2a0e39da368f376602110602c0b24c317b548f31a3489e686502ecd48ae3583e471fdd70671913e529c73dacdcaecadb1cd1e6c126 diff --git a/dev-python/requests-cache/requests-cache-1.2.0.ebuild b/dev-python/requests-cache/requests-cache-1.2.0.ebuild deleted file mode 100644 index 95a48485f2e5..000000000000 --- a/dev-python/requests-cache/requests-cache-1.2.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 optfeature - -DESCRIPTION="Persistent cache for requests library" -HOMEPAGE=" - https://pypi.org/project/requests-cache/ - https://github.com/requests-cache/requests-cache/ -" -SRC_URI=" - https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/cattrs-22.2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/rich-10.0[${PYTHON_USEDEP}] - dev-python/timeout-decorator[${PYTHON_USEDEP}] - >=dev-python/ujson-5.4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # These require extra servers running - tests/integration/test_dynamodb.py - tests/integration/test_gridfs.py - tests/integration/test_mongodb.py - tests/integration/test_redis.py - ) - local EPYTEST_DESELECT=( - # Requires Internet access - tests/integration/test_upgrade.py::test_version_upgrade - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # "database is locked", upstream probably relies on GC - # too much - tests/integration/test_sqlite.py - ) - ;; - python3.12) - # https://github.com/requests-cache/requests-cache/issues/845 - EPYTEST_DESELECT+=( - tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read - tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency - ) - ;; - esac - - local -x USE_PYTEST_HTTPBIN=true - epytest -} - -pkg_postinst() { - optfeature "redis backend" "dev-python/redis" - optfeature "MongoDB backend" "dev-python/pymongo" - - optfeature "JSON serialization" "dev-python/ujson" - optfeature "YAML serialization" "dev-python/pyyaml" - optfeature "signing serialized data" "dev-python/itsdangerous" -} diff --git a/dev-python/requests-cache/requests-cache-1.2.1.ebuild b/dev-python/requests-cache/requests-cache-1.2.1.ebuild index 0008b7c06cc9..95a48485f2e5 100644 --- a/dev-python/requests-cache/requests-cache-1.2.1.ebuild +++ b/dev-python/requests-cache/requests-cache-1.2.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/resolvelib/resolvelib-1.0.1.ebuild b/dev-python/resolvelib/resolvelib-1.0.1.ebuild index 13b16f768172..d3c39a7c3d0e 100644 --- a/dev-python/resolvelib/resolvelib-1.0.1.ebuild +++ b/dev-python/resolvelib/resolvelib-1.0.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="ISC" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc x86" BDEPEND=" test? ( diff --git a/dev-python/scikit-build/scikit-build-0.18.0.ebuild b/dev-python/scikit-build/scikit-build-0.18.0.ebuild index f095e4479f56..66c94ae5f6df 100644 --- a/dev-python/scikit-build/scikit-build-0.18.0.ebuild +++ b/dev-python/scikit-build/scikit-build-0.18.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/distro[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/files/scipy-1.13.1-test.patch b/dev-python/scipy/files/scipy-1.13.1-test.patch new file mode 100644 index 000000000000..e10e8551b757 --- /dev/null +++ b/dev-python/scipy/files/scipy-1.13.1-test.patch @@ -0,0 +1,46 @@ +From 2f930ed7d579837423cf58f30d25d4922e4cef7c Mon Sep 17 00:00:00 2001 +From: Evgeni Burovski <evgeny.burovskiy@gmail.com> +Date: Thu, 6 Jun 2024 10:01:58 +0300 +Subject: [PATCH] TST: linalg: bump tolerance in TestEig::test_singular + +Some assertions have atol/rtol configurable, and one assertion had them +hardcoded, and that was causing tolerance problems in a Debian build with +reference LAPACK. + +closes https://github.com/scipy/scipy/issues/20911 +--- + scipy/linalg/tests/test_decomp.py | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/scipy/linalg/tests/test_decomp.py b/scipy/linalg/tests/test_decomp.py +index 5e171965a4bd..2c4033360d16 100644 +--- a/scipy/linalg/tests/test_decomp.py ++++ b/scipy/linalg/tests/test_decomp.py +@@ -181,7 +181,8 @@ def test_gh_3054(self): + assert_equal(w, np.inf) + assert_allclose(vr, 1) + +- def _check_gen_eig(self, A, B, atol_homog=1e-13, rtol_homog=1e-13): ++ def _check_gen_eig(self, A, B, atol_homog=1e-13, rtol_homog=1e-13, ++ atol=1e-13, rtol=1e-13): + if B is not None: + A, B = asarray(A), asarray(B) + B0 = B +@@ -230,7 +231,7 @@ def _check_gen_eig(self, A, B, atol_homog=1e-13, rtol_homog=1e-13): + for i in range(res.shape[1]): + if np.all(isfinite(res[:, i])): + assert_allclose(res[:, i], 0, +- rtol=1e-13, atol=1e-13, err_msg=msg) ++ rtol=rtol, atol=atol, err_msg=msg) + + # try to consistently order eigenvalues, including complex conjugate pairs + w_fin = w[isfinite(w)] +@@ -269,7 +270,7 @@ def test_singular(self): + [24, 35, 18, 21, 22]]) + + with np.errstate(all='ignore'): +- self._check_gen_eig(A, B, atol_homog=5e-13) ++ self._check_gen_eig(A, B, atol_homog=5e-13, atol=5e-13) + + def test_falker(self): + # Test matrices giving some Nan generalized eigenvalues. diff --git a/dev-python/scipy/scipy-1.13.1.ebuild b/dev-python/scipy/scipy-1.13.1.ebuild index dd5df649aac8..46647d8842b9 100644 --- a/dev-python/scipy/scipy-1.13.1.ebuild +++ b/dev-python/scipy/scipy-1.13.1.ebuild @@ -37,7 +37,7 @@ else )" if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi fi @@ -78,6 +78,11 @@ BDEPEND=" EPYTEST_XDIST=1 distutils_enable_tests pytest +PATCHES=( + # https://github.com/scipy/scipy/pull/20914 + "${FILESDIR}/${P}-test.patch" +) + src_unpack() { default diff --git a/dev-python/selenium/selenium-4.22.0-r1.ebuild b/dev-python/selenium/selenium-4.22.0-r1.ebuild index c76167acc05e..beaee84e7afd 100644 --- a/dev-python/selenium/selenium-4.22.0-r1.ebuild +++ b/dev-python/selenium/selenium-4.22.0-r1.ebuild @@ -28,7 +28,7 @@ SRC_URI+=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index c833cb46cc6a..577ba8d95d85 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,5 +1,3 @@ DIST sentry-python-1.45.0.gh.tar.gz 475425 BLAKE2B 8dc46154dfc1c7c9104a706be032b5269d407dee6845da252f1c603ea4f9486d02d1d3c6bec314064b821dee31b503d07a9c17935ca1f4dd6cc4d7b9c3165094 SHA512 dad23a3f6a8e6ef5fe78e1d38a61977d8974edf306d5688537f331801d8fa0f60743d18cc3dadf6e9a9666c55a01c98b9ff8d8808ece7d8f95ee68a69b6cb9be -DIST sentry-python-2.5.1.gh.tar.gz 515056 BLAKE2B fab3e6e4faa1f07879fc679d43d86fc9590ba3049f5117efe69827a5678b7292c30c9e2d04992a2d75abe54498c3e6fe0366cea210e81b92ccf302c7abcf7e3c SHA512 6467e3836af9f44be93c9a9d0b2e4cf341b7ea4b70937a9624f5d53b746f9a5d2ee5507056c3f58662e0382d88bd3a9851b2ebdf2438bd39e4d5b15096d84a3b DIST sentry-python-2.6.0.gh.tar.gz 519912 BLAKE2B 065aa2a633c24f163e483fe6ace9696b3bb088caae2eedaff7bbfc09213bec593f1db5a70b41f9771db602ece77d7107f51945683799de35ad59aa2c10f0a47f SHA512 f69ccc15154ea10302610329bc9d80fb9cf249a9996b99b34268468b010a24e90ca46e62b223b3331518a2ee57c6e3e028e6d6b2d1e0c9bbac4f11176403c790 -DIST sentry-python-2.7.0.gh.tar.gz 528187 BLAKE2B cb56a5ca8003ea5242932e3bef14f11cb62ca79b5ac26154f64ba89ff32a0c408e3f49286b9634edea97a8ae462b5425e830151d7d3479746783515c63e646f7 SHA512 b876f2f1c7c4fee69371d5160c8184e0334ffe486a9b0b817ed6efd73a7865fd4a6f03a7c770a3bad0b62d105569183bf36b0d8469d74093f4a9c15db48ae583 DIST sentry-python-2.7.1.gh.tar.gz 528495 BLAKE2B 7846e726aaca3d916a5b901aa1cde6ac04e79c32f71a631955a354143fc9937ba8881ccf1e3ed387ec12afcd4e6734ea4eee0614512447bcd58d8875fe97cd35 SHA512 afe034553ddb5eeefa00db26e13cebe82d946f990eb62f8cfde670ad5d9d5c93c0ffb2d0ed5f01f55ac533dca66ab6f53553e5b8f011e08705213cb515146516 diff --git a/dev-python/sentry-sdk/sentry-sdk-2.5.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.5.1.ebuild deleted file mode 100644 index 382d3dc49417..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-2.5.1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=sentry-python-${PV} -DESCRIPTION="Python client for Sentry" -HOMEPAGE=" - https://sentry.io/ - https://github.com/getsentry/sentry-python/ - https://pypi.org/project/sentry-sdk/ -" -SRC_URI=" - https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - <dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" -) - -python_test() { - local EPYTEST_IGNORE=( - # tests require Internet access - tests/integrations/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/django/test_basic.py - tests/integrations/socket/test_socket.py - # wtf is it supposed to do?! - tests/integrations/gcp/test_gcp.py - # TODO - tests/integrations/bottle - # TODO: most of them hang - tests/integrations/starlette - # TODO - tests/integrations/tornado - # requires mockupdb - tests/integrations/pymongo - # requires AWS access - tests/integrations/aws_lambda - # requires quart_auth - tests/integrations/quart - # TODO: require opentelemetry (with py3.10) - tests/integrations/opentelemetry - # broken (incompatible rq version?) - tests/integrations/rq - ) - - local EPYTEST_DESELECT=( - # hangs - tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub - # broken teardown? - tests/test_client.py::test_uwsgi_warnings - # too many dependencies installed, sigh - tests/test_new_scopes_compat_event.py - # Internet - tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers - tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/integrations/django - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions - tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic - tests/integrations/threading/test_threading.py - tests/integrations/wsgi/test_wsgi.py - tests/test_basics.py::test_auto_enabling_integrations_catches_import_error - tests/test_client.py::test_databag_breadth_stripping - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_utils.py::test_default_release - tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled - tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled - tests/utils/test_contextvars.py::test_leaks - # pointless, fragile to packages being installed in parallel - tests/test_utils.py::test_installed_modules - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -} diff --git a/dev-python/sentry-sdk/sentry-sdk-2.6.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.6.0.ebuild index 7b82ad222347..dea39bbd1305 100644 --- a/dev-python/sentry-sdk/sentry-sdk-2.6.0.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-2.6.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/urllib3[${PYTHON_USEDEP}] diff --git a/dev-python/sentry-sdk/sentry-sdk-2.7.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.7.0.ebuild deleted file mode 100644 index 79da2b2a5760..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-2.7.0.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=sentry-python-${PV} -DESCRIPTION="Python client for Sentry" -HOMEPAGE=" - https://sentry.io/ - https://github.com/getsentry/sentry-python/ - https://pypi.org/project/sentry-sdk/ -" -SRC_URI=" - https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - <dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" -) - -python_test() { - local EPYTEST_IGNORE=( - # tests require Internet access - tests/integrations/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/django/test_basic.py - tests/integrations/socket/test_socket.py - # wtf is it supposed to do?! - tests/integrations/gcp/test_gcp.py - # TODO - tests/integrations/bottle - # TODO: most of them hang - tests/integrations/starlette - # TODO - tests/integrations/tornado - # requires mockupdb - tests/integrations/pymongo - # requires AWS access - tests/integrations/aws_lambda - # requires quart_auth - tests/integrations/quart - # TODO: require opentelemetry (with py3.10) - tests/integrations/opentelemetry - # broken (incompatible rq version?) - tests/integrations/rq - ) - - local EPYTEST_DESELECT=( - # hangs - tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub - # broken teardown? - tests/test_client.py::test_uwsgi_warnings - # too many dependencies installed, sigh - tests/test_new_scopes_compat_event.py - # Internet - tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers - tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk - tests/integrations/aiohttp/test_aiohttp.py::test_span_origin - tests/integrations/stdlib/test_httplib.py::test_span_origin - tests/integrations/stdlib/test_subprocess.py::test_subprocess_span_origin - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/integrations/django - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions - tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic - tests/integrations/threading/test_threading.py - tests/integrations/wsgi/test_wsgi.py - tests/test_basics.py::test_auto_enabling_integrations_catches_import_error - tests/test_client.py::test_databag_breadth_stripping - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_utils.py::test_default_release - tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled - tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled - tests/utils/test_contextvars.py::test_leaks - # pointless, fragile to packages being installed in parallel - tests/test_utils.py::test_installed_modules - # TODO - tests/profiler/test_continuous_profiler.py::test_continuous_profiler_auto_start_and_manual_stop - tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop - tests/profiler/test_transaction_profiler.py::test_minimum_unique_samples_required - tests/profiler/test_transaction_profiler.py::test_profile_captured - tests/profiler/test_transaction_profiler.py::test_profiles_sample_rate - tests/profiler/test_transaction_profiler.py::test_profiles_sampler - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -o addopts= -} diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index d293cd2d6c32..54d210ca0fce 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1,2 +1 @@ -DIST sphinx-autoapi-3.1.1.gh.tar.gz 67903 BLAKE2B aec809e53b2c1080a29c49f5d9916df2e9def0c2072d99dde7ee3250a9cc7a9fc2d1e3e76ad954cfc417205c9b8994dcb7d0533f5994eb2a584d8ffa3ee3260e SHA512 c5a3db4f6e3969af8f8f2933822e577d3469c649f6976327e55c449cd6992274ee896a7ad01d5a3bfab378819bd4fe319b9f08e989214c00b4844c03c56ed2c8 DIST sphinx-autoapi-3.1.2.gh.tar.gz 68260 BLAKE2B 31315fb298f7dae78c10f839e2738340eaf68d5497f22368c50f14309a564d1c5636015a715a9f99080a4f753416a10c63147e63dfcd53a27d7466ad422f95c4 SHA512 18e4a49e831446fa14278ffda4fec703f3b2c86654ce78fa7f4b89e5a41f1e6b19ea76cb64e7290a3125dc027a2de8aa052495a8bfd4bcc1828780f762e81957 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.1.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.1.ebuild deleted file mode 100644 index 7e9a3be7b273..000000000000 --- a/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="A new approach to API documentation in Sphinx" -HOMEPAGE=" - https://sphinx-autoapi.readthedocs.io/ - https://github.com/readthedocs/sphinx-autoapi/ - https://pypi.org/project/sphinx-autoapi/ -" -# sdist is missing docs, as of 2.1.0 -SRC_URI=" - https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 x86" - -RDEPEND=" - >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/sphinx-6.1.0[${PYTHON_USEDEP}] -" - -BDEPEND+=" - test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] ) -" - -DOCS=( README.rst CHANGELOG.rst ) - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/python/test_pyintegration.py::TestPEP695::test_integration - tests/python/test_pyintegration.py::TestPipeUnionModule::test_integration - "tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample" - ) - - distutils-r1_python_test -} diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.2.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.2.ebuild index 0405fcac85d4..7e9a3be7b273 100644 --- a/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.2.ebuild +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 arm arm64 x86" RDEPEND=" >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.31.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.31.ebuild index ff4aad3e7094..be16fb7d5af9 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.31.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.31.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" RDEPEND=" diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 5c69bb22232d..7236cbd74420 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,4 +1,4 @@ DIST stripe-10.0.0.tar.gz 1284985 BLAKE2B c2cde142b324fb622c7b7c3b967d01caf3a31c7832825b750e88ff7a4b8b41efe457c40ce329977f7df39b54ecf267812174a31682106aaecda78ebe53322467 SHA512 fa72997cde84a7fd871e9be53a560bce07041dddd9db7e37942b1c7cfaee8c2fd3a671f08f1b567b60aee017f7a6b9662dd2cfb3a06036bd9b0f3a03a395e0df DIST stripe-10.1.0.tar.gz 1290758 BLAKE2B 0ec51d9189b1d574eb1eb2eb7c3683b2b6b86c9879445c2de60da1a16684e0fe095abbe841cc59ea8daad6862d864550bfb5a9c9dd6a034df42a01c8ec59be4c SHA512 ecac8856ce6993ba5c339a44791b9197f2e1b8a62292d5e9e555e02004007ad90c400dff8d111df2ae1428436ba413a47b59ef9b5e9da445872495c45aa844c3 -DIST stripe-9.10.0.tar.gz 1273670 BLAKE2B ebe42096846a124dea93744b26103dfc0a82f51191be612962258d7ab8c903e3da707dad3e35bafaa7431dd65a08234d9df5f9a614ff1959d86dc2d992ae7ad0 SHA512 f2a22534703add04512fa5ee124bd0ac48dd8a69dd19438260e9fce2cd00b659b9b014f76e325b6b0e51c79c157d15acb775d4ee4e1401a837d7e7dd81e81191 +DIST stripe-10.2.0.tar.gz 1297807 BLAKE2B 996636c7cca85295c7fbf5ec108cb6b62db11ebc26d8978329c437b55d5f15bd15936c1386a915deb9544bf4f5869440e13fc307962e1b796a7901b10d406595 SHA512 83ae38e4f53302fd16f1dce10f6e4336842ee81bbab272ebd9362e7bd0c7b03168e6de2ff14a0f2cbd332eaba9ed8dc2bf24894cfd5600d8a91cb5670c477fbe DIST stripe-9.12.0.tar.gz 1277151 BLAKE2B a23e490ac99f3814db204cd8ad71793b5da73a82c420823cecd87dad5f17c9dbe44a7dcdfbb519b5db4cb488f286e231029827bae25657c2bf4183d1c4dd8406 SHA512 c6c4a4cfeddda4c0e4042b31addea6885819304b469e4f7f701c894fca2d1ccca867dac511abf8d9dd9fc7cc135185387a5b55d37558b9355ee4add16b6318cb diff --git a/dev-python/stripe/stripe-9.10.0.ebuild b/dev-python/stripe/stripe-10.2.0.ebuild index 276300751862..cb8f555d6683 100644 --- a/dev-python/stripe/stripe-9.10.0.ebuild +++ b/dev-python/stripe/stripe-10.2.0.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi -DESCRIPTION="Stripe python bindings" +DESCRIPTION="Stripe Python bindings" HOMEPAGE=" https://github.com/stripe/stripe-python/ https://pypi.org/project/stripe/ @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="telemetry" RDEPEND=" diff --git a/dev-python/stripe/stripe-9.12.0.ebuild b/dev-python/stripe/stripe-9.12.0.ebuild index cb8f555d6683..1f4fc9bd9f4d 100644 --- a/dev-python/stripe/stripe-9.12.0.ebuild +++ b/dev-python/stripe/stripe-9.12.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="telemetry" RDEPEND=" diff --git a/dev-python/subprocess-tee/subprocess-tee-0.4.2.ebuild b/dev-python/subprocess-tee/subprocess-tee-0.4.2.ebuild index 4ac1f5fd7f5e..b1280055daa0 100644 --- a/dev-python/subprocess-tee/subprocess-tee-0.4.2.ebuild +++ b/dev-python/subprocess-tee/subprocess-tee-0.4.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="amd64 ~arm64 ~riscv" IUSE="test-full" REQUIRED_USE="test-full? ( test )" diff --git a/dev-python/tempora/tempora-5.6.0.ebuild b/dev-python/tempora/tempora-5.6.0.ebuild index 5cd5142a80d1..9c7407b28f53 100644 --- a/dev-python/tempora/tempora-5.6.0.ebuild +++ b/dev-python/tempora/tempora-5.6.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] diff --git a/dev-python/tenacity/tenacity-8.4.2.ebuild b/dev-python/tenacity/tenacity-8.4.2.ebuild index b316fcd69c31..1e4edb5f585a 100644 --- a/dev-python/tenacity/tenacity-8.4.2.ebuild +++ b/dev-python/tenacity/tenacity-8.4.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] @@ -29,6 +29,10 @@ BDEPEND=" distutils_enable_tests pytest python_test() { + local EPYTEST_DESELECT=( + # fragile to timing + tests/test_asyncio.py::TestContextManager::test_sleeps + ) local EPYTEST_IGNORE=() if ! has_version ">=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}]"; then EPYTEST_IGNORE+=( diff --git a/dev-python/tenacity/tenacity-8.5.0.ebuild b/dev-python/tenacity/tenacity-8.5.0.ebuild index 05826678015f..5283830db462 100644 --- a/dev-python/tenacity/tenacity-8.5.0.ebuild +++ b/dev-python/tenacity/tenacity-8.5.0.ebuild @@ -29,6 +29,11 @@ BDEPEND=" distutils_enable_tests pytest python_test() { + local EPYTEST_DESELECT=( + # fragile to timing + tests/test_asyncio.py::TestContextManager::test_sleeps + ) + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest index 7a7b138aaac7..c15434f038e4 100644 --- a/dev-python/thriftpy2/Manifest +++ b/dev-python/thriftpy2/Manifest @@ -1 +1,2 @@ DIST thriftpy2-0.5.0.tar.gz 779019 BLAKE2B b29e5349e11e3ce3bd587a7c8212cd6def7b9b287554a068399591bb7493a5c1d0e97c9b38a64973c01d27a83d49e181aad64cb41ce9500e40b96c813caa7b2d SHA512 f4c83bac053a2f073507e38f284f981bd129ee960dc9817f3bd5795c8e9773b78fa23d49d97cb5975783dbd1f4b52f380861bf4fc32a1af795365f703856f350 +DIST thriftpy2-0.5.2.tar.gz 782261 BLAKE2B 657e8dadd8757f9f0f6b4a7f73e4347651f6301c969cf4d2c37cf87c6176322b7afad6372a39ed7d4c9f36d07850d6ae4edb73ff08dd3530b88e0194032abc9b SHA512 89a73d70b7ba74acc5344c1471587a66664331fb3d160eeb31d27434c78a3e76e3ec0d84dec14ec57d0bcc89e867759883d69247ae65bff1a9a8a00fc8ff7747 diff --git a/dev-python/thriftpy2/metadata.xml b/dev-python/thriftpy2/metadata.xml index 0f2e57ded13c..e21c7fc3a720 100644 --- a/dev-python/thriftpy2/metadata.xml +++ b/dev-python/thriftpy2/metadata.xml @@ -5,6 +5,10 @@ <email>chutzpah@gentoo.org</email> <name>Patrick McLean</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild b/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild new file mode 100644 index 000000000000..26e9fffd93a9 --- /dev/null +++ b/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 flag-o-matic pypi + +DESCRIPTION="Pure python approach of Apache Thrift" +HOMEPAGE=" + https://github.com/Thriftpy/thriftpy2/ + https://pypi.org/project/thriftpy2/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/ply-4[${PYTHON_USEDEP}] + <dev-python/six-2[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-reraise[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_compile() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/857105 + # https://github.com/Thriftpy/thriftpy2/issues/246 + # + # Don't trust this to LTO + append-flags -fno-strict-aliasing + filter-lto + + distutils-r1_src_compile +} + +python_test() { + local EPYTEST_DESELECT=( + tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception + tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result + ) + + cd tests || die + epytest +} diff --git a/dev-python/tlsh/tlsh-4.8.2-r1.ebuild b/dev-python/tlsh/tlsh-4.8.2-r1.ebuild index a3ca753e6779..67b282956147 100644 --- a/dev-python/tlsh/tlsh-4.8.2-r1.ebuild +++ b/dev-python/tlsh/tlsh-4.8.2-r1.ebuild @@ -15,7 +15,7 @@ S=${WORKDIR}/${P}/py_ext LICENSE="|| ( Apache-2.0 BSD )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc64 x86" DEPEND="dev-libs/tlsh" RDEPEND="${DEPEND}" diff --git a/dev-python/truststore/truststore-0.9.1.ebuild b/dev-python/truststore/truststore-0.9.1.ebuild index ce4df6d06eb2..a767279d2d95 100644 --- a/dev-python/truststore/truststore-0.9.1.ebuild +++ b/dev-python/truststore/truststore-0.9.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86" # The vast majority of tests require Internet access. PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/types-psutil/types-psutil-6.0.0.20240621.ebuild b/dev-python/types-psutil/types-psutil-6.0.0.20240621.ebuild index 13f69b1b406d..d9dfd4dc51f7 100644 --- a/dev-python/types-psutil/types-psutil-6.0.0.20240621.ebuild +++ b/dev-python/types-psutil/types-psutil-6.0.0.20240621.ebuild @@ -14,4 +14,4 @@ HOMEPAGE="https://pypi.org/project/types-psutil/" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/weasyprint/weasyprint-62.3.ebuild b/dev-python/weasyprint/weasyprint-62.3.ebuild index b138d743eaae..819b3a396878 100644 --- a/dev-python/weasyprint/weasyprint-62.3.ebuild +++ b/dev-python/weasyprint/weasyprint-62.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] diff --git a/dev-python/xkbcommon/Manifest b/dev-python/xkbcommon/Manifest index f15b86461fb5..db7797541650 100644 --- a/dev-python/xkbcommon/Manifest +++ b/dev-python/xkbcommon/Manifest @@ -1 +1,3 @@ +DIST python-xkbcommon-1.0.1.gh.tar.gz 79263 BLAKE2B 8bc128e592a02b14321fe087f7c0ae87a699e0284c3230fa2a0b1cf2e8105037fa0ace876216ec8a72cc49eb76fab0af83b7a5d83a3943f609954205d949def0 SHA512 1e0393c5d7e99d9a68168a5486a15b3598d8539b7a7b0a7c41a9c1a329cfe79d3f19556b481f5625e1bea1cc41f3394dcc1fc1bf1dbd98cd58db54f471ece5d5 DIST python-xkbcommon-1.0.gh.tar.gz 27258 BLAKE2B 3106877f8e87f50453a358eec4e6431642b00a6a2bc23d3088ef22379984869ec84cd042a1ac53dd72783f3005dad1efddf3f87410204b88bfde4f9da0044c97 SHA512 c7793d6f5517771006ff5a9c01deb9a37717157d7171af49ff459dc96b3b16a1d2d4c0f1272b5a8f683390de1e8e6a6ff92472f18828c7e38e0f2a1ee6f34f07 +DIST xkbcommon-1.5.tar.gz 79887 BLAKE2B f6a39b98fc97f12a2badfa53cf5445fad0018aaf03542d1945d36155e3c0abe92b4080f149d8c2bcc85ac72cef6a6099ca45afb043754b31a543f02820a33ebd SHA512 ab0d3f83d11038dd4ae98f9954f6082f214727720d0eced4c298943f4f26b19d9be42bc4215c4e6a5fa68214c4a0a5e88b30657a52e982a8b4c7e7b84c1c174b diff --git a/dev-python/xkbcommon/xkbcommon-1.0.1.ebuild b/dev-python/xkbcommon/xkbcommon-1.0.1.ebuild new file mode 100644 index 000000000000..a178a3efd3b6 --- /dev/null +++ b/dev-python/xkbcommon/xkbcommon-1.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +MY_P=python-xkbcommon-${PV} +DESCRIPTION="Python bindings for libxkbcommon using cffi" +HOMEPAGE=" + https://github.com/sde1000/python-xkbcommon/ + https://pypi.org/project/xkbcommon/ +" +SRC_URI=" + https://github.com/sde1000/python-xkbcommon/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +# x11-libs/libxkbcommon dep per README +RDEPEND=" + >=x11-libs/libxkbcommon-${PV} + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_test() { + rm -rf xkbcommon || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/xkbcommon/xkbcommon-1.5.ebuild b/dev-python/xkbcommon/xkbcommon-1.5.ebuild new file mode 100644 index 000000000000..d323d260e43b --- /dev/null +++ b/dev-python/xkbcommon/xkbcommon-1.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for libxkbcommon using cffi" +HOMEPAGE=" + https://github.com/sde1000/python-xkbcommon/ + https://pypi.org/project/xkbcommon/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +# x11-libs/libxkbcommon dep per README +RDEPEND=" + >=x11-libs/libxkbcommon-${PV} + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_test() { + rm -rf xkbcommon || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 08fa7ac3e3e9..7623e6b2f039 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,3 +1 @@ -DIST zipp-3.18.2.tar.gz 21783 BLAKE2B 488c7ebe2a37d5d38f8aac86a578144aaa77d9acb375cb2aa45eb16e5f5d2db30be00827f580ee35b5aa85559001e457054cca1dd34dec7005c0169bd4a4f1b3 SHA512 c8ba020fe210a3c9b54da2f868c324b41d281dc50342f9ce68e493a695d8c8620ab19303fb81bd64cc458667113ef31a890e8e71180a0155a83ed9ead6049bcd -DIST zipp-3.19.1.tar.gz 22625 BLAKE2B 283754c1b2280ac7dcce867555bacdccb59f4183e6b722c7916b5825bc16e1922a15c0b1d5684be0a89ce6672be58f0752e21b85ad02afabeeeb26d9d4706b7a SHA512 c0a4b4055f6652852526b7749d738cedda6534ea21945933ec727b5364a5558697fce6757e4045d30df55a1dce57509c92046f25d6914707fcc97e07f3088c3a DIST zipp-3.19.2.tar.gz 22922 BLAKE2B 8f4a115079b6faa730a3502592983c13b2db27541cdbd91723fd20f320d22678f3740b01f24b46f7049607c49953ea64fa8e4855d26f28f0683d330b625a2d0b SHA512 3f1b663c4befef774e076845a8a2d2fc414cb768af0e3bccc57b6b694e9ef28e8dd8ae59b596b269f610b082e9c7a92ec3dcd465aad4e5ebe250ea96df89b2cf diff --git a/dev-python/zipp/zipp-3.18.2.ebuild b/dev-python/zipp/zipp-3.18.2.ebuild deleted file mode 100644 index 5f1f04753e12..000000000000 --- a/dev-python/zipp/zipp-3.18.2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" -HOMEPAGE=" - https://github.com/jaraco/zipp/ - https://pypi.org/project/zipp/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -# big_o is only used in test_complexity, that we ignore -BDEPEND=" - test? ( - dev-python/jaraco-functools[${PYTHON_USEDEP}] - dev-python/jaraco-itertools[${PYTHON_USEDEP}] - dev-python/jaraco-test[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # performance tests are flaky by design - tests/test_complexity.py -) - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "zipp" - version = "${PV}" - description = "Backport of pathlib-compatible object wrapper for zip files" - EOF -} diff --git a/dev-python/zipp/zipp-3.19.1.ebuild b/dev-python/zipp/zipp-3.19.1.ebuild deleted file mode 100644 index 7bfa53c7edbd..000000000000 --- a/dev-python/zipp/zipp-3.19.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" -HOMEPAGE=" - https://github.com/jaraco/zipp/ - https://pypi.org/project/zipp/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -# big_o is only used in test_complexity, that we ignore -BDEPEND=" - test? ( - dev-python/jaraco-functools[${PYTHON_USEDEP}] - dev-python/jaraco-itertools[${PYTHON_USEDEP}] - dev-python/jaraco-test[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # performance tests are flaky by design - tests/test_complexity.py -) - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "zipp" - version = "${PV}" - description = "Backport of pathlib-compatible object wrapper for zip files" - EOF -} diff --git a/dev-python/zipp/zipp-3.19.2.ebuild b/dev-python/zipp/zipp-3.19.2.ebuild index 7bfa53c7edbd..5f1f04753e12 100644 --- a/dev-python/zipp/zipp-3.19.2.ebuild +++ b/dev-python/zipp/zipp-3.19.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" # big_o is only used in test_complexity, that we ignore BDEPEND=" |
