diff options
Diffstat (limited to 'dev-python')
39 files changed, 1253 insertions, 630 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 24a8a35f43d5..9c7fd8820e13 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiohappyeyeballs/Manifest b/dev-python/aiohappyeyeballs/Manifest index bf602cb50d70..21f61cc17e1d 100644 --- a/dev-python/aiohappyeyeballs/Manifest +++ b/dev-python/aiohappyeyeballs/Manifest @@ -1,3 +1,5 @@ DIST aiohappyeyeballs-2.4.6.gh.tar.gz 72830 BLAKE2B aea6f5e20a2900fb5d498722edc5e1b776552ff4ca84120f2e1acea5478a571ab923d3bca4c58111f5ff0389ddb7f4976f6231b575b7b282e3c45e4adebb9707 SHA512 0098f13604c929998981deaa9ae221f0c5c4c4de46e5063b23e185e1437637b35256ebc91a3f7fdf6b5f9dee6f4be5ff3c215a8ddd34a02a0389c9b49c329c16 +DIST aiohappyeyeballs-2.4.8.gh.tar.gz 73672 BLAKE2B 9f2268f077106007607b3e463b9c86d7264ffb14ac3d27d07a29e919194dc1ba0210cd8d53b25fc2476794cbfa2f5e4cc400d405dc9bef7b3d61a764d5ed28da SHA512 081eb29d6be252170822d86d3de8e15165e461969788d539a20e796dfa34204f4d04e69380873a038e44c87194c61fd394a3bd105102c593a7aa17a4c2c3bd66 EBUILD aiohappyeyeballs-2.4.6.ebuild 786 BLAKE2B cf363479070b9093bb3497540aca795da19684609b79da66f8fc601a185e3bd9fe46841303601cd15158b07e6f41910e30163c8f324835b1242de04b7592bb06 SHA512 9fbb699889ca7bf537d7c97f461587ec27ee6c6257bc9a79e5dcf26ff194280329994232da45cf54ad87cdcc0ec736c1776077e1cb38549ec3f33ac069eb8d42 +EBUILD aiohappyeyeballs-2.4.8.ebuild 794 BLAKE2B c1454e9d3ea2849716f37a79540070e9c2720372e6c6107ba41ea925876eaf6b8ed080ae149f89075be5f6cf840ab73d0f3f87864772463d951aaf66b5f06625 SHA512 66502f75554fcd347daca0709ac4dcd883a64e4cbe3d5e8c24dd2b1fd1a3a152bb514ce988366c76b7cb85ba525c8878d1633b1da97482b8b36ccee06f0c7ae8 MISC metadata.xml 387 BLAKE2B c739dc88d077c51dae10eb7aaa84091c6c7904a782ee3eabb12b6167c7e4ae8528b6464612f891eef5f12add728caa66fd30cd93c3b13e022cedae267c1e9f40 SHA512 65973b766dbcbd20b8c25e8e76c4d662bf5478d6c860f8cfd460be8795fbd141c58fed586a678506360af8ac013ec4c2292cc2e1092a5bbd8a3c54160adadb94 diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.8.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.8.ebuild new file mode 100644 index 000000000000..47f81490d8cc --- /dev/null +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.4.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Happy Eyeballs for pre-resolved hosts" +HOMEPAGE=" + https://pypi.org/project/aiohappyeyeballs/ + https://github.com/aio-libs/aiohappyeyeballs/ +" +SRC_URI=" + https://github.com/aio-libs/aiohappyeyeballs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + >=dev-python/pytest-asyncio-0.23.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -o addopts= +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 14f3f7bf89fe..973fa2249a4d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,9 @@ DIST boto3-1.36.21.gh.tar.gz 901823 BLAKE2B 9659b8f05c90deeeeedc19f8c1bbd777415b778cf33f0ff2945063e64d413da9365f1a7e0dfc6ee159c00785299eece92596ae38d8a5d2bba02fe344ed2a052c SHA512 f13d44519aa9d62ca26cd7731b7b83cb67bc85d649a3fd61756048a5fe9254d4a1af8fae55b546fce692ca35becf5bfea2c25bde2a63c8c8783b064a61814da7 DIST boto3-1.36.26.gh.tar.gz 903988 BLAKE2B f9bb945e9132a7af7bd92ff48e5a99cc89488283c30e2d7d0cbb22d9002bd41c5d5f8a449494d2aa4758648aca3c2e88dad8bebda640af4bba7df64e72ffd2bc SHA512 77a545fd94ed50114db72d7b763e232356e78cda7a2780c12c26b602ed85101218339adf6247ba45e3a8b16c33fb11f5fb34572a37dfeac43dd9322823372cc1 DIST boto3-1.37.4.gh.tar.gz 908620 BLAKE2B ed63365ccd6da9b97715e4110be2b562285a123139a90ddb10c1411d5bd5ba0de9c110177a31f03ecb7e257fd79a0de89a8be97493a83f3207050676f7022e04 SHA512 dbf40cb809ee1d3ef352b97f62c111d113293211226a63298979d8ea14833c83ac2e321714dac349bfe095f75120c2752d08a01c19e51d9b0fc947e27a910005 +DIST boto3-1.37.5.gh.tar.gz 909313 BLAKE2B d31bd1ed08c60f351012a8b3711e43f7e4fb7a8fa76067b6b8026ad4d39ba4edf068a8246815271fa01264db8e9d76e6c08ea973e17676b8adfb79516e52de3f SHA512 f1d18b153b060599d3570bdc068be636dbd59e764d62120c678d6265878bfd9e0334885fa0b578207a6c83d02735161c919ab6d60f0a381245943f26d5d33b68 EBUILD boto3-1.36.21.ebuild 1205 BLAKE2B ba88d00e8ea05d27260511e6110158d1f305ce8bde0aaf3385814b38f6b977bd8fae2b092659d5765d6c3bcf80cd75fe5f2bea95374a3105c23cdfbf04bd8ec8 SHA512 6cf3155f855f19611a770cf2db452b139af4869a39f2e07d1040a9c45a3cfd13341f3a7eadb2e13da7c38d29492d68307a9e88b62c22704ef15a5c082da651fd EBUILD boto3-1.36.26.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.37.4.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 +EBUILD boto3-1.37.5.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.37.5.ebuild b/dev-python/boto3/boto3-1.37.5.ebuild new file mode 100644 index 000000000000..b087a88814e8 --- /dev/null +++ b/dev-python/boto3/boto3-1.37.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 4be89e2a054b..df99cdc6bcc5 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,9 @@ DIST botocore-1.36.21.gh.tar.gz 14227102 BLAKE2B 66948337c21be8024c64ad5daf35dd5f04493c2f83b4873f6040faf1231d4b491ca6714f96756527b4b0b3ab8d2047cfc5a24188c78d5540b8a9ac8c22a009ee SHA512 3f370bcf80faefc54cfa4fb2e342c58a48bcc529247128571892b5c7c4c0ba74b5a184539a7fb2e85faf9e542698846f991120cc47f40e9aa61f2785b7aa7290 DIST botocore-1.36.26.gh.tar.gz 14281837 BLAKE2B 925ebbca3e415ea7e3388c52e53a6d0a9a1aec001bd579293bfbbba5d756503371a137399d679926d5894f8f4e0fe498a37570dc4c19af99dfa67b4e3d374c3c SHA512 2f2d960a6519efae499acdb704d66a1f329927b30a53900ed035909847ca9a6c1a3b57291e0a0aa153b4bc49a959935b1840ad0d81244f8c2577fd4ba910fcf6 DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B ab55a62f2291e623e61a0ec6712241815279ae6d8f25e678adbf6cf167265d216f44b0eae78f2b66a454253dc4ef977b90c38f1aa329c855b38fa844eaa478b7 SHA512 07921ca8d51ff2afd8a4dafa77b40b5c24afa0351d71dbf68cef716573ba1f695a331634734fb6d9822eee55c91829128dbf215920e3da92ea2b40b727d0a0f6 +DIST botocore-1.37.5.gh.tar.gz 14298752 BLAKE2B 99aade487be0277f66f0df5c4631e36c3972c4b14e7579bebd643044d9d2fb5264764053d5f0cd63b1d72d97c801e2ec185a07b8cea4551eed4978830ba791d6 SHA512 b7fbc9861aefe159ac0023d17fd72d9b2483b219244689a68c8f821debd8ba9420d85b296ef7a0a3ed881f286497722e78e78a43084efd5ddd48650d0d8433f0 EBUILD botocore-1.36.21.ebuild 1484 BLAKE2B e69b432b70d99a29bce6a148a732df49694427d669ea669c64482ec58959f640650b02635f34a613c6a87fed9e4c199cc971b4c811e1ced6db9db1c3e4fc384b SHA512 81c31e65ddea2c9d721e540e6b63c0d76bd7f3f847d06d2cb021bc02449373268cfe08b262db804d1cf65f77bd5bef6fb25cf4a070ee106cd7a231531d6d1130 EBUILD botocore-1.36.26.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.37.4.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae +EBUILD botocore-1.37.5.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.37.5.ebuild b/dev-python/botocore/botocore-1.37.5.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.37.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest index a58bf6c19a99..3f9daf597722 100644 --- a/dev-python/elementpath/Manifest +++ b/dev-python/elementpath/Manifest @@ -1,3 +1,5 @@ DIST elementpath-4.7.0.tar.gz 357225 BLAKE2B 4f39f27ff6be7ae3b159b1a8c6bbba30dcb2cd4306df0f61c0ec8895faf382a19aed23dd10552224b64b91f99b0efbeaba22901b8ab920ec9f1074472d1a3f47 SHA512 320b7d037247412604be5365d60a8fb9040f2c29b36484d8b8a6894647aad6ba2f903d29d9c2fcbe25de1e075bdc2a879bfdd72b8443481030df6dcebd152e6f +DIST elementpath-4.8.0.tar.gz 358528 BLAKE2B 95fae0de70c310b68a9ddd8843926abdbddcaa5d54e5e3d7bd3dcba104321ba421d8ef2ab4c16a1d5db3973232d8999e10249c3e8871af42c4b3690f1306396a SHA512 2ff23d7d0dfedc02cb8cb4d8f8151e4b4a4976cbf8ba2fc41f67e1d89778efab20b09ba6fed116f9a10a64dcde3c185e7ee6ffc696e750d37d5bac0695d37396 EBUILD elementpath-4.7.0.ebuild 767 BLAKE2B cfd54b15090c95fe29f4d5e17b9eaeae945588f2aea8e0eb4389d90aed50cd59c08af761f1524b711936887db759c780965e3a397b96adc2f43049a774ee066a SHA512 70519b606e40d6ea2a78df01cb2dd4c7b8f0ec0ca28cec8196043864ae185ada2050d36271addda3afcd93c34a384fb4b915c37fc5ec65b1eb3f2082e45fbc3e +EBUILD elementpath-4.8.0.ebuild 775 BLAKE2B 2887faaefae9c5d58c6b1b600a554071318a6f7f67a67bb9cd24fecf507b9aa2daabdd3e156056e5da59119eebfcfad6fcafef01925a0f2bb43794ef6872b44a SHA512 84d15c6477ace7f671ed01397e8fc8f79360b325254fe32bc7707998d0431122ac97d365e36cd15651abcefad5453b0f72fd6b538884e7a1227db73e499f0130 MISC metadata.xml 380 BLAKE2B 00a18a4c9373b73866c8f5159e6c11327baea8ea6ba8027c2477cefaf6bbd2d2838de3cf78b9bc3e8bdffd0444e6c44b45cf6e6aac0f7ac470c7e092ae4e43f9 SHA512 abdc862e0d684023fcd42843a9c558d71e923a09fb0592e5e3c3e7e949e311c36afc34ee3cea5873c1799b093924fe15c240da4a782fdbca11ace66ea0d2717c diff --git a/dev-python/elementpath/elementpath-4.8.0.ebuild b/dev-python/elementpath/elementpath-4.8.0.ebuild new file mode 100644 index 000000000000..94ea90742ede --- /dev/null +++ b/dev-python/elementpath/elementpath-4.8.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" +HOMEPAGE=" + https://github.com/sissaschool/elementpath/ + https://pypi.org/project/elementpath/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/xmlschema-3.3.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # fails for some reason, more fit for upstream testing anyway + tests/test_typing.py +) diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 0305732e6015..433a5f5837a7 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,10 +4,12 @@ DIST hypothesis-6.127.1.gh.tar.gz 9518068 BLAKE2B 6cbc8aab8d2c952a7ab1ff9180f37e DIST hypothesis-6.127.2.gh.tar.gz 9518116 BLAKE2B 7a114549226f2bf85bbc211695575881db5b6d099075cb5ae0f076b1339b040ac942a6783721b717fee6cbf0dd404381f82e13779269547d971664758ca1ae37 SHA512 0cad6b5c00152bb67f81df1f00d6f3ba4d047cc0820e6b8a74031af42ed5baca3cf7cfaa53f988782d4ddb61e0465a1625a177dba4f8c46c66b1804ef389674f DIST hypothesis-6.127.3.gh.tar.gz 9517446 BLAKE2B 3ac2f05b8e740830b7b2edff470c59620969f7b9eecf67666e40256ae7a1100ab2f93a8acf2855287d1066bb9f5254da8cf2672118d90c0f267c34a238461853 SHA512 17083054e990028ee82135645c1f3321823a1bde8f96c4fcd672812ee8b256d7a4a61a3224e651bc2ef8afd165835711943074de339db1233ee0bc3a5906a6c5 DIST hypothesis-6.127.4.gh.tar.gz 9517536 BLAKE2B a57a4eeae5f82d56723deae5af61ce663d14c3598f58213c1c671b8e3439d981333af9d28e41bf88102e292891df02a962a92215bf92ff9475f866d828343317 SHA512 88f4ee4b544b8075e37f3c56f07c02bb8a0aa9f5ceee23009e542f5e61852a5054fca8733c9634b2ae3ace823bb8515c840971e2d22deaad9a0e4d98a0b78fec +DIST hypothesis-6.127.6.gh.tar.gz 9517645 BLAKE2B 4b66bc36d1289609e6cffd50f4ba3a0144cf9bd87b38c477512c8affccef6d448aed6c4f8e0584e153d9f996ffc13faf278b9f9a7047ed93e10783c7c9a7461c SHA512 63bcaa7d23e577ab0609fd55ef896153349b99a9b312551b47c884e3ac170aa133f61257ff8322bbe9506e3218a0366b1125552875f853250ea240e7a6f28da3 EBUILD hypothesis-6.125.2.ebuild 2622 BLAKE2B df55cc343dec022a974b612e246553b8e99f95b445de919b38ff05839c0211e82703de7e52c2b86c348a34e740ab922edec47a04d66e8709ef31d6442daa937f SHA512 3e4c5188f836adac8679af690b621753b8f6f0e98f85837a26697b7d540598307c4e675044a557ec07240d6b46cb3f23791e77682bebf27d1a3a83f0b21590ab EBUILD hypothesis-6.126.0.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc EBUILD hypothesis-6.127.1.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc EBUILD hypothesis-6.127.2.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc EBUILD hypothesis-6.127.3.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc EBUILD hypothesis-6.127.4.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc +EBUILD hypothesis-6.127.6.ebuild 2780 BLAKE2B 8ba5773e6c37903b4a7190eada0c9cfc98bd65b319db9d474e495386fab3d40c8f2ca47435b5a51ab6a3da1a11f016c54696aa6ac7e42691d9c15070e1af8075 SHA512 d9e0347c5ae910007e0f0baa1926460d81b6bc301f98b9251b16cd26ec7533640416549c9f53c254c22c270f8f5bfa940c086169261c9dfec435a2c7ddc96afc MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.127.6.ebuild b/dev-python/hypothesis/hypothesis-6.127.6.ebuild new file mode 100644 index 000000000000..5e0df5815a5e --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.127.6.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3_11 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # TODO + 'hypothesis-python/tests/cover/test_reflection.py::test_clean_source[case-5]' + ) + ;; + esac + + epytest -o filterwarnings= -p rerunfailures --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 209438abe8dc..2bf2f703670c 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -1,5 +1,7 @@ DIST inline_snapshot-0.20.2.tar.gz 91060 BLAKE2B dc5dd87a809727f48a2bb376ffb602517c2acfad8ce8738d443f2dcf863b268b9ef1408771bdbfee6ccbb6d25ea3e8afdf2d690df021de196f30514a57ea0fb2 SHA512 e749efea54bdca1f399aa81335e65ab0e48887de6d4a9aa9905086886bdd44ef31eaf95c75edd5ee1e6ee011e31c450fb077d09f49415653e5c8e19a3ad4a944 DIST inline_snapshot-0.20.3.tar.gz 92067 BLAKE2B 594a6a5cda233f960492b5d076189111095a08b4653271713115b6a44cb84aa4a8f0d160ba1de60a0e6fa6f7b1dadcbef34d93d4c4b7e0ad6139552985637b9f SHA512 62484c27b0c08b10f2ce3648e975bab1b0563aa0bb1c471b7052cf94db266877ad21320f963003db9abdfc26a3987f0578052e129ef7448bdecbb3745247247e +DIST inline_snapshot-0.20.4.tar.gz 92164 BLAKE2B 5c4b105e94304b4bd508ef3d714b84ce4d1b43eb79193551b17c09291c6f86dedcccd75167a5440e972fe4a656f114ea06e584a5a4690d73349ec5625df10414 SHA512 6296336ab569a3e9022ea32c1d8fafa61319f41fd17cb1ce0f9ce6e319998f58a57f423d31579b269bf06e414cb60f388dd06427e4f9b2037af241c68f3c7262 EBUILD inline-snapshot-0.20.2.ebuild 1748 BLAKE2B 1d61251bde5e6a515c6ce3a2901ff43aa5362f359cc4acbfc4da2efb961078e581aaa4d4243299ea3e71bf9e515c19d6f3e665e35ae7aabd001f449feef28c96 SHA512 734750ecfae215988bc6a5a8247253af3eb9fbe538d2c00243fdee8e9cae0696e43c8f35c456cc38fd3289aa815e98508aa45e3ea87dc93151cd870ce360735c EBUILD inline-snapshot-0.20.3.ebuild 1710 BLAKE2B 40e4dfce9a18869ad55dd0955fbbcf19bf802b2521c4e38c66a1cb655c26fd33da71e5c8aa8b6e1f4f0bdc244b886ae2fc261533a5bcb3cbfcd5d85a441b109b SHA512 a189a0e106097c65ba77ebf51b13e80d969054ea7e78db1a123d537fa03c604c7c52390faa2fe5f57cfb2d3b3e44e9d1fb75d011b1b0107db3b709f6034b4800 +EBUILD inline-snapshot-0.20.4.ebuild 1710 BLAKE2B 40e4dfce9a18869ad55dd0955fbbcf19bf802b2521c4e38c66a1cb655c26fd33da71e5c8aa8b6e1f4f0bdc244b886ae2fc261533a5bcb3cbfcd5d85a441b109b SHA512 a189a0e106097c65ba77ebf51b13e80d969054ea7e78db1a123d537fa03c604c7c52390faa2fe5f57cfb2d3b3e44e9d1fb75d011b1b0107db3b709f6034b4800 MISC metadata.xml 384 BLAKE2B 37af14f95875416431210b572e9c5e96437d773cf53174dec247a9006ad24940f17ae9803a750dd2e1e73f63675f594b326f880bf7d5cb29ff09a8aae4959e60 SHA512 173bd013e023443c9dac349fab3deea6b5e9c2f054052d3362757cc0c46dd89309c509eb6a0f5a5774a7d8acbc55578b629039615a0cb31d74001a8d0db8b680 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.20.4.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.20.4.ebuild new file mode 100644 index 000000000000..384e7bf42ea4 --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.20.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + ) + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=inline_snapshot.pytest_plugin,pytest_freezer,pytest_subtests.plugin,xdist.plugin + local -x PYTHONPATH=${S}/src + epytest -p pytest_mock +} diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest index 531d850c0a13..09edc12a8fa6 100644 --- a/dev-python/ipyparallel/Manifest +++ b/dev-python/ipyparallel/Manifest @@ -1,3 +1,6 @@ +AUX ipyparallel-9.0.1-pypy3_11.patch 1862 BLAKE2B f0efe54bb6906fbe3d7187b56d7c641f2c8c1c7d164f6109a3de281019c9f26d3d963b6cdf69c548fd68351df01a9aefa08b5d18618e26a46a497e4aeba44734 SHA512 cabb0e85dcc0d9ea03091524ba2c146a952f6ea5637bb62471ba2c6a084d707296f7c25afa78310a8a26e45c96ea776adeec6f6865401dc58e26635c416ccd7e DIST ipyparallel-9.0.0.tar.gz 4403287 BLAKE2B 18248d6ee1eda409ff5de54ec7dbcdb75ac4a6dbd7af4fee23ec826d4c179e67454c980c6db00d180ddf078bd802a4b6f2e0245c63cf9bd55c99ead1bf1ba044 SHA512 4c89edba0bbad9ce75deaaa1e2486b1c50ca3f7a1a8f3c22b6dadc72f5b1f86958fe8c559e4548c69518494fd51c4ebe65f6019b154c8ffd3ef51eebb9bf1f03 +DIST ipyparallel-9.0.1.tar.gz 4407324 BLAKE2B 9302e0aa6ed790a687fd5d7f3842684d11e73868d9f2f299634d8813735e4d09f0faa873cca45c619f43e6413f269928be3af68bf9c733fd05853918b361e66a SHA512 6359f932a249197610016b3ccc5f86b6e0565e1e2070f5dde72c0e75877f0bc4e038a0cc5cea05c9a068d1e82e923d983470e6db465169527bcb9499cc550d52 EBUILD ipyparallel-9.0.0.ebuild 2596 BLAKE2B 37b9af3ff5153202c62de6fa0fd123e04b6a3bcf655f2bcebee7b762ef21dc601f4dc2b304beb934fde5d165958915528d220871efba9adf25c004a485612ac4 SHA512 12fa9c650dc1ae390d2b0cc9443ac8f7fbb691d983603ed90b6012a67ba509fc5c37d29db061c6f9010dc1326b2adbc972a456f1a252c10f32b4dc8003625060 +EBUILD ipyparallel-9.0.1.ebuild 2745 BLAKE2B e04a6a1afc4310e9aac600e92325b8c1e77132bea3cf6eb250a843ffb617b8820bb22cff2efdfa7f33bd1ecac6d3cbb4e7436b367b3088f6dc08329b6a41cde3 SHA512 a76e6b1d2dccb7cfe10198d6059de0ab3cdcc8b2572becd6bc7e3b6415273a92862708a5951bf8b8bfb098f2ceb520573efee3440170c227d423d330d5c313a3 MISC metadata.xml 531 BLAKE2B 92dd755dd3036f653f24eda893979487b8d5bbf3c369f3f10c3fc2e69ad6aef03cb6eca295bcb8c6f89f0838780c20132bfd2a33bb38b56b227e97258447c2e0 SHA512 fcd131d18b012d1511468777dd72e07ed28a514419923911082229c0256b9003d9afe2048b6c339cb5c94307026b52bc4e9b6781d45660178d18385d71af8f21 diff --git a/dev-python/ipyparallel/files/ipyparallel-9.0.1-pypy3_11.patch b/dev-python/ipyparallel/files/ipyparallel-9.0.1-pypy3_11.patch new file mode 100644 index 000000000000..9b42735b9be0 --- /dev/null +++ b/dev-python/ipyparallel/files/ipyparallel-9.0.1-pypy3_11.patch @@ -0,0 +1,43 @@ +From 1f3299cc4c8f8281ce48222e711393a0cadcb9fa Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Mon, 3 Mar 2025 21:27:08 +0100 +Subject: [PATCH 1/2] Use new serialization code for PyPy3.10+ 7.3.19+ +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Enable the new `inspect.signature(types.CodeType)` code path for +PyPy3.10 7.3.19 and newer, notably including PyPy3.11 that does not work +with the fallback code anymore. Add a workaround to skip the `magic` +parameter that does not seem to be exposed (or needed). + +With these changes, the serialization tests pass on PyPy3.11 7.3.19, +as well as most of the test suite. + +Fixes #933 + +Signed-off-by: Michał Górny <mgorny@gentoo.org> +--- + ipyparallel/serialize/codeutil.py | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/ipyparallel/serialize/codeutil.py b/ipyparallel/serialize/codeutil.py +index ca0828a4..66dccc1f 100644 +--- a/ipyparallel/serialize/codeutil.py ++++ b/ipyparallel/serialize/codeutil.py +@@ -29,11 +29,12 @@ def code_ctor(*args): + # pass every supported arg to the code constructor + # this should be more forward-compatible + # (broken on pypy: https://github.com/ipython/ipyparallel/issues/845) +-if sys.version_info >= (3, 10) and not hasattr(sys, "pypy_version_info"): ++if sys.version_info >= (3, 10) and getattr(sys, "pypy_version_info", (7, 3, 19)) >= (7, 3, 19): + _code_attr_names = tuple( + _code_attr_map.get(name, name) + for name, param in inspect.signature(types.CodeType).parameters.items() +- if param.POSITIONAL_ONLY or param.POSITIONAL_OR_KEYWORD ++ if (param.POSITIONAL_ONLY or param.POSITIONAL_OR_KEYWORD) ++ and not (hasattr(sys, "pypy_version_info") and name == "magic") + ) + else: + # can't inspect types.CodeType on Python < 3.10 + diff --git a/dev-python/ipyparallel/ipyparallel-9.0.1.ebuild b/dev-python/ipyparallel/ipyparallel-9.0.1.ebuild new file mode 100644 index 000000000000..0d381a8bd1c3 --- /dev/null +++ b/dev-python/ipyparallel/ipyparallel-9.0.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Interactive Parallel Computing with IPython" +HOMEPAGE=" + https://ipyparallel.readthedocs.io/ + https://github.com/ipython/ipyparallel/ + https://pypi.org/project/ipyparallel/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/pyzmq-25[${PYTHON_USEDEP}] + >=dev-python/traitlets-5[${PYTHON_USEDEP}] + >=dev-python/ipython-5[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7[${PYTHON_USEDEP}] + dev-python/jupyter-server[${PYTHON_USEDEP}] + <dev-python/ipykernel-7[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.9.1[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + >=dev-python/tornado-6.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/flit-core[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-tornado[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +# TODO: package myst_parser +# distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/ipython/ipyparallel/pull/934 + "${FILESDIR}/${P}-pypy3_11.patch" +) + +src_configure() { + export IPP_DISABLE_JS=1 +} + +python_test() { + local EPYTEST_DESELECT=( + # we don't run a mongo instance for tests + ipyparallel/tests/test_mongodb.py::TestMongoBackend + # TODO + ipyparallel/tests/test_util.py::test_disambiguate_ip + # Gets upset that a timeout _doesn't_ occur, presumably because + # we're cranking up too many test timeouts. Oh well. + # bug #823458#c3 + ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send + # We could patch the timeout for these too but they're going to be inherently + # fragile anyway based on what they do. + ipyparallel/tests/test_client.py::TestClient::test_activate + ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets + ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines + ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # pure Python datetime incompatibility? TODO + ipyparallel/tests/test_asyncresult.py::TestAsyncResult::test_elapsed_multi + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p tornado +} + +python_install_all() { + distutils-r1_python_install_all + # move /usr/etc stuff to /etc + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + optfeature "Jupyter Notebook integration" dev-python/notebook +} diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index 609066c039c7..addefa46f666 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,7 +1,9 @@ DIST ipython-8.32.0.tar.gz 5507441 BLAKE2B 73ae25982653d484e47d15e16f6d689860186edac57809f4efaa5a2b7a0c20c6c21bc3e759f562d5fb0cddd5dc88c8db4422f66cb03e78c701fe234e8cff9e6b SHA512 920e5aa4be023713c05d9c6b7a1ce0e81abd8829a7fad19adef050d013b9937fcc49ddbf44200ae62f4968b3ea197a0afe87d712873845230f4e0b5858eefdaf DIST ipython-8.33.0.tar.gz 5508284 BLAKE2B feb808f159a6fe51e86030c0150fce6c428391dfbbd205974c89cfe8af127c22efe3fd3f3ce404a11f5f69c59defa40742f3414168f35e5b6cb7ab6840665fdd SHA512 32777a8993748e559875ed4f522dfeafcace9883bf47596b48a845974ef8d72b3c1070907a3eba72ede8cc7c6be6c9b78a6fc1b27ab0f2a642a0e1f0b9fd35a2 DIST ipython-9.0.0.tar.gz 4364165 BLAKE2B 3835b9e0e6f1d6f64888a9e1d6499137d0316f871f2c330c73226338ffa064e1bff6163eddb5741d1b80a2e858bc08cfb64fb9f7ac59dd22c7d9cf990048ebb3 SHA512 9563e8c6a136e35fc87037662ea3b1d7caeff1fdff2c58ea446b7ac89aa777f900c4a3336a6a6a74d2f95d85ed080c1ea61fa4a9374560d1f0df8f73a2260a14 +DIST ipython-9.0.1.tar.gz 4365847 BLAKE2B 384bf9dfc5dc4a371acb6d52366d0dabada738bed26b6e37f8a4a19f26d885af97dbecfa6a7df638a8c35b9352afda7f6b785d927887a4707ff7bc6318ab009c SHA512 4c50e755516fc7077d2c25a4c53d3bc60af639d25854aed5e2f083975b0cc71d3873cff9d487ad99f3dc0b3d4ad6b4b9a751d99264a6ed6e32bc51d5cff3a792 EBUILD ipython-8.32.0.ebuild 4477 BLAKE2B f90f4e64db6953d767d64de7fd4e336966f6879f398e6bed15d86788bc99add124f55664a6c552f615a356a7fc3c58a750f7ab9b94f11ff8ebd3633e2238e0fb SHA512 2f3aba5cf07a6205ac2cab71452b16846e459cd1e7bd4c4d921dfb1fefd0712a488eec5bd762035368ee32a904fb6aaad4741432a740b61280ebc96803758850 EBUILD ipython-8.33.0.ebuild 4485 BLAKE2B dde3e7326ea11813a79893aff45a21eb7a757b238f5f01146631875965e5ce6cdca8129c4f0f049fd6842e2245ddd7b14007c2a9a6165f0e0a5828b62332f97d SHA512 4f86718a6317c20183d848bc411c4a7ba58bacf28280ca321252579c29df13ed5070e76a0d1f46222c09ec1b0c4ffa4fe8bb1cb9b71ace841be38d403fedaab8 EBUILD ipython-9.0.0.ebuild 4369 BLAKE2B 936e194db983f14ad5a01392d29b0c6016754f885775934f0b0a64cb6d1616144ae1cae828fe6d06eee08bfcad5a5f8c2dd3507993586c288e33172beaf11cad SHA512 93a0e9246d5647c2a26bb121d7239aaa018b0c38a25a55ed0a32ab96c0b0bda496fcd18c052898c7232391da306f85fa64013391d0f2330171f7c81998766c2a +EBUILD ipython-9.0.1.ebuild 4369 BLAKE2B 936e194db983f14ad5a01392d29b0c6016754f885775934f0b0a64cb6d1616144ae1cae828fe6d06eee08bfcad5a5f8c2dd3507993586c288e33172beaf11cad SHA512 93a0e9246d5647c2a26bb121d7239aaa018b0c38a25a55ed0a32ab96c0b0bda496fcd18c052898c7232391da306f85fa64013391d0f2330171f7c81998766c2a MISC metadata.xml 2802 BLAKE2B 2fb6773ad4ef10d531f978e3ed40f6d99cf1586ec6d7cf2bf7e60fd5d640d082a0946651e0a066993320ffeaace3426066ca24c325926b62125ae91816707128 SHA512 965c3e36e05475d9454af8219b84e080d4c83d775f8a7e20a4951a82246d672c46fd3cb1fff5f8664d0ce8e8fcb846de6f15abc4575db3a6b7d87209194bcecc diff --git a/dev-python/ipython/ipython-9.0.1.ebuild b/dev-python/ipython/ipython-9.0.1.ebuild new file mode 100644 index 000000000000..a5fbe291ee98 --- /dev/null +++ b/dev-python/ipython/ipython-9.0.1.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_REQ_USE='readline(+),sqlite,threads(+)' + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Advanced interactive shell for Python" +HOMEPAGE=" + https://ipython.org/ + https://github.com/ipython/ipython/ + https://pypi.org/project/ipython/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~loong ~riscv" +IUSE="examples notebook nbconvert qt5 +smp test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/ipython-pygments-lexers[${PYTHON_USEDEP}] + >=dev-python/jedi-0.16[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.41[${PYTHON_USEDEP}] + <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + dev-python/stack-data[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.13.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.11) +" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + app-text/dvipng[truetype] + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.9[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +RDEPEND+=" + nbconvert? ( + dev-python/nbconvert[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + $(python_gen_cond_dep ' + qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) + ' 'python*') + $(python_gen_cond_dep ' + notebook? ( + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/widgetsnbextension[${PYTHON_USEDEP}] + ) + ' 3.{10..12}) + smp? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Rename the test directory to reduce sys.path pollution + # https://github.com/ipython/ipython/issues/12892 + mv IPython/extensions/{,ipython_}tests || die + + distutils-r1_python_prepare_all +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 + local EPYTEST_DESELECT=( + # TODO: looks to be a regression due to a newer dep + IPython/core/tests/test_oinspect.py::test_class_signature + IPython/core/tests/test_oinspect.py::test_render_signature_long + IPython/terminal/tests/test_shortcuts.py::test_modify_shortcut_with_filters + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/ipython/ipython/issues/14244 + IPython/lib/tests/test_display.py::TestAudioDataWithoutNumpy + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # docstring mismatch? + IPython/core/tests/test_debugger.py::IPython.core.tests.test_debugger.test_ipdb_magics + ) + ;; + esac + + # nonfatal implied by virtx + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest -p asyncio --asyncio-mode=auto || + die "Tests failed on ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? No. pypy has no numpy + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} + +pkg_postinst() { + optfeature "code formatting" dev-python/black + optfeature "sympyprinting" dev-python/sympy + optfeature "cythonmagic" dev-python/cython + optfeature "%lprun magic command" dev-python/line-profiler + optfeature "%matplotlib magic command" dev-python/matplotlib-inline + + if use nbconvert; then + if ! has_version virtual/pandoc ; then + einfo "Node.js will be used to convert notebooks to other formats" + einfo "like HTML. Support for that is still experimental. If you" + einfo "encounter any problems, please use app-text/pandoc instead." + fi + fi +} diff --git a/dev-python/mock/Manifest b/dev-python/mock/Manifest index af7975cd74be..5f994455184b 100644 --- a/dev-python/mock/Manifest +++ b/dev-python/mock/Manifest @@ -1,3 +1,5 @@ DIST mock-5.1.0.tar.gz 80232 BLAKE2B d260551feaf051d4be8c55920345e8fa64c33a42d4a82a2ea5dd5e0077af393ec1c1f37fb0b61e2cb6167a58c8951adeb6c9cc2dc638fc410a2984a3cbae17e1 SHA512 26b7350fddf2eca82b6dfaafc58cacbd4031fd787b1afc463ee13eff778846941120fd89755e4783bfad389f01cfbdd64f2feab5a12ac2bd4ca6407c0f2e973c +DIST mock-5.2.0.tar.gz 92796 BLAKE2B 2522e59855b517434a1f6222ea7ff930eea9943a9d00b96596519d349fdb07f540e8382b6ac05319a041f464c6cd96863f01f3b7114b2166d13b461a334fab0a SHA512 edf856486e5f8889d676be1eb2c60cd791f4f25057b6b94b54555904133371b3753709b2ab37d032dbbfed7e7106d05c1c24a2c274f378802025495f4352ac12 EBUILD mock-5.1.0.ebuild 601 BLAKE2B 0687acf3fa4aec4c1731a99ffc4e11e7dc973f33a9c98fa058d6cb1325b3159019a4c9a1ac73bd329d3c9fc2d4355f8d8fa2a1b8667e0a6d05375fb4084ca6fb SHA512 89250f08f3c97da3bbd96dcdef438989956e5bdd4d373e13dbb496c33f365e0818762bff7ba8e6a31fa4e4b7f871a6f26ef0deed95877a7cc5db32a4a821b151 +EBUILD mock-5.2.0.ebuild 609 BLAKE2B bacf4f21c3c0d20741755d5902bfc64fd1670b634d91b5bdc017c4b63ef3d8631085e182359627f88405512775cb29b401ae078d73a5753e32ada6de34a04429 SHA512 24d7b4dabddd37ad7df04b60e924f5f91c0e5718d31dbc6c8d98e85bf3ab4933f3b614653be0079a970a818b61b717dc9c5600eedf6c3edee350a0a67a0c5a40 MISC metadata.xml 390 BLAKE2B ab0f000e11ee427d56fa28e307764a2c1864ce74bc679a491ab005a70d2bf8502d9a82b5d1941fcc268438880f8f950587aa090de9e611a520f89a49c78c0cbc SHA512 8456ad417374be30c038abce5a232d1075b8685e6432be93f49a74f327239354e14edfddf5e4a473264fb09bc0e4e6059489c1d0d651e8391ab0678d22987aeb diff --git a/dev-python/mock/mock-5.2.0.ebuild b/dev-python/mock/mock-5.2.0.ebuild new file mode 100644 index 000000000000..4b16d1f78560 --- /dev/null +++ b/dev-python/mock/mock-5.2.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Rolling backport of unittest.mock for all Pythons" +HOMEPAGE=" + https://github.com/testing-cabal/mock/ + https://pypi.org/project/mock/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +DOCS=( CHANGELOG.rst README.rst ) diff --git a/dev-python/nbxmpp/Manifest b/dev-python/nbxmpp/Manifest index 76766c78ab1f..9645c3349bde 100644 --- a/dev-python/nbxmpp/Manifest +++ b/dev-python/nbxmpp/Manifest @@ -1,7 +1,9 @@ DIST python-nbxmpp-4.5.4.tar.bz2 138170 BLAKE2B 00a4919032dd29828dc735695afe9c0814a8fe2ec765a534257768896d9f27bc3a395275d546ad717bdd16c97161e8f0a8acaf43cdb7bd9404e40bc72f2c3da5 SHA512 fcaedae519d8cd2d52cc65721ab1e743569ba1cf7c29f2db41ed5671ba0f2c5b47f1f6d9521e1614e89e21512a4575c6788316cdb86936f0c4886d54c3831bb3 DIST python-nbxmpp-5.0.4.tar.bz2 143198 BLAKE2B ac27204205ded7e0d20237ee7f70e5f84f8f4ada54951e209a30c59390fe166ef296875e45dd74216a04ba78d35968667d4f126967d97c57dd1533ce4d9edd0e SHA512 a6672b4046c2de596ca92129782574528d14ee75a7982bb32db398628e3901c8e780b8a33fac2710d13367a0990ba21ef148c255fa77dee219c6bbd0c453d935 DIST python-nbxmpp-6.0.0.tar.bz2 151762 BLAKE2B c16fb2b0fe88e0b754fbc7e73d014fc5537a1ebcf7805c0fd83f10c03e23bcc6d5254871045d16dbe1543b4fb36c80ddd07b57dad411561bc9f33facfae6cb1f SHA512 10ef3df594f72d0ba3965544c337973715c9d84114e6568fb6eb7914c74ab253ceefedbd27a7cd80b503b80cb2337787c3bae12dbd10db595953dc94ef060e95 +DIST python-nbxmpp-6.0.1.tar.bz2 151947 BLAKE2B ef2a7267238f6033b1db113a84bb37c2ac38a9b2c9195cb7cee62d138af237f6dacd63cc5b1f27d2e0e6d50d3662a0f2fa2526b7577b469e8c04458fe3110dd9 SHA512 e8952cb7093b9fb9b67b33b5e482675672781f4564582efb3b18e6170fb17d281be9c8a8ebb1522200ba992a5ecc30d75d9695da78c9edbd174149ca786d347b EBUILD nbxmpp-4.5.4.ebuild 860 BLAKE2B 66011d80e092e0791d4d429de037a6cdddc1a5bafb93f46569a0229de24429cfd5167bc08f5ce03a25681a2cf0629a35e9be10fc763adc4c3dd43e5810fc06c8 SHA512 483cc19f8f725dc18b07440c33ae8086623ec4549b1b8a6fc4f27cea4b9578f42f117359a92ff23619908192eb698189ce87ddd4e4e06e29847ff8702811f2e5 EBUILD nbxmpp-5.0.4.ebuild 860 BLAKE2B e7e3e29137399fe23f9f7e5aed956808f257690c3187dc6e310bd7082dc672b3f29a566dc684984017a5a04822785f8ae5d6296acc23191622677fd448b03c9b SHA512 21eb6cf49f93e707151162fdb07daeb6e798f7b6f6b1d5bc8372f704e765d225a4e5fbdfc081b86399066c5040098a7b8215a4fd637b3512ecf18b419a4bdd54 EBUILD nbxmpp-6.0.0.ebuild 863 BLAKE2B 7c8d39aff7644880ef7d3853ae6c82ff787f01326e4bf54cccd7971e3767861333986fcc87bb0ee894692c67723bd03ce0651e8e3b7e0ed3e21c334abb34944d SHA512 1f88aa2088ee60cb3070210c974436a9a964f607fa16c9cef7f519567670e4a654e451fd132a600b0e604112f2cbacc17db196ccf5b498df5fcd507e21e22011 +EBUILD nbxmpp-6.0.1.ebuild 863 BLAKE2B 7c8d39aff7644880ef7d3853ae6c82ff787f01326e4bf54cccd7971e3767861333986fcc87bb0ee894692c67723bd03ce0651e8e3b7e0ed3e21c334abb34944d SHA512 1f88aa2088ee60cb3070210c974436a9a964f607fa16c9cef7f519567670e4a654e451fd132a600b0e604112f2cbacc17db196ccf5b498df5fcd507e21e22011 MISC metadata.xml 345 BLAKE2B 05dc6872e0de2ce54b1c3c32bd2252f082de10b6947d106714e7d34d8c4ce532b96d4480427798cbe01e8771623813b475a0e27df65389ddd98a9a28eb1682b4 SHA512 531aae88d0de86eb9f81918292aaa4570f28db09408506464d7710daf434b4be1a6a4b3b04a3cdf2a2c01596baddc93622c127ee1e4b371cd3c126a4093a3bd2 diff --git a/dev-python/nbxmpp/nbxmpp-6.0.1.ebuild b/dev-python/nbxmpp/nbxmpp-6.0.1.ebuild new file mode 100644 index 000000000000..c6ed6f206101 --- /dev/null +++ b/dev-python/nbxmpp/nbxmpp-6.0.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +MY_P=python-nbxmpp-${PV} +DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way" +HOMEPAGE=" + https://dev.gajim.org/gajim/python-nbxmpp/ + https://pypi.org/project/nbxmpp/ +" +SRC_URI=" + https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + dev-libs/gobject-introspection + net-libs/libsoup:3.0[introspection] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.42[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index d4e09a24edbf..e3b9357139e7 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,10 +1,12 @@ DIST mongo-python-driver-4.10.1.gh.tar.gz 1957402 BLAKE2B 66f7c166af7c7467ca7cb20266d313e453ab485516c17e8eda5a4771b4818778c00ad314e7bd5868a95f2045f879a73617f64549db634257f1abbc7a9a095181 SHA512 200bda479cd951beef6234a15120a043b4399cadd8ef2fda69bfcd6904e1e0e43d179626092dc81d89f48806768bf8147c55108c91620920f5544f712bf3be51 DIST mongo-python-driver-4.11.1.gh.tar.gz 2111810 BLAKE2B 120168770b1f4a61f7f6327bb7b933e1bf848871ed7a6cb152837a95b438b17236e6b10b1fe54fc29a0791d8ad785033b2d726129dae69e9403ff5b1e3c2b929 SHA512 64f7d2baa90c23f3b5d91192cc4bcc6d3199f81b6b2844c19a1059779a5e6681a45e65872452230b6c1c8c193749324eb30af75f080f8830f9642f575da80bf9 +DIST mongo-python-driver-4.11.2.gh.tar.gz 2112201 BLAKE2B 261dcdacab32b516db4f980947dbf73005c9b972186c3720100495707bc96ed21ec4a8b251c1278f9b315d011ba87a6976e0033c768164abf7228efb061d703c SHA512 210a868c8e6dff923b03683e457085d631153bec2b6ddef85407c04c3f4399bb235331e3851b1193d9a2bed46a77f273ccb5ebf0fde437693a141a7a81673ce9 DIST mongo-python-driver-4.11.gh.tar.gz 2111008 BLAKE2B 0f65410b5eead108dec0016c23c3e004251ab2db04f3a7b2a31a8757abdddf526cea695400c8cdf2bb4f7fc8c711ee4d2e5f883d0db8b309843a71e194e75016 SHA512 454109e9c9da8fec6785f50e34dfe253f9fd1a82d69cadd5c0366590c6ca6aeac180f16a0e011f855e72c6a949a0cf06f477c7396d4c9f4da6f936646a5d8c20 DIST mongo-python-driver-4.7.2.gh.tar.gz 1548375 BLAKE2B a40dbe153f36cdf2836583aa0116f447d08376ce7980a09d0f21cea37a34ab318e5ff0b34b7fe1721cf7fc5d5443a1dbe0982d59cb941b0da8a4a99abdc7b19d SHA512 1de8bd14301e365eb53252dedaaaf8c9056dd534662543e2a500511e5f5f67a69e1f11a8a8575efdbd8852bb47b632d59762f66024d32973d20dc17c4448b9be DIST mongo-python-driver-4.8.0.gh.tar.gz 1550149 BLAKE2B 9462480b17f3da54918883fbcb28a4324e6a00a9c2c34b16267ebcd378170f7fd34ec7290f7a0e3c4c38a5f1f803428cb6a0c64a562d956b3a19c37130697012 SHA512 17513a278187424fea1876d288651e385be759f23eebceca8d04a15182b15ffd64956193bb53e4a90e8b2197c2ebbade274737091f5d2e5fb4398539674c41df EBUILD pymongo-4.10.1.ebuild 6858 BLAKE2B adade6fd0fca5a17b98aa90f9d1c914cfa61a2cd9b303ed30e561a83bd53f0cadac92847b401de039b3cf38f2d5b33bb4583c0ec3c88b13b2fd42bcdae35a043 SHA512 7be791293a29b142b6513cc6ee50f25311c87cbba5a937c09f0dfd8f4a1d4bdb050f603bb5b90c39ff723b105100c45566f432c33ca95324b609d77a6e269cd4 EBUILD pymongo-4.11.1.ebuild 7069 BLAKE2B e587cff2d98a3b5836d015eb52e824dcd0efe5beb3a42e179efcd40fb8a6699281e8875bcda74871b0d7c3daac42066093868c8a2e9efa6e7e11f314e9652665 SHA512 4f24f12ccc821c0566ca50a8155ba193fdc99478a71964773f0f0e7b7608a6cda3d81603b310295591cc287bbee8a41db0c339e82cee3303ef9d776d96bc753e +EBUILD pymongo-4.11.2.ebuild 7075 BLAKE2B 3b7e0dbb58b512c759b7c0fd22fd0ada6ef1d780d71039b9371ab50655f71a0344e3cb08474f8f33378ce02dfea2c01bf1ff9cbcb2044e853600f84864316866 SHA512 a9c0eb175868b556c4a7bfc47dd9f492d21f9574a7fee0de7d0c5d2b1f48b95d7333a3e062cadf3631c334e10c5406a95002e902afd000e951dedd5a00a1fa05 EBUILD pymongo-4.11.ebuild 7066 BLAKE2B b4c5eb835af74e39f51f546d9abdce407336137d15469f4efd79637dbf03cd406991ad9225a7156b9afa9de3e81303aa8c76e920a1c8be7dc3468d6d63c559b2 SHA512 2c0a4b8b674c9fc337220c035369f1e4406ba15addcd8e48f8f127bb75fc88d5d0ef11ba4319a4428e549ced43d18db07f84e45349b8b69931a690d50943f499 EBUILD pymongo-4.7.2.ebuild 5267 BLAKE2B 1045523964d4f0482bb1fd5c57841684479dae05b9135f873008d41de4163834bbc1d6d0249e183aec0e5f7751ea7740d2dc05ae0ec69048f1b24e5d1f215675 SHA512 3e19264bd6944e334d673ac0303e738dccd61b68e9b9d7e9cdd06eeea811d52cc5206d4e8ff57e88cf928ac5b47cc69a77bd5dc18aab801b2db8dcbe894f4456 EBUILD pymongo-4.8.0.ebuild 5839 BLAKE2B add017703bd0be4c70abe7791ed3cf19453ab63f04d61e0b8139e6f59677ebaf002118b0e055ac23cb4e56c67033326abb16c73d76827698719e10900cebb90e SHA512 6e4ec05b25bfafd953d8254b6ceaf28fa5784cda21af76a9b27329af2a909aca7d43d242514b1b2dfb7db294e43eee17c15ad26bd73ed0c4fcc382e9cc7205c2 diff --git a/dev-python/pymongo/pymongo-4.11.2.ebuild b/dev-python/pymongo/pymongo-4.11.2.ebuild new file mode 100644 index 000000000000..ce28e987eef6 --- /dev/null +++ b/dev-python/pymongo/pymongo-4.11.2.ebuild @@ -0,0 +1,237 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc kerberos +native-extensions +test-full" + +RDEPEND=" + <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] + kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + test-full? ( + >=dev-db/mongodb-2.6.0 + ) + ) +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +reqcheck() { + if use test && use test-full; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +src_prepare() { + distutils-r1_src_prepare + # we do not want hatch-requirements-txt and its ton of NIH deps + sed -i -e '/requirements/d' pyproject.toml || die +} + +python_compile() { + # causes build errors to be fatal + local -x TOX_ENV_NAME=whatever + local DISTUTILS_ARGS=() + # unconditionally implicitly disabled on pypy3 + if ! use native-extensions; then + export NO_EXT=1 + else + export PYMONGO_C_EXT_MUST_BUILD=1 + unset NO_EXT + fi + + distutils-r1_python_compile +} + +python_test() { + rm -rf bson pymongo || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # network-sandbox + test/asynchronous/test_client.py::AsyncClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/asynchronous/test_client.py::AsyncClientUnitTest::test_detected_environment_logging + test/asynchronous/test_client.py::AsyncClientUnitTest::test_detected_environment_warning + test/asynchronous/test_client.py::TestClient::test_service_name_from_kwargs + test/asynchronous/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/test_client.py::ClientUnitTest::test_detected_environment_logging + test/test_client.py::ClientUnitTest::test_detected_environment_warning + test/test_client.py::TestClient::test_service_name_from_kwargs + test/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive + test/test_srv_polling.py + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet + + # broken regularly by changes in mypy + test/test_typing.py::TestMypyFails::test_mypy_failures + + # fragile to timing? fails because we're getting too many logs + test/test_connection_logging.py::TestConnectionLoggingConnectionPoolOptions::test_maxConnecting_should_be_included_in_connection_pool_created_message_when_specified + + # hangs? + test/asynchronous/test_grid_file.py::AsyncTestGridFile::test_small_chunks + + # broken async tests? + test/asynchronous/test_encryption.py + ) + + local run_separately=( + # need to run some tests separately and then restart mongodb + # to prevent it from crashing + # https://bugs.gentoo.org/934389 + # note that this list must not overlap with EPYTEST_DESELECT + test/test_bulk.py + test/test_change_stream.py + test/test_collection.py + test/test_crud_unified.py + test/test_gridfs.py + ) + local run_separately2=( + test/test_command_monitoring.py + test/test_connection_monitoring.py + test/test_cursor.py + test/test_database.py + test/test_grid_file.py + ) + local run_separately3=( + test/test_gridfs_bucket.py + test/test_monitoring.py + ) + local run_separately_async=( + test/asynchronous/test_database.py + test/asynchronous/test_grid_file.py + ) + + if ! use test-full; then + # .invalid is guaranteed to return NXDOMAIN per RFC 6761 + local -x DB_IP=mongodb.invalid + epytest -p asyncio + return + fi + + # Yes, we need TCP/IP for that... + local -x DB_IP=127.0.0.1 + local -x DB_PORT=27000 + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + local stage failed= + for stage in {1..6}; do + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local async=( -p asyncio -m default_async ) + local def=( -p asyncio -m "default or encryption" ) + case ${stage} in + 1) + nonfatal epytest "${def[@]}" "${run_separately[@]}" || failed=1 + ;; + 2) + nonfatal epytest "${def[@]}" "${run_separately2[@]}" || failed=1 + ;; + 3) + nonfatal epytest "${def[@]}" "${run_separately3[@]}" || failed=1 + ;; + 4) + EPYTEST_DESELECT+=( + "${run_separately[@]}" + "${run_separately2[@]}" + "${run_separately3[@]}" + ) + nonfatal epytest "${def[@]}" || failed=1 + ;; + 5) + nonfatal epytest "${async[@]}" "${run_separately_async[@]}" || failed=1 + ;; + 6) + EPYTEST_DESELECT+=( + "${run_separately_async[@]}" + ) + nonfatal epytest "${async[@]}" || failed=1 + ;; + esac + + mongod --dbpath "${dbpath}" --shutdown || die + done + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/python-cinderclient/Manifest b/dev-python/python-cinderclient/Manifest index f93b32e1637d..15922495530a 100644 --- a/dev-python/python-cinderclient/Manifest +++ b/dev-python/python-cinderclient/Manifest @@ -1,3 +1,5 @@ DIST python-cinderclient-9.6.0.tar.gz 237239 BLAKE2B 34080bcc739db3df9fbf2b45115726df6c435ade39b9d92b8752db06a661db8d6ad92005d1358ae4f0bb313db663bbb1e6e7fc1fde0373941eee39921b22a9b3 SHA512 f2dec3927063c40046c72e090f95f996a16582c09cca8de320fedf80037e4c8dea231c8b48d3fc1ad085b89f43afc413c477e162f231940616f3373d4f86d4ee +DIST python_cinderclient-9.7.0.tar.gz 236901 BLAKE2B 9cf188fd8960a99dfee68ec943b0e4124a78c2a8d9bc990f8bbe98646886e462e3bdd3449772492d07a1d8697423f57ae06d55daba5ce2ac44205407dc554d3b SHA512 b1a0222b7d67cda221086c469f76dc757905ca2b92645389603b0ba28c1a6b5eedd0049dbc09b6da1fc097e4ab7826c11927c88cf7c314757cdde1826cf55d1c EBUILD python-cinderclient-9.6.0.ebuild 1272 BLAKE2B d4d0969e69b83e3a539ec432e1768fe6f5f4941fead678b43b1635f01b9da7efe011a1bd323683c2fedd424ca88bf82d050fb900bda01c9eb5cd5e6fab37ad2a SHA512 d894f2d437662a8f7674fa3c8c98059af426660666253944d8aaf75d0521c2097fb3d2f5631358c403d5387158e81b30fb1007adc0ca3cbb75c88c9ac689b45c +EBUILD python-cinderclient-9.7.0.ebuild 1255 BLAKE2B 2eac62128c6aa9ac26ab58f39a9cd45b4decab3b2a5f69fbd7be28b78e816f0b60dff7a86e9603bb9ddd0c4e323bda4ef5a645b42d35640c106f1a3a8f941279 SHA512 ced88c042db4a85a5ce1a5151aaa2dc99830c5af6e7a07a786fc7da5a14686986016e9e55faca9c0a859239edaa4790f8d5ccfdb5e1fa6334daaa846ef887985 MISC metadata.xml 727 BLAKE2B 0017cc08edf25f27b8a2816bc3ce1374148a17522bf2c5ea643ad10cde9f5779b1b6bf1e3c91627db76d2f77b8dcbfc87a29fb2cdd8064b3140fb14d1e6e00a1 SHA512 e30e64371f7a5f5fa506396f2edbbc7f862a585c7fe9af4f6fe63e99d4bbe9f9bf3a1f002a62c40ab9d75bd90ab99446bb80bf7f2fedf5b37287eeb54e5dacbe diff --git a/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild b/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild new file mode 100644 index 000000000000..e30e56b5a3bc --- /dev/null +++ b/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Cinder API" +HOMEPAGE=" + https://opendev.org/openstack/python-cinderclient/ + https://github.com/openstack/python-cinderclient/ + https://pypi.org/project/python-cinderclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/keystoneauth1-5.9.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}] + >=dev-python/pbr-5.5.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslo-serialization[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest -b cinderclient/tests/unit +} diff --git a/dev-python/qiskit-aer/Manifest b/dev-python/qiskit-aer/Manifest index bc9dded9597c..3b75fb74943d 100644 --- a/dev-python/qiskit-aer/Manifest +++ b/dev-python/qiskit-aer/Manifest @@ -1,5 +1,5 @@ DIST qiskit-aer-0.16.1.gh.tar.gz 7137732 BLAKE2B 0f522bae3e2d324171bdf0a3bb8f1c99c8c1b9beac4932146dddb51616ad6b47236ffe15d533cdee64dfbd9b48ca5f24f26774e4487d2b3238f02939908b5891 SHA512 31c57ab09fecb5452205d7c8fb550384bf6e24aaa4a9665d37a7833f6353861407136f0c36fe85c8d26c386bb37b16e3298daa2c81c2aec384c69de0d3a87ee6 -DIST qiskit-aer-0.16.gh.tar.gz 7137525 BLAKE2B ddbad1c1c8be51806c5de524327312f8c56fb46f686b3c61b2059770485ff0022fab45faae55f22f2ac37e4cd6e71fd2d2b9c27c945639dc785b6dbb3a33492f SHA512 ef976cc51f0899aeaafd15d8e493925c6c60245a321bc0bf130b8496d003a5b684ce6af4f3caa91fdefe085bba96e957401b7d1aa7e9db3e5fb5d795a0459ad8 +DIST qiskit-aer-0.16.2.gh.tar.gz 7137908 BLAKE2B 5fe314b0dfb36a387e21f85113744b499a38ed8b52c218d8e9d47303325c541616c1cffd3a0514688809ee2949664d45b762f57bde3277abe247e02564370b1b SHA512 2a218b7da34d29b2d8628a7e819b7073bff99c396ecafa5946cc881ef73787744ee2704b33889da77eb8a92acf0ad7e96f81bbf43fc6bd71416a602049d959aa EBUILD qiskit-aer-0.16.1.ebuild 3631 BLAKE2B f8029054e57ea97d5bad2e9611ad67b188382b36ad2f3d41d5789c111805c7c82b392cca166fc09b73111ddc75ced7bd0f17e5a1b75eb7aece7345953e92652f SHA512 5cddafd4de79f26b5595887646d46352840e322becd50a39f0a520f76d12914b91d32af7bedd4b5aa07fdb40a8a327fb29ff3a3a8fad22614e680fe95b139cda -EBUILD qiskit-aer-0.16.ebuild 3631 BLAKE2B f8029054e57ea97d5bad2e9611ad67b188382b36ad2f3d41d5789c111805c7c82b392cca166fc09b73111ddc75ced7bd0f17e5a1b75eb7aece7345953e92652f SHA512 5cddafd4de79f26b5595887646d46352840e322becd50a39f0a520f76d12914b91d32af7bedd4b5aa07fdb40a8a327fb29ff3a3a8fad22614e680fe95b139cda +EBUILD qiskit-aer-0.16.2.ebuild 3631 BLAKE2B f8029054e57ea97d5bad2e9611ad67b188382b36ad2f3d41d5789c111805c7c82b392cca166fc09b73111ddc75ced7bd0f17e5a1b75eb7aece7345953e92652f SHA512 5cddafd4de79f26b5595887646d46352840e322becd50a39f0a520f76d12914b91d32af7bedd4b5aa07fdb40a8a327fb29ff3a3a8fad22614e680fe95b139cda MISC metadata.xml 1049 BLAKE2B e2118dc211ac8f42115959dde943a32331b4186524ef4a5a1343d8798a329e1d0de5f9a52a9c1212ec6af39392993378c6422424488782747ffbf4ab1e63d25e SHA512 bc4c9a19376938e973bedbdff0bbe95edb98c78b75d03f2a12985558a5cd5d0ceb934c43371438dd597a8d4fb8879d5483aeb8d806ac4d9b73b704d1232086b8 diff --git a/dev-python/qiskit-aer/qiskit-aer-0.16.ebuild b/dev-python/qiskit-aer/qiskit-aer-0.16.2.ebuild index cc789dc13a1a..cc789dc13a1a 100644 --- a/dev-python/qiskit-aer/qiskit-aer-0.16.ebuild +++ b/dev-python/qiskit-aer/qiskit-aer-0.16.2.ebuild diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index 0b8a17a3d99e..08e6e354bab1 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -110,8 +110,6 @@ DIST pyo3-build-config-0.22.6.crate 31369 BLAKE2B a1a72de120c4ac4f23a3faaf9b2e34 DIST pyo3-ffi-0.22.6.crate 69352 BLAKE2B 99eea6ed87001b23fdeb263937bc14be0fadadc1ad77d4fa8834045ba2fc6ba5c0b89f4051916a058b7640be655afe22785b1da42aac8a32d10209b7b37bf810 SHA512 616e51a0eae1207830fe95251d5b62f126daf446bec68ac98cb1b8538aaa59761dbde62d446a9ee205c23453dbd32bd8ecb15e26265ed1fa1e5e2056efd96369 DIST pyo3-macros-0.22.6.crate 8182 BLAKE2B 81998e4f4cb325763e4d3477af05b332e184cabf6391761f850d23508cebcf8d496ce12f747ea241523bb3899886eb20494b076a0651151744bb81d52901a1b4 SHA512 63f7a7b42e099742518c8a3bbc7647e98debb5500d08c39e11e8140fc146e790ab06e005d8d14c89aba79ebc5bf04fe1c92c0e9c5b13421307d3a4682d044179 DIST pyo3-macros-backend-0.22.6.crate 66312 BLAKE2B ec0b11bee1ad2192e8d95cebab0075d6ec5bf628e3344b86fb8e20a6d0bc1f891b56ccfa4622840a609480581f32bd211b9a3d1dd989716cf255efe3fdc89331 SHA512 87463939b5a5674e30e8ca05ae747f652f8679f0c5c85d20967e9910ad853768a769a914580e82e409188fe4add80a3117ccb9da24c250406bc6f76fe4453799 -DIST qiskit-1.3.2.gh.tar.gz 8483402 BLAKE2B e2f191f3231f858ded9c389f952a2207bfea4680be13db6207e9870fb08f2015c483e3fd891a298eaa531635cb7d1027bc10952b0c471dff9b89ed524e6228a3 SHA512 067143cbab3b89a33327fb5350ebd699a12b1be6405d1186fce4767971cb0a59b27e08292d3828a3db40f241a70e96eab2e4ef117dc6b8de9dbfd6be05da1025 -DIST qiskit-1.3.3.gh.tar.gz 8489998 BLAKE2B 723e64f866366b1ef8f860dfb8d392aa1364973f333b9f4345e1e2830b0d8ada7db3d5ed0d75e412c746e05df71fc7501a2d2bd5d202362272663ed759237d47 SHA512 392ccd0ace7822c06324d8723e36211e97d1a5499b6e887b42a610d8d90cb29228e3cb0b7b82dfccb1e9c83c07f33f5b5c539f31874c71300eb524664759a0ef DIST qiskit-1.4.0.gh.tar.gz 8508849 BLAKE2B 8f7cf0992d6623ae441719339aac48dcbb6f969276da4d76c0e317865f75b9bb0ca76e0feccea8ef297b2306320de47aab05bb07fc6e2cc40ae6f1c6c04bf37f SHA512 c1a74ff98474add76a24a962a39c43a0a7ae44cf5421f846c43a4c39d89e61552cc51ed2769f0badf1c4eb4ee8d6f2be9715041583ad3b359bab9778a309455c DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 DIST ra_ap_limit-0.0.188.crate 1283 BLAKE2B 265a70d088ed76500cdbefa04d1b2778d54985aa978b806e9ebb016348556559799b8ac889c00aeff51d4ff08f3fa86cd3be3742f5896916edbbda49bca1946e SHA512 01d56844fb4437959e93fc3394d674848eaae3365d271c01ba5ff12fc05d4a1d11eb4145ee89a65eb5ba12db4075e8102ee31df55c569c8ee5ad6d383f9f451a @@ -185,7 +183,5 @@ DIST xshell-macros-0.2.6.crate 2843 BLAKE2B 6393ab28fc2ca9644ef1fbdb30cf652df11f DIST yansi-0.5.1.crate 16525 BLAKE2B 3b5a93b98293daae72f53bf3f13bfc05feba8d5b27921f79595f7448fbcb9a0dfa6cd70f467c5735b914c46b7d3592e6cce080c540a458a904308525eb3aa839 SHA512 7b33005a066cc612408a65df6533e8718d1de43efc0fd57416a19dc2b811497570e6e18f100fb26073565e395e711518c27de7d644ae64777713f1a102eb16d2 DIST zerocopy-0.7.35.crate 152645 BLAKE2B 8f13123c9d9257ac5a5c6954d38c3510fa658624442f7e03cdcc6db5a0977d9f26bb4e277be172b7872ec365cf6e58ac742e5578636f7698f9f37093e9249d9a SHA512 17fcb31c029ae89c01e5bae5fb2bb46bd434120199a3dc2c7fe0012dbbcfe2a0bb38934c4a7d3a4920e3fe47c097403beee554fefa54b66cb390f8b1de638d3c DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb -EBUILD qiskit-1.3.2-r1.ebuild 7665 BLAKE2B 679d56c68b6b554965df0ae4dc204be262e4eb4989d42fdcb85ea4ceda0315d09c12b579f7fece6863548995fa3963770d77887acbfda41f5648ecc924e0b216 SHA512 b6b6120eeaa98a553e810aff8004d51b86e868b150e5df5f02245870eaa342cd64d1243b7406743afbcc42ea54b4308ea648ad91efdf9e640b2f2efa4f0c3587 -EBUILD qiskit-1.3.3.ebuild 7665 BLAKE2B 679d56c68b6b554965df0ae4dc204be262e4eb4989d42fdcb85ea4ceda0315d09c12b579f7fece6863548995fa3963770d77887acbfda41f5648ecc924e0b216 SHA512 b6b6120eeaa98a553e810aff8004d51b86e868b150e5df5f02245870eaa342cd64d1243b7406743afbcc42ea54b4308ea648ad91efdf9e640b2f2efa4f0c3587 EBUILD qiskit-1.4.0.ebuild 7665 BLAKE2B 679d56c68b6b554965df0ae4dc204be262e4eb4989d42fdcb85ea4ceda0315d09c12b579f7fece6863548995fa3963770d77887acbfda41f5648ecc924e0b216 SHA512 b6b6120eeaa98a553e810aff8004d51b86e868b150e5df5f02245870eaa342cd64d1243b7406743afbcc42ea54b4308ea648ad91efdf9e640b2f2efa4f0c3587 MISC metadata.xml 1087 BLAKE2B 3b20c74331333cfa3c08d2422ae65ba620ffbc331f9889d5e23a0a64ff169efed37d93df50131862b13dfe7a72cbca5af4c2a916315ea521fc063e57f6bdc198 SHA512 1bd62897d647ee140903ec4732831155683c131ab7c2ebb99bc1ab04b03e805b372b09d25846ec0a0d8bb0dd6a930c234db46c0bdd89f23a0ed376e9402475d2 diff --git a/dev-python/qiskit/qiskit-1.3.2-r1.ebuild b/dev-python/qiskit/qiskit-1.3.2-r1.ebuild deleted file mode 100644 index 98e6c08d5022..000000000000 --- a/dev-python/qiskit/qiskit-1.3.2-r1.ebuild +++ /dev/null @@ -1,310 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -CRATES=" - ahash@0.7.8 - ahash@0.8.11 - aho-corasick@1.1.3 - allocator-api2@0.2.20 - approx@0.4.0 - approx@0.5.1 - ariadne@0.3.0 - autocfg@1.4.0 - bitflags@1.3.2 - bitflags@2.6.0 - block-buffer@0.10.4 - boolenum@0.1.0 - bytemuck@1.19.0 - bytemuck_derive@1.8.0 - byteorder@1.5.0 - cfg-if@1.0.0 - coe-rs@0.1.2 - concolor-query@0.3.3 - concolor@0.1.1 - countme@3.0.1 - cov-mark@2.0.0 - cpufeatures@0.2.15 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.20 - crunchy@0.2.2 - crypto-common@0.1.6 - dbgf@0.1.2 - digest@0.10.7 - drop_bomb@0.1.5 - dyn-stack@0.10.0 - either@1.13.0 - enum-as-inner@0.6.1 - equator-macro@0.2.1 - equator-macro@0.4.1 - equator@0.2.2 - equator@0.4.1 - equivalent@1.0.1 - faer-entity@0.19.2 - faer-ext@0.2.0 - faer@0.19.4 - fixedbitset@0.4.2 - gemm-c32@0.18.0 - gemm-c64@0.18.0 - gemm-common@0.18.0 - gemm-f16@0.18.0 - gemm-f32@0.18.0 - gemm-f64@0.18.0 - gemm@0.18.0 - generic-array@0.14.7 - getrandom@0.2.15 - half@2.4.1 - hashbrown@0.12.3 - hashbrown@0.14.5 - hashbrown@0.15.1 - heck@0.5.0 - hermit-abi@0.4.0 - indexmap@2.6.0 - indoc@2.0.5 - is-terminal@0.4.13 - itertools@0.10.5 - itertools@0.11.0 - itertools@0.13.0 - lazy_static@1.5.0 - libc@0.2.162 - libm@0.2.11 - matrixcompare-core@0.1.0 - matrixcompare@0.3.0 - matrixmultiply@0.3.9 - memchr@2.7.4 - memoffset@0.9.1 - nano-gemm-c32@0.1.0 - nano-gemm-c64@0.1.0 - nano-gemm-codegen@0.1.0 - nano-gemm-core@0.1.0 - nano-gemm-f32@0.1.0 - nano-gemm-f64@0.1.0 - nano-gemm@0.1.2 - ndarray@0.15.6 - ndarray_einsum_beta@0.7.0 - npyz@0.8.3 - num-bigint@0.4.6 - num-complex@0.4.6 - num-integer@0.1.46 - num-traits@0.2.19 - numpy@0.22.1 - once_cell@1.20.2 - oq3_lexer@0.7.0 - oq3_parser@0.7.0 - oq3_semantics@0.7.0 - oq3_source_file@0.7.0 - oq3_syntax@0.7.0 - paste@1.0.15 - pest@2.7.14 - pest_derive@2.7.14 - pest_generator@2.7.14 - pest_meta@2.7.14 - petgraph@0.6.5 - portable-atomic@1.9.0 - ppv-lite86@0.2.20 - priority-queue@2.1.1 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.89 - pulp-macro@0.1.1 - pulp@0.18.22 - py_literal@0.4.0 - pyo3-build-config@0.22.6 - pyo3-ffi@0.22.6 - pyo3-macros-backend@0.22.6 - pyo3-macros@0.22.6 - pyo3@0.22.6 - quote@1.0.37 - ra_ap_limit@0.0.188 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_distr@0.4.3 - rand_pcg@0.3.1 - raw-cpuid@10.7.0 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.10.0 - reborrow@0.5.5 - regex-automata@0.4.9 - regex-syntax@0.8.5 - regex@1.11.1 - rowan@0.15.15 - rustc-hash@1.1.0 - rustiq-core@0.0.10 - rustversion@1.0.18 - rustworkx-core@0.15.1 - same-file@1.0.6 - seq-macro@0.3.5 - serde@1.0.215 - serde_derive@1.0.215 - sha2@0.10.8 - smallvec@1.13.2 - smol_str@0.2.2 - syn@1.0.109 - syn@2.0.87 - sysctl@0.5.5 - target-lexicon@0.12.16 - text-size@1.1.1 - thiserror-impl@1.0.69 - thiserror@1.0.69 - triomphe@0.1.11 - typenum@1.17.0 - ucd-trie@0.1.7 - unicode-ident@1.0.13 - unicode-properties@0.1.3 - unicode-width@0.1.14 - unicode-xid@0.2.6 - unindent@0.2.3 - version_check@0.9.5 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-util@0.1.9 - windows-sys@0.45.0 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.42.2 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.42.2 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.42.2 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.42.2 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.42.2 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.42.2 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.42.2 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.42.2 - windows_x86_64_msvc@0.52.6 - xshell-macros@0.2.6 - xshell@0.2.6 - yansi@0.5.1 - zerocopy-derive@0.7.35 - zerocopy@0.7.35 -" - -inherit cargo distutils-r1 - -MY_P=${P/_} -DESCRIPTION="An open-source SDK for working with quantum computers" -HOMEPAGE=" - https://github.com/Qiskit/qiskit/ - https://pypi.org/project/qiskit/ -" -SRC_URI=" - https://github.com/Qiskit/qiskit/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3+ MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+visualization" - -RDEPEND=" - >=dev-python/dill-0.3[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] - >=dev-python/rustworkx-0.15.0[${PYTHON_USEDEP}] - >=dev-python/scipy-1.5[${PYTHON_USEDEP}] - >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] - <dev-python/symengine-0.14[${PYTHON_USEDEP}] - >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] - >=dev-python/sympy-1.3[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.10) - visualization? ( - >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] - dev-python/pydot[${PYTHON_USEDEP}] - >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] - >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] - >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] - test? ( - app-text/poppler[png] - >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] - >=dev-python/networkx-2.2[${PYTHON_USEDEP}] - >=dev-python/qiskit-aer-0.14[${PYTHON_USEDEP}] - >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED=" - usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so - usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # strip forcing -Werror from tests that also leaks to other packages - sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw - test/python/quantum_info/operators/symplectic/test_sparse_pauli_op.py::TestSparsePauliOpConversions::test_to_matrix_zero - test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin - test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register - test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_fail_to_assemble_circuits_with_unbounded_parameters - test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_schedule_circuit_in_sec_when_no_one_tells_dt - test/python/compiler/test_assembler.py::TestCircuitAssembler::test_circuit_with_global_phase - test/python/compiler/test_assembler.py::TestPulseAssembler::test_assemble_user_rep_time_delay - # tiny image differences, sigh - test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit - ) - - local EPYTEST_IGNORE=( - # Breaks xdist - test/python/qasm2/test_parse_errors.py - test/python/transpiler/test_preset_passmanagers.py - ) - - case ${EPYTHON} in - python3.13) - EPYTEST_DESELECT+=( - # docstring mismatches - test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_meta_lines - test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_multiple_entries - test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_no_meta_lines - ) - ;; - esac - - rm -rf qiskit || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Run the Python test suite rather than everything under test/ which - # includes the 'randomized' suite. Upstream run that in a separate CI job. - epytest test/python -} diff --git a/dev-python/qiskit/qiskit-1.3.3.ebuild b/dev-python/qiskit/qiskit-1.3.3.ebuild deleted file mode 100644 index 98e6c08d5022..000000000000 --- a/dev-python/qiskit/qiskit-1.3.3.ebuild +++ /dev/null @@ -1,310 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -CRATES=" - ahash@0.7.8 - ahash@0.8.11 - aho-corasick@1.1.3 - allocator-api2@0.2.20 - approx@0.4.0 - approx@0.5.1 - ariadne@0.3.0 - autocfg@1.4.0 - bitflags@1.3.2 - bitflags@2.6.0 - block-buffer@0.10.4 - boolenum@0.1.0 - bytemuck@1.19.0 - bytemuck_derive@1.8.0 - byteorder@1.5.0 - cfg-if@1.0.0 - coe-rs@0.1.2 - concolor-query@0.3.3 - concolor@0.1.1 - countme@3.0.1 - cov-mark@2.0.0 - cpufeatures@0.2.15 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.20 - crunchy@0.2.2 - crypto-common@0.1.6 - dbgf@0.1.2 - digest@0.10.7 - drop_bomb@0.1.5 - dyn-stack@0.10.0 - either@1.13.0 - enum-as-inner@0.6.1 - equator-macro@0.2.1 - equator-macro@0.4.1 - equator@0.2.2 - equator@0.4.1 - equivalent@1.0.1 - faer-entity@0.19.2 - faer-ext@0.2.0 - faer@0.19.4 - fixedbitset@0.4.2 - gemm-c32@0.18.0 - gemm-c64@0.18.0 - gemm-common@0.18.0 - gemm-f16@0.18.0 - gemm-f32@0.18.0 - gemm-f64@0.18.0 - gemm@0.18.0 - generic-array@0.14.7 - getrandom@0.2.15 - half@2.4.1 - hashbrown@0.12.3 - hashbrown@0.14.5 - hashbrown@0.15.1 - heck@0.5.0 - hermit-abi@0.4.0 - indexmap@2.6.0 - indoc@2.0.5 - is-terminal@0.4.13 - itertools@0.10.5 - itertools@0.11.0 - itertools@0.13.0 - lazy_static@1.5.0 - libc@0.2.162 - libm@0.2.11 - matrixcompare-core@0.1.0 - matrixcompare@0.3.0 - matrixmultiply@0.3.9 - memchr@2.7.4 - memoffset@0.9.1 - nano-gemm-c32@0.1.0 - nano-gemm-c64@0.1.0 - nano-gemm-codegen@0.1.0 - nano-gemm-core@0.1.0 - nano-gemm-f32@0.1.0 - nano-gemm-f64@0.1.0 - nano-gemm@0.1.2 - ndarray@0.15.6 - ndarray_einsum_beta@0.7.0 - npyz@0.8.3 - num-bigint@0.4.6 - num-complex@0.4.6 - num-integer@0.1.46 - num-traits@0.2.19 - numpy@0.22.1 - once_cell@1.20.2 - oq3_lexer@0.7.0 - oq3_parser@0.7.0 - oq3_semantics@0.7.0 - oq3_source_file@0.7.0 - oq3_syntax@0.7.0 - paste@1.0.15 - pest@2.7.14 - pest_derive@2.7.14 - pest_generator@2.7.14 - pest_meta@2.7.14 - petgraph@0.6.5 - portable-atomic@1.9.0 - ppv-lite86@0.2.20 - priority-queue@2.1.1 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.89 - pulp-macro@0.1.1 - pulp@0.18.22 - py_literal@0.4.0 - pyo3-build-config@0.22.6 - pyo3-ffi@0.22.6 - pyo3-macros-backend@0.22.6 - pyo3-macros@0.22.6 - pyo3@0.22.6 - quote@1.0.37 - ra_ap_limit@0.0.188 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_distr@0.4.3 - rand_pcg@0.3.1 - raw-cpuid@10.7.0 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.10.0 - reborrow@0.5.5 - regex-automata@0.4.9 - regex-syntax@0.8.5 - regex@1.11.1 - rowan@0.15.15 - rustc-hash@1.1.0 - rustiq-core@0.0.10 - rustversion@1.0.18 - rustworkx-core@0.15.1 - same-file@1.0.6 - seq-macro@0.3.5 - serde@1.0.215 - serde_derive@1.0.215 - sha2@0.10.8 - smallvec@1.13.2 - smol_str@0.2.2 - syn@1.0.109 - syn@2.0.87 - sysctl@0.5.5 - target-lexicon@0.12.16 - text-size@1.1.1 - thiserror-impl@1.0.69 - thiserror@1.0.69 - triomphe@0.1.11 - typenum@1.17.0 - ucd-trie@0.1.7 - unicode-ident@1.0.13 - unicode-properties@0.1.3 - unicode-width@0.1.14 - unicode-xid@0.2.6 - unindent@0.2.3 - version_check@0.9.5 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-util@0.1.9 - windows-sys@0.45.0 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.42.2 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.42.2 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.42.2 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.42.2 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.42.2 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.42.2 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.42.2 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.42.2 - windows_x86_64_msvc@0.52.6 - xshell-macros@0.2.6 - xshell@0.2.6 - yansi@0.5.1 - zerocopy-derive@0.7.35 - zerocopy@0.7.35 -" - -inherit cargo distutils-r1 - -MY_P=${P/_} -DESCRIPTION="An open-source SDK for working with quantum computers" -HOMEPAGE=" - https://github.com/Qiskit/qiskit/ - https://pypi.org/project/qiskit/ -" -SRC_URI=" - https://github.com/Qiskit/qiskit/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3+ MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+visualization" - -RDEPEND=" - >=dev-python/dill-0.3[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] - >=dev-python/rustworkx-0.15.0[${PYTHON_USEDEP}] - >=dev-python/scipy-1.5[${PYTHON_USEDEP}] - >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] - <dev-python/symengine-0.14[${PYTHON_USEDEP}] - >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] - >=dev-python/sympy-1.3[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.10) - visualization? ( - >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] - dev-python/pydot[${PYTHON_USEDEP}] - >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] - >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] - >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] - test? ( - app-text/poppler[png] - >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] - >=dev-python/networkx-2.2[${PYTHON_USEDEP}] - >=dev-python/qiskit-aer-0.14[${PYTHON_USEDEP}] - >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED=" - usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so - usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # strip forcing -Werror from tests that also leaks to other packages - sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw - test/python/quantum_info/operators/symplectic/test_sparse_pauli_op.py::TestSparsePauliOpConversions::test_to_matrix_zero - test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin - test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register - test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_fail_to_assemble_circuits_with_unbounded_parameters - test/python/circuit/test_scheduled_circuit.py::TestScheduledCircuit::test_schedule_circuit_in_sec_when_no_one_tells_dt - test/python/compiler/test_assembler.py::TestCircuitAssembler::test_circuit_with_global_phase - test/python/compiler/test_assembler.py::TestPulseAssembler::test_assemble_user_rep_time_delay - # tiny image differences, sigh - test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit - ) - - local EPYTEST_IGNORE=( - # Breaks xdist - test/python/qasm2/test_parse_errors.py - test/python/transpiler/test_preset_passmanagers.py - ) - - case ${EPYTHON} in - python3.13) - EPYTEST_DESELECT+=( - # docstring mismatches - test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_meta_lines - test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_multiple_entries - test/python/utils/test_deprecation.py::AddDeprecationDocstringTest::test_add_deprecation_docstring_no_meta_lines - ) - ;; - esac - - rm -rf qiskit || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Run the Python test suite rather than everything under test/ which - # includes the 'randomized' suite. Upstream run that in a separate CI job. - epytest test/python -} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 9d63c10ec606..72fa405122e5 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -55,8 +55,8 @@ DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764 DIST serde-1.0.216.crate 79000 BLAKE2B 98c0f5cee2f9212c6b7620d2068665379471ceb7557d1454cab9b1c2120b526ef597fbb642f65440e70f92a4764cad33613b478bacf99138dd5bd51fdbdbee6b SHA512 baabf4c7aac4a540c9ed18b336662087258b71c9cb0e547c8d83a2734818ab2cbbe62f910d812eb61d3d46e653c41a3eebc99b1d679bfc51f95710c71a8ecc20 DIST serde_derive-1.0.216.crate 57674 BLAKE2B 12a9228679c16288c08c8b256707e276aec79f84ac7af0c4cfd1f109500dfea80438df17d798acdd30a9743c753e70093b22bd324217529bac483f257682a3e2 SHA512 80fcb552279ac7562297df878f2f5e9ac09241701f5cf1088fcbf473b638f58cd3092a7930d8937ca0df9a47b9ae1a42d490cd46a275259cd8089fe8f5426469 DIST serde_json-1.0.133.crate 150739 BLAKE2B 7891eb5b8edcc7fd09ab1e15d3881ffdcb629aa39f2bd758c0505700a5f2dfabd85b1b66c3b094268bc1627b346e204c792f4ca61efa76c54ab9cd5744fb0ee2 SHA512 20e65ec87bff319897a141960d13deb5cadcf821209c1ee8799f1dc7f458ce432bc62c16df5bdada1c8d3cc01ff23b8125e8fa0a03545d4614f32efd687dc69f -DIST sqlglot-26.6.0.tar.gz 5317429 BLAKE2B 5ce8516f9e03c55bed95cbb5f6c8904c1304a161e3809da11ad178c26629fa343be32bdd0418d23fd37826b84f94000e272f5687d85a147b1a9f7c57adad101c SHA512 f600f1c596c02c1668bc1236c5539b4e80f0b5d4a85c1faebd4273cdd08d04ebf6f5bdb2d6885be5eeefcc25d87ed47efd81fd4790f3d82a406bb05932f6a1b4 DIST sqlglot-26.7.0.tar.gz 5322836 BLAKE2B c44996699bb9831e3bba1fbb8ea4eb8c88f47f2e27a30e61143606e576f5ea07d78fd9a180c1f9f13df4a610b9d33fb104ea44f3f50a5fee3886d7efcb10a378 SHA512 40b8a544b87510d5cb098d9ede8c0a00ab2d5a82b3fac816a1377d79377c4daad65b29a04f9dfbcad672d831f1d07104686fba80b29d1591d7922d7c58c66d72 +DIST sqlglot-26.8.0.tar.gz 5325732 BLAKE2B 442247956468c411489d3b8ca4edb094eb5814ea72505897e818880acd656daa2d5192b7e1e4ec468dcada2836f708a16ca042d3c51c96982464c1998ae692cf SHA512 8a67977e346f2c67ce1aafd998720eb1eb2e6a0411c4f78b4455f5936961ff274d0e9553a5c62727698499c9e7d98daee76836d0fc0ccb6b55b472f88cfe6b73 DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2 DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9 @@ -81,6 +81,6 @@ DIST windows_i686_msvc-0.52.6.crate 901163 BLAKE2B 99ed34e052db5ba77bab240ed5d38 DIST windows_x86_64_gnu-0.52.6.crate 836363 BLAKE2B e2335829155cdbd4a55cc9f9babc237e14e32aab97f6f91afabcdf80d2aee37d6fb4b8669aaf433ff532c85dba59b3d366c7d41b61a2f29b96f960169c900687 SHA512 c4086bb0280042f2bef9b556283b67f8a5cacddd209e1c5fabec63decec6d4fd2d6a7071407973981b98ae0c0cf7034fc612f9e70dc6d3eed9acdec771ae31cb DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41cdbc120594050a9678b7f9820444391fb50aada3911a91ea00f3a6db2b4fa1820fd23bc9a007dfbe65ad41417c26ee1137ef9b96 SHA512 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7 -EBUILD sqlglot-26.6.0.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 EBUILD sqlglot-26.7.0.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 +EBUILD sqlglot-26.8.0.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-26.6.0.ebuild b/dev-python/sqlglot/sqlglot-26.8.0.ebuild index f66889c1ac68..f66889c1ac68 100644 --- a/dev-python/sqlglot/sqlglot-26.6.0.ebuild +++ b/dev-python/sqlglot/sqlglot-26.8.0.ebuild diff --git a/dev-python/stack-data/Manifest b/dev-python/stack-data/Manifest index 329ca4db6a30..7e72601c8dcd 100644 --- a/dev-python/stack-data/Manifest +++ b/dev-python/stack-data/Manifest @@ -1,3 +1,3 @@ DIST stack_data-0.6.3.tar.gz 44707 BLAKE2B d50e8c8e925cd9a4a19f883422aa487543836b36e20861f9bdf41551484ba02f7bdfb729f8bc051b3a97e76b4df7e7833b53bd3c47daf85dc2aa4e8d5d1c11b1 SHA512 629c112c09a1f69566160039c4d5fd49e59bdc206ad76799c67418e08b93a0990dd802078b646da175ab719b448394b723aab37479be14d09c0fb1c72cdbd0b8 -EBUILD stack-data-0.6.3.ebuild 1008 BLAKE2B 38a1e1fe2593a51571bb4975c9365329b660cf979b2dcfe94053e031d8c35d6eb32037a79ef55565db56291b0b644345bbad16ce10f9e7d9b3873fe52669d5c1 SHA512 4ebc18967d9c3151631124a52ba460720cf4e7c19a8854347f4aee20d02c6fac92236970877bfc78f95ade2f6cadd0310ba9c9c8dcf1513111e32317fe5c53d3 +EBUILD stack-data-0.6.3.ebuild 1164 BLAKE2B ba0bbbf428b3dd28af92f2f640bb7f7a2e25578f0b18cf7484eaf9da45f7fbd425bcfa68b546e136fd2813ece9f3a0a7210f204b9943173722e5172eae14dc4e SHA512 fbba37319aad2a38d70591d5a27495890ab6a1fc459c47b8c2c79329b72a90f2cf76251bf63e16b537636e6f6597cf457af528b91cf68c20d9f3b1f5acaa7eb4 MISC metadata.xml 399 BLAKE2B 6f2f1d18b8e574335af618995b745aa50ff1db8c58ea881b3596cbc9c22796dcf20b78ae52f370d308999a337233c6ab5a778a555876877851cdec20ac4e14b0 SHA512 474c2eae21a1617dbbd8002189fff802764bdf24bc854dd68b1feaf3e7ec4ba7831678b5facc9cf4587c784874cd530b11140ee345e831a9b7824e6752d2923e diff --git a/dev-python/stack-data/stack-data-0.6.3.ebuild b/dev-python/stack-data/stack-data-0.6.3.ebuild index 9393da95f4d6..0bb3d3079b8a 100644 --- a/dev-python/stack-data/stack-data-0.6.3.ebuild +++ b/dev-python/stack-data/stack-data-0.6.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -37,4 +37,8 @@ distutils_enable_tests pytest EPYTEST_DESELECT=( # Cython looks for the module in the wrong directory, for some reason tests/test_formatter.py::test_example + # broken by new pygments + tests/test_core.py::test_executing_style_defs + tests/test_core.py::test_pygments_example + tests/test_serializer.py::test_example ) diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index 643b006355f8..deb6834bd585 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,5 +1,7 @@ DIST trove_classifiers-2025.1.15.22.tar.gz 16236 BLAKE2B 23003b48c5f6b919559c3355b9eda56d229c5e19420368200952ab9a81a6ca850c779788ccb3c9340bd08e11f9c1da6ea67ecc180c206216313064881d3469f8 SHA512 460df4327866ea6ef19ea04e9ea4dd746eb733ceafec0db9920b1e6eb1649abfcc914f4e103700072696846c4af4c85003a1ef6323b4605a8f1659126d459503 DIST trove_classifiers-2025.2.18.16.tar.gz 16271 BLAKE2B 99f21fb5a6d40029cb53d2ce0b59c387b012e2538cfab8efb902bc8941499beb4b2ef506662442c5f2a0d2719099858e9bb4c9140514f41a4821436b7eefae30 SHA512 776082bbc7aac7fd4219fe9641261b439394b45ffb7b7f2e639e3f2fe583faa4594dc0113fd3ab3197035fa72c94ab378078023a6534721e640c01e9e5ce249d +DIST trove_classifiers-2025.3.3.18.tar.gz 16239 BLAKE2B 439b7c7aadae4a2dfb55a065b57853cf5f1f5752072c6e52fcde0ed63bc95a8d17ad9e618983f3302af0bb2b91af5e7db3d076d001008d0c06a62bdf5680facf SHA512 a84ee9e3ff20664b433bd07835e0050fa9cd149d18bbcbd2514abb8f1d056725788c64e37c8863b779070728795f5aa01c0a38b8088082ddc37a10629b9ae492 EBUILD trove-classifiers-2025.1.15.22.ebuild 1137 BLAKE2B 0c4c4b614cee8999105bb573a538e15e0c4e481c6bcc65558d3f57bbc6809cbef1e33c2593cb8295bccf64ad89cd23f4db06fa4b70bc359721e6f513f9ccc0d3 SHA512 cc745422fa53f5a0914f02821a3c4d1a486d9e6e3fa6296e52e4f8989de6b421c2ea5a630e811ef47fd48017130de55792a9256b444eb134e4ce569a4aa366ac EBUILD trove-classifiers-2025.2.18.16.ebuild 1145 BLAKE2B 00a1585d83cc238ce00398036d504ff772137cc6bae2a899950ee98434e87670d4f8440646af343170e83eba1b8c42d09851dbb9c2a75d7d2c5c69df2be324b0 SHA512 667861b44479cc644034e18f7217fa0b5bd4676eda60cfc90a53c4a92689802dc385ffe64ba533f223392306992410493176e73fb13d43ed9ff4df6deaaa7adc +EBUILD trove-classifiers-2025.3.3.18.ebuild 1145 BLAKE2B 00a1585d83cc238ce00398036d504ff772137cc6bae2a899950ee98434e87670d4f8440646af343170e83eba1b8c42d09851dbb9c2a75d7d2c5c69df2be324b0 SHA512 667861b44479cc644034e18f7217fa0b5bd4676eda60cfc90a53c4a92689802dc385ffe64ba533f223392306992410493176e73fb13d43ed9ff4df6deaaa7adc MISC metadata.xml 385 BLAKE2B 0d679ace6575dab100af9918e8b6dbde2f70cbf556c23ee667d68f69c6dd07887e43a513a73e60849a7a4b88cb26d4cd85b4cb905b926ee3832161c663adc9c0 SHA512 977bc86d4fb2dfcc887fd8d4038b8ac76cb0f4783424d3ab0857256afaf5dacf4e45c0d2a9166daa854be1dc8faba4a10c4718c557b983a1c7bb0a33fcd61f41 diff --git a/dev-python/trove-classifiers/trove-classifiers-2025.3.3.18.ebuild b/dev-python/trove-classifiers/trove-classifiers-2025.3.3.18.ebuild new file mode 100644 index 000000000000..6c4761564980 --- /dev/null +++ b/dev-python/trove-classifiers/trove-classifiers-2025.3.3.18.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} python3_13t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" +HOMEPAGE=" + https://github.com/pypa/trove-classifiers/ + https://pypi.org/project/trove-classifiers/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease hatchling bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "trove-classifiers" + version = "${PV}" + description = "Canonical source for classifiers on PyPI (pypi.org)." + EOF +} + +python_test() { + epytest + "${EPYTHON}" -m tests.lib || die +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 8827386df165..43569d6028f3 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -7,7 +7,10 @@ DIST uv-0.6.2-crates.tar.xz 54121752 BLAKE2B b1ace1c08ae63fa662d73675eb30818b63d DIST uv-0.6.2.gh.tar.gz 3720975 BLAKE2B 04e3e9d6cc3a808f5323e7e72584c74078ee74d8636533a42e0027e2abcf98fc73fb2fb8f94dd855773bf046d381a8d928dc3fb3688bcff25df1c848bc3a1496 SHA512 ac193c0de1cd6ae48fd40e05a1c47999bc2cee9ac553d69fe676a78e970e2763c2e9a6f3a84b123701db143534d8597ef4445e255ca74788fef88332e51f092e DIST uv-0.6.3-crates.tar.xz 54109600 BLAKE2B d73c4b4794626abd044f5f5487f59e5890545b659c9df36956e3da8d28dc7be96119706dc7fcfa693a1d3a023691ea4997e9be6b993fdce64044995f20d9c4ef SHA512 5476c855b8a3c68b2572c837f1841e8563373b133d226117f1dad06599a237b2d34bbe95d0f27d027952ecde26977964027e7d4af25ff29ff28b8afe2bb3e522 DIST uv-0.6.3.gh.tar.gz 3759959 BLAKE2B de5309ab9093193bf1e845089a96408dabfb1af26bc634ac6b5f00aca9a94a709d3a36577642cef8a99a6e38c7ed81df45cf9e803f2508cef9c3efda28e56ecd SHA512 a168528a5af666f2d69e2f8606b8d68e8009dee5b604af83bf9273192e9c07778078a0e8e79f14432e851b62a1af72759a06b85a891ed93f5369daffa01c4807 +DIST uv-0.6.4-crates.tar.xz 60120880 BLAKE2B 67e7cba1df7e8c18e55d7d1a5748db7995c19a8bc4d156b5cdcf8d6af3922ea52279e2351085fd2142806f6692383535dec1d8354c5197d3ed032f768c552dbc SHA512 0f13d3e6e77397ef2db40122736fe4d990003388dc2f2f782b9aea317fb30f30cbb35b1d800b252e84f239fd570208df55f281432e91e546b5edcf82b9a2b68e +DIST uv-0.6.4.gh.tar.gz 3767634 BLAKE2B 935155f7833c47c149c13c6ebf72e17f54ac27917fe38a2d7fb41637dba2fcd331e1faeb33e3def02194214e1962129b283ec491eb76877011793b629d9d11c7 SHA512 7583da2b68229fe8fbbe5a25e66efbd25feeb6c98c88cb38f5b0b6b891ce71397e63b0ae64c6c845c27c903af77079a2825719dfadaa4201536d8941885a7fc4 EBUILD uv-0.5.29.ebuild 4369 BLAKE2B 40754d687361d7e64e8efd26e801049cd8f3e876ad6817ceb4f84e178d6f239edff3cd94c9d2440ba393a5f2a60fd76f0951ab6f5cbe34f9c978b454eece19e9 SHA512 b58cf2aa7de6c62c44ae2fee17afd26cc655f593b8ad01ca0a2cae59b07aa37c5510a95e357401664595b5d6ee54c0745fc9bf75cb8f9f378ee583fb778948c8 EBUILD uv-0.6.2.ebuild 4373 BLAKE2B 510bc7db99248e31fb752f3653f8983cef1b282e155cf629344fd9642d74360b40fe1506f282221721bbcac5f9e6c3780e448df2615ee36fb8ae9f35a2d3cc01 SHA512 990908788fa6542f97b91f35bb97a18be6e7827ddcca9a1816f960dcb16cbf85d7201d2b90f1046e46aa9d243e4a327113cee3155c7257b36d865ac508a6e89a EBUILD uv-0.6.3.ebuild 4373 BLAKE2B d3ad55fb8a18f2d6416186df692373bac1eeb19158ff86dc69dfb37c8ba2eaa98de16547a5075ba264ec515faf9fd84ac735e11a19a4c5947a96ed1e2418582a SHA512 b8afbb60bd276d35c9f6a263a74846026a9b42f62740bb04e3274eb879ff85129ea51e288aa0cabc5005d3df28fe255e9241d8b34a140430186e2543735a9a66 +EBUILD uv-0.6.4.ebuild 4373 BLAKE2B d3ad55fb8a18f2d6416186df692373bac1eeb19158ff86dc69dfb37c8ba2eaa98de16547a5075ba264ec515faf9fd84ac735e11a19a4c5947a96ed1e2418582a SHA512 b8afbb60bd276d35c9f6a263a74846026a9b42f62740bb04e3274eb879ff85129ea51e288aa0cabc5005d3df28fe255e9241d8b34a140430186e2543735a9a66 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.6.4.ebuild b/dev-python/uv/uv-0.6.4.ebuild new file mode 100644 index 000000000000..ea31a134e1f8 --- /dev/null +++ b/dev-python/uv/uv-0.6.4.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.83.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 ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} |