diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-30 08:58:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-30 08:58:38 +0000 |
| commit | 433d88f8060140c325376f7d03b82c122798b50e (patch) | |
| tree | d7aac40515bfec164deff96693d7ee6ba95a4978 /dev-python | |
| parent | 332b12c47c65e7075746dc873b96d8dc7ed3207c (diff) | |
| download | baldeagleos-repo-433d88f8060140c325376f7d03b82c122798b50e.tar.gz baldeagleos-repo-433d88f8060140c325376f7d03b82c122798b50e.tar.xz baldeagleos-repo-433d88f8060140c325376f7d03b82c122798b50e.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
50 files changed, 1206 insertions, 258 deletions
diff --git a/dev-python/aws-xray-sdk/Manifest b/dev-python/aws-xray-sdk/Manifest index 71721528c17e..c69a4ccb455f 100644 --- a/dev-python/aws-xray-sdk/Manifest +++ b/dev-python/aws-xray-sdk/Manifest @@ -1 +1,2 @@ DIST aws-xray-sdk-python-2.14.0.gh.tar.gz 276813 BLAKE2B ce9a6c8a3b9acd4cb1e538c75702bebc1e392d350a999e8c609ddb900acadd0ecef11b2ce326786a64a73de3d84b0e18e6f4dd4ad91ece6a13283d727039925c SHA512 e9f7a299e35741a63de999dbd4931b82aab97b4c690e9abec4d25106a4a1b1dbbda605b7ec8541000f97cdcf17fed1283abf8d561db63cc4ac1ed11405458f29 +DIST aws-xray-sdk-python-2.15.0.gh.tar.gz 278754 BLAKE2B 11df5a272c42b0349d18f57adf60c9ec7f067f18c13b976cb394639d8bc72fe342a33b727c30b2f8875179a15201f339688e1f714fa5b8cff136291acb832ad3 SHA512 a9529e9d671f57929c637a67adcabc84fcd1b4116db59106b5e9ca484dcffe2b570fe21caa28f5687ad1577141b193b4aa157082ea1d93a131b6d54305944d53 diff --git a/dev-python/aws-xray-sdk/aws-xray-sdk-2.15.0.ebuild b/dev-python/aws-xray-sdk/aws-xray-sdk-2.15.0.ebuild new file mode 100644 index 000000000000..368d68010101 --- /dev/null +++ b/dev-python/aws-xray-sdk/aws-xray-sdk-2.15.0.ebuild @@ -0,0 +1,92 @@ +# 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..14} ) + +inherit distutils-r1 + +MY_P=aws-xray-sdk-python-${PV} +DESCRIPTION="AWS X-Ray SDK for Python" +HOMEPAGE=" + https://github.com/aws/aws-xray-sdk-python/ + https://pypi.org/project/aws-xray-sdk/ +" +SRC_URI=" + https://github.com/aws/aws-xray-sdk-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] + dev-python/wrapt[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/bottle[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local -x DJANGO_SETTINGS_MODULE=tests.ext.django.app.settings + local -x AWS_SECRET_ACCESS_KEY=fake_key + local -x AWS_ACCESS_KEY_ID=fake_id + + local EPYTEST_DESELECT=( + # Internet access + tests/test_patcher.py::test_external_file + tests/test_patcher.py::test_external_module + tests/test_patcher.py::test_external_submodules_full + tests/test_patcher.py::test_external_submodules_ignores_file + tests/test_patcher.py::test_external_submodules_ignores_module + # benchmark + tests/test_local_sampling_benchmark.py + # Fails, probably because above is ignored + tests/test_async_local_storage.py::test_localstorage_isolation + tests/test_async_recorder.py::test_capture + tests/test_async_recorder.py::test_concurrent_calls + tests/test_async_recorder.py::test_async_context_managers + # connects to local mysqld + tests/ext/sqlalchemy_core/test_dburl.py::test_db_url_with_special_char + # TODO + tests/test_lambda_context.py::test_disable + tests/test_lambda_context.py::test_facade_segment_generation + tests/test_lambda_context.py::test_put_subsegment + ) + local EPYTEST_IGNORE=( + # unpackaged deps + tests/ext/aiobotocore + tests/ext/pg8000 + tests/ext/psycopg + tests/ext/psycopg2 + tests/ext/pymysql + tests/ext/pynamodb + tests/ext/sqlalchemy_core/test_postgres.py + tests/ext/django/test_db.py + # Internet access + tests/ext/httplib + tests/ext/httpx + tests/ext/requests + # requires old package vesions + tests/ext/aiohttp + tests/ext/django + tests/ext/flask_sqlalchemy + tests/ext/sqlalchemy + ) + + epytest +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 65f701a36752..93ea32b9f315 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.40.55.gh.tar.gz 1013401 BLAKE2B 86de575af2244a1b6ec317dac61a71ba2b5 DIST boto3-1.40.59.gh.tar.gz 1017517 BLAKE2B 31511c062e6991ba14b7bc7227f4b4a214da5bc6dd012139cebaeb53a34ad540a80b5216495b2796d34f6ad91fc135837c830d9151fb34aba15d6d1c552c415d SHA512 90cc90f03e743c57ddc195a2ff10282d3c99851b54cd475da95bb3eb120449b0c0aa59d920baf206142e151eba0250aad5fa9c1a6c1be9e550ea1be5b69f8566 DIST boto3-1.40.60.gh.tar.gz 1018793 BLAKE2B ca54b65452be655415525c6cc69bc062b2064121ddaffd24c8c731f9a92832cb5c8c9f485c4ee99efcaf8a382d6c050eb8ce3fffb87be808b906bc5b017744f9 SHA512 723930c064cad326a8b7ad07ba898a58a25da8bb49bb70e4b01f0af76c4a309ccf741c379eb52c0067a8867f960587f3c2fef74a3101039abbb33d5486841c91 DIST boto3-1.40.61.gh.tar.gz 1020563 BLAKE2B e42efb7d4e7551b5d69ae73cb2e08c7def71703b3307e1e40a796c298b0be3d6b5a029cc97ea352f88c03595974b14624794b3fb039afc1b875cc523305fec19 SHA512 5ac214315f125bf4f699010ad9d3b8db18f4a5fbe19f18cd26966de54a0f631f0781a8b79a7dd65968a8467e6b88b3d7b9d818692e629e3343df0b54a49147ca +DIST boto3-1.40.62.gh.tar.gz 1020680 BLAKE2B 5a3460f1d2d9fed9f21216c9d6e0e2a1ad869de2f557f0236f8ac563b05d873eae928f146f46aa0dc7dc4e1d83bee170a5e9d595ba75ecefb5f860690d76b3d0 SHA512 09704614522a5c26e01e29aaf956ab6f44f4b9b42bfed935054d717e1b0fadcd502c9fc3a67a3f2e8e81688d2199d6ea9877e36d3e815590ed374a1aeda28ebe diff --git a/dev-python/boto3/boto3-1.40.62.ebuild b/dev-python/boto3/boto3-1.40.62.ebuild new file mode 100644 index 000000000000..cb388ebe6570 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.62.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..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 46a6a3f31891..ab9c752b9828 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.40.55.gh.tar.gz 15255349 BLAKE2B 22516d43d5737d92bbead967a13b4ce DIST botocore-1.40.59.gh.tar.gz 15284317 BLAKE2B f0e5b5ac06292c003ac6dcf0d8b4098b12cdeb2ea5ef8158aa1ce20000730e8f0bfb65a5156f64decaec9ef2d144f3aebbad1e2f2389e80d6d3cdef24f735f2e SHA512 04aabb134f24782274c3b44b0addc45523e36216372e07da271d282968200b66785c4ca92754a79a0ae26fc93c2448e032f0e498552eb8b344c618cd2be2221a DIST botocore-1.40.60.gh.tar.gz 15285623 BLAKE2B e543690a177697da826ced0fba584f996bba0083faa6db005d044280594feec33bc091223eb0cedafde722180a62e8f07c36464743f4e6a927f69245696d30ba SHA512 06bffc6051a6f7a3d2da55a85a80c38701c1db846f64ce6b86e961154240fb1ec1cd1f7816efe1ec01f0d5cf0f9140efa98a2c682ca5eb083da39b99d8678f79 DIST botocore-1.40.61.gh.tar.gz 15209096 BLAKE2B a491a70142e2fb0de48c78df37dc73412c996f37ab3c203be0fc85306d8b8bdedd31c38952a72e39e1a270eac8237cc8abb3b4a1446e75e893aa6e45924a9b4f SHA512 a53c3c8b0392a2ceae5cc27c283d9ba3f4b81e56a654bd49885e6fe1803e16679cfc181d74e1a82b1ad69413288f4b2d422c8af7a2f47557ddec550651a91714 +DIST botocore-1.40.62.gh.tar.gz 15209593 BLAKE2B b9f76a0b0b46cd4c85ef850fe724848e9787c2c18878f2560453e41b2b8fdccf58d9a26a9ff188a62af6ac4e96bb7d8c98ddfbde31f722232a510335c9ed72e8 SHA512 8ce9983659573aebbd94b17b84dba5ed38d7a7929c0d7b9d1d88a8aef80e5e64db9a6c8ce95deb50dc7d9bafc44daf2f762059b047aacf9143bea67c4a7cdbbc diff --git a/dev-python/botocore/botocore-1.40.62.ebuild b/dev-python/botocore/botocore-1.40.62.ebuild new file mode 100644 index 000000000000..ee8074e67dce --- /dev/null +++ b/dev-python/botocore/botocore-1.40.62.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..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~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_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/colorful/Manifest b/dev-python/colorful/Manifest index d91228d75220..a1893a11f672 100644 --- a/dev-python/colorful/Manifest +++ b/dev-python/colorful/Manifest @@ -1 +1,2 @@ DIST colorful-0.5.7.gh.tar.gz 366736 BLAKE2B b0bf3b1d154d4ca7788bd4b1874c99b037322435484f2e0effedc94ae7ae0cdb50bf3ca836bcc33503020a688a07d7d081138bc35cb23765deb20c6b14b38f1c SHA512 012abac14f54a1aa69a311082d0dab6b66b4bbcf787955921a9942b3506a9f242b7e09a0d067b97736db53a81b07fb4b50543314858263894e7178f3786b0685 +DIST colorful-0.5.8.gh.tar.gz 366606 BLAKE2B a7f8739443cd0bb3c2d80d2da73f68587e6087db72f6953c23d167d73aff29f88782cc4e80b86698e65df66a863bc0a2be589ef5183f7a241d1da3ccf436565d SHA512 623d9233f21111aa29597fc3eb5bdcbcb9665e35802b30e2acb80f1c7b4eaf7dd0ec1f46b8562d8604fe9744122bd9919662c4c71385b6d17b3df9e0dee74807 diff --git a/dev-python/colorful/colorful-0.5.8.ebuild b/dev-python/colorful/colorful-0.5.8.ebuild new file mode 100644 index 000000000000..0dad59354bd4 --- /dev/null +++ b/dev-python/colorful/colorful-0.5.8.ebuild @@ -0,0 +1,30 @@ +# 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..14} ) + +inherit distutils-r1 + +DESCRIPTION="Terminal string styling done right, in Python" +HOMEPAGE=" + https://pypi.org/project/colorful/ + https://github.com/timofurrer/colorful/ +" +SRC_URI=" + https://github.com/timofurrer/colorful/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + epytest -s +} diff --git a/dev-python/django-soft-delete/Manifest b/dev-python/django-soft-delete/Manifest index 8f135b78cb5b..acd49daf010f 100644 --- a/dev-python/django-soft-delete/Manifest +++ b/dev-python/django-soft-delete/Manifest @@ -1,2 +1,2 @@ -DIST django-soft-delete-1.0.19.gh.tar.gz 15281 BLAKE2B bdad6b75d299c1f1302924941a76661ca71e003cce306dae4d641e9295ad5c2a23d12bac6c2cda6367c45524d15b24ee6f59b724104af73689976c03adae07ee SHA512 76e43a57d90ab652b6903ec7b0f5d0a74bb24ac49174c11504fc30d21c9326428336a617ce630eb2eb38c4e910faac47cb2c13dee34204f5d9db7626a606ae14 DIST django-soft-delete-1.0.21.gh.tar.gz 15281 BLAKE2B bdad6b75d299c1f1302924941a76661ca71e003cce306dae4d641e9295ad5c2a23d12bac6c2cda6367c45524d15b24ee6f59b724104af73689976c03adae07ee SHA512 76e43a57d90ab652b6903ec7b0f5d0a74bb24ac49174c11504fc30d21c9326428336a617ce630eb2eb38c4e910faac47cb2c13dee34204f5d9db7626a606ae14 +DIST django-soft-delete-1.0.22.gh.tar.gz 25779 BLAKE2B 71fc15f3daa12e25577de4107cd33c533955cc33fd9d4dc0f1a5a72347652167602ee1effc5816784ce987520fae350b13a13048adeaf262270da28d1c181d4b SHA512 9ee9303c99d891a251a1d06bde71056b159a7086dcdb0449a2e185eaea9ac9d474530ee66087f77045987e25d69da558f50a5184a54c51b7527ff49955ad0dec diff --git a/dev-python/django-soft-delete/django-soft-delete-1.0.19.ebuild b/dev-python/django-soft-delete/django-soft-delete-1.0.22.ebuild index b1f9a1230f14..a53383440e44 100644 --- a/dev-python/django-soft-delete/django-soft-delete-1.0.19.ebuild +++ b/dev-python/django-soft-delete/django-soft-delete-1.0.22.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{10..14} ) -COMMIT="ad070b0cbb3048a55a44a089a14ba2f331aa3175" +COMMIT="fb8ca2a3cac5d1176a7f20c90cda3e91154c7f0d" inherit distutils-r1 diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index b3211b672c1b..8baa01d4744d 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -6,6 +6,8 @@ DIST dulwich-0.24.6.tar.gz 946625 BLAKE2B 76522ea32796b8db0fc1873f7ad555de79b11d DIST dulwich-0.24.6.tar.gz.provenance 9391 BLAKE2B 9168157d0059a622c603d46d0768379ceb709e580789ce5c83e73d8596a7174138f5efcb32da01288211225f3310088d88a8456b2a628cbc0f67df02141a8f50 SHA512 4d9a5cd1d2f07e21cb298d8d9adc461c4ffe7ba1057f70c5ff1894e99ee986b0923e95560dc532080741f4991d6efa30579edf5b5664b7045e48afd97e5427b9 DIST dulwich-0.24.7.tar.gz 968411 BLAKE2B 4565335f4d1f7bb9dcd05c079b261f3881c86542d57810722bc6d225e8145f5e61b77f3f3fd0722a68ae00994b8ad8cf7b13f03c26d8a0cdd4ac5cab599673bd SHA512 1d060f75aaa08c491008b7e198691f296c643eea829c2a2f14800b5725472b659d271aed042954281e259d369f6c76cd067a6f461a9ce821669789f8e45167df DIST dulwich-0.24.7.tar.gz.provenance 9720 BLAKE2B 4b5d683bfd30387ba2b0d0ad8e597ed817d4e062457f7df5dd20c60f9e03da6538b1603b74848163425c00ad448af0ff253e2fabdeeea23f08757125bf4f55d3 SHA512 035b860fbdd7f3c43be6c61dab3a196f2cabfff3b368c40cb70d671ca66b1d7547e4040a20d9fff4a132395d72849a1a9e6d34f97897de776b7311045dccd5af +DIST dulwich-0.24.8.tar.gz 998526 BLAKE2B ee5ee83ed26aa6e561ba86de0dd97c8d6a2ddbd3eaf2f659c17e7faddef8377411c81338f8d7690446cafda20048f5847b96c5bc37881cfbd7ba8c5a0a759b5b SHA512 818af9224d05c58ab5faf8d1dee5834c1fdbd9c7b3e9244728d78b24349cc218eabbb55381ef4e05e70737c03c87f1eb502abd20c46547e0356ec62475812e68 +DIST dulwich-0.24.8.tar.gz.provenance 9771 BLAKE2B aaf178067787591a823ff17c3c86082c8d1e39620325500840cbd4227856c14021dbb0dceef1c075b86913b547b88e144ebedbe0156f5222e997ca1b4b490cac SHA512 1e0b02c544d35ca4548987ea9a24bcdbd7e88e9dbd2d685d9446bba21fb52007ada0bf09ee88663157901e1791de3e78546e18b6dba5ba317381aaea2031afbf DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 DIST indoc-2.0.6.crate 17164 BLAKE2B 1a6cff95bc12ea885ef36b935bf4f1c7870d65be0ff31ffc67dcab904fa80215c1254c1803c5d0c5686252addfad3512e9e1ec79d3edcba026a879f4706926d1 SHA512 e2ea2e5c8226c802bbe0631c1a99d2edd088cbafbf978b2a7b71c7c7f47754c6d4653f466e286441b61cc46def1c7f7a02d4785caab93a61dd785211dba7d1a9 DIST libc-0.2.174.crate 779933 BLAKE2B 20ffcbbcad6961e732521940f0595039dc0576d85b2d3b2ad3f1decd37571132a4cd7505b2e108078a4379fc4cec46290b5633bcbcc6e7009c3b474c1a852628 SHA512 243f2ffd5741ef859e4dc5b7ee0396071943b1d10429efcaecb322957e256c4be88a7a649029dfd47e6456acc73ee257893fb6c4e8b4d0fe66a12bc5d1c13c73 @@ -34,6 +36,7 @@ DIST pyo3-macros-backend-0.26.0.crate 81809 BLAKE2B 73885035855daf00b001e97e0a5e DIST pyo3-macros-backend-0.27.0.crate 82461 BLAKE2B 5edd562cfc43197328621b7d6167fd0135f45047eb82f02c774fdadcb896fa8be6ed5725311994d4c6f6b8f75e3724a6b0aee6eb56b98fe9c4c0ff29c56fc879 SHA512 ad895e12e3891ec36bb755b3cf8530a2fe12597715a8e32aba8873823d455d852c31d9eb9d573c9099d8a8278b20f50b68fc5be6b4613f788184ccb45e40f9a4 DIST quote-1.0.40.crate 31063 BLAKE2B 09036ff3e5ebbd775c466bb936de91d4c070481eb4b98c62a4cddcda57cd7b67d63f979b321f6ec64aabee3f5da6c28e7a3efb83f4647768ba578f1bd0bd0bdb SHA512 45a76e22a2b0bec47e4ba73c3b73cc41d821dfcce9876134c5d8eed514da214aee4ce7612e372c8709f888c0d8b9b7e5442f27adb7a59f3571f0339ed7e2ac99 DIST quote-1.0.41.crate 31408 BLAKE2B 9d496e0878fc329ac9492ecbd470e762bd807ec8ca4e17a856b4d1c776351434778f519977137a67b8c143ee60b20774c09768d480cff51b22f2cfcb364a20d9 SHA512 64374d70eb29f7d7e02e535ba383586d93f68a9b6464c79840fa6c42a1ac47be7ba14e415a40e158f845e486ed33d5c564c882913780d296360b30a56301ff7e +DIST similar-2.7.0.crate 53928 BLAKE2B 41d6aec64403069dcf81a9a00b9db041967b89d09cf9f2371444928f32bbc2a8c6066adb93eaf25c72a257fab87e24c160265d687c4e33848728a4ddd374012a SHA512 4a2559d2e47e7747eb2bde0f02a0e652ff0e116d1d3c3756dd86fd48f114e2b42157b860165e5cc29c2123cf19c64ebd17f023aaa05950de03ab5752562206b3 DIST syn-2.0.104.crate 299699 BLAKE2B f64d2267abe9140456dd31d52ada0c75bfa3e4e0112ca77491245e9e84a0530f6c7cdc7428b73cf567a65ef6e7727f814fb9cb34db0ecc9cc3afd05b69fd36f7 SHA512 da532fa362266161b5604c821c913f8f990eb32c18e18c0a360b7147b9f71ae008e208f377cb203e85818bd5db926951122a971fa97563a10678f0ba4671e64f DIST syn-2.0.106.crate 301514 BLAKE2B 6b28b30ee067c23dc4bd1b38365d14c1700245c974e785173965b0822301966d642b36bdda25210d61f17a99fc71eb81e29a56c89d1649773908bae32778fb1f SHA512 e07e1058770fa3f1039eaf335340cefb597c0dd11bb90fec9fa777ca5815d0e0bb1711bb4db52cac77e205dd68fbe2bce0e1aa9895c2a52a1ea6d7758d13424c DIST syn-2.0.107.crate 301716 BLAKE2B 76ae71e40724b7ab0912df8c5d9ff571a21b6da1ed8f849395ca8565535c245894bbb1927952fa2c81891ce08d5e19336138f80c6374ca4a46c8bc8ed1ff53c7 SHA512 6c65589ad86a01307defcbfcb62d95b342135ad22636b899195784e56d476fe5eb5c7f2b54f827166e573f0a4af0ca834f4a107700417fd68edce7e423467f4a diff --git a/dev-python/dulwich/dulwich-0.24.8.ebuild b/dev-python/dulwich/dulwich-0.24.8.ebuild new file mode 100644 index 000000000000..4d443f84348b --- /dev/null +++ b/dev-python/dulwich/dulwich-0.24.8.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=1 +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/jelmer/dulwich +PYTHON_COMPAT=( python3_{10..14} ) + +CRATES=" + autocfg@1.5.0 + heck@0.5.0 + indoc@2.0.6 + libc@0.2.177 + memchr@2.7.6 + memoffset@0.9.1 + once_cell@1.21.3 + portable-atomic@1.11.1 + proc-macro2@1.0.101 + pyo3-build-config@0.27.0 + pyo3-ffi@0.27.0 + pyo3-macros-backend@0.27.0 + pyo3-macros@0.27.0 + pyo3@0.27.0 + quote@1.0.41 + similar@2.7.0 + syn@2.0.107 + target-lexicon@0.13.3 + unicode-ident@1.0.19 + unindent@0.2.4 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" +HOMEPAGE=" + https://github.com/jelmer/dulwich/ + https://pypi.org/project/dulwich/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="GPL-2+ Apache-2.0" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" +LICENSE+=" )" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc examples +native-extensions test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/urllib3-2.2.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.11) +" +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/fastimport[${PYTHON_USEDEP}] + dev-python/gpgmepy[${PYTHON_USEDEP}] + dev-python/merge3[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP},server(+)] + ) +" + +distutils_enable_sphinx docs + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/dulwich/_.*.so" + +pkg_setup() { + # avoid rust_pkg_setup which will die when there's no Rust found + if use native-extensions ; then + rust_pkg_setup # implicitly inherited through cargo + fi +} + +src_unpack() { + pypi_src_unpack + cargo_src_unpack +} + +python_compile() { + # make extension build errors fatal + local -x CIBUILDWHEEL=1 + unset PURE + if ! use native-extensions; then + local -x PURE=1 + fi + + distutils-r1_python_compile +} + +python_test() { + # remove interference from the tests that do stuff like user.name + unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE + unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE + unset EMAIL + # Do not use make check which rebuilds the extension and uses -Werror, + # causing unexpected failures. + "${EPYTHON}" -m unittest -v tests.test_suite || + die "tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/environs/Manifest b/dev-python/environs/Manifest index 461be052cb2a..653b7fae0f75 100644 --- a/dev-python/environs/Manifest +++ b/dev-python/environs/Manifest @@ -1,2 +1,2 @@ -DIST environs-14.2.0.gh.tar.gz 45178 BLAKE2B 167c96d0a0845d25b38d7b2f2cefc3f00eb5468be3c70667944537de008a92b8691f096a44f1a7728ea2bdf88450fec2335f15f186a97732cdbc570797129ca4 SHA512 c1b34cf4cda44864083c14622d020a9c907b9cbcbc0e18ff18e1044bc9fee9fc71a63513118f237141ea32bd72333bcd5e9101b0f3db06c368fb24aa16b1ed5c DIST environs-14.3.0.gh.tar.gz 46904 BLAKE2B c787c7e62d92dfa4a39f8ef7a9017806608743a8d601f8669f47b5bdaa60215db8c6aa25a435ba2b3c0cb4dab7bea423bba066c745f1530cabdaf5e31e065ab7 SHA512 70acb1f5f3d607b75098d8d679c09052d2bd585124032a09d518c7067559b62eedac0a45adac76dcd25fa8c9366a84773199ffd2283b34da63e12aca9c466953 +DIST environs-14.4.0.gh.tar.gz 48220 BLAKE2B 7dd89016a30b6194c666d1b5d4931c1223d52a609ec369c435a8b066daea52622c42932598a07ca43976bec5a186879309d079248809d116e1b110f7a39adcf0 SHA512 e49ec88ed6eaf09465505378db5b74b01637e04b16b53ae0a7245ca4bd26c9ee0ec795c7b7c9b6791bb0d1b0ac7a6cb33c16a0bad7cd30805779b1791e151b69 diff --git a/dev-python/environs/environs-14.2.0.ebuild b/dev-python/environs/environs-14.4.0.ebuild index af385504a7a9..7e140f03e826 100644 --- a/dev-python/environs/environs-14.2.0.ebuild +++ b/dev-python/environs/environs-14.4.0.ebuild @@ -36,4 +36,5 @@ BDEPEND=" DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/gherkin-official/gherkin-official-36.0.0.ebuild b/dev-python/gherkin-official/gherkin-official-36.0.0.ebuild index 85c8fca4f57d..d9448a86aad4 100644 --- a/dev-python/gherkin-official/gherkin-official-36.0.0.ebuild +++ b/dev-python/gherkin-official/gherkin-official-36.0.0.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/gherkin-${PV}/python LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 arm64" RDEPEND=" dev-python/typing-extensions[${PYTHON_USEDEP}] diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 9b8ea63948a0..f5388a53b1f8 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,3 +1,3 @@ DIST grpcio-1.74.0.tar.gz 12756048 BLAKE2B 943f9b438985193e13d72cd3e270f8b0bb311e548a226803e62619fb30ce50fa9f14bdcccec8aa6cf57704bdc7ef8706509d987c3ed9806a4e26f5360492124b SHA512 2f8bf61bf28b0b53422041f43fb226a7e4af0cd3c1942b58b84284a5d542e3224c3f54b40dc5346424dd0c260e1416b857732d8ee02fbca28384a15702f07ae0 -DIST grpcio-1.75.0.tar.gz 12722485 BLAKE2B 119e0f35b5476aeecf51b0b826e9932c9b36b9ef78eb7e6130d0750e0c2203137e2f5b51d0f8a293622b4d01fbbf11481c13ead8536a17e4ff49448704fd95b9 SHA512 e686d375ba1b8ffb256148459d48a4ea20d89207363fe656826774597f061e0ebed55f72e2cbba082ad05523523e2df7efff24470b28e3ad1489619e303ec3e7 DIST grpcio-1.75.1.tar.gz 12731327 BLAKE2B 1cca575fefd42584fa1ce1d20ae875b2f894a1cc4f3c7eefbd64e51014bd8709f70d8ac8750cd06d9572a7867fb0ac514af098bb7b88c574f006957df4d7c082 SHA512 025554fc885859e0e484ec0c205ba19abe21d4fc7b6632eac7d4aa1fb7513b57235e38444a01b417c2f70549c79696b08fb4f2a673689cbca2810b21363d3fa5 +DIST grpcio-1.76.0.tar.gz 12785182 BLAKE2B dbd3bf849ac2a721a114087e484d8f759bc4799e2e8a4ea58236a6bcf926ccf1ee183bc61f616f7acbbff59418b9e39de921e50aa6b890e6a642f2969f9513cf SHA512 f6cd5bb70d839c7f0a17da9635c3363d1073f590fb53518a2c603a1a93f03742e135f86105494852ae343c699a9de8a3286fd150ef9074d8a51727c61c5a55c5 diff --git a/dev-python/grpcio/grpcio-1.75.0.ebuild b/dev-python/grpcio/grpcio-1.76.0.ebuild index 85498c6e12d9..85498c6e12d9 100644 --- a/dev-python/grpcio/grpcio-1.75.0.ebuild +++ b/dev-python/grpcio/grpcio-1.76.0.ebuild diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 271137de443d..7100f5f39dd8 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index a9450e56c7dd..21ee2378476f 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,2 +1 @@ -DIST pdm-2.25.9.tar.gz 2664950 BLAKE2B e5ed047e0198b464ca4b201388cfe8d8afc0be577791e8730fac111c9cd457990f8dc834d19219b1c855124bbde69ff3d1eda94f2d39d02248fc49816951aa52 SHA512 401506dba65c33ac4790fffaf5c91b334b0b3e58fc5a769ad0599784121cbd16ff8e0dbf934aebc85cb8b81c1fc86e377f494ec6acb91a86e94725a08cd216b9 -DIST pdm-2.26.0.tar.gz 2671157 BLAKE2B b215960d0f8b3fe1f327fb3a8a048270da7879765d106cdbe46b3fc95e87424aa3c1e036401c30b6cd85f555d5c9a445f1a1fb1507fe0c82e817453b835baf7b SHA512 dcab85915a8bf9f33b55728bf989633d3c36c327c58891824c5d38be4b51bc2531f891072b0518e5296072b1f4746c4ca4b0e70f8c3ef306b0f93f66d128c6dd +DIST pdm-2.26.1.tar.gz 2671172 BLAKE2B cb0360e4973adf162c5980158633df6e64b3164e4af8b1f741ed613141b6b46b8bf3dce5306991b46a3d1f6b9a7e70da1c9bcbcc4326502578cdbd0aff548502 SHA512 b51f15441ae1b71b4efadb6a74043a717ec1b7247091b665129c38b32b6514392c6b2d274a3667f38d7ba477d666eeeb3696b082dc2ec287ca8857fb51c12854 diff --git a/dev-python/pdm/pdm-2.25.9.ebuild b/dev-python/pdm/pdm-2.25.9.ebuild deleted file mode 100644 index 63cbbf3ed0d9..000000000000 --- a/dev-python/pdm/pdm-2.25.9.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" -HOMEPAGE=" - https://pdm-project.org/ - https://github.com/pdm-project/pdm/ - https://pypi.org/project/pdm/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/dep-logic-0.5[${PYTHON_USEDEP}] - <dev-python/findpython-1[${PYTHON_USEDEP}] - >=dev-python/findpython-0.7.0[${PYTHON_USEDEP}] - dev-python/blinker[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - >=dev-python/hishel-0.0.32[${PYTHON_USEDEP}] - >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - >=dev-python/id-1.5.0[${PYTHON_USEDEP}] - dev-python/installer[${PYTHON_USEDEP}] - >=dev-python/packaging-22.1[${PYTHON_USEDEP}] - >=dev-python/pbs-installer-2025.06.06[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pyproject-hooks[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - >=dev-python/resolvelib-1.2.0[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - dev-python/shellingham[${PYTHON_USEDEP}] - dev-python/tomlkit[${PYTHON_USEDEP}] - >=dev-python/truststore-0.10.4[${PYTHON_USEDEP}] - >=dev-python/unearth-0.17.5[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/uv - ) -" - -EPYTEST_PLUGINS=( pytest-{httpserver,httpx,mock,rerunfailures} ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die - # remove pkgutil namespace magic, as it doesn't work and makes - # dev-python/pdm-backend tests test the wrong package - rm src/pdm/__init__.py || die -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' - # unhappy about extra packages being installed? - # (also fails randomly in venv) - tests/cli/test_build.py::test_build_with_no_isolation - # TODO: random regression? - tests/cli/test_python.py::test_find_python - # TODO - tests/test_formats.py::test_export_from_pylock_not_empty - ) - - epytest -m "not network and not integration and not path" -} diff --git a/dev-python/pdm/pdm-2.26.0.ebuild b/dev-python/pdm/pdm-2.26.1.ebuild index 8cfea1207e9d..471048299cd0 100644 --- a/dev-python/pdm/pdm-2.26.0.ebuild +++ b/dev-python/pdm/pdm-2.26.1.ebuild @@ -26,6 +26,7 @@ RDEPEND=" >=dev-python/findpython-0.7.0[${PYTHON_USEDEP}] dev-python/blinker[${PYTHON_USEDEP}] dev-python/filelock[${PYTHON_USEDEP}] + <dev-python/hishel-1[${PYTHON_USEDEP}] >=dev-python/hishel-0.0.32[${PYTHON_USEDEP}] >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}] diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest index 6e752fab18b1..5eac3b5bfef1 100644 --- a/dev-python/pyscard/Manifest +++ b/dev-python/pyscard/Manifest @@ -1,3 +1,2 @@ -DIST pyscard-2.2.1.tar.gz 156518 BLAKE2B b68dace8a9b4b6cdae20b23d6e7d8838e0ad64e229d5a3a5e4a8fc5c1edeb16a6d7bd162c57cfdd7d5e5c56c0370f121a71e498e463b42b509bc97dce10ef14c SHA512 7a09211743c56473e7c1d034acf4b08402b41462da36b35fe45617511dc9bc5fa704e0d1d5102277a44c4aee216e84b019b5cff188eda255b32de0c7517c58d3 -DIST pyscard-2.2.2.tar.gz 156637 BLAKE2B 459857bd1f287c030e7e0b6e34f7ef95cfd00175f46be6062cd9c6f4a945a0e0128a6d698441724f37aa109012721ae16f673cecb1656bc78a8ccae4c12a5a05 SHA512 294908fdb8b7fae0fc6f45aed7837eba65ff6163df5df6168cc4dad9c2c33a6df89c19ec451bc6a08fb2d9d32d5ef49bb37298e8e70af9e098c0d0563e901f9b DIST pyscard-2.3.0.tar.gz 159897 BLAKE2B c707b9d1e3c07e676872f240402162a203cd0d81404f546aad145bed52c3da8ef6a948b52e841a8c35ef94f4186b67d113da621c5326bd27a21f3b7b2a1bb6a2 SHA512 92e1819df1fa6d0447bba5bbedf5b4db98f93c30f71eb33009e2bedac62f34f3c3fa530de5bd62eb00e02ab13f5ea2616bc5a47d3b7a562124bb397efa927329 +DIST pyscard-2.3.1.tar.gz 160650 BLAKE2B dd367b4d459eb413a6ef6c22440f07e191548a4b9f2c7d60a5fa1dfedc76f6f86b5b7937f4a1b733e748d3e9312997eeb8fc56fca589993992a299b44a74959f SHA512 8871e676ecd7fb1c5bbdc95d7fe6a431c977e4753c2ca7512f39ff38f4a92f0b88c1e990f1b36848c0005b20097c2dd7a823bb418c7c8fea0e368e24316e95e6 diff --git a/dev-python/pyscard/pyscard-2.2.2.ebuild b/dev-python/pyscard/pyscard-2.2.2.ebuild deleted file mode 100644 index 75bd03088e2b..000000000000 --- a/dev-python/pyscard/pyscard-2.2.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-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..14} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Smart card support in python" -HOMEPAGE=" - https://pyscard.sourceforge.io/ - https://github.com/LudovicRousseau/pyscard/ - https://pypi.org/project/pyscard/ -" -SRC_URI=" - https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" - -DEPEND=" - sys-apps/pcsc-lite -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-lang/swig -" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "Gui support" dev-python/wxpython - optfeature "Support of remote readers with Pyro" dev-python/Pyro4 -} diff --git a/dev-python/pyscard/pyscard-2.2.1.ebuild b/dev-python/pyscard/pyscard-2.3.1.ebuild index 75bd03088e2b..c441cd70f29c 100644 --- a/dev-python/pyscard/pyscard-2.2.1.ebuild +++ b/dev-python/pyscard/pyscard-2.3.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" DEPEND=" sys-apps/pcsc-lite @@ -33,6 +33,7 @@ BDEPEND=" dev-lang/swig " +EPYTEST_PLUGINS=() distutils_enable_tests pytest pkg_postinst() { diff --git a/dev-python/python-gnupg/python-gnupg-0.5.5.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.5.ebuild index cec7c761d70e..023942b27f6a 100644 --- a/dev-python/python-gnupg/python-gnupg-0.5.5.ebuild +++ b/dev-python/python-gnupg/python-gnupg-0.5.5.ebuild @@ -28,7 +28,10 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~spar # Need gnupg[nls] for avoiding decode errors and possible hangs # w/ e.g. sec-keys/openpgp-keys-gentoo-developers but other pkgs too. DEPEND=" - app-crypt/gnupg[nls] + || ( + app-alternatives/gpg[reference] + app-alternatives/gpg[freepg(-)] + ) " RDEPEND=" ${DEPEND} diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest index 7474a88874e8..f6680752bd67 100644 --- a/dev-python/scipy/Manifest +++ b/dev-python/scipy/Manifest @@ -1,2 +1,3 @@ DIST scipy-1.16.2.tar.gz 30580599 BLAKE2B aec4039fe5798365fbe5147a4d6acea61e408ad0a533da4a3602e3c03a5a495f693b9b998a0417524621e6414e3bc847339364d6536e6b489cff43931253c87d SHA512 6b5c1ab6236af5d40850f8b77f8d47494dda9bccf814908ba306b4b3710359d18eb0dd880c05dc4f334cc298d0a2d54d271d5cd5b519190fcfba58524b1d8dce +DIST scipy-1.16.3.tar.gz 30597883 BLAKE2B ba026013ecfdc9329ec6140bf32f8de61e141b645c5a35ad5dc38276ac4df296fce0091675177daaf3d65f2cb797783365df306397e1643d50508e343daaa325 SHA512 7386670d2be598f46425a5f2ac0194748c83ec006be0b0395a850a613bc12731669469aefe503c9db2521aba956325d44e7a75fa82e4c1e629202cafd1966aa5 DIST scipy-html-1.16.2.zip 71516578 BLAKE2B 244537f823e39b52e0b00df63f8f36088f5ef17e365f98415d1573883e9c0eee3f4376b149eaea9b70b34b34a294aeafae9f849050ab8161a8ecdb24172c2876 SHA512 15df0c7211cc4d32007b54015efc17edd1c9b23e8892b748ab946c5c1ea3e1840a00d9005b585cc0c6416bcef1e490f54ff919d3c0140ed95d8e469836751d5c diff --git a/dev-python/scipy/scipy-1.16.3.ebuild b/dev-python/scipy/scipy-1.16.3.ebuild new file mode 100644 index 000000000000..8b093c5fa0f5 --- /dev/null +++ b/dev-python/scipy/scipy-1.16.3.ebuild @@ -0,0 +1,191 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_NEEDED=fortran +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit flag-o-matic fortran-2 distutils-r1 + +DESCRIPTION="Scientific algorithms library for Python" +HOMEPAGE=" + https://scipy.org/ + https://github.com/scipy/scipy/ + https://pypi.org/project/scipy/ +" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + # Need submodules, so git for now. + EGIT_REPO_URI="https://github.com/scipy/scipy" + EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" + EGIT_SUBMODULES=( '*' ) +else + inherit pypi + + # Upstream is often behind with doc updates + DOC_PV=1.16.2 + + SRC_URI+=" + doc? ( + https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip + ) + " + + if [[ ${PV} != *rc* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + fi +fi + +LICENSE="BSD LGPL-2" +SLOT="0" +IUSE="doc +fortran test-rust" + +# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND +# to actually compile code generated by pythran (headers and such needed). +# +# umfpack is technically optional but it's preferred to have it available. +COMMON_DEPEND=" + >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] + >=media-libs/qhull-2020.2:= + virtual/cblas + >=virtual/lapack-3.8 +" +# Only boost.math is used, and meson.build doesn't even look up specific boost modules. +DEPEND=" + ${COMMON_DEPEND} + >=dev-libs/boost-1.88.0 +" +RDEPEND=" + ${COMMON_DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" +DEPEND+=" + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-lang/swig + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.13.2[${PYTHON_USEDEP}] + >=dev-python/pytest-8.0.0[${PYTHON_USEDEP}] + >=dev-build/meson-1.5.0 + !kernel_Darwin? ( dev-util/patchelf ) + virtual/pkgconfig + doc? ( app-arch/unzip ) + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) + test-rust? ( + dev-python/pooch[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + +src_prepare() { + distutils-r1_src_prepare + + # unpin system dependencies + sed -i -e "s@version : '@&>=@" meson.build || die +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + -Duse-pythran=$(usex fortran true false) + -Duse-system-libraries=all + ) + + # https://bugs.gentoo.org/932721 + has_version '>=dev-python/numpy-2.0.0' && filter-lto +} + +python_test() { + # We run tests in parallel, so avoid having n^2 threads in lapack + # tests. + local -x BLIS_NUM_THREADS=1 + local -x MKL_NUM_THREADS=1 + local -x OMP_NUM_THREADS=1 + local -x OPENBLAS_NUM_THREADS=1 + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + + local EPYTEST_DESELECT=( + # Network + scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all + scipy/datasets/tests/test_data.py::TestDatasets::test_ascent + scipy/datasets/tests/test_data.py::TestDatasets::test_face + scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram + + # Crashes with assertion, not a regression + # https://github.com/scipy/scipy/issues/19321 + scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object + + # Awfully slow tests + scipy/interpolate/tests/test_bsplines.py::TestBatch::test_batch + scipy/linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact + scipy/sparse/linalg/_eigen/tests/test_svds.py::test_small_sigma_sparse + + # TODO: minor precision errors + 'scipy/linalg/tests/test_batch.py::TestBatch::test_solve[float32-bdim2]' + 'scipy/linalg/tests/test_batch.py::TestBatch::test_lu_solve[float32-bdim2]' + 'scipy/stats/tests/test_continuous.py::TestDistributions::test_funcs[cdf-methods11-x-Normal][' + + # Crashes, probably too big + 'scipy/interpolate/tests/test_fitpack2.py::TestRectBivariateSpline::test_spline_large_2d_maxit' + ) + local EPYTEST_IGNORE=() + + if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then + EPYTEST_IGNORE+=( + scipy/datasets/tests/test_data.py + ) + fi + + if has_version -b "sys-libs/zlib-ng[compat]"; then + EPYTEST_DESELECT+=( + # https://github.com/scipy/scipy/issues/23185 + scipy/io/matlab/tests/test_streams.py::TestZlibInputStream::test_all_data_read_bad_checksum + scipy/io/matlab/tests/test_streams.py::TestZlibInputStream::test_all_data_read_overlap + ) + fi + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # TODO + scipy/special/tests/test_data.py::test_boost + scipy/_lib/tests/test_ccallback.py::test_callbacks + ) + ;; + esac + + # avoid other stuff being multithreaded when using xdist + local -x PYTHON_CPU_COUNT=1 + epytest scipy +} + +python_install_all() { + use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/setuptools-gettext/Manifest b/dev-python/setuptools-gettext/Manifest index 0e11bd41e0d3..93a5c96fdff6 100644 --- a/dev-python/setuptools-gettext/Manifest +++ b/dev-python/setuptools-gettext/Manifest @@ -1 +1,3 @@ DIST setuptools_gettext-0.1.14.tar.gz 16177 BLAKE2B ad34ca37db52bdb2d317592e76e765636402ea2e656af22e31e7e2dfd59edce88003b14d4180b9b77b402ae2b53dcb9cebb0e065753272387bdaeee3af6baefd SHA512 40a76eb94173f704158dc676d332c436b81d11f2045276622cee2ab08636b988f3e95fa60bc4fdeeb72334d2daa51e56cd394f441479221b266e187bda2b928c +DIST setuptools_gettext-0.1.16.tar.gz 16842 BLAKE2B 1af9cac3b9f982fb39b17e9d8e2e0dd1dca6fa31e0ee280869f9c0c71960e85eeda6586126cf7301b8fc79779dd4dc33a3e53232ccd22ad202ca8a5a9279deb2 SHA512 5a9c54b3c7186a37896b7ff7cc07b20566161bf169b1226d0cb9d9ea677e24a3dff01b180f41a900943090eb4d0c8bff5fcc042dc403f6a028af13cb4f628a15 +DIST setuptools_gettext-0.1.16.tar.gz.provenance 10155 BLAKE2B 7239719ea7a6ee9309f637bc340f2be489044d1e558f2845a56f5dd9cab3d28a6414c0335827a61ad4c22ad48c96666030f457fcf13cf4d7e34253a90a69f0b6 SHA512 7c6f679f17d40a9e40e480a8aad3516d89aa787195b6b89764af3fcad845d5ba93f3ecf9169890bb43e600f9e2d0d92909a8d25c728c90930198cf8ddbd2a73f diff --git a/dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild b/dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild new file mode 100644 index 000000000000..b940dd12fd36 --- /dev/null +++ b/dev-python/setuptools-gettext/setuptools-gettext-0.1.16.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/breezy-team/setuptools-gettext +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Setuptools plugin for building mo files" +HOMEPAGE=" + https://pypi.org/project/setuptools-gettext/ + https://github.com/breezy-team/setuptools-gettext/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/setuptools-61.0.0[${PYTHON_USEDEP}] + sys-devel/gettext +" + +python_test() { + cd example || die + distutils_pep517_install "${T}/${EPYTHON}" + if [[ ! -f ${T}/${EPYTHON}/usr/share/locale/nl/LC_MESSAGES/hallowereld.mo ]] + then + die ".mo file not installed" + fi +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 76d80d1a4853..0da8e5449755 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,6 +1,5 @@ DIST sqlglot-26.33.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d DIST sqlglot-26.33.0.tar.gz 5353340 BLAKE2B 18ace866ec89ced24911803497e8cb5c55fc6c157bf62b893e90df914b8be3360403ffff67f196080cdef9b9b9078b86d471494ae9768e7947a8b4d5d39e49af SHA512 df38e899d59bdd07aca0e5370833133308f9c5be4d0c990bf8112a48776fae034b622938aba968769aa5dc5e2957d56da48c89045b91b2d33783e6e25acc4a7b DIST sqlglot-27.24.2-crates.tar.xz 8973180 BLAKE2B f893ebe4b94d4c2ab94f8fa902e51066e861511f698b24660d5becd31a98837c5a7f23a3d80c0716e8017012ae61f7202440c0092e1417e5f61b62e2e9f4260b SHA512 6a92b1ba2fbb51eac170db7a927927f8a06f184ebf820107a813c9cfa4dcdbea794199090a33986b48f5f00b3f43b404b7e1d26f5bf9663c53cb2b8f134d69af -DIST sqlglot-27.26.0.tar.gz 5490283 BLAKE2B 6492b62b6bef8f1b6c1a756896800429996b873a8b58264224e26c00e6c4fb4ff2f99dd595acb6021320c0fa6fc7838d9ca6a29966ce602797c100ab1cb64ed8 SHA512 2c76505c4c4a61d0f8f3ad294f8b3627bb63458c233d807db2ac89d7b12522b3e1caadef361eef4acc99507c9035a00e873aff9bdf1748b28b5fec3d0d4e8747 -DIST sqlglot-27.27.0.tar.gz 5491023 BLAKE2B aa08211b3ee5c695b0f52558c4665a7cbf1dd373d87e15df6fff4828cdb728c2580c44231bd591cab25fb7a1e6a686b6d052b67cae1042911470c34aadaeaa61 SHA512 1346cd22c958f23da326d86f4d1ff425df4150ce51b6e00673b34c2d5cc28d3c32a0eb75dd0793db6ae0f3d37be778bc29c007dd9b348462d0410e941498c159 DIST sqlglot-27.28.1.tar.gz 5498876 BLAKE2B 7adc2c5fe063f3ba98ad9f37471c2a0d4eed36c4a110cfde2531783dc17118f495d111f0f27eb37f6562c6db7e8b5eb20689d25b71d01edafa51c3bf265ece16 SHA512 e8d2d43622906510dc003c62c074336e19631c679b7c77f7afd527115744a0076c14cf179bf1d3929a15bd8af5e26d125e34cb286274ee047f8b4da19fb0859a +DIST sqlglot-27.29.0.tar.gz 5503507 BLAKE2B f9c92b8f287ca4c99c792d005e62846afd669ba27b5d09042de06c8c3fa5e46b21abdf5134cc81ae3ae2cb13d0a5997c56ac07c14e5fb938544d5dbc08c70632 SHA512 5fc7a8a81b39a2dba007b501f1f5c2de9fa1e74b39d44e1bea706491db1ead0329aa2fbfb7c4997a50458137af70d259a227a8662ac26ba2904dde2b66922bb1 diff --git a/dev-python/sqlglot/sqlglot-27.27.0.ebuild b/dev-python/sqlglot/sqlglot-27.27.0.ebuild deleted file mode 100644 index 994fd0fba3eb..000000000000 --- a/dev-python/sqlglot/sqlglot-27.27.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -CARGO_OPTIONAL=1 -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) -CRATE_PV=27.24.2 - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - https://github.com/gentoo-crate-dist/sqlglot/releases/download/v${CRATE_PV}/sqlglot-${CRATE_PV}-crates.tar.xz - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 -" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -pkg_setup() { - use native-extensions && rust_pkg_setup -} - -src_unpack() { - cargo_src_unpack -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-27.26.0.ebuild b/dev-python/sqlglot/sqlglot-27.29.0.ebuild index 994fd0fba3eb..994fd0fba3eb 100644 --- a/dev-python/sqlglot/sqlglot-27.26.0.ebuild +++ b/dev-python/sqlglot/sqlglot-27.29.0.ebuild diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 9a707cf678b0..415fec7f6c58 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,2 +1,3 @@ DIST stripe-12.5.1.tar.gz 1432826 BLAKE2B 84afb1f9dd9fa4b38d8781c7942d8ec2599c8f4a0552a3a39276beaaa6539c1d2ba07ef5b74493e13310310b29f803c37388bef3e46201d535c82babe2fc2e41 SHA512 037b1e45aa8be075eaec437a41a0701dd792324564fef8ffeee0b2a1428a52070e34c2ad5d40b10e31965daa4d83cc46024886e0527aac7961b9a5eef1b4ceed DIST stripe-13.0.1.tar.gz 1263853 BLAKE2B f210b2c69afbf5d25b78857f125e5cf28ec6189fe446065e5d069448a808f5c8269d0461a09d37fa74ed15d8f112d00814a0735e2be524e4ae7c67b4f9b70f9f SHA512 ae747f381433cebe577a312be25aaf8cbf6b46a993fcae5ceaa372ccaa41ae77f80441c3036045db3d85d6d591af38d82c652f448d81cd630103e5e745d98f35 +DIST stripe-13.1.0.tar.gz 1356892 BLAKE2B e1b5ea2ae680d2573debb589cb5e35b09f5b245bfd032991650f1a125ed889efd7565d4ffc2aaf59f2cbd95e7838ebee81f59faa6eb450c1f956cf2cb305e5c7 SHA512 26c97866b457ac24cc20559e4889d4893cefc64e3184ba72fd7f7a71265b9674400322441c5170220d1eb9aa6004d20b5e5280d04dc3c6056b6937be10a8271a diff --git a/dev-python/stripe/stripe-13.1.0.ebuild b/dev-python/stripe/stripe-13.1.0.ebuild new file mode 100644 index 000000000000..5b0096f2ce7b --- /dev/null +++ b/dev-python/stripe/stripe-13.1.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe Python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="telemetry" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.197.0 + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +EPYTEST_PLUGINS=( anyio pytest-mock ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + if ! use telemetry; then + sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_http_client.py::TestLiveHTTPClients::test_httpx_request_async_https + 'tests/test_integration.py::TestIntegration::test_async_raw_request_timeout[asyncio-aiohttp]' + # timing + tests/test_integration.py::TestIntegration::test_passes_client_telemetry_when_enabled + ) + + epytest tests +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 8c3f30c4719f..89261a4f63cc 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1,2 +1,3 @@ +DIST testfixtures-10.0.0.tar.gz 147464 BLAKE2B 9bd52f612441d4cb44ef35174155cfe10b02a7f243c418957969e1d65075af20e9fd4aba4aa92786924e0620c710cb51bb210382ca7c83e8c8e3bece924d8c51 SHA512 64585315fb9a05957f262f9da289256d3155d41ced026388f7d8efc0c42052bfb24dbb1573609d2909321d62e5fc833e2fce6623615661ed8689147746ef2d70 DIST testfixtures-9.1.0.tar.gz 88605 BLAKE2B 0ff23f49f24b5bf94cce28b828ffb0f6549f74a4a969c8c65a3abfde44c9903a1d9680b051438b1e3771332e6801f35f7d066de1b7ae8615372583a04a8663c3 SHA512 f1f16be2fb21475e4852f6a1e80eb53d3a702c4748f3bb5abb9dd955020ba0bc823ee910bfec87bd93a4aaa94bd20eff6f061af668219f916b8bb4771ec8f103 DIST testfixtures-9.2.0.tar.gz 90563 BLAKE2B 3debb106323ba167e818c3ca29028d0729d6be3a82b18120c79855a946ba0c1718c9161b67c735680aa9fd9288fda1b7b6b695bf04947dbcc552e4e69ab5bae8 SHA512 ba678629b3fc68b56b283ee9073f251179fe9d8f15ea75ccefce57389e14b33a9172a3a9a46f78e47fbc327bdf49d5d36850393298c6cc0602d7812e7b8715c9 diff --git a/dev-python/testfixtures/testfixtures-10.0.0.ebuild b/dev-python/testfixtures/testfixtures-10.0.0.ebuild new file mode 100644 index 000000000000..144c96f4997a --- /dev/null +++ b/dev-python/testfixtures/testfixtures-10.0.0.ebuild @@ -0,0 +1,51 @@ +# 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..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests" +HOMEPAGE=" + https://pypi.org/project/testfixtures/ + https://github.com/Simplistix/testfixtures/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/sybil-6[${PYTHON_USEDEP}] + >=dev-python/twisted-18[${PYTHON_USEDEP}] + sys-libs/timezone-data + ) +" + +EPYTEST_PLUGINS=( pytest-django ) +distutils_enable_tests pytest + +python_test() { + local -x PYTHONPATH="." + local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings + + local EPYTEST_DESELECT=( + # TODO + testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing + testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present + ) + local EPYTEST_IGNORE=() + if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + testfixtures/tests/test_twisted.py + ) + fi + + epytest +} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index f8cbb2fe3a18..c1445c2a3875 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -2,3 +2,4 @@ DIST uv_build-0.8.24.tar.gz 332743 BLAKE2B de8e695ab1b41139dd6a8d78ae8f895ae4e46 DIST uv_build-0.8.6.tar.gz 318772 BLAKE2B faf4f36b32cf308d3c70d52b84bd135d108db4018bc4c7eadf193448e422fe8b0deb1cf68f7264413152697708f9a15748a017d0ece151c19c1677916b3727b9 SHA512 da83c3ba7f2daa1c39a8bac5b18635eff4afc93460ea23b770518ebaf44bef573654e272c117e257f4126124c71a5b661f2751ff36be792c03ee28f257d1eddc DIST uv_build-0.9.3.tar.gz 332769 BLAKE2B 8e813d289d59d2bf8ad4eaffaeb1c8525acaa36215ff9d8e1088ec4fd2ba6d7ac971251c144748805950c0934c24e9c141a860e5ef7332e71d049080852817f1 SHA512 bc1231a3aaaf77b80404281675241b8a27a328100128ec12160f29b574c1f6505a021d18bb5d8a4a23017d73cb8804d6bca5b1c8f27deba823d248744a231cc8 DIST uv_build-0.9.4.tar.gz 332506 BLAKE2B 3b65cc80192cf3abc33bcf01735c8b7f937a12f2dcd0557d0ae255ce8bd4cb7dbb15522e73802be0e17ac10c4acad6f9075f12d5f853bb1881b0c13f1d120b33 SHA512 c3be52cfbc1cf5a229df91d9e1125925a534e3fca3041e29a16edd2334fa28b055c73e21a6bd1a3d1d63924cf8f112645300530e8cb6139fb549499ca672070f +DIST uv_build-0.9.6.tar.gz 332253 BLAKE2B 2c3fa23dbe36b0866a3a3194b07ee1212cb00acd785c375646c3eb6c97a63435f28c9e934f56c8d6feeec145aace1aad37550b85ae2a611f521fc25a4c7d3bc1 SHA512 e8d8bbd46c92722261722f3d8865b2b24e695edf52652c1d1310adae3cb437ebef5397feda90e3bf863394ca75cf3024eb90a5f80b2b92af24ede4e2f81b0ce1 diff --git a/dev-python/uv-build/uv-build-0.9.4.ebuild b/dev-python/uv-build/uv-build-0.9.4.ebuild index f764f5ef14cf..4c49e06dfbd3 100644 --- a/dev-python/uv-build/uv-build-0.9.4.ebuild +++ b/dev-python/uv-build/uv-build-0.9.4.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/uv-build/uv-build-0.9.6.ebuild b/dev-python/uv-build/uv-build-0.9.6.ebuild new file mode 100644 index 000000000000..fe8e9650d15e --- /dev/null +++ b/dev-python/uv-build/uv-build-0.9.6.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 0de57485244c..68a3c56e0413 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -12,3 +12,5 @@ DIST uv-0.9.3-crates.tar.xz 46057388 BLAKE2B 1fb8f46cdbebed4877d68a32e03932d3c7a DIST uv-0.9.3.gh.tar.gz 4746738 BLAKE2B 9a1e40dab76aeb3d1378ecc373470ceba6eaf69d1a40bcfff66530857af88f2609d2e13c433142a9cdfcea97d7eab36d6b86f9673270f8b101ab9f4b3a4720de SHA512 1557b620c089c8871e5c3f9507c96a8aaf4f81cf6d3b8fe7b83fd170fcd9cd7eb2d404d6ee0cde92e4ec298817a0cb329bbfc0217525a1bd3745783bf909c56e DIST uv-0.9.4-crates.tar.xz 46093644 BLAKE2B bdce4b138718b91a67ccb36e6d8839358ab2ddeeedec3017bc245b0717e32d890a41f8c9c831983681ec715ce458efa8d43356c189b9b7457df3e71122924e3f SHA512 7047b68db7e05abb6a399250a4a531499985d42f12eff61ad1557823b37d62576b38b51ccbe39a02bc9a98af6341de728466b262c49bb48dd30abb64eb804660 DIST uv-0.9.4.gh.tar.gz 4749319 BLAKE2B b46d44830f7a2a621f3ab420db85e9d999b7c42ddebc21403ea2f11e819e8295af37049f1529848a3fd83ef87ac0de26ce1e1c03bf4177c3032b9adfd6dfe1e8 SHA512 ae11c1e777e3d0e036f0a665e2edfb9a4b5b50a9e107d795113b626bc16d406d3fca12e8a133185e54279b2a64f8e3d276372cefc9a96b2ac5f1ed0ece2c10b0 +DIST uv-0.9.6-crates.tar.xz 45696768 BLAKE2B 96cff52c0e5477c4e9648e3863d32bde4b34a1a46b6d96703c48fe340b655319e951471aa6403c09818c313a59b0e54804467efa7e13a8410de34299a98f077b SHA512 46964460f3404304faefd1758bb07bcddf1d48efbdd2b890ddb0d2623841e1a0c86108ac3c9312ed8e2f8fcaefbf9b022b57cd6074fdb6d52f43c35e3b3c2d32 +DIST uv-0.9.6.gh.tar.gz 4756506 BLAKE2B 382f6f2ae6669dc58623f2d3bd22b18dd3d73d6a84ab101714a894d52a697bc8e5d7e509b7c54930f79a440008da6e03749c8debe98c0a762d2b305b34b667b7 SHA512 48e8271ab5efc72b1124e1b6f4e4d5f895bce64d105d81317257a7d017d919edd55e1084ec1de504eb6959cb70f475d6f3ea23fd8fe708272e79701b7684d93a diff --git a/dev-python/uv/uv-0.9.6.ebuild b/dev-python/uv/uv-0.9.6.ebuild new file mode 100644 index 000000000000..5c9e7094598b --- /dev/null +++ b/dev-python/uv/uv-0.9.6.ebuild @@ -0,0 +1,183 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.88.0" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%/version-ranges' +) + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 + ZLIB +" +# 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.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # replace upstream crate substitution with our crate substitution, sigh + local pkg + for pkg in reqwest-middleware reqwest-retry; do + local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) + sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die + done + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +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 +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index a56fa9c6a9a8..bdd2aabbd5e3 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -2,3 +2,5 @@ DIST virtualenv-20.34.0.tar.gz 6003808 BLAKE2B ea13d8952b67c1b9fc1547d726b014d8d DIST virtualenv-20.35.0.tar.gz 6005345 BLAKE2B 4bc6d0a7a05b60213f7cf934515ca7798398e5f09aebcd8093ac66ab600c82bb4ac7ab771146a0593c1c5b9eb83f1eeea1b299e13e96b63ecd1d6ca6ea8fdd00 SHA512 dc64f305a660f503d7e81195d0c6571a1e5f5fc586912d2c35a2d206859400bd763061f745851e753dfe905c60a1f6d5408f7c8ec0e9a3140554e941a7a0331a DIST virtualenv-20.35.1.tar.gz 6005687 BLAKE2B 48bf0a424729d370c2609a751520c37a0fcea8d053dff301d82c860198e0c8ceb22c0c9edb5500f4f772f0b9e701f254b50ae66c28c389202ce06ae4f637a5bf SHA512 28e1ee65df10569116509dddeeaf1be435547ac865ff2b29dccf681728a5cd758e27d09cc4cbcd41d646bc9185c2a7abef70e00deb3909af6dc28d91168c17f8 DIST virtualenv-20.35.3.tar.gz 6002907 BLAKE2B 8063752921737a6befbcfb94edaf82a45c726fd45cc5480825d891a9c259076f6bbdeb252d49999f2ad1f641a5e0714d2e9450fa5c59df04ad6f3805694744e2 SHA512 620061cfb7c291b76a7bee161664d935d602b0deb7768a94e341ae83d2b841f25bc658ed46e663bf7980142c9fe4f829ca47e3ee67c66f246f5d3fe243273b26 +DIST virtualenv-20.35.4.tar.gz 6028799 BLAKE2B e4796544d04a5cf71b2f0c98c8b09e08db6b09613048a86948fe19d4359cf1c32a298e246c76b7342ea18c840b74c0fefe731ef84d6d43f4319075263518b293 SHA512 07027f64631416c535ca7c262dfcf753a961e2371c5b8562b0921ff9eb873b76e7380910f4080845ee329f59f295816376e8ff9d1f328a2efcc40e87157a1741 +DIST virtualenv-20.35.4.tar.gz.provenance 9393 BLAKE2B 5e95b323b078ef6d520bd4463a272f9ae11ee5d182e44be80d95d67667375059504f882b85e329e42d42cb66b0cfc86a301ad60ec91885c88d69c9f0e115175b SHA512 f4b7cef5f95fdfeb7ea04ee5f90fe705079580ed4f4d519f4551d138c6a5fad73c862ee67681841ac1d2e258c8aac137ffdd468fd72b442d4c7a7713e7dc0192 diff --git a/dev-python/virtualenv/virtualenv-20.35.4.ebuild b/dev-python/virtualenv/virtualenv-20.35.4.ebuild new file mode 100644 index 000000000000..7e7d135ba09d --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.35.4.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' python3_{11..14}) + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' 'pypy3*') + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-20.31.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + ) + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # these don't like the executable called pypy3.11? + tests/unit/activation/test_bash.py::test_bash + tests/unit/activation/test_fish.py::test_fish + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) + if [[ ${EPYTHON} == pypy3* ]]; then + EPYTEST_PLUGINS+=( pytest-freezer ) + else + EPYTEST_PLUGINS+=( time-machine ) + fi + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/yt-dlp-ejs/Manifest b/dev-python/yt-dlp-ejs/Manifest index b165c13d689d..dd4bc84b47f6 100644 --- a/dev-python/yt-dlp-ejs/Manifest +++ b/dev-python/yt-dlp-ejs/Manifest @@ -1,2 +1,2 @@ -DIST yt_dlp_ejs-0.2.1-py3-none-any.whl.zip 53089 BLAKE2B 6ed77e2dc62ad7a297997bcaca103b849d71d5d5b041f3be083e753bcab84739e272f85a382784348b8a759045e28c4db31c0827681e0cd53315f05edaf1e604 SHA512 88748f566cb01db4f3a93c233d0b89eb114f423fd64669ee5cf3247569881071cb55002219a48bae6417de9ea84e20ba1771565ee8a0c0bb992d88fbaafa6786 -DIST yt_dlp_ejs-0.2.1.tar.gz 12732 BLAKE2B be5312f9cc450060c57238e7a5fc7c06503b5a74c5db9ce9efe9cc7dcebb79944337e20e470dc278eadb4bf99a5d72841802e094b7fe2e72836a11a6458650ae SHA512 8a1b7a0a7d820e5bb4cdac4dc19c66a1cf39dfd927f8c84e948d84a73185f8d86f7c512334dcb4a27597e116f465471f1ea84a87775bbe3b00d3a4e72398c974 +DIST yt_dlp_ejs-0.3.0-py3-none-any.whl.zip 53157 BLAKE2B 172de8237ee2a69c77507b6086c5cdbf76425caf8730f4234fa9d233645c911b6a6ff04390b80de8a02dc541f477ce2d5696dde057828ae3b84e8903d673f9b3 SHA512 c3544c61515e889f6edb6d13ee3fcb53a4f852373f1ed1e30d7de8b03e17384286fad25cd9c3be41a2e2864aa36655268ba042fac3655c81812b802b75e78603 +DIST yt_dlp_ejs-0.3.0.tar.gz 33775 BLAKE2B acdeaed46d6bad87532d4b3008e6be35f787ce061473b4b0f808d83b5c5502c03e1aa3b068ee1cdd5aeb8f1c180e79d212dd9ac6ea32a834661b3d7c1c57bc5f SHA512 e76b306f0e1a943a2b337c61cf05ad75f880db6ff8744f1c4b5292874024b8f5a991a5c00e5f55eea1beadca9a6cad0f09c82f57b72b34c4bdc1a7bf637ac93f diff --git a/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.2.1.ebuild b/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.0.ebuild index 3ac5a336dc85..3ac5a336dc85 100644 --- a/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.2.1.ebuild +++ b/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.0.ebuild diff --git a/dev-python/zope-i18nmessageid/Manifest b/dev-python/zope-i18nmessageid/Manifest index 10f0d8535e4b..ad2d8a0ea052 100644 --- a/dev-python/zope-i18nmessageid/Manifest +++ b/dev-python/zope-i18nmessageid/Manifest @@ -1,2 +1,2 @@ -DIST zope_i18nmessageid-7.0.tar.gz 27929 BLAKE2B fbe19aec71001b4779a390cf0fc596e86667e149900cf04eebb4d2b50a3cdad8f1bbd0f81c88e8841534540dacf4fed3ef91a1519d3364b32132c7c5f833f8c1 SHA512 91256e68fab4db59b6220f67ef42e09896f3643bea472218fbeefdea248a52fa018a7e6bef4777b5a02aa878195cc3e51d0408e96fcaef02747de4cb0fc0add6 DIST zope_i18nmessageid-8.0.tar.gz 26924 BLAKE2B 929b5df9de131ca5c5951a35f48b1092aa768c7a67cb9608dddf51bd2b7d1db4702d70591af3fb3fcdd9ac7db881245c89b69460d4a438ac3c0a3bdb8483d807 SHA512 a996ff5cc03c48fd8d203e7a67fce463958d404bbaa31d27103de2b60b847217f5f5e53e8fe4887cf8df36bf3854c5700466630eb5958c20eab7079874ad2285 +DIST zope_i18nmessageid-8.1.tar.gz 26697 BLAKE2B 5f0911d91479ad608c2ce0365401a50dfeb2878564152e264e03bf7d191eea6aae9bd0aa291d786db08e54914846bda8ff4a212b862ac53cdfe3ce217c24221e SHA512 682f127f6f026a281ed9aefe68c3dd1b00d0e5c63b418d6ab399994335298148a08e7d788da20859405a42ce51c5895baa8c5e6f82875ed7f948ca37e0ee13b1 diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.1.ebuild index 05ee7f954a86..2e3f9478b271 100644 --- a/dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild +++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.1.ebuild @@ -18,27 +18,17 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - !dev-python/namespace-zope -" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" distutils_enable_tests unittest src_prepare() { - # strip rdep specific to namespaces - sed -i -e "s:'setuptools'::" setup.py || die distutils-r1_src_prepare -} -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die + # force failure if extension build fails + sed -i -e "/'build_ext':/d" setup.py || die } python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - distutils_write_namespace zope - eunittest + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" } |
