diff options
Diffstat (limited to 'dev-python')
47 files changed, 1643 insertions, 80 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 21ba7538bf..5d4e4a97b0 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 290607dcc6..c0c7c90e00 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,6 +7,7 @@ DIST boto3-1.42.83.gh.tar.gz 1114541 BLAKE2B 8f43a35b343b6d028a7e864a9aa78b4215d DIST boto3-1.42.84.gh.tar.gz 1115838 BLAKE2B de89b745b6bc04a39e9fcc9fcb92261c654e7faf289f2547e6ecbb1d8800174ff054b4c4ca75cc46f37335b8a36a87d74249681c8a34c8e971c2f1a1b1d62e9c SHA512 18594daff40d4e8f69bb71e970e32bc137bdeed8c82a1d57e8b9ad317935cb6aee6bc37e8381ab0f37682a6c5c967f94f7d1f810cf027c637ac1e3338942982f DIST boto3-1.42.85.gh.tar.gz 1117988 BLAKE2B cdebcfc426c6412ab2d501c9cafb2ce65f1f19c666ceeaa8999a9e09252e4eae1426368a124ceff2de0eb9db85180d9dd0dca927035dd653028912de0c6b0cc0 SHA512 0b4beb5a279c7401f8ff7adaf8fa56c1413283a96b225e16481d11af667f0f293a6fddc5c2858fb00530276cd7b8a6590e23359f7184d9c56c393d729d749c66 DIST boto3-1.42.86.gh.tar.gz 1118949 BLAKE2B 567875d3a130f6b7bb5a7eecfe81bddc24b7df8f8e1a45acf0ed28c10afc58f596cea71c347171bb86e73423b19f1e84bee8827da2b5b52e93ea0e9f1e7b51a7 SHA512 141373dcfbf13026f243433bd3b403bd31f08ed0f63496c7eac0779cf9bf798eee132854afb1b317226d905a98a86de93d95dd6815ec9863c01a66c1daf38eac +DIST boto3-1.42.87.gh.tar.gz 1119510 BLAKE2B f800b5931768f707c5f53c7171d5a0828f286f92bb87a7840747082dd18891dfa12140441d335be081b7b2f2d7143c65d15a8ba8ee9d164e2a2eefb814892d2d SHA512 caf856381edaee513a5331402efcc5ec79a86ea22d415850f91d24fb4f4704e1a68433b4b05e8100ab207be354c73f3a4d869716c1b624f543628692044b60c9 EBUILD boto3-1.42.59.ebuild 1158 BLAKE2B a4072f4684fbe99d7c59639e96b97f888fb4bfecbf70ef268fae11d00cda04e6ef73bd5367f8dcd5c29fea95ca645a88ded549a3355cc2070521889b0a637e40 SHA512 e6e701d7db0fbff748aeb9884ce5e7749d02f616d52ad2a38f8f1ba0b91590cbe82b31e2459f463117c53f1108c62116ee977984950ba2c019cd7dc3212b6a72 EBUILD boto3-1.42.63.ebuild 1164 BLAKE2B 761146392ebb49d0d4193a0266346f631c46144a28d50379ddeadc56cbb028a96702f72fa58fe87331e3e6d7718c98a52260e08a0838c7753b5186e51ca4b9c4 SHA512 c365aa5dcc67cfe9eb11165a73db5ec837b5976edf25e15cf7822c47ab647905a1e4b1f1bc7dbce994089af15036fbdf743643ecae2fb53fe74d889e854721ed EBUILD boto3-1.42.68.ebuild 1164 BLAKE2B 761146392ebb49d0d4193a0266346f631c46144a28d50379ddeadc56cbb028a96702f72fa58fe87331e3e6d7718c98a52260e08a0838c7753b5186e51ca4b9c4 SHA512 c365aa5dcc67cfe9eb11165a73db5ec837b5976edf25e15cf7822c47ab647905a1e4b1f1bc7dbce994089af15036fbdf743643ecae2fb53fe74d889e854721ed @@ -16,4 +17,5 @@ EBUILD boto3-1.42.83.ebuild 1164 BLAKE2B 761146392ebb49d0d4193a0266346f631c46144 EBUILD boto3-1.42.84.ebuild 1164 BLAKE2B 761146392ebb49d0d4193a0266346f631c46144a28d50379ddeadc56cbb028a96702f72fa58fe87331e3e6d7718c98a52260e08a0838c7753b5186e51ca4b9c4 SHA512 c365aa5dcc67cfe9eb11165a73db5ec837b5976edf25e15cf7822c47ab647905a1e4b1f1bc7dbce994089af15036fbdf743643ecae2fb53fe74d889e854721ed EBUILD boto3-1.42.85.ebuild 1164 BLAKE2B 761146392ebb49d0d4193a0266346f631c46144a28d50379ddeadc56cbb028a96702f72fa58fe87331e3e6d7718c98a52260e08a0838c7753b5186e51ca4b9c4 SHA512 c365aa5dcc67cfe9eb11165a73db5ec837b5976edf25e15cf7822c47ab647905a1e4b1f1bc7dbce994089af15036fbdf743643ecae2fb53fe74d889e854721ed EBUILD boto3-1.42.86.ebuild 1164 BLAKE2B 761146392ebb49d0d4193a0266346f631c46144a28d50379ddeadc56cbb028a96702f72fa58fe87331e3e6d7718c98a52260e08a0838c7753b5186e51ca4b9c4 SHA512 c365aa5dcc67cfe9eb11165a73db5ec837b5976edf25e15cf7822c47ab647905a1e4b1f1bc7dbce994089af15036fbdf743643ecae2fb53fe74d889e854721ed +EBUILD boto3-1.42.87.ebuild 1164 BLAKE2B 761146392ebb49d0d4193a0266346f631c46144a28d50379ddeadc56cbb028a96702f72fa58fe87331e3e6d7718c98a52260e08a0838c7753b5186e51ca4b9c4 SHA512 c365aa5dcc67cfe9eb11165a73db5ec837b5976edf25e15cf7822c47ab647905a1e4b1f1bc7dbce994089af15036fbdf743643ecae2fb53fe74d889e854721ed MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.42.87.ebuild b/dev-python/boto3/boto3-1.42.87.ebuild new file mode 100644 index 0000000000..019ca75e6b --- /dev/null +++ b/dev-python/boto3/boto3-1.42.87.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +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() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index dbbc29d554..6e8b032f6b 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,6 +7,7 @@ DIST botocore-1.42.83.gh.tar.gz 16051706 BLAKE2B d34e6dfb9d1db5bfa58d84930167d8a DIST botocore-1.42.84.gh.tar.gz 16065334 BLAKE2B 7166ab60b4a9c01528f87030460e0f783b54a2197ae4bcc72a9efb20dd21a8540695e96b2e45f7245fae373a46995c27ff61133518de42a9a3f2a59b2eae0906 SHA512 29e339d23d93d5ab1381a5f893c257fcf6e300ab509e18c36a6ddb61e402ddd203e37d53979a58b98bdcf935c0fd00d7351bd439f3553b8df3653a9bc7aa0ee0 DIST botocore-1.42.85.gh.tar.gz 16078818 BLAKE2B 16b7eeb119c7f3b6c99f89bf858632b1f47f9562861d63442b924943acce4b0295ed7078b7372f292111de9cad21fa4fdf67f47f0a0869150d5eb637565030e5 SHA512 ce022edf6c8c8c5515e916684384983fea68c51b13c3c659f445a842e4b7873577e3746954eeaff5be3343da6e93fd6589cae3053317addf47eda90dc8ce4754 DIST botocore-1.42.86.gh.tar.gz 16096034 BLAKE2B 8e3fa6ca0d609d658cf0e7be713d31a47a0f0295a2e6a808177fb1a57a9ef662eafa6c54e901370a08e7d945e67c3a0f2e6a9e21222fe89440c6994759c624a8 SHA512 d1d4206fde4a2c29a602513676b3a444679fb3d75c7d2fb1f37b6afde4d92dd5bdaab336cf3670eeff96fa99b557bc7b3e53be63fab4ea5de65b849db8410160 +DIST botocore-1.42.87.gh.tar.gz 16110857 BLAKE2B d3f328970ab32dfcb4a139e15de275e468afb8441de33a16cb52ee605b316ce6ccf2c6b59c728766ee5e83d9327e3bb8ea5cbb05507783b423e61ea7a3a215e3 SHA512 bb549cd3de753cf05c6a60114743054c09a0f39e528f409702915a12f3bb687b338bd55e43be75fe6effa805c85af7a405680a4e385e9844a01bb89309446eac EBUILD botocore-1.42.59.ebuild 1437 BLAKE2B d0ef20dbc43acf77cca1e5ad42f7d19cd0101ad98dfbd539597aabd6c4c3e9c647fbd5cc6b5c0e17ab33aef2a9bcf2d43cd5016068634ce7a32f8983abaa3724 SHA512 e93b87849845c3b1278d1bb48a332f46ba2196d668f7023a9b650434678d7b5937d5ec5c4c323b629d9bbf16383faa7670adf029b0d58c2b919de7e466434303 EBUILD botocore-1.42.63.ebuild 1443 BLAKE2B 953b85dc2dba5a56aec7a81ef059c41d35a6a1e3ddad9187f16c277b8a7f85409bc315ca2bdd2fd7294c4487cb56abd1db71eabc099bfe09cc36484a4d22f145 SHA512 db3d7f1b4ce2aeb60382f7d8181f7b24bf5e7b75ea5c97fa5ee4f8ae478e7b78127922789dbf1c72533f1e79f307151be11de9c0643b9613362dfba1a38f30c4 EBUILD botocore-1.42.68.ebuild 1443 BLAKE2B 953b85dc2dba5a56aec7a81ef059c41d35a6a1e3ddad9187f16c277b8a7f85409bc315ca2bdd2fd7294c4487cb56abd1db71eabc099bfe09cc36484a4d22f145 SHA512 db3d7f1b4ce2aeb60382f7d8181f7b24bf5e7b75ea5c97fa5ee4f8ae478e7b78127922789dbf1c72533f1e79f307151be11de9c0643b9613362dfba1a38f30c4 @@ -16,4 +17,5 @@ EBUILD botocore-1.42.83.ebuild 1443 BLAKE2B 953b85dc2dba5a56aec7a81ef059c41d35a6 EBUILD botocore-1.42.84.ebuild 1443 BLAKE2B 953b85dc2dba5a56aec7a81ef059c41d35a6a1e3ddad9187f16c277b8a7f85409bc315ca2bdd2fd7294c4487cb56abd1db71eabc099bfe09cc36484a4d22f145 SHA512 db3d7f1b4ce2aeb60382f7d8181f7b24bf5e7b75ea5c97fa5ee4f8ae478e7b78127922789dbf1c72533f1e79f307151be11de9c0643b9613362dfba1a38f30c4 EBUILD botocore-1.42.85.ebuild 1443 BLAKE2B 953b85dc2dba5a56aec7a81ef059c41d35a6a1e3ddad9187f16c277b8a7f85409bc315ca2bdd2fd7294c4487cb56abd1db71eabc099bfe09cc36484a4d22f145 SHA512 db3d7f1b4ce2aeb60382f7d8181f7b24bf5e7b75ea5c97fa5ee4f8ae478e7b78127922789dbf1c72533f1e79f307151be11de9c0643b9613362dfba1a38f30c4 EBUILD botocore-1.42.86.ebuild 1443 BLAKE2B 953b85dc2dba5a56aec7a81ef059c41d35a6a1e3ddad9187f16c277b8a7f85409bc315ca2bdd2fd7294c4487cb56abd1db71eabc099bfe09cc36484a4d22f145 SHA512 db3d7f1b4ce2aeb60382f7d8181f7b24bf5e7b75ea5c97fa5ee4f8ae478e7b78127922789dbf1c72533f1e79f307151be11de9c0643b9613362dfba1a38f30c4 +EBUILD botocore-1.42.87.ebuild 1443 BLAKE2B 953b85dc2dba5a56aec7a81ef059c41d35a6a1e3ddad9187f16c277b8a7f85409bc315ca2bdd2fd7294c4487cb56abd1db71eabc099bfe09cc36484a4d22f145 SHA512 db3d7f1b4ce2aeb60382f7d8181f7b24bf5e7b75ea5c97fa5ee4f8ae478e7b78127922789dbf1c72533f1e79f307151be11de9c0643b9613362dfba1a38f30c4 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.42.87.ebuild b/dev-python/botocore/botocore-1.42.87.ebuild new file mode 100644 index 0000000000..d43f8b5c5f --- /dev/null +++ b/dev-python/botocore/botocore-1.42.87.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +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_PLUGINS=() +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 + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 66e193679a..059024aa1b 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,4 +1,7 @@ DIST fakeredis-2.34.1.tar.gz 177315 BLAKE2B ed0ca71b7feeeb81cb5bd927eb19a4bc3af56ae1de08334c5825dce88af8197dcc946b8cd3d98ac32972f99c47a480c9669b9fb252e66022ff0dfbe8fce0056f SHA512 26b60db9d4d142cbaaaf51085e4efe44380626c9600145ef4b8254a92eec02423a90b0587817d94c6559f046c7d9adbce1fb25a678d00390be91132de192ece3 DIST fakeredis-2.34.1.tar.gz.provenance 9528 BLAKE2B bd549cae9bb98f5d85879b38f87d4aed02ebd0b79e858eb273ef94b7c68caec221f684766ad107c445219a792ee9cd61a68791b956b90312ee6160899dbf622f SHA512 d93171e6b50361fc3717461e926d05a4c9773f5381d33c7f5ef8eba6630bb0393cbe9ffa3222f91b375576b457fa431e4037b25a75fcfa39c35b1a25050db899 +DIST fakeredis-2.35.0.tar.gz 189000 BLAKE2B 425fa7663898fd8d3ea8c628c82528fe7654d11daf057daee31c9c35daa643ec557668e127ecd4ca652b40dcd8e5e95af4f235098335b711a4900f30e4fbadc1 SHA512 8ac1876c4d2a01338083c180d8eaa8575faf016770947ff8ad90019117f4e1df88ab4be370f6e1b286c265cc446fdc832fbeb2ae19fd9f6d8aadf217e2f59578 +DIST fakeredis-2.35.0.tar.gz.provenance 9493 BLAKE2B 08f75a47d77f6eb860922dcd23cbd6fff6ed9c659b8f557a2b739049c49713f546af0a5c091ba0aae2d6b86a11808ab19e1a44fbbe6a96c4be795cac2abc629d SHA512 8545733e64c6d996e498c4bff46641a71068c92c8f91aee1a35bd0f06e2020e79db5a4f1dd65c2decaa8a3df253f84913d79b5159c30a30fadcdc58432e1845f EBUILD fakeredis-2.34.1.ebuild 2719 BLAKE2B 8f418c87a7e5894baa6c1a66fcec065312f44926de55a613a7d6157b45bac51a7f2415f23ec2bfa9a428a90442b94311c110acae27aaf632576e467ae5911cd2 SHA512 d4a296ab74af798a62a2c0b3d231179ec85c0e1b4e1a96e364416e7ac995e0634c2c6ac23914952d01e126963ce23508e765a1f98d5cbb5451a69c71db70d315 +EBUILD fakeredis-2.35.0.ebuild 2721 BLAKE2B c4dced45c9f41480c4ff3153c6a2f1531c37b1ebb1c15ba61497760fa354746c01185c68d141d96dad43ba13ae40292257dbf75882e3e7eb841d9430c2c28a3f SHA512 a05a44248d6325f8c1ef7132ef2334cf58dac75e41e275e7dca3782b5429330569df9b89dd2ebb689bdbb03f8553ff8e788fa180c532082ac4fe6c71b31bcb3c MISC metadata.xml 373 BLAKE2B 1de33db59658e6190cd0346be58208cae6c9143a52f49dc289e68aaa0d860b5bd68dfb54f2e0b005f60a67f5caa430e2ce94fc69e64bd27e1bbebb07ad29e602 SHA512 24bfcf4919363fef45c182b6de66221e580ee0e9e99ce46e91b767655dc0b6f8a9fa6c3512ba84d1040698c43a0b6a853ad8d63c1ee5fbc00a1d192defb24db5 diff --git a/dev-python/fakeredis/fakeredis-2.35.0.ebuild b/dev-python/fakeredis/fakeredis-2.35.0.ebuild new file mode 100644 index 0000000000..b1f166c94a --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.35.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/cunla/fakeredis-py +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/redis-4.3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,mock} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis2]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis3]" + "test/test_mixins/test_pubsub_commands.py::test_published_message_to_shard_channel[StrictRedis3]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis2]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis3]" + "test/test_mixins/test_streams_commands.py::test_xgroup_setid_redis7[StrictRedis2]" + "test/test_mixins/test_streams_commands.py::test_xgroup_setid_redis7[StrictRedis3]" + # json ext + test/test_json/test_json.py + test/test_json/test_json_arr_commands.py + # unknown command 'evalsha' + "test/test_asyncredis.py::test_async_lock[fake_resp2]" + "test/test_asyncredis.py::test_async_lock[fake_resp3]" + # incompatible with xdist, not worth extra effort + test/test_tcp_server/test_connectivity.py + # flaky + test/test_mixins/test_server_commands.py::test_bgsave +) +EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis + test/test_hypothesis_joint.py + # require valkey package + test/test_valkey +) + +src_prepare() { + distutils-r1_src_prepare + + # do not install duplicate license + sed -i -e '\@fakeredis/LICENSE@d' pyproject.toml || die +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6390 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} + +python_test() { + # we can run "fake" tests in parallel, but "real" seem to share + # the same connection + epytest -m "not real" + EPYTEST_XDIST= epytest -m "real" +} diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 29fb8d5834..40bab97377 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -3,9 +3,12 @@ DIST google_api_core-2.30.0.tar.gz.provenance 5818 BLAKE2B 9fa55ad67d35ed1765553 DIST google_api_core-2.30.1.tar.gz 176742 BLAKE2B 2e5f67f9d37544eb8d5f0991babc57b58246dbfbf31037503c8523d5e9c4dec9e081b353b8ab0a8d54dda3be30a2c23ffa2b0ecdc686b7f5a52e94fda3fbc16c SHA512 82feb714d1182705dd08c5b3f7606d8341fe765825b034eeb90c789f717157f208b241f27feda143daa240d86dbfe22e24dcbbb1812b9e6bb3c7ef5690b8ec86 DIST google_api_core-2.30.2.tar.gz 176862 BLAKE2B 700bcebabfa41d653d1fe3b55bb4f70aaff80b9152b819e4af60e1b2440e242a131b275ef26ccef8ae2062c4e5a5b4a985a37dd6910492492e2f3b75755ee543 SHA512 5626a9f3bb1faf83ad3e3caf9093b7514ef2c3ac391a6227b0eabb0b59ec9e5a19f86eba85320db152068053cf05f7a28e1e17437d60d4272d380c8319c7b50a DIST google_api_core-2.30.2.tar.gz.provenance 5896 BLAKE2B bdc2e34b15ae52c58090c2e6e88a86a206919825fbb7cfe33edafe5e6b76e78060e080be69e0a0b348c0ff3f47ef0b2a511de3e398543fbec20095e7d2b05169 SHA512 2e0fe2f790e27f386ee49d68e004ffc2ca8e43df1eaeda40c43c2aed61dad5820c5d01ac2225a7ecd6804014a81727fec6e789f706951b6dcdcb5995018a3001 +DIST google_api_core-2.30.3.tar.gz 177001 BLAKE2B f92aaca90dbb81ba324310cbea02bc7b9548c46b04c4fd73f94a4a068d28f4faa1593f4494b907c1f48d215c0ace16cf6b8050e4a1096ef7a25584b5f8e9ddb6 SHA512 bf05923a2321ac3c6e61ac1a6f64b063d8bdf2e31ed1f06c9e60defe45b1f8a5297cd40e9e14e0e772a6504f114c6dfd48e72301c493f672c8e903d49a6db00f +DIST google_api_core-2.30.3.tar.gz.provenance 5822 BLAKE2B fcfb17036eb98d36c8adc812d20a51f5755b496f1b4b8198e2e102482a7ec2ccb907aeeaa53893a7cd5b5edd9117e530239f69614ec5adc8c78a52c351941837 SHA512 fb161a1593e6b7e63bcbf022a27a9a660d3b12817d95f81c9e5642497a2b3d22cc0836efc63b7a316a4a6451d980111bcf3bea06cc45432b0ca0449da3dafbf8 DIST python-api-core-2.28.1.gh.tar.gz 222422 BLAKE2B d4a82bd12c61232efe92fd4d28d01262f67baf38c55f71ba23ae51d30fd108ea75af69c65ed117ff4662add7eec279ea08a8d77f87f6cd814092535a0e44522c SHA512 4bde79d79e05d918ec477de1dc944f0ff54ac46b25c124a9b9198e21b03d836447d88dd209f0be0b96c5323396496468e5865aa33f932fcf712818fe21040f55 EBUILD google-api-core-2.28.1.ebuild 1479 BLAKE2B d3e0f2dc35b439150e429d4fa492fb7dffded58dc08bd38c9fd0e11b12c56220d923e6cbda5030ee93fa5944467b9deab13c4461ef9f35a8e1e5e728b84ad897 SHA512 5cab4cecc1b69aa9b688dc83a0141fc3ef9115fd100be3fe32ef877c7121a6ed237adf7cd15395793e06034d6de0acc3ff238da9c7c72e35fe53c1be5bde132d EBUILD google-api-core-2.30.0.ebuild 1423 BLAKE2B c8d9807886bf62b8ae25a8e3073d704c48fdf579c562b9c6af65f83a1b60ee72e71cb175c526a194c661fcd1c2c31d0dc08f598d1b2068e41decd7250ac3f51d SHA512 b1485a2444dfb4b4160c880b732a6739bbe1485169d0f31044679b21d1920fbe0f25557a92d7a5e9e444fe425225283e77f9c81870f8b80e770fb40953d3656a EBUILD google-api-core-2.30.1.ebuild 1339 BLAKE2B 5f7800599fdf0f1e31170c1288f7f5551e79a9dcf8dfd8cde9617bf56e8207c5dd5ee8f4d07d1209f983fd7a94daa0c89d9c4c3b594442f140b2e7b78353fb66 SHA512 13a3293aa80f8c75a6073e014d4672cc9049a16c8e99e19dd08aa8169607d3be00730944bfee5d8adf965d820354851d95110c52b93f001c187a747b6736e47d EBUILD google-api-core-2.30.2.ebuild 1423 BLAKE2B 2b16d590df6719c0dc36955edc71890577d8742c391b98e4c0e23bd88a2f4b1ca7130ad0d04c0a3c6fb3fd5f829a2480df3be98c30a8be2540b3bf349fb5d96c SHA512 2f20ba582968d8ef35ef550f2ba4fd70c2cff39a72b52bcfbe6f23cf152e8b256fd93fd3cc9ce3369a7c6d71739e5def5f28dfc48175b9c12717a7dc75de1f62 +EBUILD google-api-core-2.30.3.ebuild 1423 BLAKE2B 2b16d590df6719c0dc36955edc71890577d8742c391b98e4c0e23bd88a2f4b1ca7130ad0d04c0a3c6fb3fd5f829a2480df3be98c30a8be2540b3bf349fb5d96c SHA512 2f20ba582968d8ef35ef550f2ba4fd70c2cff39a72b52bcfbe6f23cf152e8b256fd93fd3cc9ce3369a7c6d71739e5def5f28dfc48175b9c12717a7dc75de1f62 MISC metadata.xml 659 BLAKE2B d5ea3f6063abee1d1adcaebb72e526324882add6bb81c77cd935f042eda95a58f27fad47579b68cf49fe5912d9fc27168a3430a1f566dc5af82a8b3426e28c4c SHA512 34a70b5089c97c850122a36ef759065edaad05f9dfbc85e13820adb8440b7e63507efe62615e87f5de2f3d22bce277859c6fa18e299217fb6245c95c8b0819eb diff --git a/dev-python/google-api-core/google-api-core-2.30.3.ebuild b/dev-python/google-api-core/google-api-core-2.30.3.ebuild new file mode 100644 index 0000000000..e81a41c4d2 --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.30.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=gcp:google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/google-cloud-python/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="grpc" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.63.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-4.25.8[${PYTHON_USEDEP}] + >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + grpc? ( + >=dev-python/grpcio-1.75.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.75.1[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=dev-python/grpcio-1.75.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.75.1[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,mock} ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # The grpc_gcp module is missing to perform a stress test + tests/unit/test_grpc_helpers.py +) + +python_test() { + rm -rf google || die + epytest tests +} diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index ea1c5612a4..aafe8e64b9 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -4,7 +4,10 @@ DIST google_auth-2.49.0.tar.gz 333444 BLAKE2B 5471495f348918cbab6219a8964c40a3a0 DIST google_auth-2.49.0.tar.gz.provenance 5862 BLAKE2B 0ef4e524c045d11a04749ff932eafbe45426012b08f2794f4e71005c342d90643d1c001c428fb88c48152ab049cc019266cb034db86a3e9ead215d2414d77738 SHA512 892a20d41ea32f87793f1a26f4d9cc5a489b9b1d208b2087076f30bb880dc509e47b89e0b14ff14b495a054373f110e66d1e85932fdb68a6977b6690b5b57940 DIST google_auth-2.49.1.tar.gz 333825 BLAKE2B 9c1d965e8ed68b183369a4427095950a44382d04d37c10d7bfeb6641090848d62dd775fba0ecbbc4ee1345884dc4b0995a659ea8e5797cc6cf6efb81bcad7c00 SHA512 979e83c8ee2e9f79f31d3d03b18da1053d6c9903681513f72a991059123729f162505a8d4448e745b78851f42dd3bf69ae20f8758fdc4e50aba83c734e24e1d3 DIST google_auth-2.49.1.tar.gz.provenance 6003 BLAKE2B 6322011ec3dae3da2a98f439ce49ff7cae20cd213851343d6620e53b33567c3e07c525de449f3ae32e19230cf8b0826ac26118c2bac5bcf885a1bd1705a5546b SHA512 9d5f59ca1736dd32ed7fa9781c8f0885c7e36beb92fee7ef0e8d690915a6f50d355ba84229974a639f5d51510eafc97004571d914e2bf1b0592752d5ef80c901 +DIST google_auth-2.49.2.tar.gz 333958 BLAKE2B e89901c46b0f4b84ecc43eeb99c45d26afac6d5bfe0989bbf8619afabeaca7d3968a6a1a9a09aefcdc9de48d4390bc5a4e5d25cc8fe2681ed570fa018be56a0d SHA512 9f4d937577a9f007ba53c38031b36ea30f75383b2764f94bf95024c7537d3c75bce4482b8e27ff6a31c72b33623455eb32df0709d9351eff3a942d080c74c007 +DIST google_auth-2.49.2.tar.gz.provenance 5673 BLAKE2B 397cc01fadb64b9c7d04ef86bf109466b3676702139604d5cc856e9f98afcc39102db269c3b58c05b50d18ce3700f59d1c4b180a91affc31efe7b3270b1d1e72 SHA512 9299e45f499b8a12745e983fcca235fb0dcfe693c776b58a00a2baef4dd1d1eec456fe5f8fc991539acc082f1864e7dfcb2b8756a58afb7ffc360a50a4c8d1f5 EBUILD google-auth-2.48.0.ebuild 1551 BLAKE2B 096f840c9701bb6003fedf3c8af9fbd2a6fbaf83186e42d9460e17b2e060d27cfe9e2bbe4c0b982ca7b636bbf2fff009f7ed0ad60cdb49ed5191cf089674abc4 SHA512 e177c2bcdfe101b56b906541f3305fca14ff9aa226478a958c3e627169ed95c5c7b110ad730da96c404f1356963c09155403bd761d7944bc77f026e96f3f0d76 EBUILD google-auth-2.49.0.ebuild 1554 BLAKE2B b771c28f06521da148b2d2de991c4ec5e2e39cb26d72abd25a419bf96e5ea162b3486fdf2e58502f0dbbbf932c2ce7e793e463c6360eb9e8a0c2cd0cc4ad9196 SHA512 4d14a2fd33cf3311f856e4ba95463de435d8ea0460701e32686935ff5614c969c206126a3813f4444ad32f336d1b19dcce5f73741598314ac73f5c55bb2beccf EBUILD google-auth-2.49.1.ebuild 1582 BLAKE2B 3378f210b9a41a9813a50a72e5d043178d3d6c6682d58cb23696d094aab4419404384c4bedad04b8903874278342a085434c4500e20d69e2c3f0fdfca53e7af6 SHA512 891ec905d03d6882681d53da404928d4e898649f3ba3f1d8b541b60168f9dc4deac79dad76836071460fc4d49c8f4159600457207a50f307093c92fc4243cd12 +EBUILD google-auth-2.49.2.ebuild 1582 BLAKE2B 3378f210b9a41a9813a50a72e5d043178d3d6c6682d58cb23696d094aab4419404384c4bedad04b8903874278342a085434c4500e20d69e2c3f0fdfca53e7af6 SHA512 891ec905d03d6882681d53da404928d4e898649f3ba3f1d8b541b60168f9dc4deac79dad76836071460fc4d49c8f4159600457207a50f307093c92fc4243cd12 MISC metadata.xml 416 BLAKE2B ff9c2769eace434eefea368c37dbbecf552df1ea0dbf1da1912cd8fdf6d6dda7f4f06a5f580ed1f6472d8d7d65d764bc731b1a8da3344f3822f66008621860b5 SHA512 9feef3f07231f790abf8701f38b0c258db96ef9da7df5fbbe04b68e2549464365872fb284d27c24fdc9c82ea38e4b991474e9946d928bbae5e7744a5266ad1e7 diff --git a/dev-python/google-auth/google-auth-2.49.2.ebuild b/dev-python/google-auth/google-auth-2.49.2.ebuild new file mode 100644 index 0000000000..c0132aa3e7 --- /dev/null +++ b/dev-python/google-auth/google-auth-2.49.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=gcp:google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# TODO: rsa is now optional +RDEPEND=" + >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,localserver} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # tests are broken with up-to-date pyopenssl + tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success +) + +EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py +) + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.]*::' setup.py || die +} diff --git a/dev-python/librt/Manifest b/dev-python/librt/Manifest index 57b8fbf961..c89d120a67 100644 --- a/dev-python/librt/Manifest +++ b/dev-python/librt/Manifest @@ -1,4 +1,7 @@ DIST librt-0.8.1.tar.gz 177471 BLAKE2B 9a126fb58c75ce420e789d516806e3089ef38ef67a6d19c71e8028f61b6e3a1c1804ebe89280877df9ec0fefb3045da7c4d1a060f1635d6455e48b6cedfdc405 SHA512 0cac416696dd87a1cd9c8276946d7ea25d125b07fe9bb0abc09a5590e549bb781944713f1c83edb83eede3a0038175cc33d8ad3fa4e945ed916aa3c590f91020 DIST librt-0.8.1.tar.gz.provenance 9403 BLAKE2B 204a0608d5d88e937497eca45e1df0499c12f3b20886b6c983d9f9faa5a1b7577ccd4824805879deb45c91f3dec6007ad15f71d10a85ebaf62bb20c6ee4b4a45 SHA512 c906baf149855c13ab356e3eed93a72e64d3ad49430d50398652d916ad6d429d7852412fc92b03fa141de7527cf48c5a17638304a230d41f233dbd99193addea +DIST librt-0.9.0.tar.gz 184368 BLAKE2B 03e1b1628c902eeab9d97610ec4a4e764767a4ba7a60cf5c9b52d2c8f7486a8b960baed1e75d895d4f5d9e2d2bc9725ec80e4269352b9e602833c4aa92c6bc5e SHA512 0877b217af0898b20623290aa5aeaabc224342d19bf2e6142d7ba7afd1d9d5ab19266e79e09b31a4b6cdd02ebeebc38561fc8876ff13026df1745e35ddd7d7a6 +DIST librt-0.9.0.tar.gz.provenance 9176 BLAKE2B af4aacde70c07d9458714711402f508197fd232abe624dfce92a2a68f32d25c0b99bb15ce09dfc0b7975aa60119146062c722436ded816396eca667d9bf36ca9 SHA512 c568c933cbb8b1016c7b64308001a3d205120afa0f8a7845613ea8907eaffecc796ac5668db002260b30974f4839e17b88d5eb231eb6124263194e9270c78e18 EBUILD librt-0.8.1.ebuild 807 BLAKE2B 5a4a4a71c67bee05199851d03d90ea08cf9b76864b2085b26d8c60f03e18bfdb1e8202c448908eb760acdac0e34b27962d2c109a70a676e1f55de423356e68e9 SHA512 5eb2a926e34956cc8b7ab08f0b4594e90b5937f81952c000c7f4416b70b8c9cb03ed86b00afebce03e757ac3fb9d685ee3394467803a65898b5ea792d5453980 +EBUILD librt-0.9.0.ebuild 807 BLAKE2B 5a4a4a71c67bee05199851d03d90ea08cf9b76864b2085b26d8c60f03e18bfdb1e8202c448908eb760acdac0e34b27962d2c109a70a676e1f55de423356e68e9 SHA512 5eb2a926e34956cc8b7ab08f0b4594e90b5937f81952c000c7f4416b70b8c9cb03ed86b00afebce03e757ac3fb9d685ee3394467803a65898b5ea792d5453980 MISC metadata.xml 338 BLAKE2B 9bf9f55657efca7dcf1aacb395999375b7bea1facf1fff84520f185d67141a83b8358511f7952f32fd6b5d6d4ed80675fd9cdbfc39beb2e0438d41efcea43a12 SHA512 021e044615f95164ed9e48a6b80bca4ad0ff103e0a30919eab3335cf8f93f455490a72f472380929091386450ce43b5be5871b12b12455a090dde67960d71f62 diff --git a/dev-python/librt/librt-0.9.0.ebuild b/dev-python/librt/librt-0.9.0.ebuild new file mode 100644 index 0000000000..5f654b40d9 --- /dev/null +++ b/dev-python/librt/librt-0.9.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/mypyc/librt +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mypyc runtime library" +HOMEPAGE=" + https://github.com/mypyc/librt/ + https://pypi.org/project/librt/ +" + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/mypy-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_compile() { + # setuptools is broken for C extensions, bug #907718, bug #967476 etc. + distutils-r1_python_compile -j1 +} + +python_test() { + rm -rf librt || die + epytest smoke_tests.py +} diff --git a/dev-python/more-itertools/Manifest b/dev-python/more-itertools/Manifest index 791743e052..35872f602c 100644 --- a/dev-python/more-itertools/Manifest +++ b/dev-python/more-itertools/Manifest @@ -1,5 +1,7 @@ DIST more_itertools-10.8.0.tar.gz 137431 BLAKE2B 7f1a60679eaeed161580bbc7cb3b9bfb798f48828fb02559c70d91c8de0407d927961489b3cb10cb370f6da05cc5b21a0f6d1b6af3190ca4c7b6c39c1db1fd17 SHA512 541ed387a31ee9fe3576c857ea0d552b1280d48d6f94556f83dd813ce19e0f41a40e0ecc7b5b8cc4b854a0920c66ed9a09a6dd63322f597efac15378c532d59c DIST more_itertools-11.0.1.tar.gz 144739 BLAKE2B 0bd2374b8cf556e9b761ee1d6bd868873ee5f3d101fec523f43c8d4463aaa30b9182b547c40b94fb7bc73dc3d0f730cf1e71fd4457c5c7b6deb63bfd313390f5 SHA512 ac81911a3dd1a6a987eefc81f924392ce6cd09981fdeb484d059b9ca3caa13e8bdbf5df1aaa3068ec4ce3742d86343c8b6ac17964250102eb12b742526722e11 +DIST more_itertools-11.0.2.tar.gz 144659 BLAKE2B 886ef2b27e902a83e719f49ab4eaf591b957a770bdf32826180871de39a7af1597786eb6d12d8d8f5477deded3e17e033c460ae09f4cec0dddb3a43ad452040a SHA512 d108667c7839b62278323311d65e1f2f6d0da5768deeb851401d52b796e5c65f4e8412701bfae6f0fa1954157401896095c2f92a6fe17b782f4119a599f054d5 EBUILD more-itertools-10.8.0.ebuild 642 BLAKE2B d8d8ff3d28f35b35e914c22aa193fbee5ffa8c71d9009c801470fa644c8ab4164cecd9ea7ebca65032f44ad0e765338c38e60a2ce092d45d7b478718663e729c SHA512 8afbe3db2766e557804f5f8adf4ff149038f8a2fac2167a1337ba76cbbb3e625c36a011e7491a8d7d5502aa6ace494347b9fb9edef567283a68c7baafba670c5 EBUILD more-itertools-11.0.1.ebuild 648 BLAKE2B 36f91a14897033af70d630c195274b63aa6bad8faacbae3dc068ced5404bdab1b44ac325ca70f029251ebd6fd1cc6f08c6752357c8ea328c38d76582549f26de SHA512 037e339ea85a81067204b5369f7bba2a1bc5b89ec2febecb24dd3d10cbd6ffcf1c11ef2f3c2dbee0ce2c69181a2ced6edbfa6295c645a4e6b666951bab9f82a6 +EBUILD more-itertools-11.0.2.ebuild 648 BLAKE2B 36f91a14897033af70d630c195274b63aa6bad8faacbae3dc068ced5404bdab1b44ac325ca70f029251ebd6fd1cc6f08c6752357c8ea328c38d76582549f26de SHA512 037e339ea85a81067204b5369f7bba2a1bc5b89ec2febecb24dd3d10cbd6ffcf1c11ef2f3c2dbee0ce2c69181a2ced6edbfa6295c645a4e6b666951bab9f82a6 MISC metadata.xml 488 BLAKE2B b2b63c92548ad22348cd8801eacf52c7cb9e7eae7f3db303986891d6aa0e69c28aadf815aab089a199d6238b00da43f609a5e1f0b730bbce6cce7f76bd57e6a6 SHA512 d8ee6881bd90416c5e3aaa68a3158675d3e65fd786f70287d12a2bc6d79e7e5e8e16f291d0c6d673f8c1d182953ccbee0fb4fd80faf9fca6176a16679f334070 diff --git a/dev-python/more-itertools/more-itertools-11.0.2.ebuild b/dev-python/more-itertools/more-itertools-11.0.2.ebuild new file mode 100644 index 0000000000..6e83301ee2 --- /dev/null +++ b/dev-python/more-itertools/more-itertools-11.0.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="More routines for operating on iterables, beyond itertools" +HOMEPAGE=" + https://github.com/more-itertools/more-itertools/ + https://pypi.org/project/more-itertools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +distutils_enable_sphinx docs \ + dev-python/furo +distutils_enable_tests unittest diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest index 0f2c5743f0..baf078579a 100644 --- a/dev-python/plotly/Manifest +++ b/dev-python/plotly/Manifest @@ -1,3 +1,5 @@ DIST plotly.py-6.6.0.gh.tar.gz 10370904 BLAKE2B 871fc805cda64303ffd5a3aa65e35573941fd3222f64e4bb965362d03f8e8843144bd6e9975960d009ca20a9af9366433878edd1f2edd13bffd734882eaae93c SHA512 ba3dae0d18a24498b9362fa7eb1cbc0a635fc447dfc9ee087fc6d8efd31359a4eb2d7467729d283325e3325a9645fcc4b5bdf60f3ea873b3ead79f6612ed39bc +DIST plotly.py-6.7.0.gh.tar.gz 10364351 BLAKE2B 335dcabc60048651d6e356bbb59320977989be15d5ea33d03e6ff2b2f5c19d0774679fccbe7da442287ee1dd94cfba14beb2f40fd538f13ffde3acf56839346a SHA512 ad651e9a79be30bb9123f2fd26d8847eba7cc7168924af5237c495352749bebd12c823e5294865ad9aca69ccaeb4636baa1f82b4bcc39b747a02b9b58c52da5d EBUILD plotly-6.6.0.ebuild 3618 BLAKE2B 57a51fd257df927cc80343d1f4dece45fa38784f62a6be5cd176d9a5c7a963a309a097a0af76b428030f820cf689318c5eed565186c48158045d3aa3df9664fd SHA512 9163d0e995e486fc7235a0cab9a7eddcb10966b8b291d1f5942122483e65a41f8d4855f57c46f85673d0df793341618a4436ade4ff668b9de2a524993f1cfce9 +EBUILD plotly-6.7.0.ebuild 3617 BLAKE2B b02ffacc08709e9a9d5ff9569f88c82d9333231f9a0f0a85144017ea8782bac287c8ff2290f41b4f7deea0ba321075860568674df00fca8d74a94d0193cd5b1e SHA512 7543e60efc8cf767492c83f11c4a729ec566305d90a01c402f32d2478e7bbde04a9cf5bf54cc9ff49343ef4f7a5955f05fe88a2a8474be9f0a33cd80010c0302 MISC metadata.xml 709 BLAKE2B 8211ccb15889732839dfbddfa5f5079a4757de137aaa3a5dd0cdc53ebe9b106f47539857e25facad525678c69367b10640069cf18e1a8c831e29cc66eb95c825 SHA512 4b5ee8d8431f4ed642fda463308dac7530aee7cfed41fc651baa07957f38aab6be5c7d44a28c458e2f30d87bcb7207d26712efff4efc0622152fd4a014fe59f2 diff --git a/dev-python/plotly/plotly-6.7.0.ebuild b/dev-python/plotly/plotly-6.7.0.ebuild new file mode 100644 index 0000000000..ec22fef737 --- /dev/null +++ b/dev-python/plotly/plotly-6.7.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..13} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 + +MY_P=plotly.py-${PV/_} +DESCRIPTION="Browser-based graphing library for Python" +HOMEPAGE=" + https://plotly.com/python/ + https://github.com/plotly/plotly.py/ + https://pypi.org/project/plotly/ +" +SRC_URI=" + https://github.com/plotly/plotly.py/archive/refs/tags/v${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" +# The tests are not included in the PyPI tarball, to use the GitHub tarball +# we have to skip npm, which means that the resulting install will +# unfortunately lack the jupyterlab extension. + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/narwhals-1.15.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jupyter[${PYTHON_USEDEP}] + dev-python/jupyterlab[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scikit-image[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/statsmodels[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +# There are sphinx docs but we are missing a bunch of dependencies. +# distutils_enable_sphinx ../../../doc/apidoc + +EPYTEST_PLUGINS=() +# xdist is causing pretty nasty race conditions here +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # requires polars + tests/test_optional/test_px + + # requires kaleido + tests/test_optional/test_kaleido/test_kaleido.py +) + +EPYTEST_DESELECT=( + # requires polars + 'tests/test_plotly_utils/validators/test_fig_deepcopy.py::test_deepcopy_dataframe[polars]' + + # require anywidgets + 'tests/test_io/test_to_from_json.py::test_from_json_output_type[FigureWidget-FigureWidget0]' + 'tests/test_io/test_to_from_json.py::test_from_json_output_type[FigureWidget-FigureWidget1]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_filelike[FigureWidget-FigureWidget0]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_filelike[FigureWidget-FigureWidget1]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_pathlib[FigureWidget-FigureWidget0]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_pathlib[FigureWidget-FigureWidget1]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_file_string[FigureWidget-FigureWidget0]' + 'tests/test_io/test_to_from_json.py::test_read_json_from_file_string[FigureWidget-FigureWidget1]' + + # minor matplotlib incompatibility + plotly/matplotlylib/mplexporter/tests/test_basic.py::test_legend_dots + plotly/matplotlylib/mplexporter/tests/test_utils.py::test_linestyle + + # fails in non-isolated env + test_init/test_dependencies_not_imported.py::test_dependencies_not_imported + test_init/test_lazy_imports.py::test_lazy_imports + + # TODO + 'tests/test_plotly_utils/validators/test_colorscale_validator.py::test_acceptance_named[Inferno_r]' + + # numpy 2.4 + tests/test_optional/test_figure_factory/test_figure_factory.py::TestViolin::test_violin_fig + tests/test_optional/test_utils/test_utils.py::TestJSONEncoder::test_encode_customdata_datetime_homogeneous_dataframe + tests/test_optional/test_utils/test_utils.py::TestJSONEncoder::test_encode_customdata_datetime_series + tests/test_optional/test_utils/test_utils.py::TestJSONEncoder::test_numpy_datetime64 +) + +src_configure() { + # Do not try to fetch stuff with npm + export SKIP_NPM=1 +} diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest index bc1b7add99..a9d80fcb89 100644 --- a/dev-python/prometheus-client/Manifest +++ b/dev-python/prometheus-client/Manifest @@ -1,3 +1,5 @@ DIST client_python-0.24.1.gh.tar.gz 4660308 BLAKE2B f0e41480b6e37f9cdbf95cd219b757196eaa38cd368130c88944ba1da8cd29df9a4a5437da8a4ddd1982afaf82fede7c237bac9bdb55f87a37427d0cdaf10618 SHA512 5188472d93fe0e2a2ba36431d08dfd3af42dee5f39c32d600f8de4728ba8d9396ca4f3a35fc7370b4f23f9ba733d2c81db9464c9b8e6ce515523470edc8b8001 +DIST client_python-0.25.0.gh.tar.gz 4665091 BLAKE2B bf02b18d6be594c7c755e1ed839a456ed2f1b002686cfc602aff8fb37beb71c34b317d8ae4a654cc3bd9a26b2c2b3efbbc44eaf563140f885866304aabb961ff SHA512 58658326c58544c3bfafec6d5209c49baea9d3dc43d6bfae6c630dac73d91d7cace9a8740c1a18c65505a7dc5ac84b0feffa93babcd9ca68007ecf3cefb09bad EBUILD prometheus-client-0.24.1.ebuild 1007 BLAKE2B 77bd7b38b09d8fed980737bbbdc90eb5a9b740a016e340a23e58e8176ee4996058d051aa0ad45619e64b015e1b727718f059797c0ee3967d9db5ccdf8d8ed9ec SHA512 865d545f17f990f917da2eb023ed39c2695f093f00b758a8c52b091d43d48b9a7ff1022d2358902ee2e0f76314295fb704bb6274da1c1b0279cac9b395cfc521 +EBUILD prometheus-client-0.25.0.ebuild 1013 BLAKE2B 46dcf6f16891a6be184920ce51caf8c78bc1682b273dacc4bc58d17fe7308f58da30694175398a620193d4d44941aa2671cad4084e84232ea3d4d9e3518852f2 SHA512 79c01ee2e1d039fae27ded38a476c8d6b0bc0d8f83f6bd073f2ce8fe5e7c8ec9db4d1a13956dbd6657024e8e0c7a6dcc3b6b9dfec74894c41cfee4b28bbcf2d5 MISC metadata.xml 409 BLAKE2B 900f1046ec87679dabe88792bfea55cdf6dbbc1f332260e5487628530a1e5b2e07a1b5776313c484ed2355c205dea165547628297da3fd3e0d9e7c352f4f7a54 SHA512 beee1bb3823aa235e8c2667b18157254335777dbf1169beaee54190d41819dd0e82c58a8ea09c4981740370d7e5463ce11d327e02bf411093dfb653a557077ff diff --git a/dev-python/prometheus-client/prometheus-client-0.25.0.ebuild b/dev-python/prometheus-client/prometheus-client-0.25.0.ebuild new file mode 100644 index 0000000000..c0612d1c9c --- /dev/null +++ b/dev-python/prometheus-client/prometheus-client-0.25.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 + +MY_P=client_python-${PV} +DESCRIPTION="Python client for the Prometheus monitoring system" +HOMEPAGE=" + https://github.com/prometheus/client_python/ + https://pypi.org/project/prometheus-client/ +" +# missing test data in sdist +# https://github.com/prometheus/client_python/issues/1112 +SRC_URI=" + https://github.com/prometheus/client_python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/twisted[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_parser.py::test_benchmark_text_string_to_metric_families +) + +EPYTEST_IGNORE=( + # Optional testdep on dev-python/asgiref + tests/test_asgi.py +) diff --git a/dev-python/pyacoustid/Manifest b/dev-python/pyacoustid/Manifest index df27b00454..6c20e2222e 100644 --- a/dev-python/pyacoustid/Manifest +++ b/dev-python/pyacoustid/Manifest @@ -1,4 +1,7 @@ DIST pyacoustid-1.3.0.tar.gz 17369 BLAKE2B 93f949943d792b4c1f4b2b99ae37821c1ffa5c7a2bbeda7aed276e6ad4f9ad35e5fc4c6e590667bee552710eec483cf2a16f58a7f34a1f02c94b4cb84ec45cf4 SHA512 3b38e580b2deda30df683fe749b338929be0ca23fb3ff462a5df9b98f140db4bde682d74254e7f3a157e394e824ecb6929171392b5e6c9bd92ca05fb6f71ed0a +DIST pyacoustid-1.3.1.tar.gz 16424 BLAKE2B 6db721d8e43e8d8bab6b41485abc721cef89ce023f4d0ea899e363c33ef3ab1f4623957c42589f2fb08c70e478bee9b7c6fbef09a61f92f227f2d5727ae7dec1 SHA512 a924c431e5a03be091573ebc5c189be3b4e69cc7a6009e247b7750289be2304206aead779e383faab3a12e4ce71405a2436304e0151434def0a78f66f2ac2eaa +DIST pyacoustid-1.3.1.tar.gz.provenance 9518 BLAKE2B 8419c483d53147623dc19ef52b8bbf76570ccf287f7140b26d731d4e3ea01c9dcb5bb86259fb076fb3a426d8cd224558480bc985c8a1634faa3e5ed8c38bc8cc SHA512 64fc74bf4f1888c232eb480a690cc6e6b6d225d788576b9d559487458fcc738ba0ec08139ccc4ec9e0b17beb0edf9e1e3095b312128dae87869574911d8278d5 DIST pyacoustid-test.mp3 4507187 BLAKE2B 54494d9f23481f9d1ee77b136ac3e1790e9fb78c782159ad1793dbebf18f694e13f6413a8259bae84c789f73ea8241e590dbd7e30ccb7377b2afa946335da19b SHA512 faa582640e759322d4bd58d85f4aa7d3ef88fd90aa3c67c1390ba6d4c3213278c11fb60c8d6c87a25e82dffcc54986caa4f0e463acfbcd90993166577e5226d8 EBUILD pyacoustid-1.3.0-r1.ebuild 1172 BLAKE2B 033b6c2121711bdc48fbb90b69aa09b7a6a213ca427ca600f5478225d9c5f252f8430a21b519c4aca5ecec5090a96c9030fe62facc8f96c2df668dd986a9ff50 SHA512 e37f80a8264b92745ea109af6b01b9a44aff4f7b6c69c4889a27b6f01d6026d7fc15a94ab7f4a8b1b94bde53949dd013ed788305d91923388e2c58749eacb6b4 +EBUILD pyacoustid-1.3.1.ebuild 1224 BLAKE2B 4aeddf27a8111cc8560c1c87973e2efbd7cc9b49e7daef9d36a3166d60e6320f569e17c8cbcf58eefa7a519f4fe6fcdf2c6dd62b9cc8eb0da3cb5b7085e74bb4 SHA512 09466bf7a5c844a7c2c3d57d09131072b35f12c8c7d13b176ce3dc412c2b29434df1471995aed861b4b404500dc47aea6b66786a40d74d5d37734f4340641b61 MISC metadata.xml 714 BLAKE2B bc0db30cff6644da34b7944bec3d60b47f394ac854d547fcbbf3ee4d2719edc4cb781a42b3ab266fb7dfb5762679daaa0e382fd0fa8c2cffdd35af4cc55633be SHA512 6b6063bfe7d64d8a053c0e5c1609d8011e8aeeb265a895db88154e246761027ec2ba5fd582fb08b64e5ee09b3a238030415613df9267620936a718b76d6d1692 diff --git a/dev-python/pyacoustid/pyacoustid-1.3.1.ebuild b/dev-python/pyacoustid/pyacoustid-1.3.1.ebuild new file mode 100644 index 0000000000..4b61f1415c --- /dev/null +++ b/dev-python/pyacoustid/pyacoustid-1.3.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/beetbox/pyacoustid +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for Chromaprint and the AcoustID web service" +HOMEPAGE=" + https://github.com/beetbox/pyacoustid/ + https://pypi.org/project/pyacoustid/ +" +SRC_URI+=" + test? ( + https://s3.wasabisys.com/blocsonic/releases/maxblocs/bsmx0198/01-Follow_192kb.mp3 + -> ${PN}-test.mp3 + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" +# Tests fail with network-sandbox, since they need to connect to acoustid.org +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/audioread[${PYTHON_USEDEP},ffmpeg] + dev-python/requests[${PYTHON_USEDEP}] + media-libs/chromaprint +" + +python_test() { + # Working test will print the top metadata match from Acoustid's database. + "${EPYTHON}" aidmatch.py "${DISTDIR}/${PN}-test.mp3" || + die "Test failed with ${EPYTHON}" +} + +src_install() { + distutils-r1_src_install + + if use examples ; then + docinto examples + dodoc aidmatch.py fpcalc.py + docompress -x /usr/share/doc/${PF}/examples/ + fi +} diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index e6174bfa97..36756f622f 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,3 +1,5 @@ DIST pysnmp-7.1.22.gh.tar.gz 463898 BLAKE2B 3e43fe160757b251fc01a2d1f71435d9e32037611361f06fa66ca3e968079ed68c646210c41593543c28a28f312c19ad7905447dc91e37c515aa9d0ba1d7b05d SHA512 f77690c2f269e76c8a2f556e86207af9ccb1ecf608f1748e2fad1e01b0795b133019957e6956027a394cd7c36f45e105eb89ef3a71750266f6839bcdfc49cb95 +DIST pysnmp-7.1.23.gh.tar.gz 470924 BLAKE2B 887446ae996c4761d09043a4a4df9ffe8532392e6f6fa8c1d00991567595143e78b331f6e3c23bd4db43d81c723e17e2cbe45891115e02821fb81559ee570f16 SHA512 97d0f9e44b8cff08623feba43eeff7fc185aab80777f953d6e71c0be96e76012cb65e5d96e929398a9ca0571c698c7aa2cef8afdd2265b6e3c213fcfc5ac1544 EBUILD pysnmp-7.1.22.ebuild 1170 BLAKE2B d1bca1da86cd97df1be40c18e500292d5211856fe678f042ad73e20f73fd55605739d40a7d1f7546c19a7f1c9ec2b91fc1c951fae20cda36cb07df7fbdd87cc1 SHA512 e3a82d07ab7a41206815f0b3a4513fda72b47b6934385509dc6969aa4ee24190b20e8430756ff6c82ace2001e50cc1e434e44edc28f084db3d05559054f06d7b +EBUILD pysnmp-7.1.23.ebuild 1190 BLAKE2B 8f0a6366e82f2c3b646bd34fa83a44b32303e82f1a57777ee15b05cd8301759124e6343dc9589bdb7b0b0c03bb21d494ca34060c3f80eb1e4e0925533501bda1 SHA512 807c3d514e49b3ed6f85bada51eca7e1c8ff33525b092697e0b1bdb317ead2fdb7e58910b0d5f9c55f0db4382d41becdebb52fc67eb7d53a06ea1f116d48bb7b MISC metadata.xml 1649 BLAKE2B 5fb45d887099a41ca6a512c3079b604f24996173b98a50ff673326c49494cd7d125ca5cda59a8e98bb8968bef5a1cecb2a90226e5f468ebb0398e50b44348630 SHA512 0492b753cb1a945d3df7ab8130e766214d706d5db2664a9212a35b8d81f78fb19ec4f27fe2bd2046238f1907f5b2f440d47b88c0cecb528cd18ea224b2794ee8 diff --git a/dev-python/pysnmp/pysnmp-7.1.23.ebuild b/dev-python/pysnmp/pysnmp-7.1.23.ebuild new file mode 100644 index 0000000000..36b8996119 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.23.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python SNMP library" +HOMEPAGE=" + https://pypi.org/project/pysnmp/ + https://github.com/lextudio/pysnmp/ +" +SRC_URI=" + https://github.com/lextudio/pysnmp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.6.3[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-{asyncio,rerunfailures} ) +distutils_enable_tests pytest +# TODO +# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2 + ) + + mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die + mibdump LEXTUDIO-TEST-MIB || die + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest +} diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest index 109ac1aca7..949b5590ff 100644 --- a/dev-python/pytest-httpx/Manifest +++ b/dev-python/pytest-httpx/Manifest @@ -1,3 +1,6 @@ DIST pytest_httpx-0.36.0.tar.gz 56793 BLAKE2B cac3afb3c6f3916d9112e961e47324bb8fdf43330db16072548d7af4c8d395fbc2e0e92ae03342b4c7922046d7cead7cbde14c063576765695d5e095c3585721 SHA512 2e8aefa3483a6edcbae001f65881b4720b5a422e10da73a798fa10fbbe164ae4279eef68d5210178e41a907096a9a85400bc3527a967f1dcc813e62769170ec7 +DIST pytest_httpx-0.36.2.tar.gz 57683 BLAKE2B fe583d1e1cccb158ef760e969fb366b59baaa215d6679c784830b2acab3e91f196f3212f06d1cf824bf6fd85dbefc1d62fbc8f8150745dcc158d6d4dbf05c973 SHA512 545d0a7052d4ff01d5464d31fdefce903124ba383db814b170a1e6cb02b26450f01de2d9fa66b997315b66d33ce41f6ead5365c20c98141fd49f7430156713af +DIST pytest_httpx-0.36.2.tar.gz.provenance 9780 BLAKE2B e88f79ed7245b3cee7ca3c17468405af55afe61bd4b4c6cc976b82d673a619e738b997fa9b5625f2af95fc2f788d67338a2e6e9bf43977d3dfb4afec5933fb77 SHA512 3af404436082fb5eef1f63d17daaa6f8dc73536775626080f5794137439fdf65329844dd6a6c47c05a64a1b5ec558303405d0dfe2a1fe5cd6ce7d8e888f956ce EBUILD pytest-httpx-0.36.0.ebuild 893 BLAKE2B 8ccbf9e7400794d0f80a252447a792abd6336aa26e84c5ac1e35be66ca08fb16df4efa13573dda5db620c81a123d7dcec79b687500f4c9e143c9a36b8a264fb0 SHA512 9b3e8509c8e626c763c4b193e2a9cb19050f8b30dbf46ea48eb65a541e76ae34df0e065b3b8485e1189f2536ae625d92b9866f340456323aa721af486fee0c18 +EBUILD pytest-httpx-0.36.2.ebuild 954 BLAKE2B ab46df248f7746df96932d14d5f3d56321b37f82545c6c9a8ebbd6eb0c90a3dac1743926b61e69c90e9889d34a14760199cff850718e482f996e83b74cf35da9 SHA512 daea48dd223facaefb4dbd1d46154433b622baf919baa71e64de20c295e231c4c7fe5cdd798e707bfab4b6d67f73073a7e3cdecde87ffdb2ee754c21000b7cf2 MISC metadata.xml 468 BLAKE2B e0f824f05936a831a958b027366ba18cad85307ac6c81b74b299f58270bcff53e06f32b2471d6433bd7014ffde83ddb24f787c07632453d14f4ee6e4679ffd10 SHA512 16bf024801db3c0d7b789cd1f16520a1ff2520e8b3e2abbeeff5b1192c19b8ac64f55fa678c922f8a817debcfe05242ce11e0164a00422445d7301858718b359 diff --git a/dev-python/pytest-httpx/pytest-httpx-0.36.2.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.36.2.ebuild new file mode 100644 index 0000000000..ce026bcec8 --- /dev/null +++ b/dev-python/pytest-httpx/pytest-httpx-0.36.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/Colin-b/pytest_httpx +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Send responses to HTTPX using pytest" +HOMEPAGE=" + https://colin-b.github.io/pytest_httpx/ + https://github.com/Colin-b/pytest_httpx/ + https://pypi.org/project/pytest-httpx/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/httpx-0.28[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( "${PN}" pytest-asyncio ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin dependencies + sed -i -e '/==/{s:==:>=:;s:\.\*::}' pyproject.toml || die +} diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest index eca9af6de0..df1f9c75ae 100644 --- a/dev-python/pytools/Manifest +++ b/dev-python/pytools/Manifest @@ -1,4 +1,7 @@ DIST pytools-2025.2.5.tar.gz 85594 BLAKE2B e393d409ac20729d94f2b69257d8aae8bcde367b037f03f9e10337d91151d8d61741392ccf9407c53a11f7b20b1c06a839f6d469f002721eba6b0ae2eb026f45 SHA512 6daf3cfa94024072cbbc1ebb7e4173f95ad7bc00c7d6bf47980659e122c69895619a6164c5e3baf978bc01fcec55034d484570d37d627f065107eb415b41303f DIST pytools-2025.2.5.tar.gz.provenance 9569 BLAKE2B d53aa09ed13caa071d19f3ae610a76662ae5c8928ff43760443a620a19f931214aa1c823d4beab6ae733c2f25fef87c89550d076d16c57f63b8f6393f2dbdb94 SHA512 f6ac9d632dccc4a09be72325c279f9edffe6536bf94d3fb2d968ed78119dd4b510a5a03857136441e9f923bfac298763af9cdf70b27cd47ff715e9e136f9d1d3 +DIST pytools-2026.1.tar.gz 85929 BLAKE2B 8cf1bd65c74a669ad78214fea94a31e4f84cb84c69180c645f14bddb0e62615d8faad4e7d15bf65ba51b86f14a7a453fd8c9cfc729f90765a3395358e6201a24 SHA512 4172c1a865428610c975f5a164ba886aafc7445f87cb4572b26ac67c8144a4d14f755645a6f5f341d057c10f2f10f3fa4d2822aa75c660a42165be644ec820fc +DIST pytools-2026.1.tar.gz.provenance 9476 BLAKE2B 269542f1236d91f1b7218321e0a4cadf532b952938d0bce927794218e556531e968a693b67460688c182433171cec718b3e317fa43ff1293d020291b9e23fb32 SHA512 fc8e7cc992b09b9947dc7565ab2515a198500ae964834ec2d52107ddd8ec2f26a0a8aa507a1756164dcff69cc11121015d5badb4885e91c2a5a9b34ea6303f97 EBUILD pytools-2025.2.5.ebuild 862 BLAKE2B 327a4b15315373a7ec63f0e71f88b513088bf2e5e1405e874cb5796a12e5ad676ac690aa7173138f742bcce70f497c1f29176bfc2b30d97760ff969fb253d97f SHA512 2d8ed15f345630c5a451a7af5796348ecaa4f80e55118402b30691f85453669eb133baf24e1078d1f6ba92ae78bd237712a9fe451562a26b60ca24063514c819 +EBUILD pytools-2026.1.ebuild 864 BLAKE2B bf8f532c13116f5926c576ad939d72070088dbb04af49a6ac7ff763f2835d590ea52b4273218cbd1728758faaf7c0a035585002e09b2bf3991b7ad2e12842d85 SHA512 429a9a4e88e148e087893f5385e6ff7215c30a15c36d9d979b6c14d5d1b0680e5abfde5f0e84e4bf670fbc76c29c3568b2c48342f271463f7b21006c1b548eca MISC metadata.xml 390 BLAKE2B 3cd3f1c6df2c112e3828b55f4a4282495c24fb5f1869ee1c105710e517de738a767e30388c808432ce7e41ad5d14be4d56fb6ee7bcd62f9990262b145413ab20 SHA512 c28d8640d0b0c7d77ba18367ae5379b11747a67ace55a6f5910c2f5a4dd5d5816bb1a256a27e78fdad909de2947e5db84c16283604e216b393b5cde5c39e6b24 diff --git a/dev-python/pytools/pytools-2026.1.ebuild b/dev-python/pytools/pytools-2026.1.ebuild new file mode 100644 index 0000000000..c5f5108532 --- /dev/null +++ b/dev-python/pytools/pytools-2026.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/inducer/pytools +PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of tools missing from the Python standard library" +HOMEPAGE=" + https://mathema.tician.de/software/pytools/ + https://github.com/inducer/pytools/ + https://pypi.org/project/pytools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" + +# NB: numpy are an "extra" (optional) deps +RDEPEND=" + >=dev-python/numpy-1.6[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2[${PYTHON_USEDEP}] + >=dev-python/siphash24-1.6[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index c9760ad34b..56523c69ba 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,10 +1,13 @@ DIST selenium-4.34.2.tar.gz 896309 BLAKE2B 094d3596a86e1cd50a6967a65b3e7b9a73300403f5d88163ded8b1d3a62cb09d77057e9b90a35b39f3a6000a8ba604bd71ecb051866cf7ad88c5ab9e21752978 SHA512 f5911f41bc4988e1af26812299cf37aba7e88820cf4e719e0e04a36a5dbdba5420422c52393c8d31c4e0f88efe779e9beec2c490892e4546caa0a920047e01fa DIST selenium-4.35.0.tar.gz 907991 BLAKE2B e2d0baade499b41cdb23bdbae0059163fb58157dc86c3bcf4d7b9c4d040bcec19aba4000a223a4e7dd0137d4cc321064e95cd12fe22beaa311237c18261518ce SHA512 09f9149b94974c7965d5b81ee1ca65cca7e7a1de775d7323335c21acbbdc21da17f0f6314a8162177c6a22fdbb23b4147c213b2c3a98bfd9a13ac077dc113812 DIST selenium-4.41.0.tar.gz 937872 BLAKE2B fd176e710970da5435b2d2daad90ad1f6a567dd77d9cfe0cb6980612155a5194c6c80ba7be444e8baade758a91dc2f9cdc6d3ce8fffcd8c31a03271e5f7dbc2c SHA512 517e38b38266e92b66bf072640777e037d1af4321a0399d665a0f2acdb76c574abf65f8e6412e7c606a4937010ffd6bff9c9f323b51c88e80d883b5c909c2de6 +DIST selenium-4.42.0.tar.gz 956304 BLAKE2B f43bf9893135bc8b7bf739bccd4155db7200e1262abe0fdd311041066e1f37b7f090da64a17aa693e616bf27adc5e1897c2981356b6af4acb985b929e939be66 SHA512 36a17bd89f5ef03d5b72c981ba4b4e6b3c1173d3e211a9df8cd8fe77c48d99d6471f629dbaf9a2c476a446677b24574e1a37ce2370a4280ae0eb82003d0381ec DIST selenium-selenium-4.34.2-python.gh.tar.gz 52515190 BLAKE2B 319a7083d5942c1962b4f48f907fea12943a403e4490f74f3cd38662f1c63f57270b27b6039a5a8f29a980540cd0dcf1d1c7560c7ac126f07e491983dc0e81ef SHA512 5ca0b6e970ded3dc93cd55a2c1af7c43063d87f57f119a011313eb7d08faa4057896a56d4eac2e13d39857c94b54f04840a053153cc39008c76cbdd33c8ddbba DIST selenium-selenium-4.35.0.gh.tar.gz 52550104 BLAKE2B b7ed0fb513cfb2ed24aa8393497b349f930739c3d24a330e5942fbaa5505f31d7086396a430776a3a28a5f65927b92bf27c0a32e8c36d893b5d62ef73151d5ef SHA512 dc73829e3b0fcb7fb7ee1cc04574b95b63d23f67974575dbd66338e14a5cb2b06f983145ce874be0d7124e8828b0a41b99c75d3befb19e04cbf8d027d0bb983a DIST selenium-selenium-4.41.0.gh.tar.gz 43597635 BLAKE2B fb24f27bf3b64d4da4a117bbb62566b6c1dd6fa85357b9db4a81f17fb5167ca1f2265a0ad8b54efeb14568477390521f5b5774e3278091fd1a0110e5e0d9ce30 SHA512 68cf0ead725d09dcaa8bfe9f239e0f8c0ca7b9dde9d11b8c22dbe53c51611534136f910bc91c9ab237e2b9c106ae06efbe0e0fa9277ef668c4a4935f74613a6c +DIST selenium-selenium-4.42.0.gh.tar.gz 43696997 BLAKE2B 9836b8935586e21d487660f2031c316f9afd6d382a2c2e5f090fe40792215334da90c5d59b7debd612c8bb2146a3595624a5c9e949f84a4d551ec540c59b10e4 SHA512 89309fcadcbc7fdc110aa2a4c58e0f92f3872ff1addacc65813731aaca6ef48869346f69344731926dab84ecdd5a4a53a6968f7c2e953faa3cc4833ff9e511ff EBUILD selenium-4.34.2.ebuild 4895 BLAKE2B c3a5269011bc785cd2f36684ca620bc29deec595210e6bce2f14b0d0ab95d939ec9bb297921c808db9341642d6ceed879944fe4a53ceb6282b3697e6ced6fdfa SHA512 b4d2c5e93a9730b9c2b31e81ced7a61fd9b0044a6ec9b398e2772ea7767fbfa621eede32b3ad170d5eca296cba15e6489ab703577068b0d00e3f424037c78879 EBUILD selenium-4.35.0.ebuild 5009 BLAKE2B 2df4fe0c25c5a796e3a7da5ab974c4abfa45292e27c99fd5ea2c24d473e1c94782bf1f43810b38fe59dfff4966c118418080254891cc069d15cf88eed9a9096f SHA512 62956cc8e846f24d942af3dfcf4374ae02fc93ebe990e66fa6bfa9a94a51d77f9f1910d1e8ca42855a810b7c0a204cbcc81251023678e4971f6b5788dc09327d EBUILD selenium-4.41.0.ebuild 5649 BLAKE2B 43b6802df9cde47794af637a63fa839509b472867fafeffccab081d1c22f72d4819216c8103624ad248ecc0e0884ce245f1bd04f919cf01aa4e4b8e0c0ffd4b7 SHA512 7c45e8ddd956d011c353b9a0946269fb4a35b6ff02c38abc14d25c1a201c0bb958ae4d90681d927e3c0f32c6855a62a89e35f1d82cdf720e44f422aac0793ed9 +EBUILD selenium-4.42.0.ebuild 5818 BLAKE2B 0d383444533e540ae5907e0c81a205b46d2ca4f29b99df7c386eafc9c079dc4bf848d6203cf81b1c4cc425a6a2d58ddfaccad6f26a60f39acb34efba6c48c12c SHA512 2446fd4f8a9e124cd4156789295118cab02391ba3fa0bcc796cff463efbf068fc4ab4228a6ea34edb2e90f871a81475b67df961b13d04b4387ff37a70b580b1d MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.42.0.ebuild b/dev-python/selenium/selenium-4.42.0.ebuild new file mode 100644 index 0000000000..d44762270f --- /dev/null +++ b/dev-python/selenium/selenium-4.42.0.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +# base releases are usually ${P}, followups ${P}-python +TEST_TAG=${P} +[[ ${PV} != *.0 ]] && TEST_TAG+=-python +TEST_P=selenium-${TEST_TAG} + +DESCRIPTION="Python language binding for Selenium Remote Control" +HOMEPAGE=" + https://seleniumhq.org/ + https://github.com/SeleniumHQ/selenium/tree/trunk/py/ + https://pypi.org/project/selenium/ +" +SRC_URI+=" + test? ( + https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz + -> ${TEST_P}.gh.tar.gz + ) +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test test-rust" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/certifi-2026.1.4[${PYTHON_USEDEP}] + >=dev-python/trio-0.31.0[${PYTHON_USEDEP}] + >=dev-python/trio-websocket-0.12.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.15.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-2.6.0[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.8.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + $(python_gen_cond_dep " + dev-python/filetype[\${PYTHON_USEDEP}] + dev-python/pytest-mock[\${PYTHON_USEDEP}] + dev-python/rich[\${PYTHON_USEDEP}] + test-rust? ( + dev-python/pytest[\${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[\${PYTHON_USEDEP}] + >=dev-util/selenium-manager-${PV} + net-misc/geckodriver + || ( + www-client/firefox + www-client/firefox-bin + ) + ) + " "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # do not build selenium-manager implicitly + sed -e 's:\[tool\.setuptools-rust:[tool.ignore-me:' \ + -i pyproject.toml || die + # unpin deps + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + # remove nonsense typing deps + sed -i -e '/types/d' -e '/typing/d' pyproject.toml || die +} + +python_test() { + # NB: xdist is causing random pytest crashes with high job numbers + + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_PLUGINS=( pytest-mock ) + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # expects vanilla certifi + test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout + ) + local pytest_args=( + # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 + # seriously? + -o "python_files=*_tests.py test_*.py" + ) + if use test-rust; then + local -x PATH=${T}/bin:${PATH} + local -x SE_MANAGER_PATH="$(type -P selenium-manager)" + + local EPYTEST_RERUNS=5 + pytest_args+=( + --driver=firefox + --browser-binary="$(type -P firefox || type -P firefox-bin)" + --driver-binary="$(type -P geckodriver)" + --headless + ) + + local EPYTEST_IGNORE+=( + # requires some "python.runfiles", also bidi tests generally fail + test/selenium/webdriver/common/bidi_webextension_tests.py + # throws some error that pytest doesn't even show + test/selenium/webdriver/firefox/ff_installs_addons_tests.py + ) + EPYTEST_DESELECT+=( + # expects prebuilt executables for various systems + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_windows + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_linux + test/selenium/webdriver/common/selenium_manager_tests.py::test_uses_mac + test/selenium/webdriver/common/selenium_manager_tests.py::test_errors_if_invalid_os + + # TODO: these don't respect --*-binary and try to fetch versions + test/selenium/webdriver/firefox + test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns + test/selenium/webdriver/marionette/mn_context_tests.py::test_context_sets_correct_context_and_returns + test/selenium/webdriver/marionette/mn_options_tests.py::TestIntegration::test_we_can_pass_options + test/selenium/webdriver/marionette/mn_set_context_tests.py::test_we_can_switch_context_to_chrome + + # TODO + 'test/selenium/webdriver/common/devtools_tests.py::test_check_console_messages[firefox]' + + # TODO + test/selenium/webdriver/common/bidi_browser_tests.py + test/selenium/webdriver/common/bidi_browsing_context_tests.py + test/selenium/webdriver/common/bidi_emulation_tests.py + test/selenium/webdriver/common/bidi_errors_tests.py + test/selenium/webdriver/common/bidi_input_tests.py + test/selenium/webdriver/common/bidi_integration_tests.py + test/selenium/webdriver/common/bidi_log_tests.py + test/selenium/webdriver/common/bidi_network_tests.py + test/selenium/webdriver/common/bidi_permissions_tests.py + test/selenium/webdriver/common/bidi_script_tests.py + test/selenium/webdriver/common/bidi_session_tests.py + test/selenium/webdriver/common/bidi_storage_tests.py + test/selenium/webdriver/common/bidi_tests.py + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_binary + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_ctor + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_prefs + test/selenium/webdriver/marionette/mn_options_tests.py::TestUnit::test_to_capabilities + test/selenium/webdriver/remote/remote_custom_locator_tests.py::test_find_element_with_custom_locator + test/selenium/webdriver/remote/remote_custom_locator_tests.py::test_find_elements_with_custom_locator + + # Internet + test/selenium/webdriver/remote/remote_server_tests.py::test_download_latest_server + test/selenium/webdriver/remote/remote_hub_connection_tests.py::test_command_executor_ssl_certificate_is_verified + ) + else + EPYTEST_IGNORE+=( + test/selenium + ) + fi + + cd "${WORKDIR}/${TEST_P}/py" || die + rm -rf selenium || die + epytest "${pytest_args[@]}" +} diff --git a/dev-python/smbus2/Manifest b/dev-python/smbus2/Manifest index 605b9f6cbf..d5d9500ec0 100644 --- a/dev-python/smbus2/Manifest +++ b/dev-python/smbus2/Manifest @@ -1,3 +1,5 @@ DIST smbus2-0.6.0.gh.tar.gz 18399 BLAKE2B f80846185c85c4942b824d65a7cf060eaf4648303105e6bd8654912152979516e8c246090d8449fc31f3f49a12253e86cd250919b1b45f5d870c7e233c031fd3 SHA512 e3fe85e01fc0e2ce87461c5a0001a595139785d8b53fdb5058c93902b436515bb05c33e2071f2259761507e82f65e40ee2c46f33fd889ccd3bdd5b7b0681dfbe +DIST smbus2-0.6.1.gh.tar.gz 18332 BLAKE2B 26a3f9d48d46ad55ea90e83dd1b135e8b9f6e3abe09f85754f8148d2e22094d6adf9c0e8f4d729cb2bd8d3858b278ea2701e2e379c991d1a8daed5a89ccd60f0 SHA512 e524c7a5727bb88379454581fde7314c866da3ed415d5918d0232e8e0b53c306efbe39340d422703e90fbe4b7b5eb6f3cba9e80d36759cfb243d1d1291fec0b4 EBUILD smbus2-0.6.0.ebuild 608 BLAKE2B f23070d8c1cbd749a627c6f9ee3fc2f8f1c7df71736474d2bdfcd836081164ef31949ad3c18801c698de8e5ba2053e2574584ad9952afc4c16d9fd5f7ab305c4 SHA512 44161063ff1fd6aded3052ab4a4ccd4b55caad973baf7ab233481de9b4280cd300d4a5a744f4e3aeae0c4db4cf3a62ae4f47d1edf225f39dba97f4004350e895 +EBUILD smbus2-0.6.1.ebuild 608 BLAKE2B d5de612a02ed89334b45f14e39c8d618542ecf949f49ceab35efe659f63ca71eed5172ba3ffaf05c66f28fc6e89ec8f8be4d7ddc7770d7a07e455660938808e7 SHA512 033b0bfdd206281e8179c27720d5143fab85e93b97341634cb119dbdb34089efb69220baafb92d49027ccc03ed7aec60b62a6c179ef4b44bce09f41f41a3dff5 MISC metadata.xml 400 BLAKE2B 70d0f577103959706dbe8b99dc7912bc118e4b9b59aaf32650c9273a17dc2407e7b4b913b897d918c50e601070caf9ad4b0e8de8e3009da4a5f0d4f137acde35 SHA512 37162850521651a9cbc9d4717e78254750db7e00de4ca2cf40f28014dde73e03681b897e6a8f50afacf58f017c8353190756f621750ceb248b7b41a10d6ddfbd diff --git a/dev-python/smbus2/smbus2-0.6.1.ebuild b/dev-python/smbus2/smbus2-0.6.1.ebuild new file mode 100644 index 0000000000..dcb54286a2 --- /dev/null +++ b/dev-python/smbus2/smbus2-0.6.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="A drop-in replacement for smbus-cffi/smbus-python in pure Python" +HOMEPAGE=" + https://pypi.org/project/smbus2/ + https://github.com/kplindegaard/smbus2/ +" +SRC_URI=" + https://github.com/kplindegaard/smbus2/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + epytest -s +} diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 6951b9b9cf..5d86c22b94 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1,7 +1,10 @@ +DIST sphinx_autodoc_typehints-3.10.0.tar.gz 72801 BLAKE2B 535b854a9b211f998a9b30f821223b4ee9b123f3006e83c9c16172808522f5eca9c5bac163ebbfd6cb7f2556aeb70c1084df728531cfbdbc15cc31e3dcfe8aaa SHA512 2d1031c2c51426ae2821ec1ca6774acce8bf504c3f189d029c4f7ac02b1467d1c342522517b04c38e010509794e432a811f6fe07552c3258c6c7d3aa107f01a9 +DIST sphinx_autodoc_typehints-3.10.0.tar.gz.provenance 9573 BLAKE2B bcdc2e87127388fd7b232b81ad84cc09e30e9e909efb695b3e71be8d409616c64b9b4dc8b867ee31693a972b57d12048a349fce769d74519b700dee7bf232056 SHA512 7c0715c8dc53f25b85c06796f300dfe65924f5b56c707bdc52f9487036a614e6e1885f8bc9e296077fd6c929256879ab279831436112a415919eaae1086b78e1 DIST sphinx_autodoc_typehints-3.8.0.tar.gz 59672 BLAKE2B 05bf3eff2eb1f4a66b151e8d676ebddb081e2d8240c13c50d255d4e3f88cfe284c0cccac8be355a2b850c0341ba8a59aba4ab10c1fdbec5b47bf75e2fdadd84d SHA512 48648be12dce2640531846ccebdec653496f44309ec002411a61ee531efcfea8911fed75edcf95718bb0e5a8b096f9d47b8214b8a4a64f299f94b9e0d552967b DIST sphinx_autodoc_typehints-3.8.0.tar.gz.provenance 9964 BLAKE2B b1a4800a4778509bb2af2f3350b4e0213a1f3cc34f3636a9505ec07be7c5eea8d431ffee3796597d4ffbc4218b85f4aff5b4fe1809f7dae25189b6f18faebc6b SHA512 7f630714ab8461ab4449e839d2fabb0633f24490b1c4851600cb94407051e4ad7862870e9b382c4bfb4d8dbc34a080a84ce6abf63c1944d7656ab629d918448b DIST sphinx_autodoc_typehints-3.9.11.tar.gz 70261 BLAKE2B b5953b4536f3e0f5e9d422a5166a5f7dbec5a2792cc74b23614d26287e4e4b94179d1a8b4809d389431f72c783f7ef09adf3d1df7bc4bb6104b29674033376cc SHA512 6305a90a01e8b3fe2ed01177c2c54defd8a90906de761fe0c0cba7dfbbe0a3a12d5f712e8550ea2abb9c884ad42e9fd3f0c410a3088907563c0daac216a5a5ad DIST sphinx_autodoc_typehints-3.9.11.tar.gz.provenance 9898 BLAKE2B 3ceead6b33351822c932e6954b1f1f2646fdc44e78e52109c448b06f28aab8bd8728a86041c8729af52c5512f47e57c9be021bda04a10fd8c4139555de39f1ab SHA512 9b5a7ce99cb1bdb255708757f4589b059cf1a662bfcce038e38a5ca85dfa9a4dbfb6037c3531c80732f28736475f6b02b3e3c3f8054fc08a7a96ad58ddb15d14 +EBUILD sphinx-autodoc-typehints-3.10.0.ebuild 1208 BLAKE2B 496a7162404f843440e4db0f2b937fc04024796a982c1a6343165a86e2468cb4086efa42cf8e0d9b44e931852f677442208665b0c2391723eefbf40c5a67c9db SHA512 98083d1980ded73aa8bf9d2a2426f48b82cd0ab126c76636c9a9ad4cc1c750eae63f24099c6a8a6eda11fbedabb0377a6a52d47a25faf33d1c527b6295882a50 EBUILD sphinx-autodoc-typehints-3.8.0.ebuild 1116 BLAKE2B 4a5cc25e76b53d0f44234ed6aaa60c7ad01bc14e9963f607c2fde7c50d882736faf3069395321ddfb21e97ae0e9bc75a268411f0081d97391c080c7ec37f8067 SHA512 922463c5fa0d93ec9e588f1f985a57c4be0157725434d84fe43f384fec3120ff8758ab0636d0b58ede8bc65ea76e07f4a64a3105d96827723bf4ac1fed9e80a3 EBUILD sphinx-autodoc-typehints-3.9.11.ebuild 1208 BLAKE2B 496a7162404f843440e4db0f2b937fc04024796a982c1a6343165a86e2468cb4086efa42cf8e0d9b44e931852f677442208665b0c2391723eefbf40c5a67c9db SHA512 98083d1980ded73aa8bf9d2a2426f48b82cd0ab126c76636c9a9ad4cc1c750eae63f24099c6a8a6eda11fbedabb0377a6a52d47a25faf33d1c527b6295882a50 MISC metadata.xml 682 BLAKE2B f8b48894f28411a17c73956bb75d43906c893b33d3dc611dfcc46e7a71ac43824aa54f660ab4f49c9870248b2b9ff405a2a3229f92975337e69201868eed3378 SHA512 87a0ea2b2e4cb2b5f0d1593b2c4bd96b46dabb8baae71a6ba18cfd83dedb2a1d5f0ae0f8711144967a5d44015e9ae7ca013dc0aa54e20604633ae062d95649ef diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.10.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.10.0.ebuild new file mode 100644 index 0000000000..95d3249683 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.10.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/sphinx-autodoc-typehints +PYTHON_COMPAT=( python3_{12..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/sphinx-9.0.4[${PYTHON_USEDEP}] +" +# skipping optional test dep on dev-python/nptyping as that package +# is horribly broken and on its way out +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-25.4[${PYTHON_USEDEP}] + >=dev-python/numpydoc-1.10[${PYTHON_USEDEP}] + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_annotations.py::test_format_annotation + tests/test_resolver/test_stubs.py::test_sphinx_build_stub_types_produce_crossrefs +) diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 26eb085bb5..8fd5cd565c 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -4,7 +4,10 @@ DIST tox-4.50.3.tar.gz 266455 BLAKE2B 77a18cb2beeb4df6e80b8cdb718e5c51ea77b54ad0 DIST tox-4.50.3.tar.gz.provenance 9287 BLAKE2B 44e6d623b0de01dc586e4a29fdc70ab11e8a12ae9f6267851502e986e0ca5bcbc29f1f00bd5054752870155e058e660b78454af216eb439e421be94c74e72b8e SHA512 809624f5faa01e2b9141269a3988b51cf427a0b8b9bb3618b13234c3fa07e660d6b9fb65f5339d8a8a97a9a1b87da21facfe700dee278af974e69852bd5df695 DIST tox-4.51.0.tar.gz 268657 BLAKE2B 52d453f2de4f4b24e81cd6850870f1086df762bc7e1e838f6a3101bf3b7aa449930637b5eef25f652267d9749a33eb3b6454a362d25cc4af7a2f2f49c5773e3c SHA512 e1f61da04330b353850cb78640caf731934ab5f75f56266dfbf668612529ce2012c166fcccd3860fe708e4acb2fdb9cad876131e61641615f6e44afea834e2ff DIST tox-4.51.0.tar.gz.provenance 9283 BLAKE2B 44c387a35815b55da8830bf0c57e115c35ac2c7e7f77c90d61a40d0c682a4cc5d941c35471d6f7b8b28f324e813726bf0f100a66a2f9e562fcad1eba299360b4 SHA512 28e558b4d40672dca95bd035c87e1ae031800401889d4118526a1e460cd1510a4703e024d5f79344b47beb0603b6d38e499b6790535c633e0eafb12dcbe29559 +DIST tox-4.52.1.tar.gz 273730 BLAKE2B f4c03bc4336d844063e86cbabaef67afdfee88e44cd4f2e5a703feb6b598a51fdeb15b0954790d1b4a3632b1c84ccf649f6874772566eb387c240df3fb6a5d62 SHA512 2afbd49fbf298388f54329ab23b63af81c67692e52f95c483ef81fcf206e2a345f219389a3aa635d1b9c4ddb56a163a17a76550ccc1716f1ab42e922f51a68dd +DIST tox-4.52.1.tar.gz.provenance 9142 BLAKE2B 14b0420896e2dba90aec162fe0ac917c4b9df9626f4b52c4d3e832e389ef789f52be6ed63d7c7a191453e977f691e95904004006a5d81cd666d8ecc99379c2fd SHA512 35fdcca7fe9277d1c3d7a8867c5309c8e08a32cf5bca47d43dedfef12e9fe75edd818c8eec17872e521d923d9c6daeb931014a6f733041db9c1f464b1018e5a3 EBUILD tox-4.49.1.ebuild 3053 BLAKE2B 5576b2168db406f1966aa1894b24f196c34a6bef652d2d90365ec9f5686afce627265e21f91c6d6d8a6b73e8bfa72da4e8b1229e2bda114b291de526f2e80ff4 SHA512 808bee1be388e3d1dd4fa6bf01084a704361c539696bd870140ea90641f5dc57b6cf30221c1905f8cea5c4f7981ff567d9d70fe224c800a75e01cbabe70748b2 EBUILD tox-4.50.3.ebuild 3098 BLAKE2B c9cb90add6ff692c85ce8df20a99c38e8384a3ab8b31532e0dbc89568c6ca0d7a26a23c23298a7e60455f035eebb2ee54960f3a0529ea299cc2df50ed708108b SHA512 e759e390118a9a28d39a4bf152677f4fc7365445ff0c352d0517e6f08d05135ac3cdf909c6f527caf3967630ab1cc8f1cc9e2a35de49ce4eac6216aa03ab5dab EBUILD tox-4.51.0.ebuild 3095 BLAKE2B 364b9b34fe1cf836ca104053563c8bbc358dbea6bccaf15a233fae186ecc2184960ca1a6eb3a0790ad01b7f237794bcc2341c32cba47cfd99b9585fa4e63915c SHA512 15daa514108f58a1b52f7057c5af24c65bd9220fb31418ae80eb2d1b93fbe88cf904279ad25dd65b10a8fec44c6a9bce00f0a7e45963c11d0d6f8682b15566bc +EBUILD tox-4.52.1.ebuild 3095 BLAKE2B 364b9b34fe1cf836ca104053563c8bbc358dbea6bccaf15a233fae186ecc2184960ca1a6eb3a0790ad01b7f237794bcc2341c32cba47cfd99b9585fa4e63915c SHA512 15daa514108f58a1b52f7057c5af24c65bd9220fb31418ae80eb2d1b93fbe88cf904279ad25dd65b10a8fec44c6a9bce00f0a7e45963c11d0d6f8682b15566bc MISC metadata.xml 382 BLAKE2B 7c0704c5c187ce4a7972fe0372b23c5537a81a8d62fd83436d9558a61761f10764adb5a4d5f6795f0dd1fe905afa604c0be77fe1d48d291847f6ae65dc1b032c SHA512 9d0ced4df9352a81034a50d5766a01534ae8fa889985d99cc9e2a8d0889e31c6c11550677d9a5a74e2aab57c320192ce3a42708a6d23b0419ee34a6054398344 diff --git a/dev-python/tox/tox-4.52.1.ebuild b/dev-python/tox/tox-4.52.1.ebuild new file mode 100644 index 0000000000..dee188dbe1 --- /dev/null +++ b/dev-python/tox/tox-4.52.1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/tox +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + dev-python/python-discovery[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} ) +# xdist seems to mess up state between successive implementation runs +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + case ${EPYTHON} in + python*) + local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) + ;; + pypy3*) + EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + ;; + esac + + epytest -o addopts= +} diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index fe559dc8fb..2dcddb431b 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,3 +1,5 @@ DIST translate-3.19.3.gh.tar.gz 1297097 BLAKE2B 4dad6f730ad441cb709990a12eebfc38d98b805c469f07b5eafb46f85aee7c58572d449e1325a7f0f7b438288ad290136ee07b1b8acac5680a7f8a5707a7ad0e SHA512 36c2308bbe8c512bf72bf4a8d29129cf096f514c5c78f9c464183130ec287b70dc0cc79d95e73082e1c978af2e335ac48159cb0fca861a0555a320e82128275d +DIST translate-3.19.4.gh.tar.gz 1312664 BLAKE2B 90da92402354a10bb68701781bd2572aa8461aa858840badbbdc866da8ddc600006b9d22e177f5f3ce68a5eaec14f38373f6c13c758d84f208da71a97885161d SHA512 e4fbf1276205452782f798b1f57fb2acb57fc1d92246a032e2912def53db1764121a6a0ddff9a9237a21f9bb1fad274129133517ec28e8d26add592ac7b4ebcc EBUILD translate-toolkit-3.19.3.ebuild 3513 BLAKE2B 01e58f46e748a673a8f5bf10da5caab8fdeeed3d870f072bc43ab1fbeeaba1830c591bf9e8f6441ba5a6a0cf3f06d3480eed7add03a80b18702198241db9fd1e SHA512 f1a6c04b8c0a64de7736428f9ae9a709ca978982c4f647ad1b941b2eb9658e9ed288116d884eb71e6e3c5b64fc0bf095d0ec838c0adf990db96ac61e88b316e5 +EBUILD translate-toolkit-3.19.4.ebuild 3515 BLAKE2B a685daa1de17ab0d7d1d8b340babdb21f6321d855f789cdd62394e8d4752b8da83b28cd81b338de4426d0516fc46d9be074de72f478476ee021f3b873450e3a2 SHA512 7474c3d42f2aae13327f7b319a560209cda61dd74b6699d2d7479ed4c23363a79adc7c8ae2634f57703f35b77a688f056aafce65a98679c21d71a500e5c50246 MISC metadata.xml 756 BLAKE2B 06f64f258d362954f99f7e9eee241eb3dddc6b00b9069df2ad977d28b5cf06f9c8ee2246ee5958600b5ac86297968d7aaced6b6420dca4ed507c441c58c61ca9 SHA512 80374c40513ca450f97e3930929c1450e7438ea15830e60937952a6fccfd999675f2ca2056c5aa4e287ba256c6ec08a09d8f7adb8b2c5af8ca0cd595f34acd85 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.19.4.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.19.4.ebuild new file mode 100644 index 0000000000..e40bfb7f2f --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.19.4.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/unicode-segmentation-rs-0.2.0[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.2.14[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip unnecessary pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}"/usr/share/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + tests/translate/convert/test_fluent2po.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! has_version "dev-python/iniparse[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! has_version "media-video/gaupol[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 6f950c1828..5ed1b7d27f 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -4,10 +4,12 @@ DIST uv_build-0.11.1.tar.gz 381246 BLAKE2B 57bd4e5366899c745294e967b9c632ff12587 DIST uv_build-0.11.2.tar.gz 381227 BLAKE2B a0989816b2c4f224fe78d88a0dbee2f87b6426d0cb67299ae7f5caec644bf11ba0a3503919103d5c2a747cf696f2e7447a618a8b11156ffad9c308eeb3fb1e7b SHA512 66ce17d053002eb3c7fe82bf0c0e9953770dbc5b75822fa6bacdddd3092b5899d5416cd669e633a58b644e6fb6ceb6a8ff940878d7874c08b5d23b02564f2ba3 DIST uv_build-0.11.3.tar.gz 382592 BLAKE2B c212ba9dbd57d588f229a6972a20824cb1439c1770d677a7754a2ccad598a0b9235edbd4c6e178bae99c04c2a31a104a6213335e2c8e005728b25500c1b3a729 SHA512 3ed531b2ac111a8446336861eb80e90d5e7aa595cc65de7e83c79f94f4b2a0183028e3738ed30169b00430ef380574701fd1beffd120bc2cf7510d3bcb28bf11 DIST uv_build-0.11.5.tar.gz 360294 BLAKE2B 5e913cc609b40bbc906e574a16d1cecec8fa59517ef3dac392ebe81e7d377ca20346ddb09b4292377cbbc506cce95e5c4df284d80b5f26907de6539999bc52d3 SHA512 731cdd7a17ba40d20add0ef9928c688016b4f19b5378a7cb71a3d02aca09a4585a1bd6b6304ef4c1b5745fe3edb5ee36a1a49b563946dd29d1e210fd5946d1de +DIST uv_build-0.11.6.tar.gz 361928 BLAKE2B 800f59a32bab5b850fb30627b6e47c4a2e7bd8d1a292584e2c3b33e2c3aee81907b8e6ebe95298bac607df161e29437cc8a84bb8a44e32435028ab5fd3bf22af SHA512 8a9fc7cca9e42f42db888b6a9f3888393feae79d0ce8ca56568c83cbee977675d8a39a38b820606d1ac685ef99b92a182795c2521f4796865acd774fd73c6bac EBUILD uv-build-0.10.12.ebuild 2697 BLAKE2B 11e7eaedad195a6ac5e42fe92af11f30799a2c01448a039b47a1905475d84b7bba1e2fc44b7f65265e31ebab3755425860d2dd67859cdcd3fe8b7a3b3b4b54a4 SHA512 a71a69d91d0f8be4a903cbac9bd965d85448a4a2d5d65a34d2f305c0611f600225f7cef768f259b54d97f44c8c19c4867c43273eccb445d02fef56bbab60e72b EBUILD uv-build-0.11.0.ebuild 2703 BLAKE2B 7e498ae1c5af84355842323fcb0f041909cbcab059514d6d4a4e52e79e072ab50714376c9d6f02cedaa7486e2c3121b527cef26a82a061266e12ce96d0f6f3ae SHA512 b46f448b1ecaa9d193bf53ffa406afc45c5a0a45d0b285d1b456b9b227dbde01b299d6c7ca296af7547004f2a1590b3d489495d519485308c1d21fab19ff8533 EBUILD uv-build-0.11.1.ebuild 2703 BLAKE2B 7e498ae1c5af84355842323fcb0f041909cbcab059514d6d4a4e52e79e072ab50714376c9d6f02cedaa7486e2c3121b527cef26a82a061266e12ce96d0f6f3ae SHA512 b46f448b1ecaa9d193bf53ffa406afc45c5a0a45d0b285d1b456b9b227dbde01b299d6c7ca296af7547004f2a1590b3d489495d519485308c1d21fab19ff8533 EBUILD uv-build-0.11.2.ebuild 2703 BLAKE2B 7e498ae1c5af84355842323fcb0f041909cbcab059514d6d4a4e52e79e072ab50714376c9d6f02cedaa7486e2c3121b527cef26a82a061266e12ce96d0f6f3ae SHA512 b46f448b1ecaa9d193bf53ffa406afc45c5a0a45d0b285d1b456b9b227dbde01b299d6c7ca296af7547004f2a1590b3d489495d519485308c1d21fab19ff8533 EBUILD uv-build-0.11.3.ebuild 2703 BLAKE2B 7e498ae1c5af84355842323fcb0f041909cbcab059514d6d4a4e52e79e072ab50714376c9d6f02cedaa7486e2c3121b527cef26a82a061266e12ce96d0f6f3ae SHA512 b46f448b1ecaa9d193bf53ffa406afc45c5a0a45d0b285d1b456b9b227dbde01b299d6c7ca296af7547004f2a1590b3d489495d519485308c1d21fab19ff8533 EBUILD uv-build-0.11.5.ebuild 2703 BLAKE2B 7e498ae1c5af84355842323fcb0f041909cbcab059514d6d4a4e52e79e072ab50714376c9d6f02cedaa7486e2c3121b527cef26a82a061266e12ce96d0f6f3ae SHA512 b46f448b1ecaa9d193bf53ffa406afc45c5a0a45d0b285d1b456b9b227dbde01b299d6c7ca296af7547004f2a1590b3d489495d519485308c1d21fab19ff8533 +EBUILD uv-build-0.11.6.ebuild 2703 BLAKE2B 7e498ae1c5af84355842323fcb0f041909cbcab059514d6d4a4e52e79e072ab50714376c9d6f02cedaa7486e2c3121b527cef26a82a061266e12ce96d0f6f3ae SHA512 b46f448b1ecaa9d193bf53ffa406afc45c5a0a45d0b285d1b456b9b227dbde01b299d6c7ca296af7547004f2a1590b3d489495d519485308c1d21fab19ff8533 MISC metadata.xml 342 BLAKE2B f7d9b54fd8fe7a60ef7984fcc096287080a5aaf6783be1ff702792dc4a717838ef581f59ae0024c572f585505d9ecc80d2a551fe2ff01f8fe9b8b6c5130677e3 SHA512 d8147f82d980a004aba4036c64ac4fa74856680502b3d7d96f73a0e66df10f6867d8cb7989f0287f4e6ddd2e30c93c7c1e8b8bc38b89616a0ef3c1992fdcae1e diff --git a/dev-python/uv-build/uv-build-0.11.6.ebuild b/dev-python/uv-build/uv-build-0.11.6.ebuild new file mode 100644 index 0000000000..c0a0bed6ee --- /dev/null +++ b/dev-python/uv-build/uv-build-0.11.6.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 204ec0faff..067bfd7444 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -10,11 +10,14 @@ DIST uv-0.11.3-crates.tar.xz 46981748 BLAKE2B be42ea0a2997d23ddbd1e2772c4ad1e7a2 DIST uv-0.11.3.gh.tar.gz 5161685 BLAKE2B 901bb7292d0febd3970ff84913143bc3d31252f6e2bad08ef67bdb3638eb00760b0eea5717f5b5e40e2fd862c065fafe1ac23b57b186434fe5f0899835795c44 SHA512 5694bbb75136052b929356d8a7c66d16af515709a5f68c8d5d0a8353fa51a724677bab16c6288a53d128e95614898444f6ee3cc686bb34817ff15796d4dc46f9 DIST uv-0.11.5-crates.tar.xz 46830584 BLAKE2B 6fbf2c9aa231588833e5cce30da2a9238af8bd22fd849cf45c3ffab52b405bcd6c5b488a9cc6975e09781ce379405c6323d7cb3c330243ae5a7b53efb775d06e SHA512 243e69e5512d09a48d47c76f100dae390e2ea9de51eb4671a9bc84a8fcbbdafe96832b6afc7222185f09f1c11c5aa6a32be9185f723b7dc67e13a94205f759d2 DIST uv-0.11.5.gh.tar.gz 5200922 BLAKE2B 67631c35da46465c324bb3417312be7f5e9f50cafaf7f32b679b282ab4e5997c7ddc3a6a0cba3af138d95c4890475e3055cd6dc0dacf0e42bfa63761b839d766 SHA512 ade88d151b3da1a73dbd43b6b9c27722822f61e7088a53dfc1a073436350705468b37ebd301eaa5ddb2fdcd39978096b2c95180c735bc49c4a07391ca3bd4c09 +DIST uv-0.11.6-crates.tar.xz 46830584 BLAKE2B 6fbf2c9aa231588833e5cce30da2a9238af8bd22fd849cf45c3ffab52b405bcd6c5b488a9cc6975e09781ce379405c6323d7cb3c330243ae5a7b53efb775d06e SHA512 243e69e5512d09a48d47c76f100dae390e2ea9de51eb4671a9bc84a8fcbbdafe96832b6afc7222185f09f1c11c5aa6a32be9185f723b7dc67e13a94205f759d2 +DIST uv-0.11.6.gh.tar.gz 5211342 BLAKE2B 43b6cf60e3a97e70c847878e36d5ae854e7458922121b4b85a9d61d48a1e740c47c408600c92458e4a89d69308fef4833da41b2dd0ad5dbb6ac94b5d2e48c549 SHA512 3f370f98b253dd84706f1724155ba4ed5cafb41b612fa75151aef26dd4f18c85f59d93c5bbddae1c59ea594fdc88857d005b6e8728cdd24f5b37b99ba4ef32cd EBUILD uv-0.10.12.ebuild 3976 BLAKE2B 863f49809a815e88c59a137c488c0b6b8d9c0fb3a080f4a3dbd8963e584bda09f7069129a4dc382eaa5613b8df2470cb014cd930f9195f29f21092e195d1acc9 SHA512 50367abb5e16526c9300a8df59d1b8d12e9ca6fbfbe2c9c64c352dc47c5b6553a08ec301732e5fa29914ca94d1957ff1b00357eecacc45d16efef41b92415658 EBUILD uv-0.11.0.ebuild 3982 BLAKE2B 014e060b18c21f4316ddab362842c422255d653e495f282bfbd15c34ec226754853ab1ed5866468ebf423927a7dbffd230b6e8d38f9f4b7cfd920774ca221eca SHA512 dbe08763d0bdee2e8f44c669287ef186ebc41a1775d50c42395336c2311f80a2505eb49fff524d1301e24fa5299b33352e6fbafe4cee44b4a7a76538276eed0e EBUILD uv-0.11.1.ebuild 3982 BLAKE2B 014e060b18c21f4316ddab362842c422255d653e495f282bfbd15c34ec226754853ab1ed5866468ebf423927a7dbffd230b6e8d38f9f4b7cfd920774ca221eca SHA512 dbe08763d0bdee2e8f44c669287ef186ebc41a1775d50c42395336c2311f80a2505eb49fff524d1301e24fa5299b33352e6fbafe4cee44b4a7a76538276eed0e EBUILD uv-0.11.2.ebuild 3982 BLAKE2B 014e060b18c21f4316ddab362842c422255d653e495f282bfbd15c34ec226754853ab1ed5866468ebf423927a7dbffd230b6e8d38f9f4b7cfd920774ca221eca SHA512 dbe08763d0bdee2e8f44c669287ef186ebc41a1775d50c42395336c2311f80a2505eb49fff524d1301e24fa5299b33352e6fbafe4cee44b4a7a76538276eed0e EBUILD uv-0.11.3.ebuild 3982 BLAKE2B 014e060b18c21f4316ddab362842c422255d653e495f282bfbd15c34ec226754853ab1ed5866468ebf423927a7dbffd230b6e8d38f9f4b7cfd920774ca221eca SHA512 dbe08763d0bdee2e8f44c669287ef186ebc41a1775d50c42395336c2311f80a2505eb49fff524d1301e24fa5299b33352e6fbafe4cee44b4a7a76538276eed0e EBUILD uv-0.11.5.ebuild 3982 BLAKE2B 014e060b18c21f4316ddab362842c422255d653e495f282bfbd15c34ec226754853ab1ed5866468ebf423927a7dbffd230b6e8d38f9f4b7cfd920774ca221eca SHA512 dbe08763d0bdee2e8f44c669287ef186ebc41a1775d50c42395336c2311f80a2505eb49fff524d1301e24fa5299b33352e6fbafe4cee44b4a7a76538276eed0e +EBUILD uv-0.11.6.ebuild 3982 BLAKE2B 014e060b18c21f4316ddab362842c422255d653e495f282bfbd15c34ec226754853ab1ed5866468ebf423927a7dbffd230b6e8d38f9f4b7cfd920774ca221eca SHA512 dbe08763d0bdee2e8f44c669287ef186ebc41a1775d50c42395336c2311f80a2505eb49fff524d1301e24fa5299b33352e6fbafe4cee44b4a7a76538276eed0e EBUILD uv-9999.ebuild 3390 BLAKE2B aae8f0120d038cc613981247010376155e451b0018d1bf324a1285985e75c8e3873d1b4201cbcae0e33d74668a1b5a0379a2cbafd165e04da2c24e763e3a6aa3 SHA512 a962c846d29ebae3ba2ae0fa6465e777f14d16b59277e4e0c9fc46f43d100891d0a964bfa84419aca7692ccda814db2a3323059697d325d3fad21dbced3cf7e4 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.11.6.ebuild b/dev-python/uv/uv-0.11.6.ebuild new file mode 100644 index 0000000000..ea2607714c --- /dev/null +++ b/dev-python/uv/uv-0.11.6.ebuild @@ -0,0 +1,164 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.92.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +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://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/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 CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 + ZLIB BZIP2 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~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 + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # 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 + + # uv is now forcing bundled liblzma, sigh + sed -i -e '/xz/s:"static"::' Cargo.toml || die +} + +src_configure() { + local myfeatures=( + test-git + test-pypi + test-python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + 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 +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 25592e140c..7f1d80ce6d 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -4,6 +4,9 @@ DIST virtualenv-20.39.1.tar.gz 5870061 BLAKE2B 30fb2c107616c080935ede0ea2e72e5b7 DIST virtualenv-20.39.1.tar.gz.provenance 9445 BLAKE2B 39909e09db2ab5b8fdd9a192943e3e8279a16efd2c55a88dca6c2f76bb86b78d569d6e9a8a6ef8415a6805d42a0967f0862609eb9a59a5ef7bf35dbfb3a55a51 SHA512 6c7f752fc702cfb00005215186fc6062a30f319d5d22457abc7a98ee9fbc8e7e466aa6b0af319ff3a98dde013e98759f16100003012c00e644ae91982ceaf157 DIST virtualenv-21.2.0.tar.gz 5840618 BLAKE2B a02d89abb227e83981f2ae8bab925c50d125dfc518ff923c4abca287da7e8103fe0b1240cb0ae420f8584664c42f4edeb5a70c7626c3225de0b033e39ed9bb4e SHA512 29b41748fa5fe5dd79c1199c3ad28beeec168b54b0a051cfda805c20fa78e0505952a06d837bec3e917935845af3a10435ff7d105fa14246623ac3ec8007755e DIST virtualenv-21.2.0.tar.gz.provenance 9383 BLAKE2B d977d995073e99ddc2822b3982e4a0967568ccd8d064ac2cbbdc132852c3aa63161377d2ab443e291eaf2fe45f5ed3986de82660315926f119dbc1318972e94d SHA512 966aa430c8268df52e03e6640c44f26b04f698ad3c4eae44d4e55944014f449842ce41b2004b7583b5ac47ad90b0e2070da5b6833cdaea1bc9864d2cf484e04b +DIST virtualenv-21.2.1.tar.gz 5844770 BLAKE2B e14ffb6c788e953df7eacc158743b63f721815868a628be3a5edb7fcbb4ea5cf6653230f4e3ae08e2ecaa79f150d556f67a0793ad0043ad374a296d781c9b0d6 SHA512 7e5d10b48447f202ec3a15d9790398f6adbfef7b4623580535d02aeb69951cbcbef6e57e1a321a617df35457a4b0f64fd6fa588522547303528f263c28b9170b +DIST virtualenv-21.2.1.tar.gz.provenance 9437 BLAKE2B e87594c8c4aeda80f392b9b53cf9a93c677695eb15e2dc277a680c7f3dcc34559c3ed0116df154d4a19c6cdd17e03d2003959e07adf9997699de037c87742358 SHA512 ab36e476fa751846c2e05800709b1eccd57695f3ab38d6dcc1b063af499c34ac157121a9d517664922231b0d89c9efd39bf2b0f8404790eb3b01be9d7cb2bee2 EBUILD virtualenv-20.39.1.ebuild 4074 BLAKE2B c4ce20ef3280e3a48be982ebe3cb7f40ef4965eb72284456072819fadbf3fbdec1b3cc541caf14789267c4b200c96199c4d1be44fff80c35de97730766dd5f0a SHA512 4371ccf8f8fd8976adc61dffdf3e04bfc85d7deb37f448f25149ef104a6dfc684a06b5d116aa56c1e138eafbe3c18be3e6406caabe801980a297ad2b3041b448 EBUILD virtualenv-21.2.0.ebuild 4074 BLAKE2B 9ab8e8dc53a0fcf603c37950f6f725cd24127bd9227a726ba029d67a90759641e4020cdd6a1162fdc2d2ee06a84f4cd8cb19ec318abaecc1c3e1f7e3be0243c3 SHA512 a217fd4cc952e8a4314ea487550527d783997de3922e47ecd65979189994eb2fc5b797ee7945a2c6b4c7841f59b568c5406c88a3304c12d2bde5cbca6959607f +EBUILD virtualenv-21.2.1.ebuild 4074 BLAKE2B 9ab8e8dc53a0fcf603c37950f6f725cd24127bd9227a726ba029d67a90759641e4020cdd6a1162fdc2d2ee06a84f4cd8cb19ec318abaecc1c3e1f7e3be0243c3 SHA512 a217fd4cc952e8a4314ea487550527d783997de3922e47ecd65979189994eb2fc5b797ee7945a2c6b4c7841f59b568c5406c88a3304c12d2bde5cbca6959607f MISC metadata.xml 406 BLAKE2B 97fee04c2662c5c36b6e16538284def46eb2454424770f42edf2567ed804ca15c4e969c714c57573f897b0946246577ab6e35204ed1f3f1735713d8ab5d24667 SHA512 356d42db463b63a3b3a55c1e98eb661de0a10aa6a5fde4f8b3f888ec73020c6679e86efd8dbb0b3e4a5a720af95e658612ba460fe548e081a90beec75fb9c1b2 diff --git a/dev-python/virtualenv/virtualenv-21.2.1.ebuild b/dev-python/virtualenv/virtualenv-21.2.1.ebuild new file mode 100644 index 0000000000..adee6695ee --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.2.1.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_{13,14}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' python3_{11..14}) + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' 'pypy3*') + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-21.1.0-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + ) + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # these don't like the executable called pypy3.11? + tests/unit/activation/test_bash.py::test_bash + tests/unit/activation/test_fish.py::test_fish + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) + if [[ ${EPYTHON} == pypy3* ]]; then + EPYTEST_PLUGINS+=( pytest-freezer ) + else + EPYTEST_PLUGINS+=( time-machine ) + fi + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest index 57b2563a34..c048bfbc04 100644 --- a/dev-python/wrapt/Manifest +++ b/dev-python/wrapt/Manifest @@ -1,11 +1,7 @@ DIST wrapt-1.17.3.gh.tar.gz 140900 BLAKE2B 88c4cd718cd98a97c866c4f0b9f7e095347fe6fa5fed60c54e389329c89f9f07099c8fb79561cf5e12c19c44a4067d81e805c55b54a74429e6b75913dedd6b3f SHA512 1a1f7419f20faa461a9e23ad09cc98d381ef2c48b3b24ed1dfe98d42d16857a958252301e78dd41b7fa8ef37eea379f9244cace2b396b49718c44cbc701308a3 -DIST wrapt-2.0.1.gh.tar.gz 184792 BLAKE2B 127b42113031a8284a72e49e0e4a737754ecd2dc6dc41628154c0c9c5d092f81c67e30339ca8b740f6d26f94bdbebc9a6c43c75b9e12dc1ff86431b003d6d0ad SHA512 ff7a69e7c2454f33f0f631f408013242a0292b28a8a601e981cef9b8c997b5769305bfb6b68b2504e96a1d2181d8e9aa48b25a159178f73906b53e527a00cbc5 -DIST wrapt-2.1.0.gh.tar.gz 183579 BLAKE2B 086cd80794abd3ba2cda04b1cca1f8e6e09e0c3ad6afdd852f174bcb1c6196d1603f15fe08f1f18600dbbed025a8341cb6be16c2d84469e05d9fd10b9dd3868b SHA512 7faea2c7df3be93ae0b28b62a03cb0d95e9120e6d0fe7ddeb1d8fe5081686ad76d0a5e80cd1ed75209eb17e8aea1c777b9ad66af6a34436bc0f8cbe53529d2f3 -DIST wrapt-2.1.1.tar.gz 81329 BLAKE2B 124aef3455f52e4baf264e4d0ff478b2eca20e8ed225c69faf72de182b28d4cf45a33a0f47947c78172d89894dd1f9656aaad9181ed2a6c52629d0ee61624242 SHA512 26ad70de5662329abca8b0d05652ca5a0585f58c0a9808afe96222a81bc54bef11ec841d64993364f4fcc9719c99a96c19ea77134b146c5cb7ee8a9044359444 DIST wrapt-2.1.2.tar.gz 81678 BLAKE2B f7fc45f31b8077d6d97c14c1f649437e0f1da7537769d369d427edede0ba1b84c8c07e6de9ded8088f29f2fb774272186d0f9b707e6b2bef650dc5f78444d852 SHA512 97f1af4cabfd7a4cfabfaf36d26d1afc577747f18946226fbb80256e13c55302b746005e01720e874d46d536826c83e9234544c98f8dd1ecd3c9a091113da808 +DIST wrapt-2.2.0rc2.tar.gz 91919 BLAKE2B 5f3c42f36f2ec74677a0de7367a019f0b02a183ee28f77f91d2748f8a0cd6714a2d315bdd1900fffc9ea383e1f236b2437aada6fe308d1607578fdb70555f57b SHA512 a70626f14f1b59cc5dfcf99038a72dca022b953f280b34a9472621afe22cecda450b660244bade2956e1b8e13c21365839b186c60ac68e993a0f55f6e44a4ccd EBUILD wrapt-1.17.3.ebuild 900 BLAKE2B b30300bcc06ce1f867947d16d80f4696051ff932416823d3881ef1ede14f7d0e21d8027f23a242f5241525c0d0c5b85459d47bdf35d0198d8d20ae2417b40bbb SHA512 a1edb6173180c298d143622257fdc0fc180b78e3ac5f6a1fb4f978b9546e1e8955bf0fb686c47cc7277b48da206ad4ea12c96e1f7c4c396fbb371a892f45ca74 -EBUILD wrapt-2.0.1.ebuild 905 BLAKE2B 94726ffcaf711258448f4f7ad71c17ea16bb9bee86b5818f27d258964da0d4be1d6f5b0aee36a8be2614d8b005b3fc9247c4ae61e087e1356cf650131b81d3b8 SHA512 7e85da5d2c22d57a9302e598fa437bfd87a9feae735cb38c9928c17316ceb5089e33336422d2d08fc40be9cade71dd07904d47a77ff2a6c35b5aad0548da5796 -EBUILD wrapt-2.1.0.ebuild 940 BLAKE2B e359b07e13bfc35c241d09749863612d7db4e8c43a147f5dfff964aad32776fa6e1541c66c1c38c5546c4d4f7bc12f296a405fbf0838028d4507bc836629b609 SHA512 bb6f4d4fac59414c742efcf39a3ae875b448c4043b725c7b6a5f805eec1d90a9ce6d42a3b3a00b2f57c985f86d9a7e2bbbd93dc373276aa5a52089ba7426403b -EBUILD wrapt-2.1.1.ebuild 767 BLAKE2B 7740177cbe93ae817bb863eb3c25a4aa07bd25b1640533f786ba586212a0d138a2e1de4ac5d2f2b5b919ca852cc8cf61fd81439ee49c91fc4a4685111ee691b8 SHA512 d1b3f9a2ddde164463aaa1e8b1954d3bf0d32686b196979875443798688456a363a1f1bac17fda7f546e9ada64bb53f745d752b40b67a7ac71a9e27530cbdeba EBUILD wrapt-2.1.2.ebuild 871 BLAKE2B ae2cbb1b23df06dd28630e19473757947d004a171c7d444e0d20373afcececbc01d63131afc07ec6e552513b2938f7fd5776107da89b67a65e5c57f3c3321fdd SHA512 1f377ee71d2a9e650c065d7a96e6299ca6c6b4da24c92bfa4a4da57769a32848b037e6aec9607c510e47a0b3fd370794ec4d250e1155c406b73c7f6d00495f97 +EBUILD wrapt-2.2.0_rc2.ebuild 875 BLAKE2B 0f203eedce5170b91e8b73b35e89f4b523756663eff04b07f7c74f6310e11f68afaa8b3fafe1b05778c9d251725a006102a37cd28a23f3bcbd9ca8acfeec74fb SHA512 f47b7c3c52268a1a2784247fe1a283b94673c09d09f2f2f3623c5b47a15b7fdd3ebbe6e25d2a3d7a9356f0e57e478f53dc9de55b62bfd06279df24a51230e729 MISC metadata.xml 515 BLAKE2B 9a7eb633f7a52c3bb378854a89d8b529adfb09f4db96502875da844c4d256aa1ca2346831be3f7949894045d9185df284a7b50c142a22b1340676d079913abf6 SHA512 f260a2482e32147b1a052b949f1b438efcb406b52caad79951b60cd79c330dacc5c612269b80c730c489a9b2896c4d91572796409bbceabc36a83c056522cac2 diff --git a/dev-python/wrapt/wrapt-2.0.1.ebuild b/dev-python/wrapt/wrapt-2.0.1.ebuild deleted file mode 100644 index 72757edeb1..0000000000 --- a/dev-python/wrapt/wrapt-2.0.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2026 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_{11..14} pypy3_11 ) - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="Module for decorators, wrappers and monkey patching" -HOMEPAGE=" - https://github.com/GrahamDumpleton/wrapt/ - https://pypi.org/project/wrapt/ -" -SRC_URI=" - https://github.com/GrahamDumpleton/wrapt/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="+native-extensions" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-rtd-theme - -python_compile() { - local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) - distutils-r1_python_compile -} diff --git a/dev-python/wrapt/wrapt-2.1.0.ebuild b/dev-python/wrapt/wrapt-2.1.0.ebuild deleted file mode 100644 index 712aeb51a9..0000000000 --- a/dev-python/wrapt/wrapt-2.1.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2026 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_{11..14} pypy3_11 ) - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="Module for decorators, wrappers and monkey patching" -HOMEPAGE=" - https://github.com/GrahamDumpleton/wrapt/ - https://pypi.org/project/wrapt/ -" -SRC_URI=" - https://github.com/GrahamDumpleton/wrapt/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -if [[ ${PV} != *_rc* ]]; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -fi -IUSE="+native-extensions" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-rtd-theme - -python_compile() { - local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) - distutils-r1_python_compile -} diff --git a/dev-python/wrapt/wrapt-2.1.1.ebuild b/dev-python/wrapt/wrapt-2.2.0_rc2.ebuild index ba8f627fe9..ac2f9d14fe 100644 --- a/dev-python/wrapt/wrapt-2.1.1.ebuild +++ b/dev-python/wrapt/wrapt-2.2.0_rc2.ebuild @@ -26,6 +26,13 @@ IUSE="+native-extensions" EPYTEST_PLUGINS=() distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # skip mypy tests, they are fragile + rm -r tests/mypy || die +} + python_compile() { local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) distutils-r1_python_compile |
