diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-16 03:02:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-16 03:02:52 +0000 |
commit | b0735771a80a647a2ea5a03a87d5873d175bd744 (patch) | |
tree | aed120d0dfeab57cb7f38b7a5d186b1c53ae10cd /dev-python | |
parent | 57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (diff) |
gentoo auto-resync : 16:11:2024 - 03:02:52
Diffstat (limited to 'dev-python')
49 files changed, 1649 insertions, 344 deletions
diff --git a/dev-python/Faker/Faker-33.0.0.ebuild b/dev-python/Faker/Faker-33.0.0.ebuild new file mode 100644 index 000000000000..f552cda2d4a8 --- /dev/null +++ b/dev-python/Faker/Faker-33.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +# note: tests are flaky with xdist +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index f6d05ba91c02..27fb99a831ad 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,5 +1,7 @@ DIST faker-30.6.0.tar.gz 1806340 BLAKE2B e39a41aa46a45d9431908c0c76371fd51d23bcbb110bba8a8d015e150b7a4c5b767c5eca59846de659637af4f182377152b4ed49c1f68c971aee884df819e011 SHA512 e313d128ee8ebc724d63e0f3f42d16b5b8875e499449b67c0ce8b7ffc1613397c675da9f2933833ef112c6ebb669a51140183714015e9fcc3e02dbc097bfd8f6 DIST faker-30.8.2.tar.gz 1808329 BLAKE2B a9788fdf875bf57e76de33478cf6ebb81a6cc94b9261f5226ea9a797e2d8332a0c9035896b03e86f741b630312872c10678b34dee11d92eea00b9b37d719944f SHA512 4db0352155b724890986c5b1ae59783fed7cd6a0aca289f6df2065c028cd0b9e03560faee60f2b75455e51c212819bc85ddf10c13351e774424fce6f553636be +DIST faker-33.0.0.tar.gz 1850076 BLAKE2B 3a1dc9fff3a45af023cc14c7cc89b8db93faba2de9e4f03a6d04b0bdc37d8271d1e0a7aa4347c5327c80ca95dc490f6fd86e1ab4c0ebee6644505e980d2c7f63 SHA512 8c74093f91121cf8beb63a6b59a99c783be21c58f2788fe83dfb670b16a334f358ca13e65aa734c0ea2c0e6fac863e37116c1ff456eb2b96fe079d4f53059150 EBUILD Faker-30.6.0.ebuild 993 BLAKE2B 3bff54cc40b7ab7d4f7da0625ded6efe488d0f33d134ec255f438ae28b99923b2772eaa067fc6ede33a119ced01044455a8930ce5b7f4f03aa1edd893590723a SHA512 29630619e51608a6bc42bef10b69aced0611ee39722307649bbd99b8c87b7fbd7977d248f19d6fc735a879e4b893268fea943c47c4afc11383ebf1826f7d67e3 EBUILD Faker-30.8.2.ebuild 1000 BLAKE2B 910b6c3d4b14ded04e82086e398bddff73202f984bb76ff01f8c99ab255840abc8ba94f0914fc0d7076c0d901ad63364afc03b438884a7b911c957ebf611774d SHA512 f4f4c7f35f518342a00afda816f30a81a9d9b9c1977f45bb2f2e32b698dbbbdb0eacdf5bfe846755d273299410f508e4bb7a898ececf4b2b16ecf2a53fb1c4dc +EBUILD Faker-33.0.0.ebuild 1000 BLAKE2B 910b6c3d4b14ded04e82086e398bddff73202f984bb76ff01f8c99ab255840abc8ba94f0914fc0d7076c0d901ad63364afc03b438884a7b911c957ebf611774d SHA512 f4f4c7f35f518342a00afda816f30a81a9d9b9c1977f45bb2f2e32b698dbbbdb0eacdf5bfe846755d273299410f508e4bb7a898ececf4b2b16ecf2a53fb1c4dc MISC metadata.xml 498 BLAKE2B c9b7885dc7d34f2263068624a6b07ac6f1ec8078cc11abb6137612ba57edffefc48dae2708284aa83ecc941ebb2d3b8a87a143648e404a0683e75bb6c078f4e2 SHA512 0b385bbbfbb026803526e43c6c43965ff75f42d3ab133603708b187686aac29de508856e5e8ae7622a66b99032efa97f95c21625e10d074c858d8aff7446a312 diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 8728cc43cb37..a36f25fe8aef 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 8f5e9a2ed0aa..04fb7df0c6f9 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -3,9 +3,11 @@ DIST aiohttp-3.11.0.tar.gz 7656057 BLAKE2B b100001a4af53baa3698e1cef11a7f3d4c693 DIST aiohttp-3.11.0rc0.tar.gz 7621610 BLAKE2B a7ef4a7d373bd87155519bd71c396e24224120efeb07dbb173081e034411f4d1e694015d3599d30856e0a80a4d5d43b8d8ee6cdec1d6d19f2dc2940f7271c910 SHA512 3f34c54683b75a0727dd541a1a01a0621aba52f235b32490ccec6656ffbde39224b38b99e58cd62d4e64e43b378e87424a2f9c146f8c6f158ecb226f0e91aae1 DIST aiohttp-3.11.0rc1.tar.gz 7653785 BLAKE2B 070dba6f84b7924f5129b9a022de98ef9586d35cc188a38229d77d5598cf322931687c5295f322f8aca28a8fcf7da1d30e021d4dd2b8aa9327c1c60084423480 SHA512 3ed987c6f0fe53373b5f3cb0b3858fdc216d029f8b6f205ed3fc234e2474b77fd245ad39a86f607616878499d88b607b72f68cae02f95b2073f3dc1ac3fe8d5b DIST aiohttp-3.11.0rc2.tar.gz 7655719 BLAKE2B 3fc553c3ff927861bd280401cc6741c6bd720c4ac0827db40230270cf3bf2f30a0bfdb3d933227ffb2b22800ddc6e2d6b045277c1c8bf9fb8467b1582a3dcedb SHA512 d6f5c6ef50ce333106071dbd33d57e49be638e9d6855a9c5dc6f9b7e87063319d314f70186d7df0e09f3e7ecf4bee40da44af0dccf9124d6c6c16c5f98e9fee8 +DIST aiohttp-3.11.2.tar.gz 7658216 BLAKE2B f371bfcac2fc300119d33024b4d026fa204976259becc4fdf98bf785f7658589fe3de2cae49ef71a3b299eb12a79d24048b82364c03fa09138a5a42c6daed73c SHA512 7e4dac852e47999a1e6ae47a3a124ad97ad0cb7b4a9e0b4746c0cca4156267ed0cceed86722de78550cb4ff0f54580db44318c1bd4b486e8e94ff84d98dfa56e EBUILD aiohttp-3.10.10.ebuild 3228 BLAKE2B 9460d28a9b9d85addbb378a77575cbeadec2c40f4a172aa16955fe2676bc2cea291e7019dd9480a30afc3c8957f69d05a83f6d6151a187ea8f6e9a59e9de6acc SHA512 0fdc8696e8aae4f3e3a0d7636f135bc6268b18299886df364c7dcff536b6817cd82ed93898065770c7791428e984a657f1ab87472eeac10f639350eea34ee0ab EBUILD aiohttp-3.11.0.ebuild 3549 BLAKE2B 2169ec81c8dae03fa993e9ec327bc2ef2b9878d545c11dd49f130ca541bdacbbb2c3aba8623f2f5e820a5e281ecd4bacd490dccd6ae0fd43ec1769c994ae59d0 SHA512 d134edb55e4a8f932f4f883395da2f7217274d0a6070e8b96533da0b20cf7ea6e468ba99dbe93c084d4739fc0861bef79200e50cb9e3619aad03d52ebf8eeff1 EBUILD aiohttp-3.11.0_rc0.ebuild 3549 BLAKE2B 2169ec81c8dae03fa993e9ec327bc2ef2b9878d545c11dd49f130ca541bdacbbb2c3aba8623f2f5e820a5e281ecd4bacd490dccd6ae0fd43ec1769c994ae59d0 SHA512 d134edb55e4a8f932f4f883395da2f7217274d0a6070e8b96533da0b20cf7ea6e468ba99dbe93c084d4739fc0861bef79200e50cb9e3619aad03d52ebf8eeff1 EBUILD aiohttp-3.11.0_rc1.ebuild 3549 BLAKE2B 2169ec81c8dae03fa993e9ec327bc2ef2b9878d545c11dd49f130ca541bdacbbb2c3aba8623f2f5e820a5e281ecd4bacd490dccd6ae0fd43ec1769c994ae59d0 SHA512 d134edb55e4a8f932f4f883395da2f7217274d0a6070e8b96533da0b20cf7ea6e468ba99dbe93c084d4739fc0861bef79200e50cb9e3619aad03d52ebf8eeff1 EBUILD aiohttp-3.11.0_rc2.ebuild 3549 BLAKE2B 2169ec81c8dae03fa993e9ec327bc2ef2b9878d545c11dd49f130ca541bdacbbb2c3aba8623f2f5e820a5e281ecd4bacd490dccd6ae0fd43ec1769c994ae59d0 SHA512 d134edb55e4a8f932f4f883395da2f7217274d0a6070e8b96533da0b20cf7ea6e468ba99dbe93c084d4739fc0861bef79200e50cb9e3619aad03d52ebf8eeff1 +EBUILD aiohttp-3.11.2.ebuild 3591 BLAKE2B fc401bbaa93603bb82b5ab6a7a65e7ec03ced149782508c7fbcf323b04a81b0d73ac671101de4757f71e8460d51abb1e7c3e7a150699dc732898473037863b1e SHA512 1401094644f036f7f50346dcbe6f476a512b7ff62b37d6bed9030ee59e996d234070d5ee7083b147977f610a8eb2e8189fa8ec206c745d344bbf9cb535d8bc6d MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5 diff --git a/dev-python/aiohttp/aiohttp-3.11.2.ebuild b/dev-python/aiohttp/aiohttp-3.11.2.ebuild new file mode 100644 index 000000000000..44da35c6061c --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.11.2.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-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_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP client/server for asyncio" +HOMEPAGE=" + https://github.com/aio-libs/aiohttp/ + https://pypi.org/project/aiohttp/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions test-rust" + +RDEPEND=" + >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] + >=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}] + >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/async-timeout-6[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # increase the timeout a little + sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die + # xfail_strict fails on py3.10 + sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die + sed -i -e 's:-Werror::' Makefile || die + + distutils-r1_src_prepare +} + +python_configure() { + if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions + then + # workaround missing files + mkdir tools || die + > requirements/cython.txt || die + > tools/gen.py || die + chmod +x tools/gen.py || die + # force rehashing first + emake requirements/.hash/cython.txt.hash + > .update-pip || die + > .install-cython || die + emake cythonize + fi +} + +python_compile() { + # implicitly disabled for pypy3 + if ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + # proxy is not packaged + tests/test_proxy_functional.py + # python_on_whales is not packaged + tests/autobahn/test_autobahn.py + # benchmarks + tests/test_benchmarks_client.py + tests/test_benchmarks_client_request.py + tests/test_benchmarks_client_ws.py + tests/test_benchmarks_cookiejar.py + tests/test_benchmarks_http_websocket.py + tests/test_benchmarks_http_writer.py + tests/test_benchmarks_web_middleware.py + ) + + local EPYTEST_DESELECT=( + # Internet + tests/test_client_session.py::test_client_session_timeout_zero + # broken by irrelevant deprecation warnings + tests/test_circular_imports.py::test_no_warnings + ) + + # upstream unconditionally blocks building C extensions + # on PyPy3 but the test suite needs an explicit switch + if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin + rm -rf aiohttp || die + epytest -m "not internal and not dev_mode" \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index c1b4f1ef3289..76d8843468e3 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,10 +4,12 @@ DIST boto3-1.35.57.gh.tar.gz 885077 BLAKE2B 4f3a29db5e76c706fbfd0afb3ec05d5518e6 DIST boto3-1.35.58.gh.tar.gz 885941 BLAKE2B d561cf27dba3177789047cf8ac9cc3e5b7a669f26cae948c5d0c458464518eb16ea2525ef0b1c2118acaaeb348e7435947eca69f37d42affe3b3b8dfd199ddbc SHA512 9988693c33dab2294f302e9e9434fd9c681fc43042ba6772a36d36df9ba60f5884eeecaa60a17e6087a07d35c9691ecb16ee3920c3859335817e49b5f97247ee DIST boto3-1.35.59.gh.tar.gz 886122 BLAKE2B 2eb1378f810bada55c5c6c1a6c70c16c073ddc68d30850ff50b5f604dd15b386bcd0985b81b39fc79801f552eab7f289aaf4ca5377b958b2d28ad0b193e7886d SHA512 ab771736bd88419d50bb11db36f7c308da4816222379d45dfa97557a3c3c43ffb9a9521bc92cf0a4dd2631d01c94f6f9c728517c02a9787e49d98dd860f7e128 DIST boto3-1.35.60.gh.tar.gz 888293 BLAKE2B a6fac2065a5dfa70f99112f1ff0c98fcc429800a0a88fa011a78f7f8fbb609d27d879ce1a374d977c1bf5407cf2f7052c7560ce6531b4bdbf691ffd18c06d897 SHA512 bdec30b276c001f59d73180b536848466f585bbece2938632ebdbc9087bed59e6cedf4936192fe7a0c97cdbe132072a20d7cc92fc6a538fa4a1fc12baae16403 +DIST boto3-1.35.62.gh.tar.gz 890328 BLAKE2B b0106a87e0cd1c25f9c5fccbc162343663f7251c3750c82207d78f4bf5ac597af0cd2b6636f638161a597f23e527c2f9c874398c1cecc9d0db8fed72bc03b72c SHA512 e7e261e194e911d5ff7ab6d1dc3e517d66ab83a8671e0fb462f1ec8c191e28fe685146374a4549c3d7fc9426018c3518e7fd8dfaf91631003d405e569813d714 EBUILD boto3-1.35.49.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.54.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.57.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.58.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.59.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.60.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.62.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.62.ebuild b/dev-python/boto3/boto3-1.35.62.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.62.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_{10..13} ) + +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 503a909e05d5..ac595117ee14 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,10 +4,12 @@ DIST botocore-1.35.57.gh.tar.gz 13603794 BLAKE2B 23a4dc82e1d9667e75494c2fb651b88 DIST botocore-1.35.58.gh.tar.gz 13608279 BLAKE2B 6f67c155f7b87c827b07f3bceb29836f59cf38479911cff8c92970e25b82baf920d673c8766e61c5db05e5dcbf1f46acc3aff2ebe32498d4ec733ea0a02a1718 SHA512 5db5c1832936a95ee11b80e872ece61f034ad61eb5c0d307deea047bca8785e9ca211d2f38349b234d7c5aa13ba363f4908520fa211be16924d3552d1bed27a7 DIST botocore-1.35.59.gh.tar.gz 13619172 BLAKE2B 593bae8b31935cabd5ca44e48bc85d1638d03a34d58ac209f9f0aa51ddc55c72f88b383fe422a10e0045a84e287da0c417ee388acdc72ebf982665532657aee0 SHA512 ced4d9c149924f09c6cb3fb62f348225f7df4a07be383b5f523d7284fefd2de0e60f4c302a71eaf81d56051a31e78d962e75eda28afb6624db0b0bac7fef9140 DIST botocore-1.35.60.gh.tar.gz 13625896 BLAKE2B 3e1337713f2a96430eaac399db7d6ad468e991ac1c777fff6761dfc377104833ddbe711b8384e08086862a60e5e558c2aae48bb87bd399b2dbd00cb032b696fc SHA512 4e05899948f5ece08f51c4eda2e124f743ee5e5fa82e849585bb8065850e08e190d3b04b720af4ca651165e9b209d2dfab597ca7118cc2a18ce4badf72688dc9 +DIST botocore-1.35.62.gh.tar.gz 13676480 BLAKE2B 66cb770fc797c4bc7c10b03834ea0caf98eef4fd20ce4651a924747687afac174324f9dfc3a9dc41fbe9323ae19a909d8eeb7698a4561171e44063a65bc24f25 SHA512 c691d14280e05b8d6083e7c399925e882558ed3f65161ae9f60a556839c8a103352b497a983dc8af7a8088bcdd0269d500118129f75fdf0b55773c741cc298be EBUILD botocore-1.35.49.ebuild 1477 BLAKE2B 8ba848e2c436928ab5bab36e735b148504d8b82228fad1eebe027605a34abed713b9dd7a671541d3fd51699bdef252fe3aa414c809afc461601dd1e42b22296c SHA512 221d3251da242b9eb5c5138fde3e3e5972f2a44d53ea78665302679928a3ba4a21c304973724fcdf7fd0f373f2ec61fb4e1994a4927bbe8ee8ecdffdea32a209 EBUILD botocore-1.35.54.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.57.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.58.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.59.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.60.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 +EBUILD botocore-1.35.62.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.62.ebuild b/dev-python/botocore/botocore-1.35.62.ebuild new file mode 100644 index 000000000000..0f88c5cbe9f3 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.62.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_{10..13} ) + +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/cmd2/Manifest b/dev-python/cmd2/Manifest index 92ea2eb8b0e1..83dee0b516ed 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -1,11 +1,7 @@ DIST cmd2-2.4.3.tar.gz 678661 BLAKE2B 806fbd6abc26737032dd6330ebabc1e5308e9082f9c98002845a54f1458d314feb476e4d491892e74cde16f5043c57495426ad50aaf3e7e8d0d938f0388db6e2 SHA512 1d440752262f38a742069e636373884edcc49c17ba17b21b24015cfe559b4df36b45ac9489f2f643897fbd38f54b8e6120daf07ef25d2f209af8a4ac8e4c0085 -DIST cmd2-2.5.2.tar.gz 984695 BLAKE2B b85b1f0732897491c9f391a56018c5258a8916299003c565e4f2f42866ce1ff48d86e03b54aa0bf7a582e8e51cf41b079d0fabe418b4e9a855a8e850e7bc02cb SHA512 565c64030f4ea15e29a8350ed625b56a3e18c442930a8c4216c334431ab220895e0dd21ff079c5a888c693f43fec4b69da4dcf14c84ec3a089cfc27ff4c298f8 -DIST cmd2-2.5.3.tar.gz 689714 BLAKE2B 20dd6aff4b2c520d5f82e6273a853571d03d8c5b1d464c0225270757e6e8f4a36ced09c2311bbdc132603d92ff80bb7047502aef445974fb9908b7088f92a8b4 SHA512 eb5da50a543f485a15a768cca72cfaa32608e20d8afc07712baa7c2105eefd8496a9ad2a123097dd7dac236de6e2cf725539a36dd7902bd909668e41f304b646 -DIST cmd2-2.5.4.tar.gz 690076 BLAKE2B 4148b8a6a8df56e75f4c8c204c7524a9eb47f91950b72fae25f751bde6f6575e3a4d6d389897b9b1eb7186bd3e42de6636b50babb5ae77ee038e950c1d9568e2 SHA512 c63530ac39655b0ecfe3b690115bdde75b661650a2ef6d8766f5dbee653565d02aab64d620b46109400bf8bf0df29a91c36ac7f4a7df7ab2d84ee688b00054fd DIST cmd2-2.5.5.tar.gz 689948 BLAKE2B 60ffb516b4b410541281a34647b904a41e2fbbff96dfd6d896fd11a66385469606c3f7c27cbd7aa22c0b84af3c9db8e5facd2fe394608ab4294b2c95965837bc SHA512 b83e76ddb101b1f30239ad60bd00c75f9fbe67ff70b5758f7e9c9d4519f7916667b0eb87c75dda9c06295de74b6827e5dd218f5fb124893c32b43dca3fb1ef42 +DIST cmd2-2.5.6.tar.gz 690006 BLAKE2B 600e12c97914ed473111e9d7739c20a7a1c9dfb2f26c503ee988bf1010450c1f97fe16c2c95efd7cdd196ee4e4539043c54c510be0c3da6560ed4d4822131230 SHA512 f5c9b416b112b70d0aca08961a8ccdac2912b32e0f67e7c925010ac91a0a55a403bce055b2ec770aff560e3f7f706b15f30915fd983494957f1d9ae58980572e EBUILD cmd2-2.4.3.ebuild 1449 BLAKE2B 048c82f691185fc1ec554da222c550b26e721a394a1d6ed415c7bc50d9d15d89af538efddb6a06436107ada2507c5837dfc57657947a4a730d77f910a0963341 SHA512 00381938df082bfa0aa824ac2eec95bebc45856d9419b0893292ef3cdb06ba1e22404aa4ca1fd6245bf995a2c2c4b56e7f248d9faa6daee3639bf4d606e9345e -EBUILD cmd2-2.5.2.ebuild 1332 BLAKE2B b0d912a7d7d35e4148d4932635c8348fcd9b10ccb46a9758754c68d764aacf17789bf34ebfb3e30416cbdf870d512e64a0cb2a519188dca5c366b92611bf0fd3 SHA512 1a3c84a81e73d8bee162bb5f88b03034d9c3be4d1bf767bcada796dee1a94c501cd2ac189ee4dfc8f516eb35ae85fce4f7a32737184d87996690f28f5ea9850b -EBUILD cmd2-2.5.3.ebuild 1332 BLAKE2B b0d912a7d7d35e4148d4932635c8348fcd9b10ccb46a9758754c68d764aacf17789bf34ebfb3e30416cbdf870d512e64a0cb2a519188dca5c366b92611bf0fd3 SHA512 1a3c84a81e73d8bee162bb5f88b03034d9c3be4d1bf767bcada796dee1a94c501cd2ac189ee4dfc8f516eb35ae85fce4f7a32737184d87996690f28f5ea9850b -EBUILD cmd2-2.5.4.ebuild 1332 BLAKE2B b0d912a7d7d35e4148d4932635c8348fcd9b10ccb46a9758754c68d764aacf17789bf34ebfb3e30416cbdf870d512e64a0cb2a519188dca5c366b92611bf0fd3 SHA512 1a3c84a81e73d8bee162bb5f88b03034d9c3be4d1bf767bcada796dee1a94c501cd2ac189ee4dfc8f516eb35ae85fce4f7a32737184d87996690f28f5ea9850b EBUILD cmd2-2.5.5.ebuild 1332 BLAKE2B b0d912a7d7d35e4148d4932635c8348fcd9b10ccb46a9758754c68d764aacf17789bf34ebfb3e30416cbdf870d512e64a0cb2a519188dca5c366b92611bf0fd3 SHA512 1a3c84a81e73d8bee162bb5f88b03034d9c3be4d1bf767bcada796dee1a94c501cd2ac189ee4dfc8f516eb35ae85fce4f7a32737184d87996690f28f5ea9850b +EBUILD cmd2-2.5.6.ebuild 1332 BLAKE2B b0d912a7d7d35e4148d4932635c8348fcd9b10ccb46a9758754c68d764aacf17789bf34ebfb3e30416cbdf870d512e64a0cb2a519188dca5c366b92611bf0fd3 SHA512 1a3c84a81e73d8bee162bb5f88b03034d9c3be4d1bf767bcada796dee1a94c501cd2ac189ee4dfc8f516eb35ae85fce4f7a32737184d87996690f28f5ea9850b MISC metadata.xml 522 BLAKE2B 39d319b6a64a7b54568a3fbd3d7db9adf7719b690a8f086018ce41f0595db157b1f7825ce28afb4fb0d748ca0d6dc21d79e480361b69b4bf29c0efc2d2540bba SHA512 57315c23dd64534085502e59f0b8ca01ef8088d5a2b16ed807631a1f36a523768960754b00619e802333552c405e2984e314d91003f7a624da6f1eb8e8e4b98a diff --git a/dev-python/cmd2/cmd2-2.5.3.ebuild b/dev-python/cmd2/cmd2-2.5.3.ebuild deleted file mode 100644 index 820c48bb0ffa..000000000000 --- a/dev-python/cmd2/cmd2-2.5.3.ebuild +++ /dev/null @@ -1,53 +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_{10..13} ) - -inherit distutils-r1 virtualx pypi - -DESCRIPTION="Extra features for standard library's cmd module" -HOMEPAGE=" - https://github.com/python-cmd2/cmd2/ - https://pypi.org/project/cmd2/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/pyperclip[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] -" -# pyperclip uses clipboard backends in the following preference order: -# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4. -# klipper is known to be broken in Xvfb, and therefore causes test -# failures. to avoid them, we must ensure that one of the backends -# preferred to it is available (i.e. xclip or xsel). -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - || ( - x11-misc/xclip - x11-misc/xsel - ) - ) -" - -distutils_enable_tests pytest - -src_test() { - # tests rely on very specific text wrapping... - local -x COLUMNS=80 - virtx distutils-r1_src_test -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # TODO: tests_isolated? - epytest -o addopts= -p pytest_mock tests || die -} diff --git a/dev-python/cmd2/cmd2-2.5.4.ebuild b/dev-python/cmd2/cmd2-2.5.4.ebuild deleted file mode 100644 index 820c48bb0ffa..000000000000 --- a/dev-python/cmd2/cmd2-2.5.4.ebuild +++ /dev/null @@ -1,53 +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_{10..13} ) - -inherit distutils-r1 virtualx pypi - -DESCRIPTION="Extra features for standard library's cmd module" -HOMEPAGE=" - https://github.com/python-cmd2/cmd2/ - https://pypi.org/project/cmd2/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/pyperclip[${PYTHON_USEDEP}] - dev-python/wcwidth[${PYTHON_USEDEP}] -" -# pyperclip uses clipboard backends in the following preference order: -# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4. -# klipper is known to be broken in Xvfb, and therefore causes test -# failures. to avoid them, we must ensure that one of the backends -# preferred to it is available (i.e. xclip or xsel). -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - || ( - x11-misc/xclip - x11-misc/xsel - ) - ) -" - -distutils_enable_tests pytest - -src_test() { - # tests rely on very specific text wrapping... - local -x COLUMNS=80 - virtx distutils-r1_src_test -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # TODO: tests_isolated? - epytest -o addopts= -p pytest_mock tests || die -} diff --git a/dev-python/cmd2/cmd2-2.5.2.ebuild b/dev-python/cmd2/cmd2-2.5.6.ebuild index 820c48bb0ffa..820c48bb0ffa 100644 --- a/dev-python/cmd2/cmd2-2.5.2.ebuild +++ b/dev-python/cmd2/cmd2-2.5.6.ebuild diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 3c88c517b4d2..0bcb690e7b3f 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,7 +1,9 @@ DIST coverage-7.6.2.tar.gz 797872 BLAKE2B dee18c9199169b74693377d937e720f26ec5c08e8036e1034d7a307e8b858c21abfa586dfaf651bb824ed9db2d97201048407920880e687151b53b46eb70eae8 SHA512 6f8a32b0ec034a24298b9c7ccebee5d9b1ef3659870ef27226cf5b8f687cb675ee2a6c94e12e8082e850af4357f44e690c717ea35360e0428bd2aaeb93866e36 DIST coverage-7.6.3.tar.gz 798337 BLAKE2B 62190d9adff5bc752b16c799939dc6b710b5bed6e0ce3c2c14e6a074ab119482c23e33236bd1a758545eb1eccbb02b7eeb8072612ae52aaba8a7190f65b20e51 SHA512 e078989028ed8a6ec9e532314be63fb1cbe5589df56e737a96947fa09447da4adee502bb6aa26fb4455ade29ac722172b3314502709732b831484a7de6d1d489 DIST coverage-7.6.4.tar.gz 798716 BLAKE2B 2b89e05fa71b18d94e19e9ee7acf3cea4125aa0baf32425e1bcdd695fbad4ac46f89d761cdd1593df1cc59d622dc6b63c010cb85d1b7c0d1396da4b0ac0c29c8 SHA512 ebd0f08584fbe6741f1b578bff22b3bc916b4ea352fd906a090c7a497ab7b885417e83344f108e95a22e93db306822e670578cc290af48e7a24f5a04956bceec +DIST coverage-7.6.5.tar.gz 799549 BLAKE2B f571b32e3b7e6168e0e132bfec82a44e2897c6a7e381d3df77ad41bfb0afafea4ae32969841329b2b37a3db2bfdcd0ce9ba208fb350396db762168e1e968196b SHA512 8d7cb585d100080db239c05c2a1d09de9c9da0b2372616d9b6e7f52becc1273df347abd7568fce20dc18357badc6ba12e30255bc39876768b3bf32365f1900ad EBUILD coverage-7.6.2.ebuild 2670 BLAKE2B a4af413c7af27de2134da8f07ab089961e1f3926d1f99d1bfbf52f343dd089c782554e9499ede1bd00f9b34c718794a75f474bc76327c79827cd0b01cafd90ac SHA512 d3b3e9e02a29cada83553a9cbd269b786d6e7ff76481c704962d9c3129f7fad59720171492d1278431813d25cc837e3c06c62b82335f0c277d1abc688215cedf EBUILD coverage-7.6.3.ebuild 2671 BLAKE2B d2f45b0370a99652fbb7992544753233769578ca50b62e9c9f62f6f17953ed1d5b5b58a641e10ae5217b199b3ccd405f52cd9703e15d200bc7f0608efdf87875 SHA512 64dea655b87841015dac5ee3383c8ad30c5f3d3a5f723595802ee17912ce38c6cf14d24fb1de04a6abdd43574dcfd8157c2ebf1d0feef1d6be4f5c3d8e8e8070 EBUILD coverage-7.6.4.ebuild 2671 BLAKE2B d2f45b0370a99652fbb7992544753233769578ca50b62e9c9f62f6f17953ed1d5b5b58a641e10ae5217b199b3ccd405f52cd9703e15d200bc7f0608efdf87875 SHA512 64dea655b87841015dac5ee3383c8ad30c5f3d3a5f723595802ee17912ce38c6cf14d24fb1de04a6abdd43574dcfd8157c2ebf1d0feef1d6be4f5c3d8e8e8070 +EBUILD coverage-7.6.5.ebuild 2678 BLAKE2B a192b24f1c622a54a8c659dfc4cfc12d3fb5bc92482b54cda090515778048b35b03f9b4ef4307dbc5543fa9d1b8b8259c409ea34a928d565eeda3139a74b6caf SHA512 d9276a455e1a1e4301d4a896f0a031d0c667a00006399d2bfb883dc79fb5a4cc20e45c27f2e93440d4d35da083ecb6b2a2f6954266d42d741ae45f51d0a3f83f MISC metadata.xml 771 BLAKE2B 38e9680d0851f70050aad987714a9dd2f95178b0bc3d794dc08726c0618d1ea98be32a413ac397f4b222e8a5d8fdc747b7f1677bcfe842bac4080537e85a03a9 SHA512 8c44c40348fe5d416d8b4016fe22cc9ae0b94fbaf181deb79aa737f87271992521b710c1208d0eeb7ef92d96fc8a7daac1ec6feb1ae081a80f13327b5b094064 diff --git a/dev-python/coverage/coverage-7.6.5.ebuild b/dev-python/coverage/coverage-7.6.5.ebuild new file mode 100644 index 000000000000..806fc7ea8616 --- /dev/null +++ b/dev-python/coverage/coverage-7.6.5.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-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_{10..13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/nedbat/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die + distutils-r1_src_prepare +} + +test_tracer() { + local -x COVERAGE_CORE=${1} + einfo " Testing with the ${COVERAGE_CORE} core ..." + epytest -p flaky -p hypothesis -p xdist tests +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO: fails because of additional "Terminated" print on SIGTERM + tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data + # broken because of pytest plugins explicity loaded + tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} + # these expect specific availability of C extension matching + # COVERAGE_CORE (which breaks testing pytracer on CPython) + tests/test_cmdline.py::CmdLineStdoutTest::test_version + tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer + # mismatch of expected concurrency in error message + # TODO: report upstream? + tests/test_concurrency.py::ConcurrencyTest::test_greenlet + tests/test_concurrency.py::ConcurrencyTest::test_greenlet_simple_code + ) + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" coverage/ || die + test_tracer ctrace + fi + + test_tracer pytrace + + case ${EPYTHON} in + python3.1[01]|pypy3) + ;; + *) + # available since Python 3.12 + test_tracer sysmon + ;; + esac + + if [[ -n ${c_ext} ]]; then + rm coverage/*.so || die + fi +} diff --git a/dev-python/environs/Manifest b/dev-python/environs/Manifest index 40e36720aa97..8e41bfe9c107 100644 --- a/dev-python/environs/Manifest +++ b/dev-python/environs/Manifest @@ -1,5 +1,5 @@ -DIST environs-11.0.0.gh.tar.gz 23916 BLAKE2B e9c186cd6e6da0ddeddb7d8f6c5a01d2039468d452af20d6a1637dbe01f8c09be7c890737f862e2dc9baf824b9d8878abca04a5ae237b58138e3026ac68e7d2c SHA512 540412bfb05dd798b57724390f3ae7dcba536550f909fbe2bb3f48fea77fed6cb9473fe526c3482ab7da48bec6ca886c85f07cf62c0fd23fa38087ea53b0e330 DIST environs-11.1.0.gh.tar.gz 24227 BLAKE2B 5a4ebec604dedccf6757fa69f0ae9a5d426c23e8f0bcdbbe51f2ca190e2cfe4cebaa473656dedee4486bf7f61eef102b60a1553426ece78129aec65baded0ad0 SHA512 a7564a251228d3fa131af96a2cad312d8e3c3ba95fa56c4b0abf74a6040c70b77e147120f9646f6f3fd6339760561b63e920494fe26b4fcb1f2caac32f7d7703 -EBUILD environs-11.0.0.ebuild 846 BLAKE2B b45e14c6b4165893eb20884587a81ecd4d9fd3fcf0333cfdaf7dcbd1371c0c7c576b2f1de64d81b3e1e5c00733d2c9ae56e9abee3501bb26df04813345a75763 SHA512 66cc6946c287dcaddfc5b71c63e475e62bb1701d750a83b97debe69a26ec655bbf9ae943d08972ee530e8b0fd1cfdcfad81affc596dca9b4db57dffe2ec11f90 +DIST environs-11.2.0.gh.tar.gz 25195 BLAKE2B eba1cf8731db715c04345bc33100ef5bb2693a81e2815195164d56ada02eff8d65f3a2328e7d87b17c858df4cb8a7418120dceb49cf1e44c42dd25d249661469 SHA512 50d1e68fec2cd47a6805cb87ce8a1f7692cc3797ca30177189d3268bc91716671735dca8c085fcb5ed733e38e88b69354a6fc5b6a4ceb480e03ecf7d9a40391e EBUILD environs-11.1.0.ebuild 846 BLAKE2B b45e14c6b4165893eb20884587a81ecd4d9fd3fcf0333cfdaf7dcbd1371c0c7c576b2f1de64d81b3e1e5c00733d2c9ae56e9abee3501bb26df04813345a75763 SHA512 66cc6946c287dcaddfc5b71c63e475e62bb1701d750a83b97debe69a26ec655bbf9ae943d08972ee530e8b0fd1cfdcfad81affc596dca9b4db57dffe2ec11f90 +EBUILD environs-11.2.0.ebuild 846 BLAKE2B b45e14c6b4165893eb20884587a81ecd4d9fd3fcf0333cfdaf7dcbd1371c0c7c576b2f1de64d81b3e1e5c00733d2c9ae56e9abee3501bb26df04813345a75763 SHA512 66cc6946c287dcaddfc5b71c63e475e62bb1701d750a83b97debe69a26ec655bbf9ae943d08972ee530e8b0fd1cfdcfad81affc596dca9b4db57dffe2ec11f90 MISC metadata.xml 496 BLAKE2B a44f919cfe291f826a91438c9170dff83d39a184a192cd6208cc91eb50596a739d94335345f7289b8afd667a24b491fea5c9387721dd160031deb6ad5cf1aa6e SHA512 a3744511fce7b1a29b682ea7d384eef72bf08ef599ae88f01c9b4485abb1abe89f5731c40cadbe724cf8ac63726199128bb51e88c5c770196ed6a4326233f520 diff --git a/dev-python/environs/environs-11.0.0.ebuild b/dev-python/environs/environs-11.2.0.ebuild index 28662b82e90f..28662b82e90f 100644 --- a/dev-python/environs/environs-11.0.0.ebuild +++ b/dev-python/environs/environs-11.2.0.ebuild diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 2e814256da28..89eec91d1213 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -2,8 +2,10 @@ DIST fonttools-4.53.0.gh.tar.gz 3847778 BLAKE2B 31cf6e495441aeee90f96d6f96b9eedb DIST fonttools-4.53.1.gh.tar.gz 3850978 BLAKE2B 9c6b5af2cbde939b82043e29ffbbb23434c7b4bb7d7ce68385de701cdf97792bfb58b39acf5e0843493d4b4c3b70f76df6194c9a2ba4f4dfa7ec46155b9f8ce0 SHA512 c51a439c4c760bc929359ff3010612d00280ff1bfa8e6dd5248f181b3244239b82089727b4b6c81594fec57407f4c20f95497e0e26fe0e75fde30f8680022d07 DIST fonttools-4.54.0.gh.tar.gz 3858868 BLAKE2B edd02f52d094223e4217a85cab10c7c384977cf7a57abaab401b73c8a0fc638b4e23fa44f7f3a728824bc67888ebb7136a3bdce08efe99434d0b07347fc188b6 SHA512 0840c8fbcabd5555c2226bb89cba306e5b792c4ed92063f7c32c26616d9e4b061ae782177a1181a9e891a686ca6265796e50ed7c0acf8c82051697a8618f7623 DIST fonttools-4.54.1.gh.tar.gz 3863311 BLAKE2B 879edb1d5639b2d5a40d10531209504bf30912804a482be16071673727f693042e3158c65b02dc290bfad91767d3f4df10c62539b400f1d48253acf5bf2b86be SHA512 07e5d2401979fa7b1f926a3e3dfb05c2d712e9056e5bd49f879ed818d1f0ec1eb2435b295e30cd95a4e57288e2ce1c113c96a98093b4b57843bb6e3c9d07a7ad +DIST fonttools-4.55.0.gh.tar.gz 3886815 BLAKE2B ace8c3c1c866f4c181f685a44aeb69b8927bd7ddd452cb8268dc7c06183b372ddd88b64f7eba7ab3e4fa15ae359ffcf1d8144de4afbb1b4751173d75259eef3b SHA512 5f8a65687b5d66604eff5c518aaa51e5b2307e624e5397e5dc15b9489eeb6f300376ab6c70288f9bb7056532951f16085c5580f03b44de2a1d53f2860b573191 EBUILD fonttools-4.53.0.ebuild 2479 BLAKE2B 9cbce6c2b99c4262ed0d2b1ba4276f5dd8c50dd75488a3bab3c9bd289dd4af9ccd5a74d257087dda0980cce01c16844c7dccf9ddf9845d5ba77417f1a991abc0 SHA512 7f9bd6c171d50b586b40dfc1c78411ebeeeff362cddb2375357ec86d6f2709676a118ca774cd89210067fb5dfe5aab9e14a44415afc4b093b7f68ac7f6d9bce0 EBUILD fonttools-4.53.1.ebuild 2480 BLAKE2B 4b717209b380796d2c21d0bef0f246419bd51565de86cbeef0f78eee1834aff35181e6cf21baee526e3dbee547d2abe5bdd54643cdaa710956ed65ecf699e8b0 SHA512 55ff7f044d322d1ef0ee86725f9f380622a85172d0a666b0ab1568520082089b251ff95e25e7bbdffd7f37e2f5c7c70429e3e515215d697e4c1ba7372f80a164 EBUILD fonttools-4.54.0.ebuild 2487 BLAKE2B 605d0a950444383dcdf3a1e98cc83298780f861f2b86d8547b00584e917f216f8f996d26f1245a5a632df553b41e5e743605ecc3eeb57af0b4560aca90f1f94d SHA512 7850c1e063395fe234a03d714fff1e130b4ba57019d6c04776414e375146768eff3023b870fee7a30f53efb8abe47442cfe5a8b46db4c33e95c4bf19a69e29ed EBUILD fonttools-4.54.1.ebuild 2481 BLAKE2B 09058d91b27e04e6f0e85d7af5728bfc0c77d98f6f456c41b8d7b642c9ec6dd87f7fbd208686f9067ab8bded9930a6be0e1296c431957b4a8779043776ccd41f SHA512 b67384f19b954b91d814c69a711aef895c6ae12554689a7dacabf1a6671bb653406439bccad04a0b85a4159323d120d49e3856c8fa0868e7f2e4e2008483bc59 +EBUILD fonttools-4.55.0.ebuild 2487 BLAKE2B 605d0a950444383dcdf3a1e98cc83298780f861f2b86d8547b00584e917f216f8f996d26f1245a5a632df553b41e5e743605ecc3eeb57af0b4560aca90f1f94d SHA512 7850c1e063395fe234a03d714fff1e130b4ba57019d6c04776414e375146768eff3023b870fee7a30f53efb8abe47442cfe5a8b46db4c33e95c4bf19a69e29ed MISC metadata.xml 372 BLAKE2B 950ec78bf127250847c6513c22a5108b251afdb000d361068edf9d00d64a5baf6925ba4058bb889724febb28d92abc044c29af5936a48d8e8951b12314b64357 SHA512 03e76e28959bab83fe41c3ee4b55692ced9b1360e73e38a6e8f6e5c06fd1185dcbe0214aea2edff18d248abf252c1877d0d2c2b78b8e088e606c09c34e93e7ac diff --git a/dev-python/fonttools/fonttools-4.55.0.ebuild b/dev-python/fonttools/fonttools-4.55.0.ebuild new file mode 100644 index 000000000000..80efba1ec9e3 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.55.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-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=( pypy3 python3_{10..13} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # flaky test + Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables + ) + + if [[ ${EPYTHON} == pypy3 ]] && + has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" && + { + has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || + has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" + } + then + EPYTEST_DESELECT+=( + # affected by a bug in PyPy/pyxattr + # https://github.com/iustin/pyxattr/issues/41 + Tests/t1Lib/t1Lib_test.py::ReadWriteTest::test_read_with_path + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest \ + -p rerunfailures --reruns=5 \ + Tests fontTools || die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/gherkin-official/Manifest b/dev-python/gherkin-official/Manifest index c29c280ba378..cf81158a8c62 100644 --- a/dev-python/gherkin-official/Manifest +++ b/dev-python/gherkin-official/Manifest @@ -1,3 +1,3 @@ -DIST gherkin-30.0.3.gh.tar.gz 3858361 BLAKE2B 9955a2d48dfdbfda942c60d18108fa9abc7bc7e748f5296afb802fb05b5a3b4904b74d3cff364a0fad0b9b3d378799764c2620ccb0a84af689bc8d95c7d4fbc8 SHA512 c9d722982fe926eec57cc185043983cd2380bf6ce58e5743b53cb2b98127d3b3f8b6689c39c51c2d3697e5f40bc6f98beb4c239d601b1d7685e09f5dcaa07e00 -EBUILD gherkin-official-30.0.3.ebuild 758 BLAKE2B cdf24682fc4655771145d3c3cbb1f0c8c5675e1250e82b0c766b20c7df43541b2df48b6ba680294d076c80094c474b51980d497138ca230f2f2c4cbd90fb63ea SHA512 f4d86ede04e702fdaa78eb76871ff94ada89f4c7010f49d19ed228de7c4e192a6efa6dcaccd6d62e7fa5e88781818669d7da0f42b17a2c32945ed2193def825b +DIST gherkin-30.0.4.gh.tar.gz 3858403 BLAKE2B bdf5cf80f1e06c9e8464d3fbc5a56a594b75f3d8ae6ff13dafcd583aa6571e1a6ba4aa4dd344f7c532174b09829bdaf9aae1e1e02339521e2836dbf9b3014108 SHA512 52cd5bab779e46d5d2c451558b545fb8ac408d1d5d11558e1dace94d77472ca271589eb183c412093fcbdef2574a495fdd11c98ce97d8146077a54b3369a9a6e +EBUILD gherkin-official-30.0.4.ebuild 729 BLAKE2B a2d4300e90751b688074521825c976dcccf683d933da8d0651bfbfefea48e843616be311c54e633dad2e1e5faa2af66a210f2bd2e01ed18f438e15ea4cfa4146 SHA512 2b24ca1855a4d395d9a2bb2968af02e05dbb73e8fcbc8089e3f17dd8d26ab831b92f5b88c74b0f92855a3affebbe9d1bfd5bfc220e49f29a9bfaa97234c34aad MISC metadata.xml 405 BLAKE2B caf402cb5e5431bfb88d8250e3ba9422505d35118775b5890168e09c5c68c8028179c5f33e87273d674ff7045a693287ed2bebcf80a3630c1b0cd76af1d5739c SHA512 cc7afa9928d998af2d4b6226fbd196d18496ff349a578466a143d2a9917171399e40ff5791daab2d74276fb7ed0d5362c0d5a806b3a31df547b280c0f2d11cb8 diff --git a/dev-python/gherkin-official/gherkin-official-30.0.3.ebuild b/dev-python/gherkin-official/gherkin-official-30.0.4.ebuild index 4a0f1cca107a..6b0586eb35a8 100644 --- a/dev-python/gherkin-official/gherkin-official-30.0.3.ebuild +++ b/dev-python/gherkin-official/gherkin-official-30.0.4.ebuild @@ -3,6 +3,9 @@ EAPI=8 +# note: only bump when there is a release on pypi, GH tags (which include +# tests) are for the whole package and may have no changes to python/ + DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -17,18 +20,10 @@ S=${WORKDIR}/gherkin-${PV}/python LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/typing-extensions[${PYTHON_USEDEP}] " distutils_enable_tests pytest - -python_install() { - distutils-r1_python_install - - # dev-python/pytest-bdd tests currently fail without this - python_moduleinto gherkin - python_domodule ../gherkin-languages.json -} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 24facbfee478..1cfec43efc93 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,16 +2,12 @@ DIST hypothesis-6.114.1.gh.tar.gz 9477292 BLAKE2B 3dadb706f7d283febdc30c9e897fa5 DIST hypothesis-6.115.5.gh.tar.gz 9479622 BLAKE2B 44e21c25fbfb0da48102010a23522a636dd7dba0cbae3e1589710e816cb1f83abd33611750a76fd68c965dff5e0d1c234a5fb87da7cbf6ae0ebb4d3a8152ae9f SHA512 e6528eb48710b61f6ef18cc1415f9977c0a4c10d86f4d92da51859f17dc1b24e16ea7cbce5be2438794edb1002b426fc9911e02bb1ce456d7f812262bcc3bd2f DIST hypothesis-6.115.6.gh.tar.gz 9479927 BLAKE2B ddfeaebaa4e3687be1cab03fa8517353fcfc392dfe7a38100087534c6e71339e381a425c0e2b0d277d3d6344b69b9498e0b722efb18bbcbb90c3401e997afa96 SHA512 fb5df7b7bb45958e492d69d9375b3847de1ed39467bc119be69a237456e1cb1a2633cafbcd58c90113f0aa35880d5d30395ac9d43ccbc6c7368af46065094eb9 DIST hypothesis-6.116.0.gh.tar.gz 9480480 BLAKE2B 350abfd8bad65a33669345a71c3df9737e4defcfc12cd81a1d9ecb5603310372e039d1a148c2223a71f37f0ad485ca892ba322f9404e6d873016193b7f864f88 SHA512 5ae6848f16c21b9012d15eb71715df1fc9448b70264d18453d13e61fd71b84623150ce32c9b50ea4ce95494b0df21907368d0f6fabaa8cb8b26c71e474885703 -DIST hypothesis-6.118.0.gh.tar.gz 9481630 BLAKE2B 691be7d387d61ce7e65b998cebfc11977bc3727537424e8594c6514d6ea9fae532fb203e65a4f014e74db0656946cb2920868c4d211801a1472046640a3bcdaf SHA512 740ebebc297043aed197bd848489661fa7252a1b63933b1abb17085550cc300b0bbc9217261bb2de28c9c1ae0dfda836cd4e325806f52560a1b5935ec6ec7356 -DIST hypothesis-6.118.3.gh.tar.gz 9484146 BLAKE2B 2cac4089ba76431588640777a6fea2b2681ca3530ac9d48775174799715b82f5d9f31540c1c4677abae13bf9c84502bbe086e0a76f5c5a650792e6b17c2e4b81 SHA512 9b12c1ba83f4b0ce4e3b1ae6c3c6616d502f44d458a421e7938b1c8a58c20dd1bdfb0b7ed8f1690c795cd0723874becbd06ef8771ef8d8bd36950e1f0d1cabef -DIST hypothesis-6.118.7.gh.tar.gz 9486197 BLAKE2B 1247665e4cc6c10ff6f628f4ef312ce90e1f791ea853a2c22fffec5f57af182e423e97b392535b569fc19889a1e7176905ba6b933e8ca69ae693c8845dd9c89f SHA512 b33a1cdcc56301fde6bd7176caed2c34b43a2a7a5e21590b0fac2cf734332ed9e626f9114f7b6f6c06b67926b5a59649a7de6008a256b7a7655d8acb8b482f0f DIST hypothesis-6.118.8.gh.tar.gz 9486191 BLAKE2B daadb191cf8a0a4a972604c9320e7c10b4a342e7a6f240e6fff1a5a5d52fef5d004134381ef475f7e1b7143b38fac15c59538a6a8cac48433bd62c760db2cd67 SHA512 b5d240f81596d742002ebe073d086f149af17dafabbc9c070f6e109aca05f506c4291a10a36f6a799fd8fe20285bab8f6776685f29a6e505225ffcc581d44d64 +DIST hypothesis-6.118.9.gh.tar.gz 9487943 BLAKE2B 3c8d17d2763877107c7342d9a9825cb733de91ce6c99c88ed7536ac0e82d728f54d762c9b26cb02d742c470afc05c2798fb20e1f3c6f52d3b9d0e2c9cea9e99a SHA512 ba4f32892088a3a4d1a3d9ca2d28b9828cd7e2f4c4878733943f34f431014d4ba4dfe07729878b4c87cc295b6d6f219094c1f774ac115acd3b375ecc3c58d580 EBUILD hypothesis-6.114.1.ebuild 2579 BLAKE2B 9d6bf7e5080cf4e503d590b3f152648bcadc5ae6926aa64b112bcb60656b0c48b70be622a17a01b451ffe8d78853e3dbdc2e12ec12fd52abfbe4e46fc361828f SHA512 6377325432166d2539b3d71e24c802d1aad13b2617d8c2f2281c8ba4a6ee101f1d1f4ed890c7cd893f96a078f67880aecfa72cc56490dfe7a429f7f92932079c EBUILD hypothesis-6.115.5.ebuild 2587 BLAKE2B 9e95a6c5f458945e0d98a7b0f1e35d3803a52d019e0407a159ee81dd1d8574ee907d50def5e01bc056ea28df67092a592d364a44cd420ec01f3f38c0bf323ca1 SHA512 c35c3064f41bc48c0993c8f3e8c5bdf38d92e768b60b6e44ccd733709daf115a98d645a608db10783a3a05a9599ca8bf062173e5907c322caf1411dce6d24812 EBUILD hypothesis-6.115.6.ebuild 2587 BLAKE2B 9e95a6c5f458945e0d98a7b0f1e35d3803a52d019e0407a159ee81dd1d8574ee907d50def5e01bc056ea28df67092a592d364a44cd420ec01f3f38c0bf323ca1 SHA512 c35c3064f41bc48c0993c8f3e8c5bdf38d92e768b60b6e44ccd733709daf115a98d645a608db10783a3a05a9599ca8bf062173e5907c322caf1411dce6d24812 EBUILD hypothesis-6.116.0.ebuild 2587 BLAKE2B 9e95a6c5f458945e0d98a7b0f1e35d3803a52d019e0407a159ee81dd1d8574ee907d50def5e01bc056ea28df67092a592d364a44cd420ec01f3f38c0bf323ca1 SHA512 c35c3064f41bc48c0993c8f3e8c5bdf38d92e768b60b6e44ccd733709daf115a98d645a608db10783a3a05a9599ca8bf062173e5907c322caf1411dce6d24812 -EBUILD hypothesis-6.118.0.ebuild 2587 BLAKE2B 9e95a6c5f458945e0d98a7b0f1e35d3803a52d019e0407a159ee81dd1d8574ee907d50def5e01bc056ea28df67092a592d364a44cd420ec01f3f38c0bf323ca1 SHA512 c35c3064f41bc48c0993c8f3e8c5bdf38d92e768b60b6e44ccd733709daf115a98d645a608db10783a3a05a9599ca8bf062173e5907c322caf1411dce6d24812 -EBUILD hypothesis-6.118.3.ebuild 2587 BLAKE2B 9e95a6c5f458945e0d98a7b0f1e35d3803a52d019e0407a159ee81dd1d8574ee907d50def5e01bc056ea28df67092a592d364a44cd420ec01f3f38c0bf323ca1 SHA512 c35c3064f41bc48c0993c8f3e8c5bdf38d92e768b60b6e44ccd733709daf115a98d645a608db10783a3a05a9599ca8bf062173e5907c322caf1411dce6d24812 -EBUILD hypothesis-6.118.7.ebuild 2587 BLAKE2B 9e95a6c5f458945e0d98a7b0f1e35d3803a52d019e0407a159ee81dd1d8574ee907d50def5e01bc056ea28df67092a592d364a44cd420ec01f3f38c0bf323ca1 SHA512 c35c3064f41bc48c0993c8f3e8c5bdf38d92e768b60b6e44ccd733709daf115a98d645a608db10783a3a05a9599ca8bf062173e5907c322caf1411dce6d24812 EBUILD hypothesis-6.118.8.ebuild 2587 BLAKE2B 9e95a6c5f458945e0d98a7b0f1e35d3803a52d019e0407a159ee81dd1d8574ee907d50def5e01bc056ea28df67092a592d364a44cd420ec01f3f38c0bf323ca1 SHA512 c35c3064f41bc48c0993c8f3e8c5bdf38d92e768b60b6e44ccd733709daf115a98d645a608db10783a3a05a9599ca8bf062173e5907c322caf1411dce6d24812 +EBUILD hypothesis-6.118.9.ebuild 2546 BLAKE2B a0d28f72abedc005d8e8cd2ada7e933f24a804b2c6ed69447971a7dda156157e9f964735da5bf6fcf75c29212d533df69a467bb4f607a28dd060540164d9aecc SHA512 91b00667808773833c2ec4671f80f665fcaa08e37ca3cbb4b12f18dd216ffb5a456caa36b9014f28950e4aaefda1d4b288fd119d2e679f9d214b9b3a694fda2f MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.118.0.ebuild b/dev-python/hypothesis/hypothesis-6.118.0.ebuild deleted file mode 100644 index f3d89f9d71ea..000000000000 --- a/dev-python/hypothesis/hypothesis-6.118.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( pypy3 python3_{10..13} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= tests/cover tests/pytest tests/quality -} - -src_install() { - local HAD_CLI= - - distutils-r1_src_install - - if [[ ! ${HAD_CLI} ]]; then - rm -r "${ED}/usr/bin" || die - fi -} - -python_install() { - distutils-r1_python_install - if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - HAD_CLI=1 - else - rm -r "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.118.7.ebuild b/dev-python/hypothesis/hypothesis-6.118.7.ebuild deleted file mode 100644 index f3d89f9d71ea..000000000000 --- a/dev-python/hypothesis/hypothesis-6.118.7.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( pypy3 python3_{10..13} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= tests/cover tests/pytest tests/quality -} - -src_install() { - local HAD_CLI= - - distutils-r1_src_install - - if [[ ! ${HAD_CLI} ]]; then - rm -r "${ED}/usr/bin" || die - fi -} - -python_install() { - distutils-r1_python_install - if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - HAD_CLI=1 - else - rm -r "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.118.3.ebuild b/dev-python/hypothesis/hypothesis-6.118.9.ebuild index f3d89f9d71ea..2f4ac73c1f89 100644 --- a/dev-python/hypothesis/hypothesis-6.118.3.ebuild +++ b/dev-python/hypothesis/hypothesis-6.118.9.ebuild @@ -46,7 +46,6 @@ BDEPEND=" dev-python/pexpect[${PYTHON_USEDEP}] >=dev-python/pytest-8[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 ) " diff --git a/dev-python/lxml-html-clean/Manifest b/dev-python/lxml-html-clean/Manifest index 1a02c12c96bd..a862b01231b5 100644 --- a/dev-python/lxml-html-clean/Manifest +++ b/dev-python/lxml-html-clean/Manifest @@ -1,3 +1,5 @@ DIST lxml_html_clean-0.3.1.tar.gz 20851 BLAKE2B 476c73463341af064e7d32b4def1b3cbbc7287cb26308fed2362792ce9dfc3c20bdbb9dcc1174710bf694633789037ec4f1c2510c48fab98ba17fb506b091baa SHA512 cbbcbec337586024db9b622d5724adc1e645dfe7bb1958be8f8974c7858e9a6443b0e75f09cf0ca83d7331aae944648c6bd644aeedd56307a01269e82d866b36 +DIST lxml_html_clean-0.4.0.tar.gz 21374 BLAKE2B 0bb2964f33fa80e08e773f0f0705a554cd332fe956fe2ab219be767caa6f091454b1e3330a56247a77836fae558c54b325d5f5b7468525cae58e067f4c705ac0 SHA512 30427d0e700adc24df5730b56db38c7add36bdc89be598a856ad892fcda72951d19666d304b1a457d1d2400a454f07838e71a2e2859b94448a8b44622a9f62ef EBUILD lxml-html-clean-0.3.1.ebuild 651 BLAKE2B bca7d6c561e4f447ee124a3178e6e14d2b3df48f4a8bf103ba6ee652b5222c648e3fa23bdfb4811d3ef47c06741aa31d55e4a7974a778d99639adc7b91ffb40d SHA512 0b2f4634fa3e54d16df0ca698a31f89b4712a78a6495ddabc45f5d126fd1cdeb54db6f37f3bb601d3efa601c675bddf6b7399a11709a495fd757b1c277b578c2 +EBUILD lxml-html-clean-0.4.0.ebuild 652 BLAKE2B 0e93fef3a394ba9c0c5797027128f77461dfe86d9076cea68ab1fc3022ee0ff6365d968b5b1cb17b85415d59a1bbc68a2e13ae6335b533abd9b33bef45cfd103 SHA512 d25133555c7d5d2e7f24fc000c11e7a324e989e2c9e910de1dc6480b34e11246511cde1fa51c93e527b0d53adc30fd19bea7b5dea9155e4bfa466a2d2c1bdfd8 MISC metadata.xml 497 BLAKE2B 18a62ece379f7aebe63687b148c878a6d3990570c66e31102ecc727fed76ab92df6ae0bf5191a7d7621106ea2aeb0431f2c5c09f5cd70442c8e869a24c77b375 SHA512 95831be01d43c01060d05d6a3bd7c92dea28c2d1d78c7a4e98a8de50cebb0b0779afec4732e2a9c355c9cf4b693e29624c95996fce27a225b285c3b94e3350ec diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.4.0.ebuild b/dev-python/lxml-html-clean/lxml-html-clean-0.4.0.ebuild new file mode 100644 index 000000000000..8523f79facae --- /dev/null +++ b/dev-python/lxml-html-clean/lxml-html-clean-0.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Separate project for HTML cleaning functionalities copied from lxml.html.clean" +HOMEPAGE=" + https://github.com/fedora-python/lxml_html_clean/ + https://pypi.org/project/lxml-html-clean/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest + "${EPYTHON}" -m doctest -v tests/*.txt || + die "Doctests failed on ${EPYTHON}" +} diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest index cdb2544ed9ec..adc27c16449f 100644 --- a/dev-python/matplotlib/Manifest +++ b/dev-python/matplotlib/Manifest @@ -1,8 +1,11 @@ +AUX matplotlib-3.10.0-test.patch 9677 BLAKE2B d4c4f6611dba8eff0395d1c820cbfa256773b6f3b17bfda9da50892a988a60dd2af4ebdbadf1e6a6334d1a3e99fedc0da9f4027a66161583cc3dc397ebf02b57 SHA512 8cdb1f2383329fd67fd936dcd8e396fcd0e965573bbf6460cab182249352cfd747d20d4e0333688426a548b8fccc6f737ea3b575361fc137b712b21c0990b524 AUX matplotlib-3.9.0-test.patch 10334 BLAKE2B bebd372120c38577ad3a21f99cfb6989fdda774975622e6b3699a73505fc1e350cb76188d0c173bbd0bf94bfc787916c1732cdc2a7998322d8d15aba85dc16f8 SHA512 c49f4f3c3c917a12887872373ea0f817c12ba780d1da6c65edfcf8b7ffdef45d35d1b3f186bd36d7684f8ba30fe034b512fcae42b5adc8c4e5dec2e9d8685a01 DIST freetype-2.6.1.tar.gz 2302080 BLAKE2B 6a5fb98e5fa6cf4b7d7533ad44e364227d8c2f7dded4c552d6e22e204c32b7858f20d41d1e809ecdad6e5353d6cec81bea0e0b06a4533363a41ecab83ce3f7ca SHA512 ff2daed64d712737085924c50e75862fafbcbb24eef6d72dac9eaae63bb656d7245397fd828f5d3e47ac847f7ff83d73dedfdd61fde1f7d6e0f0cdeb49bcf83b +DIST matplotlib-3.10.0rc1.tar.gz 36682106 BLAKE2B c6948deb4749a08fa84e0a72d4c6877cfa561360c5475a9d96c56bad906b94c59f35286587f5af768e0f7e2bb5d5e30101c66da3725ac81f5981ae298089d1a8 SHA512 8ccef930c094e1d0fdb61236b968dcc556b991fd53a8171c84e19fba08e9a5d67dc62f24de832d50e805ddf040dd58828799c6046b355f17dd532fe4d23c4515 DIST matplotlib-3.9.0.tar.gz 36069890 BLAKE2B 02ddb25901b5a93a8daf6f26c98b92d5e35abe2e98783b039928338abb1d628adbf3fd4786c08cb1610bf405cb558ca31fc12dbde77ec5f2a633143c7ea659a1 SHA512 135ee2f97c26cb60479cc10bf8a833384c393993d8a905ab869f4c73b91a50ffa596f84ce349af7f1a0b08a21e1906394cf6a702bb567a9c3999d40f54974326 DIST matplotlib-3.9.1.tar.gz 36084124 BLAKE2B b7cc9e219664849411cc3133afbdb676f956c943f92d447ba5cca0467da56d1575796fe1046e7503e6d7c4dfdfad6e5181404f331ed7ac1397c8c61f4a30bd23 SHA512 a1d48c42a5f4f04b57e34d25df842917e6380b8d6b6d1018c9b630cbbea4619b1d75729a218a6f52b63d4a61c2204bb26ad8f741566f84e41ca73190e419f672 DIST matplotlib-3.9.2.tar.gz 36088381 BLAKE2B c84d08b7afa1f0460b5b57447481ef90f22380c02d20227c3a45b6f603032a11359b223397f18c8dc9111ad36fbd7510e2d5496502b3202e3074ddf8e8258bb7 SHA512 4b7437eeb085915a90db64600d0e6c59501ea1513d07b8298a159a763461ef6947a0cb332dcde1a5f0996840320ca7dd1d972d7514ff6f87b036fc631e79885f +EBUILD matplotlib-3.10.0_rc1.ebuild 10975 BLAKE2B 8b55fdc0b1d69c871ad7f3b402999499d733d56ee07c21e6a9fd6d29fb7d9a3b1c7810d8045dff0d0849830c1b7c69c897cdb0455c9e6bef8153b811ddae4916 SHA512 f800799fcc40b835e355230ea94f87063ad7eab7668dfcd84fb1b74bf6884d9cc4f5b49823eeb58df1e427a9482fd053793baf6c5fee54d37c7090ae61f8ebf2 EBUILD matplotlib-3.9.0-r1.ebuild 9776 BLAKE2B 4941be4fe8a9777a3a90fc68adbe6c26650c04359fd05fcc79f1e7fd868fb078035b4296864bfb9577865381bd59c2e84f894bc04a750a5cf3f682ff19910311 SHA512 a1e1b773a4897972db99fbc40e8baa95d14d124e61a8025b91ac32c5d825b661c20705ded5d58e6176062a2f77282b0452a13791056aab67a4a15d9ef50644a8 EBUILD matplotlib-3.9.1.ebuild 9810 BLAKE2B 3073965f8ba84682c30e4563b8e876f631bcf82869614ff073b9194a0d6172abe5d56b01416e8df45391b65492e85cf4a80fd4abfbf39b7472328fa463cbfbe2 SHA512 2488684e9f1a15de2706395635d72bc2368b8d462c0bcb1087374b4f50d2d5ab46e422d6b393c970e2d28f6179284d7d42cd19afac31d8ebebe108b4b1593f53 EBUILD matplotlib-3.9.2.ebuild 9808 BLAKE2B 5a2ff4e6170dce5a9aa58a04ccbe7fd442b1f0645fef8ae213287cd3ddc11da753ba59db82f81b062233f13397ae4a31851180a1664ba40eda33d54e86122bd0 SHA512 e8f909816993629c179ec534db8be3552aa0835274e5ae3cffbea6d2b2cb89748f8061f5ffb842b408b033bb313979d73278e69648f5c1dbae73aeaf668049c0 diff --git a/dev-python/matplotlib/files/matplotlib-3.10.0-test.patch b/dev-python/matplotlib/files/matplotlib-3.10.0-test.patch new file mode 100644 index 000000000000..aca01d0f5689 --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-3.10.0-test.patch @@ -0,0 +1,236 @@ +diff --git a/lib/matplotlib/tests/test_arrow_patches.py b/lib/matplotlib/tests/test_arrow_patches.py +index 254b86cb54..1f93b1a476 100644 +--- a/lib/matplotlib/tests/test_arrow_patches.py ++++ b/lib/matplotlib/tests/test_arrow_patches.py +@@ -68,7 +68,7 @@ def __prepare_fancyarrow_dpi_cor_test(): + + + @image_comparison(['fancyarrow_dpi_cor_100dpi.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.02, ++ tol=0.015 if platform.machine() == 'x86_64' else 0.02, + savefig_kwarg=dict(dpi=100)) + def test_fancyarrow_dpi_cor_100dpi(): + """ +@@ -83,7 +83,7 @@ def test_fancyarrow_dpi_cor_100dpi(): + + + @image_comparison(['fancyarrow_dpi_cor_200dpi.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.02, ++ tol=0.018 if platform.machine() == 'x86_64' else 0.02, + savefig_kwarg=dict(dpi=200)) + def test_fancyarrow_dpi_cor_200dpi(): + """ +@@ -116,7 +116,7 @@ def test_fancyarrow_dash(): + + + @image_comparison(['arrow_styles.png'], style='mpl20', remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.02) ++ tol=0.005 if platform.machine() == 'x86_64' else 0.02) + def test_arrow_styles(): + styles = mpatches.ArrowStyle.get_styles() + +diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py +index e3a59a1751..97352c887d 100644 +--- a/lib/matplotlib/tests/test_axes.py ++++ b/lib/matplotlib/tests/test_axes.py +@@ -1220,7 +1220,7 @@ def test_imshow(): + + @image_comparison( + ['imshow_clip'], style='mpl20', +- tol=1.24 if platform.machine() in ('aarch64', 'arm64', 'ppc64le', 's390x') else 0) ++ tol=1.24) + def test_imshow_clip(): + # As originally reported by Gellule Xg <gellule.xg@free.fr> + # use former defaults to match existing baseline image +@@ -2617,7 +2617,7 @@ def test_contour_hatching(): + + @image_comparison( + ['contour_colorbar'], style='mpl20', +- tol=0.54 if platform.machine() in ('aarch64', 'arm64', 'ppc64le', 's390x') else 0) ++ tol=0.54) + def test_contour_colorbar(): + x, y, z = contour_dat() + +@@ -5045,7 +5045,7 @@ def test_vertex_markers(): + + + @image_comparison(['vline_hline_zorder', 'errorbar_zorder'], +- tol=0 if platform.machine() == 'x86_64' else 0.026) ++ tol=0.015 if platform.machine() == 'x86_64' else 0.026) + def test_eb_line_zorder(): + x = list(range(10)) + +@@ -9030,7 +9030,7 @@ def test_zorder_and_explicit_rasterization(): + + + @image_comparison(["preset_clip_paths.png"], remove_text=True, style="mpl20", +- tol=0.027 if platform.machine() == "arm64" else 0) ++ tol=0.027 if platform.machine() == "arm64" else 0.02) + def test_preset_clip_paths(): + fig, ax = plt.subplots() + +diff --git a/lib/matplotlib/tests/test_colorbar.py b/lib/matplotlib/tests/test_colorbar.py +index 24eeab6894..f140e031fe 100644 +--- a/lib/matplotlib/tests/test_colorbar.py ++++ b/lib/matplotlib/tests/test_colorbar.py +@@ -235,7 +235,7 @@ def test_colorbar_single_ax_panchor_east(constrained): + + + @image_comparison(['contour_colorbar.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.054) ++ tol=0.01 if platform.machine() == 'x86_64' else 0.054) + def test_contour_colorbar(): + fig, ax = plt.subplots(figsize=(4, 2)) + data = np.arange(1200).reshape(30, 40) - 500 +diff --git a/lib/matplotlib/tests/test_constrainedlayout.py b/lib/matplotlib/tests/test_constrainedlayout.py +index e42e2ee9bf..040979eac1 100644 +--- a/lib/matplotlib/tests/test_constrainedlayout.py ++++ b/lib/matplotlib/tests/test_constrainedlayout.py +@@ -655,11 +655,11 @@ def test_compressed1(): + fig.draw_without_rendering() + + pos = axs[0, 0].get_position() +- np.testing.assert_allclose(pos.x0, 0.06195, atol=1e-3) +- np.testing.assert_allclose(pos.y1, 0.8537, atol=1e-3) ++ np.testing.assert_allclose(pos.x0, 0.06195, atol=2e-3) ++ np.testing.assert_allclose(pos.y1, 0.8537, atol=2e-3) + pos = axs[1, 2].get_position() +- np.testing.assert_allclose(pos.x1, 0.8618, atol=1e-3) +- np.testing.assert_allclose(pos.y0, 0.1934, atol=1e-3) ++ np.testing.assert_allclose(pos.x1, 0.8618, atol=2e-3) ++ np.testing.assert_allclose(pos.y0, 0.1934, atol=2e-3) + + + def test_compressed_suptitle(): +diff --git a/lib/matplotlib/tests/test_contour.py b/lib/matplotlib/tests/test_contour.py +index e0ea82973a..8e304c7161 100644 +--- a/lib/matplotlib/tests/test_contour.py ++++ b/lib/matplotlib/tests/test_contour.py +@@ -418,8 +418,7 @@ def test_contourf_log_extension(): + + @image_comparison( + ['contour_addlines.png'], remove_text=True, style='mpl20', +- tol=0.15 if platform.machine() in ('aarch64', 'arm64', 'ppc64le', 's390x') +- else 0.03) ++ tol=0.15) + # tolerance is because image changed minutely when tick finding on + # colorbars was cleaned up... + def test_contour_addlines(): +diff --git a/lib/matplotlib/tests/test_figure.py b/lib/matplotlib/tests/test_figure.py +index edf5ea05f1..afadc83056 100644 +--- a/lib/matplotlib/tests/test_figure.py ++++ b/lib/matplotlib/tests/test_figure.py +@@ -26,7 +26,7 @@ import matplotlib.dates as mdates + + + @image_comparison(['figure_align_labels'], extensions=['png', 'svg'], +- tol=0 if platform.machine() == 'x86_64' else 0.01) ++ tol=0.02) + def test_align_labels(): + fig = plt.figure(layout='tight') + gs = gridspec.GridSpec(3, 3) +@@ -68,7 +68,7 @@ def test_align_labels(): + + @image_comparison(['figure_align_titles_tight.png', + 'figure_align_titles_constrained.png'], +- tol=0 if platform.machine() == 'x86_64' else 0.022, ++ tol=0.01 if platform.machine() == 'x86_64' else 0.022, + style='mpl20') + def test_align_titles(): + for layout in ['tight', 'constrained']: +diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py +index 61892378bd..28d3661359 100644 +--- a/lib/matplotlib/tests/test_legend.py ++++ b/lib/matplotlib/tests/test_legend.py +@@ -164,7 +164,7 @@ def test_multiple_keys(): + + + @image_comparison(['rgba_alpha.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.03) ++ tol=0.02 if platform.machine() == 'x86_64' else 0.03) + def test_alpha_rgba(): + fig, ax = plt.subplots() + ax.plot(range(10), lw=5) +@@ -173,7 +173,7 @@ def test_alpha_rgba(): + + + @image_comparison(['rcparam_alpha.png'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.03) ++ tol=0.02 if platform.machine() == 'x86_64' else 0.03) + def test_alpha_rcparam(): + fig, ax = plt.subplots() + ax.plot(range(10), lw=5) +@@ -201,7 +201,7 @@ def test_fancy(): + + + @image_comparison(['framealpha'], remove_text=True, +- tol=0 if platform.machine() == 'x86_64' else 0.024) ++ tol=0.02 if platform.machine() == 'x86_64' else 0.024) + def test_framealpha(): + x = np.linspace(1, 100, 100) + y = x +diff --git a/lib/matplotlib/tests/test_lines.py b/lib/matplotlib/tests/test_lines.py +index ee8b5b4aaa..8752a56ad2 100644 +--- a/lib/matplotlib/tests/test_lines.py ++++ b/lib/matplotlib/tests/test_lines.py +@@ -185,7 +185,7 @@ def test_set_drawstyle(): + + @image_comparison( + ['line_collection_dashes'], remove_text=True, style='mpl20', +- tol=0 if platform.machine() == 'x86_64' else 0.65) ++ tol=0.65) + def test_set_line_coll_dash_image(): + fig, ax = plt.subplots() + np.random.seed(0) +diff --git a/lib/matplotlib/tests/test_units.py b/lib/matplotlib/tests/test_units.py +index a8735e180b..7bd9f5a951 100644 +--- a/lib/matplotlib/tests/test_units.py ++++ b/lib/matplotlib/tests/test_units.py +@@ -79,7 +79,7 @@ def quantity_converter(): + # Tests that the conversion machinery works properly for classes that + # work as a facade over numpy arrays (like pint) + @image_comparison(['plot_pint.png'], style='mpl20', +- tol=0 if platform.machine() == 'x86_64' else 0.03) ++ tol=0.002 if platform.machine() == 'x86_64' else 0.03) + def test_numpy_facade(quantity_converter): + # use former defaults to match existing baseline image + plt.rcParams['axes.formatter.limits'] = -7, 7 +@@ -106,7 +106,7 @@ def test_numpy_facade(quantity_converter): + + # Tests gh-8908 + @image_comparison(['plot_masked_units.png'], remove_text=True, style='mpl20', +- tol=0 if platform.machine() == 'x86_64' else 0.02) ++ tol=0.02) + def test_plot_masked_units(): + data = np.linspace(-5, 5) + data_masked = np.ma.array(data, mask=(data > -2) & (data < 2)) +diff --git a/lib/matplotlib/tests/test_usetex.py b/lib/matplotlib/tests/test_usetex.py +index 342face450..c7256586bc 100644 +--- a/lib/matplotlib/tests/test_usetex.py ++++ b/lib/matplotlib/tests/test_usetex.py +@@ -15,6 +15,7 @@ import matplotlib.pyplot as plt + pytestmark = needs_usetex + + ++@pytest.mark.skip(reason="TODO: broken") + @image_comparison( + baseline_images=['test_usetex'], + extensions=['pdf', 'png'], +@@ -65,7 +66,7 @@ def test_mathdefault(): + fig.canvas.draw() + + +-@image_comparison(['eqnarray.png']) ++@image_comparison(['eqnarray.png'], tol=23) + def test_multiline_eqnarray(): + text = ( + r'\begin{eqnarray*}' +@@ -163,7 +164,7 @@ except mpl.ExecutableNotFoundError: + + + @image_comparison(baseline_images=['rotation'], extensions=['eps', 'pdf', 'png', 'svg'], +- style='mpl20', tol=3.91 if _old_gs_version else 0) ++ style='mpl20', tol=30) + def test_rotation(): + mpl.rcParams['text.usetex'] = True + diff --git a/dev-python/matplotlib/matplotlib-3.10.0_rc1.ebuild b/dev-python/matplotlib/matplotlib-3.10.0_rc1.ebuild new file mode 100644 index 000000000000..c4d37442af3e --- /dev/null +++ b/dev-python/matplotlib/matplotlib-3.10.0_rc1.ebuild @@ -0,0 +1,316 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 pypi virtualx + +FT_PV=2.6.1 +DESCRIPTION="Pure python plotting library with matlab like syntax" +HOMEPAGE=" + https://matplotlib.org/ + https://github.com/matplotlib/matplotlib/ + https://pypi.org/project/matplotlib/ +" +SRC_URI+=" + test? ( + https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz + ) +" + +# Main license: matplotlib +# Some modules: BSD +# matplotlib/backends/qt4_editor: MIT +# Fonts: BitstreamVera, OFL-1.1 +LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" +SLOT="0" +KEYWORDS="" +IUSE="cairo excel gtk3 latex qt6 tk webagg wxwidgets" + +DEPEND=" + media-libs/freetype:2 + >=media-libs/qhull-2013:= + >=dev-python/numpy-1.25:=[${PYTHON_USEDEP}] +" +# internal copy of pycxx highly patched +# dev-python/pycxx +RDEPEND=" + ${DEPEND} + >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] + >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] + >=dev-python/kiwisolver-1.3.1[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/pillow-8[jpeg,webp,${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + media-fonts/dejavu + media-fonts/stix-fonts + media-libs/libpng:0 + virtual/imagemagick-tools[jpeg,tiff] + cairo? ( + dev-python/cairocffi[${PYTHON_USEDEP}] + ) + excel? ( + dev-python/xlwt[${PYTHON_USEDEP}] + ) + gtk3? ( + >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + ) + latex? ( + virtual/latex-base + app-text/dvipng + app-text/ghostscript-gpl + app-text/poppler[utils] + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + dev-texlive/texlive-xetex + ) + qt6? ( + $(python_gen_cond_dep ' + || ( + dev-python/PyQt6[gui,widgets,${PYTHON_USEDEP}] + dev-python/pyside6[gui,widgets,${PYTHON_USEDEP}] + ) + ' 'python3*') + ) + webagg? ( + >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] + ) + wxwidgets? ( + $(python_gen_cond_dep ' + dev-python/wxpython:*[${PYTHON_USEDEP}] + ' python3_{10..12}) + ) +" + +BDEPEND=" + ${RDEPEND} + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + $(python_gen_impl_dep 'tk') + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] + !hppa? ( !s390? ( + || ( + media-video/ffmpeg[openh264] + media-video/ffmpeg[x264] + ) + ) ) + gtk3? ( + >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + # do not unpack freetype + unpack "${P//_/}.tar.gz" +} + +python_prepare_all() { + # Affects installed _version.py, bug #854600 + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + + local PATCHES=( + "${FILESDIR}"/matplotlib-3.10.0-test.patch + ) + + # increase lock timeout to 30 s + sed -i -e 's:retries = 50:retries = 300:' lib/matplotlib/cbook.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + unset DISPLAY # bug #278524 + export XDG_RUNTIME_DIR="${T}/runtime-dir" + mkdir "${XDG_RUNTIME_DIR}" || die + chmod 0700 "${XDG_RUNTIME_DIR}" || die + + DISTUTILS_ARGS=( + -Dsystem-freetype=true + -Dsystem-qhull=true + -Dmacosx=false + ) +} + +src_test() { + mkdir subprojects/packagecache || die + cp "${DISTDIR}/freetype-${FT_PV}.tar.gz" subprojects/packagecache/ || die + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # broken by -Wdefault + "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" + "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" + tests/test_testing.py::test_warn_to_fail + tests/test_legend.py::test_legend_nolabels_warning + # TODO? + tests/test_backend_qt.py::test_fig_sigint_override + tests/test_backend_qt.py::test_ipython + tests/test_backend_nbagg.py::test_ipynb + # leak tests are fragile + tests/test_backends_interactive.py::test_figure_leak_20490 + # major "images not close", new texlive perhaps + tests/test_contour.py::test_all_algorithms + # "no warnings" + tests/test_backend_pdf.py::test_invalid_metadata + tests/test_figure.py::test_too_many_figures + # Requires qt5 + tests/test_backends_interactive.py::test_qt5backends_uses_qt5 + 'tests/test_backends_interactive.py::test_interactive_backend[toolbar2-MPLBACKEND=qtagg-QT_API=PyQt5-BACKEND_DEPS=PyQt5]' + 'tests/test_backends_interactive.py::test_interactive_backend[toolbar2-MPLBACKEND=qtcairo-QT_API=PyQt5-BACKEND_DEPS=PyQt5,cairocffi]' + 'tests/test_backends_interactive.py::test_interactive_backend[toolmanager-MPLBACKEND=qtagg-QT_API=PyQt5-BACKEND_DEPS=PyQt5]' + 'tests/test_backends_interactive.py::test_blitting_events[MPLBACKEND=qtagg-QT_API=PyQt5-BACKEND_DEPS=PyQt5]' + 'tests/test_backends_interactive.py::test_blitting_events[MPLBACKEND=qtcairo-QT_API=PyQt5-BACKEND_DEPS=PyQt5,cairocffi]' + 'tests/test_backends_interactive.py::test_interactive_thread_safety[MPLBACKEND=qtagg-QT_API=PyQt5-BACKEND_DEPS=PyQt5]' + 'tests/test_backends_interactive.py::test_interactive_timers[MPLBACKEND=qtagg-QT_API=PyQt5-BACKEND_DEPS=PyQt5]' + 'tests/test_backends_interactive.py::test_interactive_timers[MPLBACKEND=qtcairo-QT_API=PyQt5-BACKEND_DEPS=PyQt5,cairocffi]' + # Tests mixing qt5 and qt6, requires installing all Qt4Py impl. + tests/test_backends_interactive.py::test_cross_Qt_imports + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # TODO: warning isn't passed through + tests/test_image.py::test_large_image + # TODO + tests/test_pickle.py::test_complete + tests/test_pickle.py::test_no_pyplot + tests/test_pickle.py::test_pickle_load_from_subprocess + tests/test_pickle.py::test_simple + tests/test_texmanager.py::test_openin_any_paranoid + tests/test_widgets.py::test_check_buttons + tests/test_widgets.py::test_check_buttons_lines + tests/test_widgets.py::test_check_radio_buttons_image + tests/test_widgets.py::test_radio_buttons + ) + if has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || + has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" + then + EPYTEST_DESELECT+=( + # TypeError is raised when exception is raised in a starred + # expression referencing a generator that uses "yield from" + # and raises -- non-critical, since some exception is raised + # after all + # https://foss.heptapod.net/pypy/pypy/-/issues/4032 + tests/test_axes.py::test_bad_plot_args + tests/test_axes.py::test_plot_errors + tests/test_axes.py::test_plot_format_errors + ) + fi + ;; + python3.11) + EPYTEST_DESELECT+=( + # https://github.com/matplotlib/matplotlib/issues/23384 + "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" + "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" + ) + ;; + python3.12) + EPYTEST_DESELECT+=( + tests/test_constrainedlayout.py::test_compressed1 + ) + ;; + esac + + case ${ABI} in + hppa) + EPYTEST_DESELECT+=( + 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' + 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' + 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' + 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' + 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' + 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' + 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' + 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' + 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' + 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' + 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' + 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' + 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' + 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' + 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' + 'tests/test_quiver.py::test_barbs[png]' + 'tests/test_quiver.py::test_barbs_pivot[png]' + 'tests/test_quiver.py::test_barbs_flip[png]' + 'tests/test_text.py::test_parse_math' + 'tests/test_text.py::test_parse_math_rcparams' + ) + ;& + alpha|arm|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + 'tests/test_axes.py::test_psd_csd[png]' + ) + ;; + *) + ;; + esac + + # we need to rebuild mpl against bundled freetype, otherwise + # over 1000 tests will fail because of mismatched font rendering + local DISTUTILS_ARGS=( + "${DISTUTILS_ARGS[@]}" + -Dsystem-freetype=false + ) + distutils_pep517_install "${BUILD_DIR}"/test + cp -r "${BUILD_DIR}"/{install,test}"${EPREFIX}/usr/bin" || die + local -x PATH=${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH} + + pushd lib >/dev/null || die + local path + local sitedir=${BUILD_DIR}/test$(python_get_sitedir) + # sigh, upstream doesn't install these + while IFS= read -d '' path; do + cp -r "${path}" "${sitedir}/${path}" || die + done < <( + find \( \ + -name baseline_images -o \ + -name '*.ipynb' -o \ + -name '*.pfb' -o \ + -name '*.ttf' -o \ + -name tinypages \ + \) -print0 + ) + popd >/dev/null || die + + # speed tests up + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # pretend we're on CI to increase timeouts + local -x CI=1 + nonfatal epytest --pyargs matplotlib -m "not network" \ + -p rerunfailures --reruns=3 \ + -o tmp_path_retention_policy=all || die +} diff --git a/dev-python/mss/Manifest b/dev-python/mss/Manifest index afafcbc6785a..86ab1786c906 100644 --- a/dev-python/mss/Manifest +++ b/dev-python/mss/Manifest @@ -1,3 +1,5 @@ +DIST mss-10.0.0.tar.gz 83127 BLAKE2B fb015e02fb80320ba6ad8b612fd675d6ca3b15560fc3413426e1a9a569eca57794fb69289dd6a97ff681e3674448176e022a900b8c565299cb6133b92510d47f SHA512 f2ed2fcd927e51a90facd3f7eefa56e745ed5ccb04fcf46f66f3ad969dc2d5f28d87887950cdd1f552e36250376e4cd77d6c65607848f7768e952319c6197bdc DIST mss-9.0.2.tar.gz 82514 BLAKE2B 9f5bec89fbe2405265070f5be03fe55ed496dddb6f28493ae2b88f131c6a6b2ed8c65969cf4b7b4256b492c8bc321e1548e5f355d802084880ff32e1eb9fcd28 SHA512 b4a9a6dd97810eb56d91c9ba65ac5e628c554e2cd038e830d87e583aa35cecf19cce337e61da814f10f8278017dca758c92c18220167f3660e322a7fba05488c +EBUILD mss-10.0.0.ebuild 1154 BLAKE2B fb32c010aac7b7d910873e428eb0e0be404ff482bf25dbc3b5f53850176090c8b694d5e7147ffa592119170e371711584583ede8dd218484b7bbae2981580e37 SHA512 8fb87c30c05b2872bf31aa4033c9e6c546359128ee651cc21275d543e58564edcef7f13d47c83039f576e35e3c45c08d0167750de70f61d4affd70cb626b31bc EBUILD mss-9.0.2.ebuild 1317 BLAKE2B bb9eeb5aad6b2ba1d5120dc51c3519dca641bd67d932109cb769e9b41fe1afd98e04c7bf50db70db094c8e61fe4bc9b734bb53128be3c18933b0f28eaebb2158 SHA512 fbc7bf087287ef7beb88dafa19f7fc8f24e621732c6081b5fb725b9e239a522ff2997e75c028633c2753a33cb16f636f05838b0578ab598d6573b1f222f01a20 MISC metadata.xml 389 BLAKE2B 0bf17290bb77ee34c59b8db547365e13ad284fbbd8468078995ac891450453a15920e188d75b9f8aed14319ce211aa968d10d0d38c7347a9c5269431bf290f6a SHA512 468c7ff3a88f5d8b2efa646572ce29b45a4b2bc1bdb1a7f1cdaa841b369caa53e5a3d8fafb01b310505d50d9d12b8a725a5c9e926de15bd377ea07342a681182 diff --git a/dev-python/mss/mss-10.0.0.ebuild b/dev-python/mss/mss-10.0.0.ebuild new file mode 100644 index 000000000000..4582ea7ea7aa --- /dev/null +++ b/dev-python/mss/mss-10.0.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="An ultra fast cross-platform multiple screenshots module in python using ctypes" +HOMEPAGE=" + https://github.com/BoboTiG/python-mss/ + https://pypi.org/project/mss/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme + +src_prepare() { + distutils-r1_src_prepare + sed -i -e '/--cov/d' pyproject.toml || die +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_IGNORE=( + # upstream tests for self-build, apparently broken by setuptools + # issuing deprecation warnings + src/tests/test_setup.py + ) + + local EPYTEST_DESELECT=( + # unreliable `lsof -U | grep ...` tests + src/tests/test_leaks.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p rerunfailures +} diff --git a/dev-python/oslo-concurrency/Manifest b/dev-python/oslo-concurrency/Manifest index 2756cf62d7c2..b3207e4b6b33 100644 --- a/dev-python/oslo-concurrency/Manifest +++ b/dev-python/oslo-concurrency/Manifest @@ -1,3 +1,5 @@ DIST oslo.concurrency-6.1.0.tar.gz 60320 BLAKE2B a1f4303b10e6e736395ee1597a35a26e7c959dc32895121e0576ddd4216b2edc5cd5383e7bedb776885f7d451e9232e08517b9b2bc92c0bfe8bef3c67541d3c7 SHA512 dfee864dae2f69d5e1ae32213bf09bffdd492131a04ba3df9ec9c9a793f2b1b6f4cae809977bf732bb310009116d762768adac4946afcfef49bd8dc993eee777 +DIST oslo.concurrency-6.2.0.tar.gz 60573 BLAKE2B f5ddfbf0f566e6bc4925526738e6823732c8acb1552929009423f87e8766295a5be578bb82dffb2d0b756fb15089616788228dca7abb91fb6e9fbac290294eb2 SHA512 d15dd2049a717e4530c778a3dfb41f9df538835d2f4ea47fbea1fc8f584981b1cbd54a3d5eca273f0202dc4bb8b19b6c59b377690420aa471cf3006f246be8c2 EBUILD oslo-concurrency-6.1.0.ebuild 1172 BLAKE2B aba5775b1240e626bdf3a464015c4562d7457ff1fd7c4f578fc5d85e102933fefba4c5bd96fef003be42268c01d832b425f56b1599472d0104d17150c1611578 SHA512 4c958ae825e8dbd4434d5d3ad030d17b08e70fe9f609c844b143dd229f415f4a49b68e482ea4103450c305fa3aaf1dfefbc2c71a4165b0504d674ad15daa1c5a +EBUILD oslo-concurrency-6.2.0.ebuild 1175 BLAKE2B 5812994bf6b163b26c53df7c51225f7f2a52aaad5c9994533650949c0d715dff6954759a08d406d25a786b9a6eb6aead042424d1a80aa722ac43bd1338261f34 SHA512 d32f585c32e54093fccf059dd4488519f03fba716f83389109eb545c29a09fa4d94ea6477bccdc212425cd8c6f027326105ca20153cad84f45b09fb4933f69c4 MISC metadata.xml 423 BLAKE2B 965b9f3a9b25cd0f93f13bc12af982b8435e946c1317b6c3a013d016ac6ac3df39f94e1a69f6ef28355459cc5d59fa32c2004727e6772696dab755aee6ad46f4 SHA512 ffc8e1547e6f8356071744a4cf2d5f88d02f2a34322857245c68057699f0b87ea351a7821682ab3d72b777260c8887524467a201fe931787fa1b2ad67eb022a3 diff --git a/dev-python/oslo-concurrency/oslo-concurrency-6.2.0.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-6.2.0.ebuild new file mode 100644 index 000000000000..ee03a2c3008d --- /dev/null +++ b/dev-python/oslo-concurrency/oslo-concurrency-6.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Oslo Concurrency library" +HOMEPAGE=" + https://opendev.org/openstack/oslo.concurrency/ + https://github.com/openstack/oslo.concurrency/ + https://pypi.org/project/oslo.concurrency/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # fails, then hangs + rm oslo_concurrency/tests/unit/test_lockutils_eventlet.py || die + distutils-r1_src_prepare +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index 757179ba1213..f24495624040 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -1,5 +1,6 @@ AUX pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch 1043 BLAKE2B 09a50ba813d21a82333905e098dbd99b11a6c6f07c2ae512eed4189bfee371b0ceb2e27ffff41fb414b336c8ec49014c43903f3a2f12fb9b6323dafdf13f8634 SHA512 c900dc2589b5f4b3f36b15ddf2287d74dcafb1395c96330058a400ac3698a525715b69cd32b5780cc7ec9d71d067f159c623deaf63c9e4c11876cd651c069f87 AUX pipenv-2023.9.8-inject-system-packages.patch 1672 BLAKE2B d803b80a5c46bac67ab7c361f369fad58b1c2a933bc2f78b2d4fa5fa172a23e7e5c026edf48cf398b3232280428eaf40369cafdf4c6c019c3dc9e397e884564d SHA512 5600a8bd7bc5cdf2152d84fc7791359a04df15f38d11f8c9517b709a2793ce05c6fc5acc1d1d8b763078465012e421826699287d2e3ae97838e155a9a1694650 DIST pipenv-2024.0.2.gh.tar.gz 10812462 BLAKE2B 450c8027b2720188edf284a2644a705a3004ee481553871781d8906f415af56ef87d6cdb5ebb00df96bd36fd4dce8dad29cfc2480d9afe3be6ed6891458c188d SHA512 a414727d6ce5a1af565870cb75dfd57731a0513b97c818f304654867b87cf3d89e857fed45a898d19acc37d272d32897f838328fcd7b780fb4ba3e235c77bbb5 +EBUILD pipenv-2024.0.2-r1.ebuild 4899 BLAKE2B b7f6d4ec1a52503d5ef178d72e522a42f493155aa50ccf57cb5efa316d5455f5d335ea2dc55075b5b1c1f065bc4864a127ebbdb6a6725ff5370b50a23e0e2e19 SHA512 b5917f5a3cc46fdeb08c37b9fc277a608c7ef3580051f386eb164ea60354298035bb4cdf53519da2663eb299e231a16acb1cd175ef02128589edc601e27c590d EBUILD pipenv-2024.0.2.ebuild 4938 BLAKE2B e31c27af6bb6d40850898637e3edfe9bd5bb9d953f36abd11102e6fc2aa674bdf2629791b07d8e117c0bc06904ca2345f5811263566417899dfe50fada5c58a4 SHA512 d242067e7c58f5387d458c476a2d032b45dc8d653b65aa274ab98177a728a39e8747ca84d1c2d66a3632c11bb345900a96d23b5a0975a007dfbde667c1691620 MISC metadata.xml 643 BLAKE2B ff3557d9ae32b553c85455436683e2ca94bc16c6ec7c6d2ceb1113a69dc841b9ac2f0e4b96eec4c6c84ca899ad6a99b0747d7bf3f9289110a8bbdfb80f2cb2eb SHA512 7a611950572c2d700fb1680e0aa307069d80d992528144da781eca9f1fee729defa6f8b28382ddd8f66e58c5f68de9a17815989a4a39473bbf830a7be42ea282 diff --git a/dev-python/pipenv/pipenv-2024.0.2-r1.ebuild b/dev-python/pipenv/pipenv-2024.0.2-r1.ebuild new file mode 100644 index 000000000000..3059d8dabee0 --- /dev/null +++ b/dev-python/pipenv/pipenv-2024.0.2-r1.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 multiprocessing + +MY_PV=${PV/_beta/b} +DESCRIPTION="Python Development Workflow for Humans" +HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/" +SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +PATCHES=( + "${FILESDIR}/pipenv-2023.9.8-inject-system-packages.patch" + "${FILESDIR}/pipenv-2023.9.8-append-always-install-to-pip-extra-args.patch" +) + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + dev-python/dparse[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] + ~dev-python/pipdeptree-2.23.4[${PYTHON_USEDEP}] + ~dev-python/plette-2.1.0[${PYTHON_USEDEP}] + >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + ~dev-python/pythonfinder-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10}) + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + >=dev-python/importlib-metadata-8.4.0[${PYTHON_USEDEP}] + <dev-python/importlib-metadata-9.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# IMPORTANT: The following sed command patches the vendor direcotry +# in the pipenv source. Attempts to simply bump the version of the +# package without checking that it works is likely to fail +# The vendored packages should eventually all be removed +# see: https://bugs.gentoo.org/717666 +src_prepare() { + sed --in-place -e "s/import click, plette, tomlkit/import click\n\import tomlkit\nfrom pipenv.vendor import plette/g" pipenv/project.py || die "Failed patching pipenv/project.py" + + local pkgName + local jobs=$(makeopts_jobs) + local packages=( cerberus colorama click click_didyoumean dotenv dparse markupsafe \ + pexpect pep517 pipdeptree plette ptyprocess pydantic pyparsing pythonfinder \ + requests urllib3 shellingham tomli tomlkit importlib_metadata ) + for pkgName in ${packages[@]}; do + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\ + -e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor.${pkgName}/from ${pkgName}/g" || die "Failed to sed for ${pkgName}" + done + + distutils-r1_src_prepare + + # remove vendored versions + for pkgName in ${packages[@]}; do + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName}$" -prune -exec rm -rvf {} + || die + # package names can be foo-bar, their module will be however foo_bar + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName/_/-}" -prune -exec rm -rvf {} + || die + done + + find ./pipenv/vendor -regextype posix-extended -regex '.*cached[_-]property.*' -prune -exec rm -rvf {} + || die + + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g" + + # remove python ruaml yaml + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" + sed --in-place -e \ + "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" \ + pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" + + rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor" + + for fname in Makefile README.md ruamel.*.LICENSE vendor.txt; do + rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/${fname}" + done + + sed --in-place -e "s/pipenv.vendor.pythonfinder.utils.get_python_version/pythonfinder.utils.get_python_version/g" tests/unit/test_utils.py || die "Failed patching tests" + + rm -Rfv pipenv/vendor || die "Could not vendor" + rm -Rfv examples || die "Could not remove examples" + rm -Rfv docs || die "Could not remove docs" +} + +python_test() { + epytest -m "not cli and not needs_internet" tests/unit/ +} diff --git a/dev-python/pytest-bdd/Manifest b/dev-python/pytest-bdd/Manifest index a9cb5a485dc4..058546a87b9b 100644 --- a/dev-python/pytest-bdd/Manifest +++ b/dev-python/pytest-bdd/Manifest @@ -1,5 +1,5 @@ DIST pytest-bdd-7.3.0.gh.tar.gz 81595 BLAKE2B 80c5323ba3c50fae17bb57ec26b968ca7d7b673d2aeb2716dee02e3543916ca8b5752d9af56d3d250f3a4b0a857a3dc760de615f0650eaf379380fb24a5b7c2a SHA512 e7c309552714a77d47e437a825e661dbf201a6945e84f4b611b5c3da3d0b4ceb535bde4809fc9633b82a74e2b52cc69c7e14b27a27032c7e4400727498442e29 DIST pytest-bdd-8.0.0.gh.tar.gz 113480 BLAKE2B 142346b449199bb619fce9da199c64cc0678366ca5344979246cf45cb99c3039af5ac32f42b9fe2e46c60a70d204b50e14da53441a047d7156f8f9fc21cf0d95 SHA512 18d369aa38765a1d543e63de4477155be68d75954eef8908cac2898afe89dee3c9fb36ee667de39c53d2f0d637d4f343b31970c2d75faccdd53eaf952ebdf55f EBUILD pytest-bdd-7.3.0.ebuild 1044 BLAKE2B 134bef00e9c40656709015f7e8ca045b1ff0b79be49c21e3924c36985e85ac10c1b282c9fc9ff85d34a47dfd1caf54e937fe728ff87a5d63a77e34566aff0b6d SHA512 2973d27c6499113e3703d57cd00bc571769ab00a72fc75170f97ac06a8e51c1d803341c072bbfde751fdf39c3cdae1f2a927f3cf4cc8d0c280ff1c7941885e0a -EBUILD pytest-bdd-8.0.0.ebuild 1086 BLAKE2B 5160aa691d46ba42b8174f00baeaf93a0c11fa1269c90c3d86bc98156f9f7f8abed7ce88640d42b5642ed66840c79b0469d29d46d2a60a3c53ffd848f0dd6f94 SHA512 4ff42660eca105d9ba934e7832acde313d2c55674576559a41402d7e5b493d9ff764e46796d8b2b3e3fd94f3700f5a3c84174cb69e28b292cd238453c165e51f +EBUILD pytest-bdd-8.0.0.ebuild 1093 BLAKE2B 7bc0873a46b0b3f205f62443903d5d1b5b2fcb9a41e9e1815bdac5750392cd3bc719ded1ab7b46ed3de7eb25ec6a6dc737fc7e05e4ea77b0ee7b65c35edad8ef SHA512 fac3eedf93bc4ece4d52e69ee546acfb4127b7da5cd4fc7851cbcc48020f5043f132f8abb40d714a60da2a224cd934bfc19f6562bac9fb1673db2c98cfdf97a4 MISC metadata.xml 404 BLAKE2B b5bdea28ab998a54bd0b76e38c37a77af74d4ae149bfc5af47e7466b7c13ae6a5784be0ecc3e6cd8ccbbd5164dea02d704f596b7e00d22b0d640c4ad3dd13b41 SHA512 97800a5877bd8f3aa880a0cdff19cc89de983ec1a0cd9fbe2c74178b6fc214a0ca7fbb013b2ac490e1c4109f03ded7055e1517a3b57f6da0d79c9f5ea5864e77 diff --git a/dev-python/pytest-bdd/pytest-bdd-8.0.0.ebuild b/dev-python/pytest-bdd/pytest-bdd-8.0.0.ebuild index 6432d5b40519..7018fde38791 100644 --- a/dev-python/pytest-bdd/pytest-bdd-8.0.0.ebuild +++ b/dev-python/pytest-bdd/pytest-bdd-8.0.0.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/gherkin-official[${PYTHON_USEDEP}] diff --git a/dev-python/python3-discogs-client/Manifest b/dev-python/python3-discogs-client/Manifest index 27b574c482b6..df72251e5980 100644 --- a/dev-python/python3-discogs-client/Manifest +++ b/dev-python/python3-discogs-client/Manifest @@ -1,4 +1,6 @@ DIST python3-discogs-client-2.7.tar.gz 36551 BLAKE2B f27fbf17afd7c0f6bb3619a4d0a7922f0a2192b34cddf72cb82f5580d81512d6450aa2464ab5e3746262ccdf66bf3411bd63ed121f69021bed06319bcc171de3 SHA512 7bb43429d6ceb3bbf892b6a65d4d93f0a9ec1bb3535b62169d7e1e4ff0e5032963b2ad5753e381745559efd21ed9e875bfbe3f5260e26f7df5f4a344bedded4a +DIST python3_discogs_client-2.7.1.tar.gz 36930 BLAKE2B f0e6071759e8e14f4e78fc0cd15fe4643b1984be622e9fdbf28bda11699d4f7d829eaa7aee005c888e556b6c994585b1a5f2c12351a995f2937af87c360f5292 SHA512 4b9ca0fb1498319f814b88f2df6a1bd3d7c02f44bea8a13aa6b640d3d87def825dcc79181afddb173fedb7448f99a8f4a244915ebfaf26dd2411db8d151b054c +EBUILD python3-discogs-client-2.7.1.ebuild 739 BLAKE2B 65b9f4bf37f226ef8ae3fb46a4c0de93365e6be62dd804d954b3ed317757568b20b37e817fe30fca725551d9c7a48e8dc428b71dac4d5c705da3b74dbb5e7f76 SHA512 3e25ef8a907779721bb4e1c97dccc4532ae008157d2c993193f162031d447bd339eeffc43c3eb288e3b66e9d68f345d53242b709b36365828116899d9ad34a01 EBUILD python3-discogs-client-2.7.ebuild 757 BLAKE2B 87eb0b9d91b6a96b1b87be1d77750d14ebcd2b1658a24128e4332fd4558e10562b1536c617010b572040fb67c6606f6800d0f22f41f48700f0a6d5437c912aa7 SHA512 3bc9b20613b8e8205b8aa776658297c25ad421a3a9ae2fdc6aed82142627695045da210d33701dca3605776ba89c0d51ad3dd3311a4e15260d6040d104c18ff3 -EBUILD python3-discogs-client-9999.ebuild 752 BLAKE2B 47b24b2a1234bf17fe246e31a0c7b7edcaea749647860c54f18ad0b99a9813a435d5385f44a48495097ce7ada09739cf83eac2c00443e777cf92cbef13e0b32e SHA512 a9ec0a917c6f2ccd1c8540b98960a7048769ce4b97a8d7905247a8f0c6644bce78fccc683057818ce544d2fd95cbc3861b08bf6a62e470b483778e783dd9e985 +EBUILD python3-discogs-client-9999.ebuild 739 BLAKE2B 65b9f4bf37f226ef8ae3fb46a4c0de93365e6be62dd804d954b3ed317757568b20b37e817fe30fca725551d9c7a48e8dc428b71dac4d5c705da3b74dbb5e7f76 SHA512 3e25ef8a907779721bb4e1c97dccc4532ae008157d2c993193f162031d447bd339eeffc43c3eb288e3b66e9d68f345d53242b709b36365828116899d9ad34a01 MISC metadata.xml 674 BLAKE2B 5c0dd431ad4633cbc7ddaa97e54e9f5b3eb67ed28e07ac313f218fd055e0042365c270e83153627decd196aca49db12304da87f2c74f20bc454fd8e5b4b8fb46 SHA512 ad582419be3887c5fa3c0d630ad32575f378453dd4f7a8c33df91db31b495caa88707214f7e456d69027532540a474c41ad8336b40e90229f1f31cd3193d7f82 diff --git a/dev-python/python3-discogs-client/python3-discogs-client-2.7.1.ebuild b/dev-python/python3-discogs-client/python3-discogs-client-2.7.1.ebuild new file mode 100644 index 000000000000..e76ec53a041c --- /dev/null +++ b/dev-python/python3-discogs-client/python3-discogs-client-2.7.1.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_{10..13} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/joalla/discogs_client.git" + inherit git-r3 +else + inherit pypi + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +DESCRIPTION="Continuation of the official Python API client for Discogs" +HOMEPAGE=" + https://github.com/joalla/discogs_client/ + https://pypi.org/project/python3-discogs-client/ +" + +LICENSE="BSD-2" +SLOT="0" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/oauthlib[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/python3-discogs-client/python3-discogs-client-9999.ebuild b/dev-python/python3-discogs-client/python3-discogs-client-9999.ebuild index 6c4aa64a3c5d..e76ec53a041c 100644 --- a/dev-python/python3-discogs-client/python3-discogs-client-9999.ebuild +++ b/dev-python/python3-discogs-client/python3-discogs-client-9999.ebuild @@ -4,8 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -14,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else inherit pypi - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~arm64 ~x86" fi DESCRIPTION="Continuation of the official Python API client for Discogs" diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest index c3263e267c92..a5eb360eefec 100644 --- a/dev-python/quart/Manifest +++ b/dev-python/quart/Manifest @@ -1,3 +1,5 @@ DIST quart-0.19.8.gh.tar.gz 747979 BLAKE2B 434c5493f01a1ea0cdd223145f52327229af0fd4ddf5739628847c4f78f1b8d76dcb827370446a50227b1afa96d829a47304efed3d017b405632c15c01034292 SHA512 658384387f064f3d0d9af3f79588ab88d28ed7a0922417cf809d2c0ce2e5d4de3c11649368ed57ba3739f88ac2fb8753be31a2e740d052773129a421a38e2115 +DIST quart-0.19.9.gh.tar.gz 747986 BLAKE2B cd6c9d919e6174305490b59b76815d0b0fcd854c0527c517a463563ed1b3b5dc0fd7ac7e7baf555a56b277cf1a64c6e54da5d9ddb368e862736897dfb34a6cc0 SHA512 7a3020a9fb9c49cdf1ba91ec3ea6a6bb07da5a0571badefc880864921c4b7d1219250bb896cc614dd525920380d660204063431abd99bf0d99418dd3206c0eae EBUILD quart-0.19.8.ebuild 1268 BLAKE2B c717d6448b52822657e140c43a166a709b16cfbacf77f9196edd553be94f1b116f03955b31f064bceb04871cc8e958ad34fd7c5ec0f06c57f896ac38cff986f4 SHA512 e4c46278b07b2d310772b017e251e25822a61d067b686a9f32c023cb6789649c1ba17e767c5d35ac6e102817711aaeea43a57edf3ffffe21f0a5e8b677522780 +EBUILD quart-0.19.9.ebuild 1275 BLAKE2B ca609c4666dd521768d048d32de68dc58a43c41e7f3f055eadef76bf8e1ccf5df9a465cc6fb823eb146471a0b1e7b532c0f8de38ad1e74395a35c89673627b24 SHA512 da325657628501face945e376796f79a69c5c92b8de998d92e4860167984c7d1f41d19c389b9fbc20ed5a4937f2474c21f9061146f6c4eb3432c79e3afd9ce02 MISC metadata.xml 364 BLAKE2B 207d3328ae2624ec61834adc055ca2b01ee1a587c2b6ef8cfde8c72d7370f4bb912dbc5fefdb5432959dcf273b9ebabc394dfd163dab7be00413daa85a0b6162 SHA512 8fc752b94e06ea29021c7e73c67a488f17fbbd6b8dab79c58f8647989e9c613071b539e626bf122e6693b8b670cc57bea115581801d57d3212c037d0f91df7d2 diff --git a/dev-python/quart/quart-0.19.9.ebuild b/dev-python/quart/quart-0.19.9.ebuild new file mode 100644 index 000000000000..b3a076d87966 --- /dev/null +++ b/dev-python/quart/quart-0.19.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A Python ASGI web microframework with the same API as Flask" +HOMEPAGE=" + https://github.com/pallets/quart/ + https://pypi.org/project/Quart/ +" +# no tests in sdist as of 0.19.4 +SRC_URI=" + https://github.com/pallets/quart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + >=dev-python/blinker-1.6[${PYTHON_USEDEP}] + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] + >=dev-python/hypercorn-0.11.2[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/sqlparse/Manifest b/dev-python/sqlparse/Manifest index 4e19401f220d..70527433739b 100644 --- a/dev-python/sqlparse/Manifest +++ b/dev-python/sqlparse/Manifest @@ -1,3 +1,5 @@ DIST sqlparse-0.5.1.tar.gz 84502 BLAKE2B b0569552848795053c33e616966075629ae52e61cdc6950bfbc9c4a4976a1b39d6c80f26c25ed5bbd125395f38ed495e5df7532d5f3289e8eece398acc4abaf1 SHA512 5d93e942d6a26a544827a877cb2035328f406dc8e8475e217ba75571672b6c5eaca6f87c2c76244c0dea32449c818fcca9bb8fff53679e6f0ba2bef2a6b92b6f +DIST sqlparse-0.5.2.tar.gz 84951 BLAKE2B a270c94bc54de65f7c18549c262e40348cf7961cdd44c33dbcccdc7da59fe89ae1e746982b5f70cf859a2e16ca7721537f976ebce31f9664873c7182ebdf205d SHA512 d674996be8ef89309d73ae924904e3dbe09cfe6d9f2278d5aec43425571a8300785de96efd0936be82e49ec725668c234fd8a4a99b387832c4acce45ef0c8c62 EBUILD sqlparse-0.5.1.ebuild 562 BLAKE2B 7c12305936aecfc4954ba38aaacfd0505605d1bdefb57e850935a36c269ecad14c84a0a2b2136f68f96d37f1fe1954e95805d8385a1372b6a95dbc42f67543c5 SHA512 2351aa45bf8161298b8751ead051754ab53582bce7d65752e52deb5dd152f023a21367bfa7aa0bf58500501386094d2104d74270e0b5dd43a23ef9a67dbd6e9e +EBUILD sqlparse-0.5.2.ebuild 569 BLAKE2B ef871f4c18b5f4a72f5233366bd9559af891a351ccf83e6828fb6a76d18b5318a1451bfb0f1286a4553c625398c1700efb4171ff64a7f0b8e6d027f829568092 SHA512 ab1b5a64ac72bf8b281c7b8647d94b2683cb9ac079032b36f88dc595b72a3d5c642b6de16c278282ea6d1c377e3eb0bcc2d32417f662ba105ff9e6c980a98696 MISC metadata.xml 410 BLAKE2B 97f37f1bbd08aa14f30b7057399220b2f94d0e3d28261beb35b8572a8bd54edc7d5cb20a6d66f3e4d37a629b350f452899a12f76c59e71796bfed61e071da18a SHA512 a55605ca5c16014efda6f2c489d8598bf355fb776f1f7972d734b533291dce3f39996a86cd4d6f86296432898e54086cca614e89bc04b200b6fea80ae7a1ccee diff --git a/dev-python/sqlparse/sqlparse-0.5.2.ebuild b/dev-python/sqlparse/sqlparse-0.5.2.ebuild new file mode 100644 index 000000000000..2f4e3391419b --- /dev/null +++ b/dev-python/sqlparse/sqlparse-0.5.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A non-validating SQL parser module for Python" +HOMEPAGE=" + https://github.com/andialbrecht/sqlparse/ + https://pypi.org/project/sqlparse/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_sphinx docs/source +distutils_enable_tests pytest diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest index 6f873ec01f67..06f763ef3c23 100644 --- a/dev-python/types-setuptools/Manifest +++ b/dev-python/types-setuptools/Manifest @@ -2,8 +2,10 @@ DIST types-setuptools-75.2.0.20241025.tar.gz 43477 BLAKE2B 76cc7b50a0b1a8f6bc117 DIST types-setuptools-75.3.0.20241105.tar.gz 43569 BLAKE2B 415bbe2320f20af8ebeb3105e959b77f7097e9cc74ccf6bf13e4dc53ff597f149d9d28de610d2d0e8faccf90cd886179dfb5fc7a36ff5fbf93e71d18712807f0 SHA512 e88373b6f05b422497e3332ff1ef55fc52c4b78f47809dd8ae28b025d1c24364b8e1afec1a441a120b0373afda1e8422daecd6d9b5e6fa6b02cda4bd93f99c8a DIST types-setuptools-75.3.0.20241107.tar.gz 43666 BLAKE2B c076284dd0868618a4c2c198af5c7172a10c9a093591f73817fd3e52c8ac885eb5613f88d539621f669ab2f3748fcc28e829c12d3a19f3a3a99bd92ec3ff5430 SHA512 d9eecad639fac5dc6bfde98d0274d0d02a26cc767803643d7a01756be0f93348a293bed3dfae921265be2157bd1254ac3eb1b6a3dbc35b86caff957a5c4a40a4 DIST types-setuptools-75.3.0.20241112.tar.gz 43723 BLAKE2B 0315211e7bc53988c39a599df3e0b8e1026bb4446239ae93096cc1b7c0d2d8df7527c22f525a8b24d148129c2b7cc9a1aa385fa0d6d8f1b65d0d4a33690fba41 SHA512 71a1e6e265bf9ef254543d34b28c6e55d1cc1332166942ea4839f1ab2bc64f72ab81cf4e08b66f2a7e4965f7ea9196518b761bdf79a795d5e2d16113c7a6db73 +DIST types-setuptools-75.4.0.20241115.tar.gz 43599 BLAKE2B aa19e16d875780fa8e153d2399a6e1b8ccddb185fb2db4007beaab931471d789f45d9795fb046cd17c8a4d3fa15729f3c0fa95d96c8564a1c8aa1e9648c4b798 SHA512 21edf684c0f5aaa95b289c5bff813bfc5a800b598ccd30e9dfee6735bb055d93acb65916e27cf7a09a13065ca02f57ce494b736ada17871a635ac1b4921c0080 EBUILD types-setuptools-75.2.0.20241025.ebuild 440 BLAKE2B c734df29e57433a7e8e2325687fb52987edd825cc42e801f8fb8fd77f870f1de03e3d776df8ca52530423e298af5bf4fd1b3b5edec322c5e8556c4ef7fa9c90d SHA512 292081f2e1d3e3c8fa152a361d7c1ecfac6222dafced339663b7a5a40a5bb40e4fca30a18a3028cd9189c2c63797e2c6cafc3110d06478cb33382ae853d7f72a EBUILD types-setuptools-75.3.0.20241105.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 EBUILD types-setuptools-75.3.0.20241107.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 EBUILD types-setuptools-75.3.0.20241112.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 +EBUILD types-setuptools-75.4.0.20241115.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 MISC metadata.xml 399 BLAKE2B 6e130dc38e0e0e0e6e02567d750d37c6f28ea40c4742a9247f347f29e1700fc420015e7ff951f4a11c156c2df88d7e3b7f03be7759d05872a7783a2d25e35b1e SHA512 bbc9cb552e652e7644d4d635cfd74fdfffcf6426160025411843d53d37b02fdd65f7e1fb435fee7b628033cef517e3f5a902466b5786b842592ccfad068edc15 diff --git a/dev-python/types-setuptools/types-setuptools-75.4.0.20241115.ebuild b/dev-python/types-setuptools/types-setuptools-75.4.0.20241115.ebuild new file mode 100644 index 000000000000..50edc0c91a3c --- /dev/null +++ b/dev-python/types-setuptools/types-setuptools-75.4.0.20241115.ebuild @@ -0,0 +1,17 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for setuptools" +HOMEPAGE="https://pypi.org/project/types-setuptools/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 1d30407c5934..11724b4bdd02 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -1,11 +1,15 @@ DIST pubgrub-95e1390399cdddee986b658be19587eb1fdb2d79.gh.tar.gz 88127 BLAKE2B 661b639a7028b7dfe4967b4e2f187c3d403e1796bb09ae4606854414547cf81a5907d7dc9c1f8c3f6fe6986b1c8c22a89fee9e93d2ca79d5241350916991cf05 SHA512 8fdcd1ca1badbd140eb386ff37dd91b26d2b81273544b25a376462b900e9b84e59523ff75a68abe4a03834d72ee0d44246f16aea5c7e9091ad5375a86d3aee70 DIST reqwest-middleware-d95ec5a99fcc9a4339e1850d40378bbfe55ab121.gh.tar.gz 40815 BLAKE2B eb7edc4e4599635714b30e5a49b1ddf04e76a696618713320fbb06b240e5f77dafcba78e8532a7de3ada682773a65c88405a5bec2261a7da4310a7cc95b2554e SHA512 bc29f8e634cbfde9d89db3e7ac16a83b6545c15ecec1d0eb4eb2ea2c1647fb521712a9ebe98480cd0dff727fed0ecbceaaf3b23e0d85d97a0498f2e576cc9d7d DIST rs-async-zip-011b24604fa7bc223daaad7712c0694bac8f0a87.gh.tar.gz 51706 BLAKE2B 354eb52c95ea355521e1e6a7c841102424c47c156fdb0efb62e3cac666ecf289806aeefab8a0273a7c3283429ac81502283bdb5424d5f925621e5c2b1430fd4d SHA512 6650eef354e84daf41a8572b98b29f2873b7f071dd1d6983292c70b2f580fdc50cd26762d2228a70c2b200eae2f40476e6604702aa62cc97558301195bf19eb8 +DIST rs-async-zip-c909fda63fcafe4af496a07bfda28a5aae97e58d.gh.tar.gz 51763 BLAKE2B 59d053bc6692014d884a9247dea1b57a8789469ba2abbcc92ec21bb0022cbd74874afc463082156ab697aa6c80635019857a5d7e2dc150274e8b04d720518c36 SHA512 3a309566f4925b02496fcf19bc2865968edf6fb65082ca4079d2cee79e6b0353a1910c079f2afe656da0d0f6ddde5102052a221ea35a7dabc6d690a11218b20a DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c33f6f52e2bc83823eb6319f8a3e462b7c7408fb6a08f995747857ef234f81db4135a04f9d183095fe473a4087f8f0cb89d8f87ef4400285d2ce034ec22 SHA512 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68 DIST uv-0.4.30-crates.tar.xz 45786704 BLAKE2B 72a5828c5c504859248312e0d796a6505e4d0546218c8f7f99e37843afdf9496ea1ba4b1f094979299de417accca7f021e4f8971e467429e7d986ed9a3fb2008 SHA512 49abd05fa9e14b1bdb1b4d26f1e68a2038d57bd25c756440bca209b513de42fd8d33ce6e1333392dce65ab427285651809b44e024758359688af5fb87efc19ed DIST uv-0.4.30.gh.tar.gz 2832043 BLAKE2B 11c0d090161b9aa6d6e84d0edb15701c8eaba8281579653d6b0ba84003933f82ec5b71c3c33689e5324e51de70b7af41e4799f35fb45f57ce6d58fafa371a615 SHA512 4930c863aae71ae6e6f5b7ba20ff30ffe4c044f6980f973110d0c8c3079cb4aacbe774fe4577eb8d9c16f5d41d2cd0974c0fe63cf0d10e065c6b8d4cf553b80b DIST uv-0.5.0-crates.tar.xz 45831504 BLAKE2B 0a95463b47729d40cdaf852ba556626ed3a1d2122f5d5a8bc6c401b95c836fa0ac0726f2aeaceb10346d65c0aa3c5250598c3219244fc3b957d26ee16968d443 SHA512 b991d9aeeec6b4e5d3f3f11a51c66f929560cc75bfc9379f090ba75b243056d4cf174326f8cb31b7aefd7e60e445e05b6799d9d7a8021b0893de436dafb384ab DIST uv-0.5.1.gh.tar.gz 2839701 BLAKE2B 5b4ec310a9979583b1f75355ed7a69f9b40ee397464c031b2ec36a1852e9d60b66223719cda6d6f3edff1901e60426bd0e662da7c346082a9d8889ef8b411bec SHA512 eb60061df14a6fee3295097af92bb63b71bc61f56d422db2fe6d61b7d65eba002aed57115e1ffa9e6382fc4b29a38c2e4821e9a75e1114594751dea6e8a02d0e +DIST uv-0.5.2-crates.tar.xz 46304440 BLAKE2B dabe98041d7b041b2dc76f95c6aa35f115b8f9754b1c5559f18b1826108299924d4a71bc2e830ff18145ca61dacc50007d4a9dd1edeb9c9e1be9976f763cc1d0 SHA512 eb0ed382236e13ffe3d4490eed1e9a9cb27df649b4a9dbf7383c9f90de0bd351b70b7f73be333372a5845d0229456c869ebd34a53065536818c0efb4689bec49 +DIST uv-0.5.2.gh.tar.gz 2886231 BLAKE2B a9b1228915a9108fdc97f37f6b61a68cef068df4d536b6d4a2673b726c755e730c677b28b3635da7838e6efbcc3f02f841396992d135e2263793d68e80ce6cfe SHA512 226afbf9f50d5d90758216895549ba64600e256e6290a605ed4c017ed7728412773d4248432fe49a741febfb70d74234260ba4adad69d74a6b828ad6a699a58e EBUILD uv-0.4.30-r1.ebuild 3614 BLAKE2B 9654a85e33048055476f675bf61b1e82a55b22bd08b14753e72372912aa20b74011f2c99c939607b5343f6f800cc8490a7afb323ef7f653d14d1dfce339f6e48 SHA512 0ddc3394f0f4ef685efa08e4b5f40d2615f74d8672cdd1c098c5edd2f0c0de7e65705979955584bdf359ab7eca75967b5753cea63aad117b3f876eb05dcf736d EBUILD uv-0.5.1.ebuild 4551 BLAKE2B 4b85cbea6143374a8f2485d1d780277dbd38eb0e6fdca65f3ac888c9bb9932211d87050c2a9b14c9b36d142034bb9b8f6f956824f79fb5245d1138f741dd10a9 SHA512 de1b021f127b4898447ef616ef7ddece1965be985659da5ffbcfb59ab681ba71c6c252261317d5331b099be1b1f31f0db144258d11564ee2ee4de43cd6afdc51 +EBUILD uv-0.5.2.ebuild 4338 BLAKE2B 9a1feddd40d2004de60aa93460c359c2648b56af5e20ca49a2829876e26e09f7d647f8c73a35c917fcb569c0427fe654f734a8e1feb9ec8c799cecd50d8b5dc6 SHA512 6d2debde87f099715c36de4efe9982531b140e8943b60d56d53c2effed951a63d28f52e142ca212cc39a17f55bfb2f24a4221f81387d6c11215d92d15251c1d8 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.5.2.ebuild b/dev-python/uv/uv-0.5.2.ebuild new file mode 100644 index 000000000000..87f34119feb6 --- /dev/null +++ b/dev-python/uv/uv-0.5.2.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%' + [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.80.1" + +inherit cargo check-reqs + +CRATE_PV=0.5.2 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} |