From 719f5679cb7b1141529b574349239e0640bae1ca Mon Sep 17 00:00:00 2001 From: root Date: Wed, 24 Jun 2026 03:04:33 -0500 Subject: Adding metadata --- dev-python/aioresponses/Manifest | 1 + dev-python/aioresponses/aioresponses-0.7.9.ebuild | 44 ++++++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.43.36.ebuild | 53 +++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.43.36.ebuild | 67 +++++++++ dev-python/cfn-lint/Manifest | 2 + dev-python/cfn-lint/cfn-lint-1.52.0.ebuild | 64 ++++++++ dev-python/django/files/django-4.2.21-py313.patch | 58 -------- dev-python/gmpy2/Manifest | 2 + dev-python/gmpy2/gmpy2-2.3.1.ebuild | 47 ++++++ dev-python/hpack/Manifest | 1 + dev-python/hpack/hpack-4.2.0.ebuild | 23 +++ dev-python/icalendar/Manifest | 1 + dev-python/icalendar/icalendar-7.2.0.ebuild | 42 ++++++ dev-python/node-semver/Manifest | 1 + dev-python/node-semver/node-semver-0.9.1.ebuild | 29 ++++ dev-python/pdm/Manifest | 1 + dev-python/pdm/pdm-2.28.0.ebuild | 84 +++++++++++ .../protobuf/files/protobuf-6.32.1-crash.patch | 33 ----- dev-python/pymdown-extensions/Manifest | 2 + .../pymdown-extensions-11.0.ebuild | 34 +++++ dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-6.14.2.ebuild | 53 +++++++ dev-python/pyproject-fmt/Manifest | 7 - .../pyproject-fmt/pyproject-fmt-2.20.0.ebuild | 102 ------------- .../pyproject-fmt/pyproject-fmt-2.21.1.ebuild | 2 +- .../pyproject-fmt/pyproject-fmt-2.21.2.ebuild | 2 +- .../pyproject-fmt/pyproject-fmt-2.24.0.ebuild | 113 -------------- .../pyproject-fmt/pyproject-fmt-2.24.1.ebuild | 2 +- .../pyproject-fmt/pyproject-fmt-2.25.0.ebuild | 2 +- dev-python/python-socks/Manifest | 1 + dev-python/python-socks/python-socks-2.8.2.ebuild | 41 ++++++ .../files/subunit-1.4.5-testtools-2.8.patch | 46 ------ dev-python/python-tests/Manifest | 3 + .../python-tests-0.3.15.0_beta3.ebuild | 75 ++++++++++ .../python-tests/python-tests-3.15.0_beta3.ebuild | 74 ++++++++++ dev-python/pyzotero/Manifest | 2 + dev-python/pyzotero/pyzotero-1.13.2.ebuild | 49 +++++++ dev-python/redis/Manifest | 1 + dev-python/redis/redis-8.0.1.ebuild | 125 ++++++++++++++++ dev-python/scikit-build/Manifest | 2 + dev-python/scikit-build/scikit-build-0.19.1.ebuild | 67 +++++++++ dev-python/setuptools-scm/Manifest | 2 + .../setuptools-scm/setuptools-scm-10.1.2.ebuild | 58 ++++++++ dev-python/signxml/Manifest | 2 + dev-python/signxml/signxml-5.0.1.ebuild | 40 +++++ dev-python/spyder-kernels/Manifest | 1 + .../spyder-kernels/spyder-kernels-3.1.5.ebuild | 87 +++++++++++ dev-python/tox/Manifest | 8 +- dev-python/tox/tox-4.50.3.ebuild | 94 ------------ dev-python/tox/tox-4.53.1.ebuild | 95 ------------ dev-python/tox/tox-4.55.0.ebuild | 97 ------------ dev-python/tox/tox-4.56.0.ebuild | 80 ++++++++++ dev-python/uv-build/Manifest | 1 + dev-python/uv-build/uv-build-0.11.24.ebuild | 99 +++++++++++++ dev-python/uv/Manifest | 2 + dev-python/uv/uv-0.11.24.ebuild | 163 +++++++++++++++++++++ dev-python/vcs-versioning/Manifest | 6 +- .../vcs-versioning/vcs-versioning-2.0.1.ebuild | 39 ----- .../vcs-versioning/vcs-versioning-2.1.0.ebuild | 39 +++++ .../vcs-versioning/vcs-versioning-2.1.2.ebuild | 39 +++++ 62 files changed, 1617 insertions(+), 696 deletions(-) create mode 100644 dev-python/aioresponses/aioresponses-0.7.9.ebuild create mode 100644 dev-python/boto3/boto3-1.43.36.ebuild create mode 100644 dev-python/botocore/botocore-1.43.36.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.52.0.ebuild delete mode 100644 dev-python/django/files/django-4.2.21-py313.patch create mode 100644 dev-python/gmpy2/gmpy2-2.3.1.ebuild create mode 100644 dev-python/hpack/hpack-4.2.0.ebuild create mode 100644 dev-python/icalendar/icalendar-7.2.0.ebuild create mode 100644 dev-python/node-semver/node-semver-0.9.1.ebuild create mode 100644 dev-python/pdm/pdm-2.28.0.ebuild delete mode 100644 dev-python/protobuf/files/protobuf-6.32.1-crash.patch create mode 100644 dev-python/pymdown-extensions/pymdown-extensions-11.0.ebuild create mode 100644 dev-python/pypdf/pypdf-6.14.2.ebuild delete mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.20.0.ebuild delete mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.24.0.ebuild create mode 100644 dev-python/python-socks/python-socks-2.8.2.ebuild delete mode 100644 dev-python/python-subunit/files/subunit-1.4.5-testtools-2.8.patch create mode 100644 dev-python/python-tests/python-tests-0.3.15.0_beta3.ebuild create mode 100644 dev-python/python-tests/python-tests-3.15.0_beta3.ebuild create mode 100644 dev-python/pyzotero/pyzotero-1.13.2.ebuild create mode 100644 dev-python/redis/redis-8.0.1.ebuild create mode 100644 dev-python/scikit-build/scikit-build-0.19.1.ebuild create mode 100644 dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild create mode 100644 dev-python/signxml/signxml-5.0.1.ebuild create mode 100644 dev-python/spyder-kernels/spyder-kernels-3.1.5.ebuild delete mode 100644 dev-python/tox/tox-4.50.3.ebuild delete mode 100644 dev-python/tox/tox-4.53.1.ebuild delete mode 100644 dev-python/tox/tox-4.55.0.ebuild create mode 100644 dev-python/tox/tox-4.56.0.ebuild create mode 100644 dev-python/uv-build/uv-build-0.11.24.ebuild create mode 100644 dev-python/uv/uv-0.11.24.ebuild delete mode 100644 dev-python/vcs-versioning/vcs-versioning-2.0.1.ebuild create mode 100644 dev-python/vcs-versioning/vcs-versioning-2.1.0.ebuild create mode 100644 dev-python/vcs-versioning/vcs-versioning-2.1.2.ebuild (limited to 'dev-python') diff --git a/dev-python/aioresponses/Manifest b/dev-python/aioresponses/Manifest index 5b405d3b4b8c..fdbc5f218a9d 100644 --- a/dev-python/aioresponses/Manifest +++ b/dev-python/aioresponses/Manifest @@ -1 +1,2 @@ DIST aioresponses-0.7.8.tar.gz 40253 BLAKE2B 470a71e1b9e315cdce32bb35daf3c111f439dc7096a5d991b7da479c4514331debe903b8d0cd1a9503b2c264ed7bf2901399139719e631adcf2f8aa359b9d4e2 SHA512 a7368e9f344d2790df9c10c9a5e2b9124f56b12413a0b52b91dced9513338b22f75887f94fc9c0b4e2709d7ed37f2c0978ba2652745546387b5317d188190390 +DIST aioresponses-0.7.9.tar.gz 34072 BLAKE2B e843eb624030443d2706494537540300912ba56c923772d7f27dd78c7b9a031ef41406be84f56dff551877218a08c4678d39ec74def75ca732ca3cd90a4237a0 SHA512 c4413b858d942bc2cfe68d1097caf4a84d419a5ed9be0b9fbe4f93cac636447ebfc9588c3ee7c5683d87b092a632d132df82939c9bb724ccfeb7e9f65e4b44fa diff --git a/dev-python/aioresponses/aioresponses-0.7.9.ebuild b/dev-python/aioresponses/aioresponses-0.7.9.ebuild new file mode 100644 index 000000000000..917131463e4c --- /dev/null +++ b/dev-python/aioresponses/aioresponses-0.7.9.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Helper to mock/fake web requests in Python's aiohttp package" +HOMEPAGE=" + https://github.com/pnuckowski/aioresponses/ + https://pypi.org/project/aioresponses/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aiohttp-3.8[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/pnuckowski/aioresponses/pull/292 + "${FILESDIR}/${PN}-0.7.8-aiohttp-3.14.patch" +) + +EPYTEST_DESELECT=( + # These tests require Internet access + tests/test_aioresponses.py::AIOResponsesTestCase::test_address_as_instance_of_url_combined_with_pass_through + tests/test_aioresponses.py::AIOResponsesTestCase::test_pass_through_with_origin_params + tests/test_aioresponses.py::AIOResponseRedirectTest::test_pass_through_unmatched_requests +) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d45e368bb423..c2ada9abc9cb 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.43.24.gh.tar.gz 1156465 BLAKE2B 52937853e047217550a0cad9ee09e61f8d5 DIST boto3-1.43.29.gh.tar.gz 1161648 BLAKE2B 3f0a040019fd8ea2a42a82c75bf31e563ef1e74745e3848f59fd8e1eb9946c5470cce0ece81d602cdd104e1d1a0cce68460a0ad993b47cb9d25b40fa3963b9e0 SHA512 c52a78f22daf6b79d772f5661cb56a4c1c35a7ad0001742d84d1c3f308c10534377ade5618bb5a3f95d0c7b4aacc82f42c10a30e521b31d41b9a403adbee1560 DIST boto3-1.43.34.gh.tar.gz 1167805 BLAKE2B d5c01a44a913870dbed56c33372b83aae97f51fa3835673eb3c65bfc2b8564d226121a276aa53ecb5705548b8440d384b6713fe70d83fe959a75c4bbe7e628b1 SHA512 bee3f5ac75074bdbf8bb79d81bcbbb41b8cb6a80a247fe0887fbd16071e588f0ae4304a6a4813fe394d8a4a0311d12f853aefc43aee216af0608d9e10c893ece DIST boto3-1.43.35.gh.tar.gz 1169237 BLAKE2B aeaaedfa5adf47d8453511be0c490187427ac5b7fda5a90560631953c5569d77e858fa259ff9935d8db4becd0787e4d39d68225ced6f24760163a6dee7b0d3d7 SHA512 eb7900427fd29dcde27ad99b8c9cc0eae84c6a67c1245f3da6ba9b2dfad79dd0ebdc31233c3622d71a46138c38152492d19310d1521538eb5c4ac1f76c0eb745 +DIST boto3-1.43.36.gh.tar.gz 1169288 BLAKE2B c316bf8bc804c7c7a70eed0b01a66d7cf8ffdd0662e3bdb54864a9c78d3baa1d092c99fd43dd2df93314fc4795738a6ad432cad6a333f0a5535e13b9c6765fca SHA512 bd9f623a67508741cd45b239a4e575bf5688146d38bdb4f3af0b294f17898205e23b57d04bf6ed9584b92088515be1fd6f11922fdba5cd19bcf3ea4340d16f55 diff --git a/dev-python/boto3/boto3-1.43.36.ebuild b/dev-python/boto3/boto3-1.43.36.ebuild new file mode 100644 index 000000000000..93fbbe6dd59b --- /dev/null +++ b/dev-python/boto3/boto3-1.43.36.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.19.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 7510113751a2..9de4f596d293 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.43.24.gh.tar.gz 16430918 BLAKE2B 526fc9ab71c37cbae5a6b23a0c0bb7e DIST botocore-1.43.29.gh.tar.gz 16476072 BLAKE2B 2525545c2425568e8765100bad446e2ddb7c4ea80f78d52827456a368a4da68ad5e86c60ef6af5611a342e2c8b44c8a057d341941db31d6b1c6cd01506b912b3 SHA512 6d37f50ec4ace4252e7d303e9ddaac8571e28695beadf3d7c23f3d1f413bcc06734e88be6f834d8ef82b3583954b8acc7da325630ae4cce7371684957f3547ae DIST botocore-1.43.34.gh.tar.gz 16563578 BLAKE2B 587551dd360e3fa389cf778d110dc1c080444bfc2c76dad4068b1a185c92ceba85fa76488528a3bd99d33d31edc1858b26f99961ed2e6e0852e99ad4429205c7 SHA512 2a0452dabe1329e511e3d34c5b625768c7ed27bb32e0044b47ac87c56702448f8f941ec0ec3fae648575c5ce0e82aca8973f83ae2785026c6da2eeee95e8128e DIST botocore-1.43.35.gh.tar.gz 16602288 BLAKE2B b2b61f787a3bf4cbd9100a1825b155fe53e10c83611ebac6189c4335909e1695205b138b6ab5ac657c2c7f0e5331e9037fedae46591692594daeff65e31573d7 SHA512 d721568fbb10e65e458976dda7c4768f75da4618851169d1486f6978b65c5974fee8b5da5a88975455d8b9d7acccfdba0de701b3a41df02441cf2340b79e7bc8 +DIST botocore-1.43.36.gh.tar.gz 16601718 BLAKE2B b4643995a2c173c9df865923d6912e2c804da45b3bcfaf2e73e941366df02c23f4cb05408550992e9747aaacf1acaaced06dc497625e5e3dd5d8dc1eafc881b9 SHA512 02754b7766b91b569fa9aa3f83797c4b01834914415b535d690308e373583cafadf0b35846309aabbc0c66413d7adec05db0132e441eae273c4b9b78327570a8 diff --git a/dev-python/botocore/botocore-1.43.36.ebuild b/dev-python/botocore/botocore-1.43.36.ebuild new file mode 100644 index 000000000000..a3a161f78545 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.36.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + =dev-python/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/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index ff2706f2e2ae..cea1006a6dfb 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -8,3 +8,5 @@ DIST cfn_lint-1.51.4.tar.gz 4156267 BLAKE2B 7445b3ac5ba060f7d3004027a6571a091b06 DIST cfn_lint-1.51.4.tar.gz.provenance 10130 BLAKE2B 887befe8d89d2ae67dbdb319824fad4e51f9ac29e6bc4561b2d4875a2df3626f0f063a1ea2f9c320a881c22d572aff703a1b8f5bab16cb65503bb6e505cf87f9 SHA512 8cd061ba39d9716f2f1ea502b8d1c3c8ce294a797c503d56a01c66e138d988905a18fafa5908033521f6dcb3bda12f70cd92aa7912d059026e490d3a4740895f DIST cfn_lint-1.51.5.tar.gz 4114038 BLAKE2B 21932e73fdc81b2d8485ccb06dc7e527951a02170f210d9466312f4048070a33ab0bab6ae9fda1b589ce3060e4a98175b8249da55992eccb33722e086293d7cc SHA512 032ce12bdf22a4787887ca490d665e533172d9e90f8d7231b671d20c41e7a550c2411a55f807faacd55b71a3d36a83de0da3e02e2bceaf188da97a40a6a98ab0 DIST cfn_lint-1.51.5.tar.gz.provenance 10032 BLAKE2B 9e5830cdbb37342a07349ae71816a93abf1e943f91c836cfef6ceb39cf1b735373530b68418b0501488c92e338b493a09028e365fd6aed048ccc0e4958a6e863 SHA512 ca84d91a9860a2d4967fa431a134c92ed65e2bf304ed0b7b54763c04bcde16f5873baef0a3ce550bb58e5d308259660f62acaa0768ba494e7860f16e35a288ec +DIST cfn_lint-1.52.0.tar.gz 4466061 BLAKE2B 3524c753fd259dec2d014a9b3cf5ffd488eef15118e7ce1cd42a41ba9f02f97e2af635aab602cb3a3c909be097ec102eb128941adde8b32d3c371f5284056f78 SHA512 26a0a4f0b6f43683adc147d3426c627ec05300874b9af9243cdee64c2b317ca2e6110b3c6237b45d72f4f70eb913a44d0208018f6eb4b88846f90dc39ddb5a9f +DIST cfn_lint-1.52.0.tar.gz.provenance 10142 BLAKE2B e240509d51e71b46efc855b25968120e775d18ae92b595bbf5e0c940a721a6d2272d02ff78c1df4c5940469e77bdbe5f33202e7ad475edf5a61e4332cc7db4ff SHA512 a5d37fbb823dd5ccdc509eb8291bc25db628ce48b503c71bd759de55d810986153aeee7fcd5b827cb16cd1662a24f7ea233cd2346528fba665485266692d843f diff --git a/dev-python/cfn-lint/cfn-lint-1.52.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.52.0.ebuild new file mode 100644 index 000000000000..d7de023d99dc --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.52.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/aws-cloudformation/cfn-lint +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.110.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + =dev-python/pyyaml-6.0.3[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # different line wrapping somehow + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # TODO: suddenly started failing in older versions too + # https://github.com/aws-cloudformation/cfn-lint/issues/4207 + test/integration/test_good_templates.py + test/unit/module/override/test_exclude.py::TestExclude::test_success_run + test/unit/module/test_api.py::TestLintFile::test_good_template + test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run + # crashes on 3.12+, probably pygraphviz + test/unit/module/test_api.py::TestLintByConfig::test_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + epytest +} diff --git a/dev-python/django/files/django-4.2.21-py313.patch b/dev-python/django/files/django-4.2.21-py313.patch deleted file mode 100644 index e464efbe33a5..000000000000 --- a/dev-python/django/files/django-4.2.21-py313.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 18628d51012830f12a2a888223c6e5153729004d Mon Sep 17 00:00:00 2001 -From: Mariusz Felisiak -Date: Tue, 20 Feb 2024 20:59:26 +0100 -Subject: [PATCH] Refs #34900 -- Fixed - CommandTypes.test_help_default_options_with_custom_arguments test on Python - 3.13+. - -https://github.com/python/cpython/commit/c4a2e8a2c5188c3288d57b80852e92c83f46f6f3 ---- - django/utils/version.py | 1 + - tests/admin_scripts/tests.py | 15 +++++++++++---- - 2 files changed, 12 insertions(+), 4 deletions(-) - -diff --git a/django/utils/version.py b/django/utils/version.py -index 1e9c720299..71ec70bd67 100644 ---- a/django/utils/version.py -+++ b/django/utils/version.py -@@ -17,6 +17,7 @@ PY39 = sys.version_info >= (3, 9) - PY310 = sys.version_info >= (3, 10) - PY311 = sys.version_info >= (3, 11) - PY312 = sys.version_info >= (3, 12) -+PY313 = sys.version_info >= (3, 13) - - - def get_version(version=None): -diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py -index 6d67c2931a..8373560499 100644 ---- a/tests/admin_scripts/tests.py -+++ b/tests/admin_scripts/tests.py -@@ -33,6 +33,7 @@ from django.test import LiveServerTestCase, SimpleTestCase, TestCase, override_s - from django.test.utils import captured_stderr, captured_stdout - from django.urls import path - from django.utils.version import PY39 -+from django.utils.version import PY313 - from django.views.static import serve - - from . import urls -@@ -1900,10 +1901,16 @@ class CommandTypes(AdminScriptTestCase): - ] - for option in expected_options: - self.assertOutput(out, f"[{option}]") -- self.assertOutput(out, "--option_a OPTION_A, -a OPTION_A") -- self.assertOutput(out, "--option_b OPTION_B, -b OPTION_B") -- self.assertOutput(out, "--option_c OPTION_C, -c OPTION_C") -- self.assertOutput(out, "-v {0,1,2,3}, --verbosity {0,1,2,3}") -+ if PY313: -+ self.assertOutput(out, "--option_a, -a OPTION_A") -+ self.assertOutput(out, "--option_b, -b OPTION_B") -+ self.assertOutput(out, "--option_c, -c OPTION_C") -+ self.assertOutput(out, "-v, --verbosity {0,1,2,3}") -+ else: -+ self.assertOutput(out, "--option_a OPTION_A, -a OPTION_A") -+ self.assertOutput(out, "--option_b OPTION_B, -b OPTION_B") -+ self.assertOutput(out, "--option_c OPTION_C, -c OPTION_C") -+ self.assertOutput(out, "-v {0,1,2,3}, --verbosity {0,1,2,3}") - - def test_color_style(self): - style = color.no_style() diff --git a/dev-python/gmpy2/Manifest b/dev-python/gmpy2/Manifest index 2fdb34869d89..5ca3ae809f31 100644 --- a/dev-python/gmpy2/Manifest +++ b/dev-python/gmpy2/Manifest @@ -1,4 +1,6 @@ DIST gmpy2-2.3.0.tar.gz 302252 BLAKE2B ff10421b655c3e701a4150c906eb5cb68607ecf9fe9d0bd1f235a203f0e92b971077e928976abc7d89c5edc261327810a57184644930bdb278b97a889d7a8a4e SHA512 2e7284859222c5bfaa5b16e0d18abffa2dfa1efbeb66465f2770497be1676191e424a016a5543c5585632d439d7921e9a98be4a339c88dbfc04e560fbbb6812d DIST gmpy2-2.3.0.tar.gz.provenance 8738 BLAKE2B 952332860f73680052bca61bbbc6fb59bef9ce788745f9f40b854ac85f30cbf8b16720d3d6c009d63a9d71f4cbafa9881fc879cab4bf26885e7839cdbc73ed27 SHA512 af728c8731afffde11bfc173d7c3f10694607053b4f5745694f848258d01392888673ce2fc1be69adf403c8294c08a6c46d16399df02d1145bf89064a77bd4d3 +DIST gmpy2-2.3.1.tar.gz 301480 BLAKE2B bce336849c8e6f685261a780aa5b25f31341c41a8a68a4cfc3ad7ede3ea4525a0cefd6bfa360b9472ff8c42fc87d41a30889e5507341d6bc5852c8f2268f178a SHA512 58a8b8f436da0a052816824a800b3f14b6129c3d9c3f141be6597ca821e9892e05e9d0d74100e154fa42a7f32bdab9d10a20575971ee2ea6a8cd58eea78cae63 +DIST gmpy2-2.3.1.tar.gz.provenance 9486 BLAKE2B c13184a89180cb0711b8b4a960fd0dfd9a04c09bc705993e715c2e0b8cd6d056323dc09a3bc7112532ea2ed55699f76187bc8f3e80ecfc882f7f25349bcf2895 SHA512 7a29e2b69c9b32cd291e692c3914e243c23e33ab32adde450f584ba1125e6ee7e098ca85a4e0d1b632dd102ff493b1d1eebd86abf23fc3d328f740da41646f74 DIST gmpy2-2.4.0a0.tar.gz 268104 BLAKE2B 38b1c3f04d019706b12869f5580312a92cbbedce5493553a001d7c6da343930314a87f2314901ab060a3eab2acef832be81ba093e6d583cb386b32783984c6e3 SHA512 cdd980a4da624f0ffb150a33a2a0bcaeab14a8e981843cbe0b4ccfed81a6b6bfde3322f8ae04da902cecc0847a64d6d088c6596d1424600b615fc14040bcc0d2 DIST gmpy2-2.4.0a0.tar.gz.provenance 9432 BLAKE2B df29b6235bcf6eea4a64f1a7d9f1bd09f265c3faf408025720c3f8598bf982f8ad483e7584be9802725190141d2d3ec4e62b2bb7c87c88d07df9b9fda64f4104 SHA512 be414c38e3f268b27ca394bbc4fe8b567ceea601bb14270f558a0446c11a727073e9765846eef5089cf3adf3c8b63262426c1d115324e6a9dfd09178800d9b20 diff --git a/dev-python/gmpy2/gmpy2-2.3.1.ebuild b/dev-python/gmpy2/gmpy2-2.3.1.ebuild new file mode 100644 index 000000000000..ec5ce4c0a325 --- /dev/null +++ b/dev-python/gmpy2/gmpy2-2.3.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="gmpy2" +PYPI_VERIFY_REPO=https://github.com/gmpy2/gmpy2 +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries" +HOMEPAGE=" + https://github.com/gmpy2/gmpy2/ + https://pypi.org/project/gmpy2/ +" + +LICENSE="LGPL-3+" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +DEPEND=" + >=dev-libs/mpc-1.0.2:= + >=dev-libs/mpfr-3.1.2:= + dev-libs/gmp:0= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/mpmath[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + rm -rf gmpy2 || die + epytest +} diff --git a/dev-python/hpack/Manifest b/dev-python/hpack/Manifest index 85bfda865403..9e1ba464d0b5 100644 --- a/dev-python/hpack/Manifest +++ b/dev-python/hpack/Manifest @@ -1 +1,2 @@ DIST hpack-4.1.0.gh.tar.gz 5303243 BLAKE2B 3394c4142f5fdb32fb466e96ee96be7a41fc867a5731b73338262498538d6f7d47c2864c4b8391b599001e996fc1218dec1e4c1dbda325e90248a265161ec463 SHA512 10018fefae7e09078c0133a3519f18f72bd39f31d652f224d2ca2a780e2f18c51c7fc4589ae540e3130909a6b3878e0ac2ce8a5dadc98ce93bcf8af201989544 +DIST hpack-4.2.0.tar.gz 51300 BLAKE2B d40062d4eee1d7f83ae87ea220a1d83242e8c9847706496a61cbf13b1286efd9bf385ddefe00c63bf4b0c758ed2313b9593df904ab3a62dc0ca9a40460fec42d SHA512 fb801284b26343e56a93c1570ff990c6f6c5cc59458b180fd62dd9ba6c0c64a4576cdfba596fa206a1e750c6bf52d397346418f5d16edd664d21d28bb08f13e2 diff --git a/dev-python/hpack/hpack-4.2.0.ebuild b/dev-python/hpack/hpack-4.2.0.ebuild new file mode 100644 index 000000000000..298d812619fe --- /dev/null +++ b/dev-python/hpack/hpack-4.2.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure-Python HPACK header compression" +HOMEPAGE=" + https://python-hyper.org/projects/hpack/en/latest/ + https://github.com/python-hyper/hpack/ + https://pypi.org/project/hpack/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index e8d80d67178f..1785573a73eb 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,2 +1,3 @@ DIST icalendar-7.1.2.tar.gz 471132 BLAKE2B d87f3a72213ac3c93b83d3c5bb2adcebc960eda7808432a6d7b4de62215e51b6d34005ec62245dea6fd1187c1223abea9a678108e73988a1cdd554a655571cee SHA512 bd1ea4a536c90a80234fdca538d6d8a5ae715dd7581effb9427a33c6abb86a2166397d717ee6d6f336a9c6229a56c5c43bfd538d7ea5e8c749d7a0411ab0abbe DIST icalendar-7.1.3.tar.gz 472734 BLAKE2B 4bd73502055c8156d6f4a952b5349ab0285fce727620d96a118ec78b4e588adaeeff3d24ce62f9e5efde8bc621a9553893f1dac163c1d287dd1ad7ab63255244 SHA512 0c98ca1353e77488ca8d6a2d6c10bdb0518b4c0ae77047f7004b8b5f650cb80f619a17936e67e053d152812ed5e36b1585bc1d0667961b79941c8ede7441add1 +DIST icalendar-7.2.0.tar.gz 489932 BLAKE2B 5175cf68bb0bf3fb878be22ef7169fb0b41e93a9fa5c7d51d4a56679e58316e77bd8a51399384231b65e770b2e91a317d7df4d9683c0228f89945c48a13b096a SHA512 e8c53c2c3b062db57997955706d22e4b17b352df27abe698924467d6ad613847c02a5a66f3d44cdc8b2513de901b762521e907956e429d1c7df9e6d23f5c6967 diff --git a/dev-python/icalendar/icalendar-7.2.0.ebuild b/dev-python/icalendar/icalendar-7.2.0.ebuild new file mode 100644 index 000000000000..45ee133c1418 --- /dev/null +++ b/dev-python/icalendar/icalendar-7.2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="RFC 5545 compatible parser and generator of iCalendar files" +HOMEPAGE=" + https://github.com/collective/icalendar/ + https://pypi.org/project/icalendar/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.10[${PYTHON_USEDEP}] + ' 3.12 3.13) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytz-2025.2[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # upstream puts quite an effort for funding.json, but failed to + # include it in sdist + src/icalendar/tests/test_funding_json.py +) diff --git a/dev-python/node-semver/Manifest b/dev-python/node-semver/Manifest index cad6e3bfbc68..ca0f316aa957 100644 --- a/dev-python/node-semver/Manifest +++ b/dev-python/node-semver/Manifest @@ -1 +1,2 @@ DIST python-node-semver-0.9.0.gh.tar.gz 19547 BLAKE2B 6558468a38aa11943429919c29d00e5512fd74587a5e9b53a9f7704acb60877919331329cb42b53812918eb3264f2bcd08838d566cbf9476b8aa9a47f745cd74 SHA512 1ac32e271cf2b574ffbdf3c37aa5a13493ab03dbaa539b50614e9f91adea1078e0bee0451ae400b456e83de0493942ea209d7dd9aec4ab90a3e9753ba1c80082 +DIST python-node-semver-0.9.1.gh.tar.gz 19676 BLAKE2B a599f4ceaf26a042d8e5daddcb8a4360ee3d2912b0934dfde02e2f745a30499ec6c6f8dc41ac27927e826e5a181945a8ea8bc3396ae2494336e510d6dc1cb01a SHA512 e9f305920a250bfc3f0cc305c15c8c4317b2871ceeeeaab90df5df68ab94d1255898638bd5ce93743b00b7dfc25bc47f51aa2bdb41b8ec8e5dd3646d7d8a17fc diff --git a/dev-python/node-semver/node-semver-0.9.1.ebuild b/dev-python/node-semver/node-semver-0.9.1.ebuild new file mode 100644 index 000000000000..091d7bc76a11 --- /dev/null +++ b/dev-python/node-semver/node-semver-0.9.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +MY_P=python-${P} +DESCRIPTION="Python version of node-semver, the semantic versioner for npm" +HOMEPAGE=" + https://pypi.org/project/node-semver/ + https://github.com/podhmo/python-node-semver/ + https://github.com/npm/node-semver/ +" +SRC_URI=" + https://github.com/podhmo/python-node-semver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index ccc0041d8459..caa2d6cdc46d 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1 +1,2 @@ DIST pdm-2.27.0.tar.gz 2686064 BLAKE2B 4b970f08091548e2e5597f56f3cbf1e61b8ff941b96a3c28523c76a6c80dc9a4496c815f2b3f9bd50975ccb18912f84fc23b9e6a5e77c7b283901197e1ccc011 SHA512 f3828367a641bc9f9427d6348092bf92f6da73198dd41294c3e9c8de0108fd97d3388d887df69146f4474c3d48a79f36f41d7aad1f442b5d8eb69263646ced37 +DIST pdm-2.28.0.tar.gz 2693556 BLAKE2B 369e7030dead4dca288cf455b20105a002a67f2a0f1856d13c52cac8e0ba723c78b9ae1865e6842fcc62ca62a39d2f88c58168d514ec849468a6e0b9dab9aa86 SHA512 eca6bbfc3de04a98636b316c5fb23a44b41a07563b5b5d638a5bd7d0cf8671695b4ec18629dd3960651fd02759db88037ab04fa68206f6f19710116b01ef29f0 diff --git a/dev-python/pdm/pdm-2.28.0.ebuild b/dev-python/pdm/pdm-2.28.0.ebuild new file mode 100644 index 000000000000..1527b61e5c9e --- /dev/null +++ b/dev-python/pdm/pdm-2.28.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{13..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-0.7.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/hishel-1.0.0[${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-1[${PYTHON_USEDEP}] + >=dev-python/packaging-22.1[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2025.10.07[${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/protobuf/files/protobuf-6.32.1-crash.patch b/dev-python/protobuf/files/protobuf-6.32.1-crash.patch deleted file mode 100644 index 796d00c1805d..000000000000 --- a/dev-python/protobuf/files/protobuf-6.32.1-crash.patch +++ /dev/null @@ -1,33 +0,0 @@ -From d57d2708b371bda5e7212b0eca63091fa2d7ab42 Mon Sep 17 00:00:00 2001 -From: Oleh Prypin -Date: Mon, 15 Sep 2025 13:31:08 -0700 -Subject: [PATCH] Fix a crash that happens during shutdown due to looking up - modules in the cache - -The crash happens only since Python 3.13. Conveniently, Python 3.13 introduces a function to check if the interpreter is shutting down at the moment. - -There was a related issue https://github.com/protocolbuffers/protobuf/issues/22067 and related commit https://github.com/protocolbuffers/protobuf/commit/87de6f795f794f207c19ea5c887328fcbe35d518 -but it appears that the fix was incomplete. What actually causes a crash during shutdown is using `PyState_FindModule`, and `PyUpb_ModuleState_MaybeGet` still calls that anyway. - -PiperOrigin-RevId: 807361381 ---- - python/protobuf.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/python/protobuf.c b/python/protobuf.c -index ff6bf7c0d6654..a86fcaaf82e67 100644 ---- a/python/protobuf.c -+++ b/python/protobuf.c -@@ -58,6 +58,12 @@ static struct PyModuleDef module_def = {PyModuleDef_HEAD_INIT, - // ----------------------------------------------------------------------------- - - PyUpb_ModuleState* PyUpb_ModuleState_MaybeGet(void) { -+#if PY_VERSION_HEX >= 0x030D0000 // >= 3.13 -+ /* Calling `PyState_FindModule` during interpreter shutdown causes a crash. */ -+ if (Py_IsFinalizing()) { -+ return NULL; -+ } -+#endif - PyObject* module = PyState_FindModule(&module_def); - return module ? PyModule_GetState(module) : NULL; - } diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index d5c319ba437b..202c52d41c16 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,2 +1,4 @@ DIST pymdown_extensions-10.21.3.tar.gz 854140 BLAKE2B 931b33c568c4bc5fdafbaed14ec28afb7c54c2328bf68b1a8b8551a601cda6f79523f90f8ed46381e23b9390a5193f02e1389ca297ce8fa3e190dc856433415f SHA512 a7f480509eb4d589b17364b70eddc2aed506bc7507577e4738b6099cf4384177a21364f4b9c11e871d2d4d99e2227f461801f92388874a10aac3adbc76b513b3 DIST pymdown_extensions-10.21.3.tar.gz.provenance 9926 BLAKE2B c862c2499b076eded65d8998885cce57be5838a13e9804bb1e789a1fa2eab41c27aa3fda8f2b7157597fe5b67964c8fd01e255fd7a4877a08021584549c0b98f SHA512 e4b9c754314128907cc0a5684243614449e38ccc2055d24e8745c10e197d8b3681c5c48b156e1da7657dd499fb2a4f7c0d34e42f512845b3e89c8981bc854f88 +DIST pymdown_extensions-11.0.tar.gz 857049 BLAKE2B 54f5c7eaa123edc8824fa2581c7cae86876ccf8d6c75a76a99794f84011cf096dc83d6f2e5347081bcf0fb52ad7519e9ee365503218b596dc6592b3e0fa464a9 SHA512 6ac12b6d7ad0d6aeff162d43ef763fcf675dbaaf29d978dd8956334196b06ce554abe2ddee4eb9fc4ccd9ef14ae5f1105951049fd21f4651588de22326550b6d +DIST pymdown_extensions-11.0.tar.gz.provenance 10087 BLAKE2B 8bda330010f473d7ea02b34c1a05cbbb1803f94debdb5ee0dc8491ab5c101e49e832102b8cd62a5d26a0869eeebd80e6eb07934e59d42cbacebe4f03ebb021db SHA512 368cc356ca40d405ee9f45af73162ed8c9523a1e94d55beae5e2a3e118f2302fa2cee134b1a5cc01cd9ab4d3337f5dcae143ce9a7ebc50126ff0d045bd947ef1 diff --git a/dev-python/pymdown-extensions/pymdown-extensions-11.0.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-11.0.ebuild new file mode 100644 index 000000000000..1c6dfb8c42e4 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-11.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/facelessuser/pymdown-extensions +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.6[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.19.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 976943365648..e339e431dc98 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,5 +2,6 @@ DIST pypdf-6.11.0.gh.tar.gz 9554012 BLAKE2B 31a91e0137639d120e042906b22de3f5839d DIST pypdf-6.12.2.gh.tar.gz 9564951 BLAKE2B 3d4e38bbbec4e503a6f5a351b975075b598c34ddc66764d0ab2ff36827d7ea4098275ee3c619a5dcd71034d8af6b8f3ae3ecd60539cc8e051d23064da7a27a66 SHA512 c72d351c7603b30a8f18041f151b1930790889b488cc6fc4bf1804073f71b5ca0202a0bca96c2d7f3ffa32eb6b23408fe43579f6c9d05447e8cdcf94b881c1be DIST pypdf-6.13.3.gh.tar.gz 9579398 BLAKE2B 5d94501a9ccfe921dd0b5c77e5791a869f6e4a72c42faa083758cf6a8e7828a1bf83f54c693ac5f0940976a4a88e25d6e5b4be2e7acaea8d45cd05552ea6df16 SHA512 bf034ef2c62cdfcd18bad242cfbdcfeab0e289f776fb2bc3340f782f49d3836a07bfedc002076f0290780ccfb46f0d49329774198856bf4577ad30d19fdf8b7c DIST pypdf-6.14.0.gh.tar.gz 9583092 BLAKE2B a7cea4247c36d3e7e23a7df2d08cd1d4f83b555653ed7c5546c2d65ccac4de0e3bae6db42740034da6672ea0faf3fab8b3ce99235756e93e3ce207dbd8daf6a5 SHA512 b21e9e87d31f905defde5bc94875197d6c2d79a3bc2aabb80f92fdf55f93da43770c3dae9f71967c6c1bddcadf82a647fc83529eadd59997dc29c05a80d19da8 +DIST pypdf-6.14.2.gh.tar.gz 9585097 BLAKE2B d24eeea1aeb0d491880d99922c9ab27b6468df6782bc3dc25c1209c3d14b98ef25c8bd72a103f7fb645606f5263fa17280e66a6c0ea72ea56d436f5a65d883bf SHA512 798df3e54a3185a790efbd15f8fc0a0eaff06e6695a4b9529da2108df0391f400f2da483b8cb5cb0c7bc9b131fb54dcc787095787203178853a0fa2573a0428a DIST pypdf-sample-files-818dc013ad1f537198e9fcfae8a6b0dffe25ffa3.gh.tar.gz 11850954 BLAKE2B fbd0af91de44f2d224b3266727f0dfc462efb4d23176f4ebff147cbfa37337d891859c468b545d0c00796048584e6b621dc622d667e3d45c0b89b92f29ca3030 SHA512 bc601bfaf17f31c6358f594eaf879479e97028d7f5e5825c309a5d1eb843bfea5080c9e151287a0d915ecbc3f4d4755e326ac8fa1ceeb696c76b9f5ecc0d7e9f DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-6.14.2.ebuild b/dev-python/pypdf/pypdf-6.14.2.ebuild new file mode 100644 index 000000000000..1fdbe2717f5e --- /dev/null +++ b/dev-python/pypdf/pypdf-6.14.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=818dc013ad1f537198e9fcfae8a6b0dffe25ffa3 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + >=dev-python/cryptography-3.1[${PYTHON_USEDEP}] + dev-python/fonttools[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/jbig2dec[png] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 5f8cf268f682..186955417c85 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -1,23 +1,16 @@ -DIST pyproject_fmt-2.20.0.tar.gz 144673 BLAKE2B d2d126c87816b082210b4abc7eaca7482759d02bb07c7b0f31c37a5dc1481b9cf0b04980e4ef4711a94c05060aec8573ab968f5d014218f3b73d61913686731f SHA512 b8b6fe6e2336b203d1f1f7cd76e1ac54d49c4c7bc798160a84d722fde84c2acbfed9472e4e668e729d71a0b5c4342365c2d28d6d693aac1a164caea4f5b7a412 -DIST pyproject_fmt-2.20.0.tar.gz.provenance 9797 BLAKE2B 4fe967a8bde8903c260788139105dcba0e0ece5628f1d3037ddf5eadf0ffa5a01f085c4731137f715483a858a38989af2dba201525e9e14c3565cb1471cd9185 SHA512 afa428ea723162b5a5202573d35f99be76c233189a908a9f34ac4ffce2376f7eb27e44ff9bb0d30160f228d59e1e8abbf0a814cc5e6992001a3d83873e7e5d83 DIST pyproject_fmt-2.21.1.tar.gz 152372 BLAKE2B d3c71cfad8dc645f4c02c98fccd4c417d2c7374aebf3154665383ecb735251965d8963bea055f80de67039048442a96891881efd455d97cb5107dcfe684f0975 SHA512 29096f55e51d384ca726568e58fefcf707dba6775b3b07a202ea647be9dd28897da662597a230b37d100ef929263432203aa6ea25768898284ea7c26bb53dfb5 DIST pyproject_fmt-2.21.1.tar.gz.provenance 9617 BLAKE2B d64c03acd2d43cf10e77e53f9c80cdd4fb3afdec2d4fd84ce09868dea1942a8ad4749a210ec54bbf31ff4698ef09eb71a1a4d2172cd982c299cf6d0c2cea10c7 SHA512 81a3bf26b5a6cc0bab6918f6e2ddc288f52373e91bbd337a9c8482e14b604b926e19bd4b51e43c5e44f11d7fc5dbdcd65e4654e23907e4ae3614df37e3484edc DIST pyproject_fmt-2.21.2.tar.gz 155067 BLAKE2B e1d5ed9ad538c934d176d54c64030312f430746e3450d383c9bce7156bb953cefeb1976b81825e8dd108ccd5c5c4b5f0af2c6986a838b9b8c206132ed5b738a1 SHA512 6e13de792660c3dcb01f4857df08c12e099a3c6ce411886f0d63d66aff126980f283428dd1de322f0f1d5fc4dcde8d23b1490bedf6e580340542895d315bd39a DIST pyproject_fmt-2.21.2.tar.gz.provenance 9899 BLAKE2B dd64f16733cdceab98a70dd4680d3ef603976ba1d2a7e088c2906cd0ec05f3081586dd4d09a56c772106ff3dd8d3d81ffda497e34bd205aec0eec5ec5f0b108b SHA512 2585c2ab36baa9a1fce11e11d1468c990a736c543ce4de6c7476dd7df6f754b107795c238762110555eec284aefaa53e6eddc5733fce5b5ee701344baae5d086 -DIST pyproject_fmt-2.24.0.tar.gz 281070 BLAKE2B a3b8b23f7a3f3e422423a5806e54d3678eb4465b53f339b90e04c3caa16c1306f40bf01b38f4289f28f342a9b45e4b9214fb62a4edcecd6313f6c26b1c7a5aa1 SHA512 90eb0564ed6e22dffce25da12096fdc06f3cf7d5008a2852a32b8da6ae286496991b81d9b60e13cab298c1a26a57322d9a21ef4e130e213850da820dabbb432a -DIST pyproject_fmt-2.24.0.tar.gz.provenance 9841 BLAKE2B 68e52f9f7642d98206a45c582dc60201c7a7cb67fa9c152b1ef1c7dbfe29dfcf4716da98c218605274b2e45cb515662c09a8ab77cd03bd25fae486b029448457 SHA512 ea24c7c0aa8201f681f2dd525798b6ff52886f0eb25cb77ea4a674b89bb5eb221d32741a477a0f6f6370b69b5894bbdfc847b613c1b888d2d802f70944607fcf DIST pyproject_fmt-2.24.1.tar.gz 280585 BLAKE2B 76dbf5443a7ff7215437b6b4d4a2cb9f6c752335d73dcec893fa1e222b3d459298e11265367ff2e76d63548b47e6c752266703d59329653d02113b2c410d178e SHA512 5b044182e27f881bc13d24406f5dabd68ab60e325ba748f460533640e87731cb30651e744ad0011e2ef4cddf5907f42e6f9d2aca6aa0a558dddfa5beaefbab9c DIST pyproject_fmt-2.24.1.tar.gz.provenance 10064 BLAKE2B ec74f53fae059829f6e44434666d196b5ea92b787d80fe04d6a001e93f1563be978c6771918a3fe7af19ef1a41cc8ce04d21ef0f15ce9e7af39b3cbfe2af00b2 SHA512 4220f4b3fd4372dc0593da35341255778f25c4386eca6007f6e49252cccc861df75980ab74fc437ca26105687198c8b0bfad81579ef4341fd0e97c4ee3a9e79a DIST pyproject_fmt-2.25.0.tar.gz 292640 BLAKE2B a6d65982bd0591966a09218b74032e7da1aff8f99406bfdad405b10203a14096f6ebca761ec97861edbd5115845a75fcbf3ade1201a26f0f6d2a0dd717c3837f SHA512 d1fa497bd7fe76e6b3fae996cec29cf1a29fe3484a7b43dd81fbc50e3d1ee50eb096e891624d4942991cbb2ccf414d099a88b1649c5481d2bd3e26ddbd2e8348 DIST pyproject_fmt-2.25.0.tar.gz.provenance 9829 BLAKE2B f6632a9b29fa43159badefe9a16355bc22b09b0a17bdb08fcc41ae89d3ff62cc5d2e79b5b4e996c794d863535b3cebf909e7cbc6abde8bcc28f1f09ee55b0bec SHA512 bb6e171ce072c8eb1a92127993e284a45414a54639a7f88478d6f0b09efa8db02fd93e2ddd9ee3e986567c26512de8ee2517f4770cd3ee0b72f09ae6bde10dc3 DIST tombi-0d64bd3bd8a5ddcaafdfc7b114e3b73ada0b325b.gh.tar.gz 10564681 BLAKE2B 1cc4e307d89ae978c8022aed63ad7a7c08e71f810e42743589a6bf44499051250102ca3a60aa2cea65292dfd187240da96f6fb963511b6d4c06559c20bbc67a3 SHA512 e398e14c9b092f2378dfa848c697ea5cb0af705bcb801f288d2ca98b8c0d4aa3abf7a71f2f5a10a4a6a77e1e8d1f7089a0359b2a3ec9b226a19bbb40f0aa0a14 DIST tombi-362cafbd685311cb659ec0a422ebecc1eb332952.gh.tar.gz 10612816 BLAKE2B 8c1ada6d32c3b400110303243dc8f2070a395254a52f57cb4dff9bf788c43bf0491950cc563b2e9e19645a6fe785fbbafc61684446889e3d9b2a18f025d91b3e SHA512 e54f04e5bab4fcba6fa5562746c61a63f94954d5d46781277a9e83645182916c9131e4d09429e12e2dca7369947d68cb13d0cafea10cfbddecac85419f3f6031 -DIST tombi-afbc4d39033e872c0739d43b66cb4b5c278ba11c.gh.tar.gz 10400276 BLAKE2B f697615f6538f0b47da592dc217342d915036223ecf0b97e05f6dcef15e8788e4314214dd7b624c1d6b7715df15ef5e6c480a0a9113f2016c58ab2744ec03f32 SHA512 87cfe1cf661c974dfb74382a178eb5d060cadc90eb62dbe8fe6671e3e29ff6cc77f4205be7a7ac0b15ad73be1529c2203a07e9fb383f81c72e07342705769d23 DIST tombi-d5056f9743d7e3f194158e125b90d7294aa59ad7.gh.tar.gz 10475854 BLAKE2B 6a629d533e576930e8e988662e3d350137d32ce9b517578f4ee5f20437b75d31300568adf4a4fae2e9fc7a033af1031d4fbcaafa51656a3af2b8a7e03365495e SHA512 74aa91819f15420207850951d0d6b41d61dadf3bdb38406299ae1126bb9ae597a7eb9b69a4485165bf465eb10384b67c73b0e231ce22e1910bc2db448c4eb626 DIST tombi-e9213370947e9d7ab6dd98c1cf17533bbbcc797f.gh.tar.gz 10608653 BLAKE2B 7fd8a27bec2e0c5ab357f2c56ca50c848d71e02da3faca9b0650541b35b177ce7b669d294c20add3dac2ba70e5ced46046d5c2de14df81fcee418fccaaa47344 SHA512 a84ca3f676b95d11c121df08382e3bc6ca2e31c0c867ff3027c5564219f637abda34bcc00d563d777280e1b4522354e83b6bb4b0412b067e9ce57272a4e34d15 -DIST toml-fmt-pyproject-fmt-2.20.0-crates.tar.xz 18775804 BLAKE2B 2b977dce1adc8a43f0a6932dbb821a17a0885f570fbbb0cec6e5bf3ea8177baa6c9c6725a20e3326eeab337f7c521817f41b42225b18029baaa8d9eb2f31706c SHA512 495f714fcded00a9ad8da1deed04ed871c1ddca977c9ba0d28fc2a69a4ed693e0f2d2c0fb976417f98e2a52420d59543fbf7a0cc50599588b725f9f56c6285ef DIST toml-fmt-pyproject-fmt-2.21.1-crates.tar.xz 18661404 BLAKE2B cb19d8ebbb7d4fb43494a89a910bc844862bbbc6f677dff27fceca27a74cc573d42f009cf2e0d979f286b7efe80bb72e88072b20da3afdc98b023b6740ccdba6 SHA512 1699771da1ee01a593d963b8d945038c8d2abdadaf40203a56504ec6a9dfbca896b1aa77a63c98ed77bed779fe3dfe365fab219eced7c3b7b222876be0a68170 DIST toml-fmt-pyproject-fmt-2.21.2-crates.tar.xz 18776904 BLAKE2B ae748ae98a2769a78b34a2051e3237c40bc6714d88c58a22aec5af85caa86e4690e9749ddd1f87d2ebe0908a1a3f24a01a48e4abcf107fcdbd5d8322a0738c6a SHA512 474d707babc9a3f98a933ae645ffb951062491158c6863ff9dea7fee065b19f440501e092fbc28e62e4e67dce435689096a27b96c6acde3b8128b76b5890ca3e -DIST toml-fmt-pyproject-fmt-2.24.0-crates.tar.xz 18713448 BLAKE2B 6b5c71bc419891391ec4f375a29821ff8b2039222ace04da609d155b9260a187520ff70c3b71a7d804f628041e41df20d5b69c0e2cea9cc415404535407363dc SHA512 7a3726f24f7a4e00e892c24f1ee94e763f7faa212ed908c2b13ba70b5ae67cab3b269fcffc0c0755a13cdc6a290e281a274b5746fec0620cc6c980d0f3ddb7a5 DIST toml-fmt-pyproject-fmt-2.24.1-crates.tar.xz 18725980 BLAKE2B 75f6c4a07b14fc60cd3b7a00e902c2b37fe79ea3d03172e7271300d5ea5bd0bf9b7727c4af7e47e82d28424f677235a6e9c1d22ad3314210be93170d9f36ff76 SHA512 88da1827c097f712489276c48fbf10e4c61ef92b877cd8eb7f34eeb1e289ce0362661d3b01bf34c23c1f4cc67e23b05462773407eba7d17814c96d7885f23bd9 DIST toml-fmt-pyproject-fmt-2.25.0-crates.tar.xz 18742060 BLAKE2B 5cc45568d2981e1804e8800b6d7da203eee70f022b86dff671580e91be90b6627bac38d58f3ba50d138dbe6a905b6a21b324c3fc6114b7a0de11fb6078dd4ef2 SHA512 27986f6f647b3e50d0de5ce3acd7b3b089db896b5560f15b9d7d11c98e4a9b9d5adea566034e533de177fd9e2c08f46f760f9bf73d39910dd2d0ddf85c526832 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.20.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.20.0.ebuild deleted file mode 100644 index bc2d6f3a3b85..000000000000 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.20.0.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYPI_VERIFY_REPO=https://github.com/tox-dev/toml-fmt -PYTHON_COMPAT=( python3_{13..14} ) - -RUST_MIN_VER="1.87.0" -CRATES=" -" - -declare -A GIT_CRATES=( - [tombi-accessor]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-accessor' - [tombi-ast-editor]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-ast-editor' - [tombi-ast]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-ast' - [tombi-cache]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-cache' - [tombi-comment-directive-serde]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-comment-directive-serde' - [tombi-comment-directive-store]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-comment-directive-store' - [tombi-comment-directive]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-comment-directive' - [tombi-config]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-config' - [tombi-date-time]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-date-time' - [tombi-diagnostic]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-diagnostic' - [tombi-document-tree]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-document-tree' - [tombi-document]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-document' - [tombi-formatter]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-formatter' - [tombi-future]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-future' - [tombi-hashmap]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-hashmap' - [tombi-json-lexer]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-json-lexer' - [tombi-json-syntax]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-json-syntax' - [tombi-json-value]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-json-value' - [tombi-json]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-json' - [tombi-lexer]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-lexer' - [tombi-parser]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-parser' - [tombi-regex]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-regex' - [tombi-rg-tree]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-rg-tree' - [tombi-schema-store]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-schema-store' - [tombi-severity-level]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-severity-level' - [tombi-syntax]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-syntax' - [tombi-text]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-text' - [tombi-toml-text]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-toml-text' - [tombi-toml-version]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-toml-version' - [tombi-uri]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-uri' - [tombi-validator]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-validator' - [tombi-version-sort]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-version-sort' - [tombi-x-keyword]='https://github.com/tombi-toml/tombi;afbc4d39033e872c0739d43b66cb4b5c278ba11c;tombi-%commit%/crates/tombi-x-keyword' -) - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Format your pyproject.toml file" -HOMEPAGE=" - https://github.com/tox-dev/toml-fmt/ - https://pypi.org/project/pyproject-fmt/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} - https://github.com/gentoo-crate-dist/toml-fmt/releases/download/pyproject-fmt%2F${PV}/toml-fmt-${P}-crates.tar.xz -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 - Unicode-3.0 ZLIB -" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/toml-fmt-common[${PYTHON_USEDEP}] -" -# tox is called as a subprocess, to get targets from tox.ini -BDEPEND=" - test? ( - dev-python/tox - ) -" - -EPYTEST_PLUGINS=( pytest-mock ) -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt/_lib.*.so" - -src_unpack() { - pypi_src_unpack - cargo_src_unpack -} - -src_prepare() { - distutils-r1_src_prepare - sed -i -e '/strip/d' pyproject.toml || die -} - -python_test_all() { - # default features cause linking errors because they make pyo3 - # wrongly assume it's compiling a Python extension - # https://github.com/tox-dev/toml-fmt/issues/23 - cargo_src_test --no-default-features -} diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.21.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.21.1.ebuild index fa71b96989fa..369269184e44 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.21.1.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.21.1.ebuild @@ -67,7 +67,7 @@ LICENSE+=" Unicode-3.0 ZLIB " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 x86" RDEPEND=" dev-python/toml-fmt-common[${PYTHON_USEDEP}] diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.21.2.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.21.2.ebuild index a577bd49a005..ad96238f1e36 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.21.2.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.21.2.ebuild @@ -67,7 +67,7 @@ LICENSE+=" Unicode-3.0 ZLIB " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 ~x86" RDEPEND=" dev-python/toml-fmt-common[${PYTHON_USEDEP}] diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.24.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.24.0.ebuild deleted file mode 100644 index 34e567a3bb59..000000000000 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.24.0.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -DISTUTILS_UPSTREAM_PEP517=standalone -PYPI_VERIFY_REPO=https://github.com/tox-dev/toml-fmt -PYTHON_COMPAT=( python3_{13..14} ) - -RUST_MIN_VER="1.87.0" -CRATES=" -" - -declare -A GIT_CRATES=( - [tombi-accessor]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-accessor' - [tombi-ast-editor]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-ast-editor' - [tombi-ast]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-ast' - [tombi-cache]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-cache' - [tombi-comment-directive-serde]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-comment-directive-serde' - [tombi-comment-directive-store]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-comment-directive-store' - [tombi-comment-directive]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-comment-directive' - [tombi-config]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-config' - [tombi-date-time]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-date-time' - [tombi-diagnostic]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-diagnostic' - [tombi-document-tree]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-document-tree' - [tombi-document]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-document' - [tombi-formatter]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-formatter' - [tombi-future]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-future' - [tombi-hashmap]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-hashmap' - [tombi-json-lexer]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-json-lexer' - [tombi-json-syntax]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-json-syntax' - [tombi-json-value]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-json-value' - [tombi-json]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-json' - [tombi-lexer]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-lexer' - [tombi-parser]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-parser' - [tombi-regex]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-regex' - [tombi-rg-tree]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-rg-tree' - [tombi-schema-store]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-schema-store' - [tombi-severity-level]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-severity-level' - [tombi-syntax]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-syntax' - [tombi-text]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-text' - [tombi-toml-text]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-toml-text' - [tombi-toml-version]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-toml-version' - [tombi-uri]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-uri' - [tombi-validator]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-validator' - [tombi-version-sort]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-version-sort' - [tombi-x-keyword]='https://github.com/tombi-toml/tombi;e9213370947e9d7ab6dd98c1cf17533bbbcc797f;tombi-%commit%/crates/tombi-x-keyword' -) - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Format your pyproject.toml file" -HOMEPAGE=" - https://github.com/tox-dev/toml-fmt/ - https://pypi.org/project/pyproject-fmt/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} - https://github.com/gentoo-crate-dist/toml-fmt/releases/download/pyproject-fmt%2F${PV}/toml-fmt-${P}-crates.tar.xz -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 - Unicode-3.0 ZLIB -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/toml-fmt-common[${PYTHON_USEDEP}] -" -# tox is called as a subprocess, to get targets from tox.ini -BDEPEND=" - test? ( - dev-python/tox - ) -" - -EPYTEST_PLUGINS=( pytest-mock ) -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt/_lib.*.so" - -src_unpack() { - pypi_src_unpack - cargo_src_unpack -} - -src_prepare() { - distutils-r1_src_prepare - sed -i -e '/strip/d' pyproject.toml || die -} - -python_test() { - local EPYTEST_DESELECT=( - # something about ANSI codes, no clue - pyproject-fmt/tests/test_main.py::test_main[format-absolute-no_check-in_place] - pyproject-fmt/tests/test_main.py::test_main[format-cwd-no_check-in_place] - ) - - epytest pyproject-fmt -} - -python_test_all() { - # default features cause linking errors because they make pyo3 - # wrongly assume it's compiling a Python extension - # https://github.com/tox-dev/toml-fmt/issues/23 - cargo_src_test --no-default-features -} diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.24.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.24.1.ebuild index 34e567a3bb59..aad838267967 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.24.1.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.24.1.ebuild @@ -68,7 +68,7 @@ LICENSE+=" Unicode-3.0 ZLIB " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86" RDEPEND=" dev-python/toml-fmt-common[${PYTHON_USEDEP}] diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.25.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.25.0.ebuild index cfbb63d7fbe0..f561b008d7e3 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.25.0.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.25.0.ebuild @@ -68,7 +68,7 @@ LICENSE+=" Unicode-3.0 ZLIB " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86" RDEPEND=" dev-python/toml-fmt-common[${PYTHON_USEDEP}] diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index 17efd1fa5331..3465add6a65b 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1 +1,2 @@ DIST python-socks-2.8.1.gh.tar.gz 32435 BLAKE2B 99dd9af19b3952e758373da8092eb87f10d471f85d0bcdfdf643f1765a656c062c7c7ace0682982c2738f8c76163495745938f6c86b601b9be8bfe8b6f6d6717 SHA512 0f8304d979049af3fbf2bd8af94bbd71215834413c4dbc377ea4b829461811d671ee28f07fac425e9fc00da2e8e083f20671bb2e64fdc11b3fddfad0a9278167 +DIST python-socks-2.8.2.gh.tar.gz 33105 BLAKE2B dbc2492070ea6992552eecdfeb47cdc4299491a1350c14d04bce41695470516d5e05a0b07f4d0b0434348355c9dd32b5de30a186f5a9febee573dd737d42cd46 SHA512 0ab02015a0c409548e53b829e7af37ba8c2d88e8857aae481391fb8c86b9156ec47e155940b1cbe05692ad9a7cd02798e530e36717f02efd472ea86cae5a5865 diff --git a/dev-python/python-socks/python-socks-2.8.2.ebuild b/dev-python/python-socks/python-socks-2.8.2.ebuild new file mode 100644 index 000000000000..c1bf9da3cb60 --- /dev/null +++ b/dev-python/python-socks/python-socks-2.8.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" +HOMEPAGE=" + https://github.com/romis2012/python-socks/ + https://pypi.org/project/python-socks/ +" +SRC_URI=" + https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# curio is not packaged +# asyncio is the only backend we have, so dep on its deps unconditionally +# TODO: revisit +BDEPEND=" + test? ( + >=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}] + >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.24[${PYTHON_USEDEP}] + >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.4.2[${PYTHON_USEDEP}] + ) +" + +# Test markers exist to exclude trio etc if needed +EPYTEST_PLUGINS=( anyio pytest-{asyncio,trio} ) +distutils_enable_tests pytest diff --git a/dev-python/python-subunit/files/subunit-1.4.5-testtools-2.8.patch b/dev-python/python-subunit/files/subunit-1.4.5-testtools-2.8.patch deleted file mode 100644 index 5e1161567860..000000000000 --- a/dev-python/python-subunit/files/subunit-1.4.5-testtools-2.8.patch +++ /dev/null @@ -1,46 +0,0 @@ -From a72e9c343bd369cf840b29e074417fed5d05d59c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= -Date: Mon, 22 Dec 2025 11:05:54 +0000 -Subject: [PATCH] Fix compatibility with testtools 2.8.2 - -LP: #2136951 ---- - python/subunit/tests/test_test_protocol2.py | 17 ++++++++++++----- - 1 file changed, 12 insertions(+), 5 deletions(-) - -diff --git a/python/subunit/tests/test_test_protocol2.py b/python/subunit/tests/test_test_protocol2.py -index 6d1e03b..2874e43 100644 ---- a/python/subunit/tests/test_test_protocol2.py -+++ b/python/subunit/tests/test_test_protocol2.py -@@ -30,7 +30,12 @@ except ImportError: - from testtools import TestCase - from testtools.matchers import Contains, HasLength - from testtools.testresult.doubles import StreamResult --from testtools.tests.test_testresult import TestStreamResultContract -+ -+try: -+ from testtools.tests.test_testresult import TestStreamResultContract -+except ImportError: -+ # testtools >= 2.8 no longer includes the tests submodule -+ TestStreamResultContract = None - - import subunit - import iso8601 -@@ -54,11 +59,13 @@ CONSTANT_TAGS = [ - ] - - --class TestStreamResultToBytesContract(TestCase, TestStreamResultContract): -- """Check that StreamResult behaves as testtools expects.""" -+if TestStreamResultContract is not None: - -- def _make_result(self): -- return subunit.StreamResultToBytes(BytesIO()) -+ class TestStreamResultToBytesContract(TestCase, TestStreamResultContract): -+ """Check that StreamResult behaves as testtools expects.""" -+ -+ def _make_result(self): -+ return subunit.StreamResultToBytes(BytesIO()) - - - class TestStreamResultToBytes(TestCase): diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index 74c1238fd1c4..b773a3d46e75 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -6,6 +6,8 @@ DIST Python-3.14.6.tar.xz 23921184 BLAKE2B d3038309c02fb260ee54a4151c67999930099 DIST Python-3.14.6.tar.xz.sigstore 5539 BLAKE2B f48bd02fb1588306063d2a05b905bb640b23d73a404f39c6b1100b457d71bac296aaf753f24eb25c7bf060cf73972179d6e8b123f6931e69067480ded50e5d01 SHA512 461b8b4b8af0af507681fd1dd684c3559edfcc6cd79454ee0635f8e2d1606e87528ad24c9142bca2eb1ba4a70aeb123750cb9e6c181de6675205849d8cb58a48 DIST Python-3.15.0b2.tar.xz 35381676 BLAKE2B 59834dc8301dcc9d7e25fd3faf6060a6755443f3782fd3f035d82896468013d01be1b558f7d5c7099b32d49256b09055fde324660d66a52900f519f75acb5556 SHA512 fae17efc3bd2604fdff2d63e0afeac47562165a5da2e1e027f4126b4f8bbb4957f3a2f406d6db23a20c8881fad108385b4b2afb53482075dbe16a690778ccd4a DIST Python-3.15.0b2.tar.xz.sigstore 5583 BLAKE2B a766583eb8340ac3bef93ac0bde0ffa66f4680361bb369b3baccd715eb24a8a1f2e5f1ba049e1e8d3c7c53f41a2fe4b0402104156f7c0609355a18dbb24c99e2 SHA512 78f437419f67b10d556ec2304e9f46af4ee0114434e1c51594ccf202aa98ae3b733f4022aeac8fc1afdeeb29fda9328f855dd4914d38318c9ec965b45358153c +DIST Python-3.15.0b3.tar.xz 35459584 BLAKE2B 613f3609775df8b899603363a5e6cce39d3e1e56451c626cf87adc6149d9bbe5d1cddce86e3d86eb521747f4f0ada226322d0d737f881d107adccfd7b8533098 SHA512 a8c73a8e373ca921c87778d011072c1a0602cc203c65acda69117189cf5bd6c277c54044af381f27c243b187bbbb7b3ef47b9318bc89e2c044de9723175d7dca +DIST Python-3.15.0b3.tar.xz.sigstore 5687 BLAKE2B fd74f7eae99854979980740fb5af2f75fcd4a37548667706fe3f301d213244af987afc7a5395d85df48a04f42f0f660ab6c2b717085c43077f7da5b0413aabc3 SHA512 0f9241d114a1b390f547fbd0768be1375d1500c2e9b8d851a3ba87a5d8df1c0963e69c8798dd5576298f0e535860b5faa69ead5f41549d1a4b0e6228603b5a26 DIST python-gentoo-patches-3.12.10.tar.xz 10744 BLAKE2B 2abf4874018156d6735cf8604c410dc4726ac9365bc7500abe6b82472aad100aac7268957256692f4275b02965773e58178519ed8038e121f1ffa3c53770d238 SHA512 62066405aa00f46f9645e9c747d53bb93bf510fc791d14d49e00edfd79981778e6c8e07bfa7bac88d76407a0ffd8f7321dea89f81d90b01dbf13f4d381b6a1a3 DIST python-gentoo-patches-3.12.13_p1.tar.xz 12408 BLAKE2B 2b232c2742eafcb803713c837b4ddaa38f45c88e707ec272571739570f9e2e5c94644681369d887992eadf5f0c1178489f1aa3a7d8163a2aa4ce6a86732e73da SHA512 e06d78ad24c9fbc3fa9c47b25ba722342ddd140aa30f624b41d605dae40d00ab956d879a247db2d7980c063a1472de40587a0d3cd6947e560aa7e8d0e4f89309 DIST python-gentoo-patches-3.13.14.tar.xz 9360 BLAKE2B 257a43992b857d44881174b36b0940fab3f879060938fe6e6464ae671832a3af624a0cc6f012e44ee344a34d0a8da0c898a29176029bfab70086434fbd3c3b99 SHA512 0084ffc35ff81a7056dd7a3624083ed957fbe482b1cbca9e401ef5851e0046b82b9102f4cf358f2974d7a7dfb3e21e96dcafe6c207417fa01834b9d10a2ee8d6 @@ -14,3 +16,4 @@ DIST python-gentoo-patches-3.14.0b1.tar.xz 5680 BLAKE2B 514b3edc3025e5bf675d371b DIST python-gentoo-patches-3.14.6.tar.xz 10312 BLAKE2B 3415bb7859cdd8754987afdc7d0c793833755698a9a6b7e7b7c75d2c203109640cf5c1aff49ea38419273959479fb745cf956cae263515d82c0e7e67155be5c2 SHA512 19cb6f1424165153d2834b310ef6f8a0ac047351126191457fc0ce49238a6b21fe8a427897a5ce19bdd20076abc2189c71175981a67ab07dcbdec759b80005ab DIST python-gentoo-patches-3.15.0b1.tar.xz 3420 BLAKE2B 266ada600b587ff430a21c38d7585fcdb2d320a4160dd8e93dac3a6517faa685eadda9a9b14b271c6380a78112c83f39fc30bbbece10bfc7e6cde2eba61103fa SHA512 9f42700e03051fbadf3b9e6f7163077ab6b8c1f406e5bfc99560b590dbbabe72e5b38cd8c16b21aec75c4e760af549bffef6d76e65f390d61cd8840894949565 DIST python-gentoo-patches-3.15.0b2.tar.xz 3436 BLAKE2B fa2128b899f2d93078058ccd3e47b780bd092a841b07add94da61a55bb1f9846ec1fa5e00bcd78fcdd1d7da80fdf1dbabcc5d644a70cebce2018c457b186c74a SHA512 e92e87c027c8d777faae20b264cd83353dbb23d15679e99465f014277d02078b8c68fce3723e176cbebd94ac2057e5a9703f0ae5f5691e934b74947735ec3a86 +DIST python-gentoo-patches-3.15.0b3.tar.xz 3432 BLAKE2B 994e9339e00dfa4b40395e763f25dde4813d791151787028dafcf2e5159c38bbe88d4b56d07fc4c7454a09bd55edfda94b9cb8cf5c0ff0ffe7db4bb1a8eea8b6 SHA512 8c3a8dea43fc42179679b1f6811979dabb4e1c34821b4aecd894d661842df26e7592f5c74787157f36ccddf9ce233994c774fbe8381dc0ccaff3dfcff0c6c572 diff --git a/dev-python/python-tests/python-tests-0.3.15.0_beta3.ebuild b/dev-python/python-tests/python-tests-0.3.15.0_beta3.ebuild new file mode 100644 index 000000000000..5d64b5152fd6 --- /dev/null +++ b/dev-python/python-tests/python-tests-0.3.15.0_beta3.ebuild @@ -0,0 +1,75 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +VERIFY_SIG_METHOD=sigstore + +inherit python-r1 verify-sig + +REAL_PV=${PV#0.} +MY_PV=${REAL_PV/_beta/b} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 2-3)t +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz + https://distfiles.gentoo.org/pub/proj/python/patchsets/${PYVER%t}/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.sigstore + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +if [[ ${PV} != *_* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +# https://www.python.org/downloads/metadata/sigstore/ +VERIFY_SIG_CERT_IDENTITY=hugo@python.org +VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-3.15.0_beta3.ebuild b/dev-python/python-tests/python-tests-3.15.0_beta3.ebuild new file mode 100644 index 000000000000..5ed96d1087f8 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.15.0_beta3.ebuild @@ -0,0 +1,74 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +VERIFY_SIG_METHOD=sigstore + +inherit python-r1 verify-sig + +MY_PV=${PV/_beta/b} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://distfiles.gentoo.org/pub/proj/python/patchsets/${PYVER%t}/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.sigstore + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +if [[ ${PV} != *_* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +# https://www.python.org/downloads/metadata/sigstore/ +VERIFY_SIG_CERT_IDENTITY=hugo@python.org +VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index f9067a20899b..c0907f5f000b 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,2 +1,4 @@ DIST pyzotero-1.13.1.tar.gz 554937 BLAKE2B 5dcd315a57d6b725d97529a97a99703b51b0c4e32759a321a8b22f9ec2b61c294fe4f4a52982ba81c1f1158cafeef6f92d833075fb9c7ce4b522dc6568bb4d50 SHA512 b77c3c2c382564269595b0b3ba3c4a8986df0bf4547336cc422a08a07cf3684a42dbc72219f597656f3d5efbab2a46997f3529e2e4a6ba90a891b166c671c53f DIST pyzotero-1.13.1.tar.gz.provenance 9551 BLAKE2B 9f4d4284fbe94d0420faf7608a268eaaa486d8712b39d15c0d616b44785fffad435bdea2b2ed18bddf9bebde7586e1159e26021a9e3b10af645c2614b06758dc SHA512 fb08092d7ff8301adfa8b4e35634d5fc3c7d58dc8da8a34551a518030d9b6ce728a0cb42e74caf73dd168b27c13303f0bfdd248c943de2bffc3df1e2c0218bf3 +DIST pyzotero-1.13.2.tar.gz 554797 BLAKE2B d1170d65ab70dab7e443c8fe6a90cbb6b9c9b44cc5d1a12ce57cfb00395525a74d7fe47974d3513b764756292d58891278fc53caf1164702e08c192ceaee9ecc SHA512 46611670b1a75c20edbae542fbf01eb4996b80b387ad7a8d516d35c49ba344aaba16ff35916a31ac62e43e1779b42f153b9e3a46cbbf03490a31514b422238f4 +DIST pyzotero-1.13.2.tar.gz.provenance 9786 BLAKE2B 654a42646f04ebcfe8aa8e8e5d6a60ca34835aafc217d63f9f0dec2c909c55e81553320d0cb5133a9436ced3ff0eae591b1edc20b8a72750c0c17bdd51b8aa4e SHA512 563b86979a16c1b8486cecce00f91c7bb6532d2f7e9cafa28818f1705e67323c8bea0e907c9643275a74f94eba8ce0517dbea6bb1fa2768aef287c5d7f1a7156 diff --git a/dev-python/pyzotero/pyzotero-1.13.2.ebuild b/dev-python/pyzotero/pyzotero-1.13.2.ebuild new file mode 100644 index 000000000000..5fe73cdbf3b0 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.13.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYPI_VERIFY_REPO=https://github.com/urschrei/pyzotero +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="BlueOak-1.0.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + =dev-python/bibtexparser-1.4.3[${PYTHON_USEDEP}] + >=dev-python/feedparser-6.0.12[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] + >=dev-python/whenever-0.8.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] + test? ( + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/pytz-2025.2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/tzdata-2025.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + > tests/__init__.py || die + epytest -o addopts= +} diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest index 1f2829df3bae..5cbeefd2e180 100644 --- a/dev-python/redis/Manifest +++ b/dev-python/redis/Manifest @@ -1,3 +1,4 @@ DIST redis-py-7.4.0.gh.tar.gz 5199993 BLAKE2B d0c9beb4b7d32709fb447de7f9dc68f851621ceb2dce57461af98590726080a85e3226cdc68da3086a007b59323d5834559194aad40ffbb80408b646ced4716b SHA512 e3366c6bbbd98d4b3e238a06a033bd830ca65105c9aa9533e4e4805feaa41eae3130a7af9950943108704de90a8ad6aa855ec1948d2e4af901af05ef12152b61 DIST redis-py-7.4.1.gh.tar.gz 5201318 BLAKE2B 77fe9d5680cf0a9a70822d018c8af19c7b0222b4efd32fa0b5d5bc9a95eb9a0239cecb269940dacf41cc3bc86af1b1eec7fec4f338d9a6b0fdf87e1473f8c39b SHA512 ddce69580ee42c2622794f7bf94fb9170d2f3ac03041ac3ff0c5cc56b87d6f1876335e7304d7c22dac402bf7318f088e4a990bc2be818b54568959afcabc73bf DIST redis-py-8.0.0.gh.tar.gz 5392468 BLAKE2B 437fb893c5af23b6a0440b62606e25b78b50c4f2c8b87a5885d3a4c6105f3e2a92045b92d2c82cb6a05d41337bc1e74166b9ff119218af28f0ffb661d5af3b79 SHA512 bbf726e8d639e7a9e1cf7ee62cbee588e69426132ea6062a1bd3983b4771932d5f5fc4f6539f1b0b519a8cfd37399d6b01dc3b9cf5d9ca427f077298cd3a857d +DIST redis-py-8.0.1.gh.tar.gz 5407455 BLAKE2B 13345dae770f997c334df82930f0e78e2448798e2564b4a921e36e0c10999eb23244e12ffaf4bc74783ee3514c4bba01534053b06eb62d73063ac6a606667ec4 SHA512 76dde110fe52a8bf7fb24f3619ee12ae0818bb045918f5d68cecfc5b19b9f9abc2b206428161b895abebf6a52fa81788d3802f8367b4b6b800e1f24c52009165 diff --git a/dev-python/redis/redis-8.0.1.ebuild b/dev-python/redis/redis-8.0.1.ebuild new file mode 100644 index 000000000000..262a0e01fcb9 --- /dev/null +++ b/dev-python/redis/redis-8.0.1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +MY_P=redis-py-${PV/_beta/b} +DESCRIPTION="Python client for Redis key-value store" +HOMEPAGE=" + https://github.com/redis/redis-py/ + https://pypi.org/project/redis/ +" +SRC_URI=" + https://github.com/redis/redis-py/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND=" + test? ( + dev-db/redis + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,forked,timeout} ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Flaky test + tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock + tests/test_background.py::TestBackgroundScheduler::test_run_recurring + # require extra redis modules that apparently aren't packaged + # on Gentoo + tests/{,test_asyncio/}test_bloom.py + tests/{,test_asyncio/}test_graph.py + tests/{,test_asyncio/}test_json.py + tests/{,test_asyncio/}test_timeseries.py + # apparently available only in "Redis Stack 7.2 RC3 or later" + tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete + tests/test_commands.py::TestRedisCommands::test_tfunction_list + tests/test_commands.py::TestRedisCommands::test_tfcall + # TODO + tests/test_commands.py::TestRedisCommands::test_lolwut + tests/test_commands.py::TestRedisCommands::test_module + tests/test_commands.py::TestRedisCommands::test_module_loadex + tests/test_commands.py::TestRedisCommands::test_zrank_withscore + tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore + tests/test_commands.py::TestRedisCommands::test_xinfo_consumers + tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore + tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore + tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers + tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen] + # requires sentinel? + tests/{,test_asyncio/}test_sentinel.py + # require REDIS_ENDPOINTS_CONFIG_PATH, except there's zero documentation + # or examples of what this is + tests/test_scenario/test_hitless_upgrade.py::TestPushNotifications + tests/test_scenario/test_maint_notifications.py::TestPushNotifications + # requires opentelemetry (with some unpackaged stuff) + tests/test_observability/test_provider.py::TestOTelProviderManagerGetMeterProvider + tests/test_asyncio/test_observability/test_recorder.py::TestObservableGaugeIntegration + # not marked properly + tests/test_cache.py::TestSSLCache + tests/test_cache.py::TestSentinelCache + ) + local EPYTEST_IGNORE=( + # fails over missing certs, we don't do cluster anyway + tests/test_asyncio/test_cluster.py + # require redis_entraid + tests/test_asyncio/test_credentials.py + tests/test_credentials.py + # pybreaker + tests/test_asyncio/test_multidb + tests/test_asyncio/test_scenario + tests/test_multidb + tests/test_scenario + # cluster, not marked properly + tests/maint_notifications/test_cluster_maint_notifications_handling.py + # opentelemetry + tests/test_observability/test_recorder.py + ) + + # TODO: try to run more servers? + epytest -m "not redismod and not onlycluster and not replica and not ssl and not multidb_integration" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + if has_version ">=dev-db/redis-7"; then + local extra_conf=" + enable-debug-command yes + enable-module-command yes + " + fi + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + ${extra_conf} + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest index 38ef329380fc..e06605306967 100644 --- a/dev-python/scikit-build/Manifest +++ b/dev-python/scikit-build/Manifest @@ -1,2 +1,4 @@ DIST scikit_build-0.19.0.tar.gz 274552 BLAKE2B 961436b23d39ea5c6b7f8258da3a10b03e265155ef4e312a69dc7a423dc8cb2ce837f547dbaeaf8902e36ab04736f71ef4e092fb8b6bdca2c601f9728aa777e1 SHA512 3201789ae996603ded40fc997d3df712b440e7242d8ed04f027aa05ac66788c19725a7736e4296429095464024f1b06e6258fc5c7b31879496264bf56e2df51b DIST scikit_build-0.19.0.tar.gz.provenance 9674 BLAKE2B 328eac64356a2e06650c15e3314985401a7d24fcd502f9bd6855c70664d0b3096ffd2e5be25aec14cfc18558f647b1940491dd3626363d3d347d20c347fee7eb SHA512 748553c323cb4d44128497c4c460072e63c86082e7e33d2655ad9348aa0fc4d7a34aba1ef243279f0ff68900cd5133ca8441e75b12351e9a4d27279bcc79aeda +DIST scikit_build-0.19.1.tar.gz 276708 BLAKE2B 46d56cfd0bb2ce431aa898f48909bbc838e61151d33b594f455f679afc87eea45a9c916ebac19f347d8eee78740c15eb29ff47ad35eced725856931c7d4dfb70 SHA512 9404b9503936267f969dfa2e9f53ff808f1ffd90047b62f526bf02c2bfcbb877f5822e516340b3e0a1f6d9aca95e8f732f57ab4e04f5d9757ed419569fe96078 +DIST scikit_build-0.19.1.tar.gz.provenance 9819 BLAKE2B 622fd1dd748c391cc43bd1bbd0af3a533d7097157e0cce94d21873e111ab5e333d4e09f48c435d049114c1a71a0ed4a86d4e4c0c6fb90c34b4d803f3d015bcdd SHA512 dc329e9c0dea0b32281c46923cbcd3123b9fa17309409cefdc2174183cf5f47c34d984bf93e6b92ed659dadd76755694db7f278eb8a0f2793c4ae5c7f287a4d3 diff --git a/dev-python/scikit-build/scikit-build-0.19.1.ebuild b/dev-python/scikit-build/scikit-build-0.19.1.ebuild new file mode 100644 index 000000000000..888663c2fce5 --- /dev/null +++ b/dev-python/scikit-build/scikit-build-0.19.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/scikit-build/scikit-build +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build/ + https://pypi.org/project/scikit-build/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/distro[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-42.0.0[${PYTHON_USEDEP}] + >=dev-python/wheel-0.32.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-0.7[${PYTHON_USEDEP}] + >=dev-python/cython-0.25.1[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinx-issues +# note: tests are unstable with xdist +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +src_prepare() { + # not packaged + sed -i -e '/cmakedomain/d' docs/conf.py || die + distutils-r1_src_prepare +} + +python_test() { + + local EPYTEST_DESELECT=( + # Internet (via new setuptools?) + tests/test_hello_cpp.py::test_hello_develop + ) + + # create a separate test tree since skbuild tests install random stuff + cp -r "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH} + + epytest -m "not isolated and not nosetuptoolsscm" \ + -o tmp_path_retention_count=1 +} diff --git a/dev-python/setuptools-scm/Manifest b/dev-python/setuptools-scm/Manifest index 3db2541207d0..f98653edf14e 100644 --- a/dev-python/setuptools-scm/Manifest +++ b/dev-python/setuptools-scm/Manifest @@ -2,5 +2,7 @@ DIST setuptools_scm-10.0.5.tar.gz 56748 BLAKE2B b41195c9f55f911a8287814ca92216cd DIST setuptools_scm-10.0.5.tar.gz.provenance 9960 BLAKE2B a87ce476be89d90cd11ddff5c92bfaae0716f59dd4953f495273cd4a56f1f57f27461fb07c39884ce64c6b8094fa914e2a374580ca301e9b5ac35dc102f61700 SHA512 578aea9cb7238b26fc421fcef9de704598970700967af4f1a94ca9d582a16e408759f2434fe7fa623d69065cca2b795af0eef10ee4faf65fa86bbf84524c82b1 DIST setuptools_scm-10.1.1.tar.gz 66514 BLAKE2B 5f683dd881bbb69bec3fbcefb9688df74b001b862822f50ca28158285802cf0c2675286e746c383132807af7f761e7a165a2c4dfba53e458f804160616bb02cb SHA512 d48cf858a448d200670a2539c258d40c419c0d41c12e2cadbe7c90dfd449318b25e2c1a4b70b0ad6e040cb05a867b9701bb2e282f0364de23e56d73f31ecd5fc DIST setuptools_scm-10.1.1.tar.gz.provenance 10393 BLAKE2B bd079e3696abc42694f5a01a3495e79839403a08a47ec3bfd89e3e18f9331e79df92bffe890591f77ebb2a932ff797f60d87468745f2fc123292d3481ebe7647 SHA512 674a3342aef170ecb88afafdd3464e7ad13ea949399742ba9fde3536029c1cea24b9c8821abb77e9fdb6c4653e5ba04472d8b9cb2bb0446640cb863213aaa14a +DIST setuptools_scm-10.1.2.tar.gz 66674 BLAKE2B 236058e5c0ba6299757e3e4693e51ea004eb06d4159a4c4dfc3a1f8af59344772a01ba4dc32cd0e3763e5f55943effd393ccae51901693eb85f8eff891c76d3b SHA512 0791ab22419ef79e5aac1ebb5958a831f08ce0834d5ceab2ec0bdf085c73060d75e81cd6dfce7b29a317a68e444be681465662406247ac3e572a5bf100000362 +DIST setuptools_scm-10.1.2.tar.gz.provenance 10213 BLAKE2B 96096834a2f4cf59f557c7b813adaa4f77f6d9aaacf1695cebeb4a84fe7ff7f26a2c37c20f678fbc8f7bbdb42c255abd6b903310d6369dd36c5429f4513e94b4 SHA512 fa8855840d287a382ecbb8c6292824b11e62640155ffddd178804a0e06374d78b81e6699623fd26613c21f84b47d21a6947f5985b3b2b28be04836c8118b66df DIST setuptools_scm-9.2.2.tar.gz 203385 BLAKE2B 8577c4c6265ae851212be04b245b3da8b49d541174f5e675dea916c76b3cba5b5ab9f6264a97904e2d5ca02dee4e3f8eb88c9e8badbba2ed53bed531fe9f6b6c SHA512 757ca11a3d13601606b6914ea70e3d271d287f26ada976ec77334fc0f611208669585d2580994f1ddff830cd698a837d3e882dd5cdccdaf9f8eba34fdd8cb708 DIST setuptools_scm-9.2.2.tar.gz.provenance 9705 BLAKE2B b710df7f8cbb324aa2927243ab0416869319813016d64f589b7a9f565576fff58c1aee18da4ea9bc3fb5a969cf74c1fcaa1332812bf88267ec9f2bf437876e53 SHA512 6ac563d0ab5f1afce28976eb030364a451508ec7d47b6e99668c37b8ba09e3b56500b104d62ad6047fad9f6be0b2b6ebea66b561041485b9d15b84c39fe92313 diff --git a/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild b/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild new file mode 100644 index 000000000000..d2af55acde49 --- /dev/null +++ b/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-64[${PYTHON_USEDEP}] + =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] +" +BDEPEND=" + =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + testing_scm/test_functions.py::test_dump_version_mypy + testing_scm/test_integration.py::test_xmlsec_download_regression + testing_scm/test_regressions.py::test_pip_download + ) + + if ! has_version "dev-python/pip[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + testing_scm/test_integration.py::test_editable_install_without_env_var + testing_scm/test_integration.py::test_editable_install_version_file + ) + fi + + epytest +} diff --git a/dev-python/signxml/Manifest b/dev-python/signxml/Manifest index 9b22f94e0da8..b532af40342f 100644 --- a/dev-python/signxml/Manifest +++ b/dev-python/signxml/Manifest @@ -4,3 +4,5 @@ DIST signxml-4.5.1.tar.gz 1615677 BLAKE2B ae7808d5910383e313c04cf1be10c224d7f05c DIST signxml-4.5.1.tar.gz.provenance 9920 BLAKE2B 4dee9161bfb4b2ba5a2bf664c3703745448daf0a411cc29f716525065276014a62beb5b9405b9e42c79a312275112bf62ffe9c1809b014158cfd4e77af8ba6a8 SHA512 bfad600e9b7b8fd11d9876b31f76b50b6441ca023aa4dc4df57a51f7ba3b12e41be3b1e5b847192e6a7cfe760d2022ed39352305ed45179644818986b5abaa21 DIST signxml-5.0.0.tar.gz 1617330 BLAKE2B f5f30910c2c9de4e3762f7feae2052db41c1b67ee46fb8fde5c541397a5c106a653ec53fe1112407b0256b45dee24e1ab036d9562becf8631f23c6d4bae3a916 SHA512 e47119ca6e99be2064ebb13ac1ccfb3e7c098123160c8d838689de0ccd86e8da6ecd85127ab94e0d3c4afe65a482cf5fe29882b4f7af6d34e11acaa87e33b737 DIST signxml-5.0.0.tar.gz.provenance 9732 BLAKE2B 682acf27a84f45033135a933ec83f969c0f6c1ed418443117a49e7547e3ded8364d29ae3aafbefac33efffef6893e4b525534dbd5b850176db06022fb86fa5ac SHA512 e3d0e0cd48b1a944189dac40ced3e35108098a09cbaf18380f24812e326c959592a7cd35a34a4107cd9a657f3cd17c2249db95da1ffaa98067fba2d37948c32b +DIST signxml-5.0.1.tar.gz 1617378 BLAKE2B b99ff9c4407a237b18fa03b0051ff1cfd121d46a8df0b68c4bf3ff6840167b91de1d6b247ccd80e87584a9ca3268964f57fe778768ccd549534dc318fd8425ee SHA512 9e345e3252c9c27b08c0d403d3493c703874d3b0358b2caab828b5dd0a12b01364625b026f849a39df5f31419b5571276e3732f49f0dd307517be8b6ab4deaf5 +DIST signxml-5.0.1.tar.gz.provenance 9814 BLAKE2B e4139200754dacba53272db1c914b290e8fb8b3b609afe64cdc1510b9a5c8c9cd57a2c5599620d3d93acd5000782f35390f9e32b5e4d5f6fcdeb1f0e029abc59 SHA512 1eb9e0823563a857832c6ef8d84945df3e9de5d836c5093fbdcb1374643634b2b6ed5adb99ec27a5d1859e9f13326eeb503431395bc92a3bf42a8030e49f7060 diff --git a/dev-python/signxml/signxml-5.0.1.ebuild b/dev-python/signxml/signxml-5.0.1.ebuild new file mode 100644 index 000000000000..88be6abb68ae --- /dev/null +++ b/dev-python/signxml/signxml-5.0.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/XML-Security/signxml +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python XML Signature and XAdES library" +HOMEPAGE=" + https://pypi.org/project/signxml/ + https://github.com/XML-Security/signxml +" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/XML-Security/signxml.git" +else + inherit pypi + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/lxml-5[${PYTHON_USEDEP}] + =dev-python/cryptography-45[${PYTHON_USEDEP}] + >=dev-python/certifi-2023.11.17[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index c34d6e8f585d..5279f7bbbfae 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,2 +1,3 @@ DIST spyder-kernels-3.1.4.gh.tar.gz 247046 BLAKE2B 9d31c18d2967326a2d93cb910a7382bedafa79d6d9a67f43495f63385708a4a9ee7eb480e1f5bc6c9d54d5cc03cca687bfddc1e01adc567a28ecae895b7b7af8 SHA512 318e122f45b60dfb64ec85351b77c4e0bce71b76a557161da4b69fc648ba2a985870d239fc85c0d675511e079b9c30ca36fbf1780fc9121b2e7417c10e4e3a24 DIST spyder-kernels-3.1.4_p20260622.gh.tar.gz 247380 BLAKE2B 8c5169c77d2a6ed2a83db5adc6a2deaec3ebb181454a61153b0e0dc19397ed8ac33a8950e1aff0484b63a3f59705668e2f8e00b4a196c01be7ff74a9862f43e5 SHA512 cfc8db7c33e26d28e00554c8de02df2b1bda29042118a1d8eb2c9b053ab43385db019e639643abde28aeff24f959e13f70bf220d29981e1936880467aaf8e727 +DIST spyder-kernels-3.1.5.gh.tar.gz 247200 BLAKE2B e6e717f1db7ca50aeca11d28d02d116e0c322f2a1432e4a778c8bde0fea57b391b31010aa3e8c7423baba0da58fbbe9151c64c203c22dc82c66427e6a1551364 SHA512 b4ea92a1b8f1d1050749082b59dd0a15b949658f5c437a5abb5885ee596229777a940578bc9ef9f12d1127dc4503220780b2eb0a049f8f1d2b6048abadc70681 diff --git a/dev-python/spyder-kernels/spyder-kernels-3.1.5.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.1.5.ebuild new file mode 100644 index 000000000000..c35fd833418f --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-3.1.5.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE=" + https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/ +" +SRC_URI="https://github.com/spyder-ide/${PN}/archive/refs/tags/v${PV/_beta/b}.tar.gz -> ${MY_P}.gh.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + =dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}] + =dev-python/ipython-9.5.0[${PYTHON_USEDEP}] + =dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.14.3[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( anyio pytest-rerunfailures ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # pydicom only packaged in ::sci at the moment + spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files + + # require polars + spyder_kernels/console/tests/test_console_kernel.py::test_get_value_with_polars + spyder_kernels/utils/tests/test_nsview.py::test_polars_dataframe + spyder_kernels/utils/tests/test_nsview.py::test_polars_series + ) + local EPYTEST_IGNORE=() + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + # require pandas + spyder_kernels/utils/tests/test_nsview.py + ) + fi + + if ! has_version "dev-python/h5py[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # require hdf5 + spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files + spyder_kernels/utils/tests/test_dochelpers.py + ) + fi + + epytest +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 03e851718637..79b1f26c0b8b 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,10 +1,6 @@ -DIST tox-4.50.3.tar.gz 266455 BLAKE2B 77a18cb2beeb4df6e80b8cdb718e5c51ea77b54ad06ea2db7afcc3e665ab27d2938d03ad309fca094b3bedea8c4b5bff5191526583d1746e936709d6ae66de4a SHA512 bc64b99a882c9cf80473e073dd3ecffd7176b9eaa08602cf7e8aa9ec419822907c73e5c5796205c2d2d52de0f828366a0068f5d221c6235c9e114e9025a571cd -DIST tox-4.50.3.tar.gz.provenance 9287 BLAKE2B 44e6d623b0de01dc586e4a29fdc70ab11e8a12ae9f6267851502e986e0ca5bcbc29f1f00bd5054752870155e058e660b78454af216eb439e421be94c74e72b8e SHA512 809624f5faa01e2b9141269a3988b51cf427a0b8b9bb3618b13234c3fa07e660d6b9fb65f5339d8a8a97a9a1b87da21facfe700dee278af974e69852bd5df695 -DIST tox-4.53.1.tar.gz 276809 BLAKE2B 18e99c00cf24d12705050f59a2843d26ce0201982512921d365d8c196a43563f296da973a98a1eb1cac86797a344fa82f3e94e8f5eef5e91339dfb86f7c6d6b5 SHA512 b11df73e47c5c63124b9e7e11c44a8c3c39b40d177b411bcbd4218a9875fd658a32712083102ef2a1cae6e75939cd32f7caa00551de753f30f58f7f52ab4e5dd -DIST tox-4.53.1.tar.gz.provenance 9432 BLAKE2B 33d7b56f0658c9fd009862674eb1b7c7d140af1a19a6c424765c4731376565d4d71b4c99b712782369fff1b7ad2a37c25d7bb5e0c3e64c0de86f3c867cbee63e SHA512 c626b2095aa0d1c94552a56b05cdf66fefd7a5eda1c6db33c3ebfa52bd4e96b118754412d6da872675b0fc76224c9c2e53abbd507b3b10aeac24d752e839df34 DIST tox-4.54.0.tar.gz 279256 BLAKE2B f1a1265879ce21f9f4005268dd5800dd7d84d6c914f453d75c86fca6176aaab7c8e2c7a8091bc9103320469ab7c8b82f6faecb9473521f9442f818ca1a94d741 SHA512 923f622c8c0706a7d667e74b1ff42ec9c8ef578bc59e335cbb03ec3b654025263350241ee72c775499519f9d0b504fa859fe365b9435f25698c84449a3e217ed DIST tox-4.54.0.tar.gz.provenance 9424 BLAKE2B b9f9dee2859d4e640edd8e9ca8274a2715c25a11fe4639ec0b210f9565a12a50523c7f3e051f370259a70772b29abd617b28fa177da7bdc69179b8bd8ff35cf7 SHA512 efdf4aabc3d64219f842c06b9b8ae07b1532076269bd4753bf11e93ff59498337e35eb436f5c5a43028ba4027cd63b5d216febdeb6e0ec9208a435305c8a785f -DIST tox-4.55.0.tar.gz 279415 BLAKE2B 11dda60b9cabd4829237c736bcb9772dd67fb0b3cd3ab5298c8c4ffd7a641430d2ad642a3fd74d8ccae96344b91cf73aeadf1b734b1bd61eb2284c0ba38c70eb SHA512 febc47e4eec439f60dbd26a996469923129aa079abc660f90e6f3da6f37aa1bc335970aea9cde5b7747cbf236acbfd54038aa9b97bba66603ce30c59dde0b39a -DIST tox-4.55.0.tar.gz.provenance 9518 BLAKE2B 63757d88294e09a97b15c77315e567b10bbade87ce731051e2fa513adedf03d43df2fc135b635dfe378d292a5a6cdd81b4177b1d8bb6b7ee5bf5111856738899 SHA512 532bdf5719ce9ea6b11894af6043890289fc72e87d1c2476fc629c2ec8766f76e2444282ee6bb5f9160c20145571c079138e777629b6d026f3420a38f6602fd5 DIST tox-4.55.1.tar.gz 280676 BLAKE2B ccbf018634d708ba00710ea1c15fa1328acf402f021559cb0d3e78a050449a0a0fae9e3a072c0efcf13e98031ed4aa3baf0298b35cba8cae2d8336c181edb40a SHA512 5d34cccd8e4813c0e4a4406711f2e9e3bd61228d3668044d82858d7fbd9aca60e28ac4cf9a3b13f01acc181de1822b3b4f8d27acb99d403faafbfc8063fc5dcf DIST tox-4.55.1.tar.gz.provenance 9530 BLAKE2B 6a8de7003c54e6c388154619fc5900bd968e72862267615f67157e4b4c1294cd1d70dfcb02189788bb415ef84e07775acf08c38fa66113f850c78b00a28f2b68 SHA512 c8773255b47b7078b80c179dff30b0a51a1ec3e0b2576377c377aec87fefa74383e14e4a9c19a067b9eadd45e8611e6d0c2eddbd60b774ac91fbb62abf803e56 +DIST tox-4.56.0.tar.gz 282319 BLAKE2B 249d44656daa4ff9e75fed48765f83367572dc69faa27890b1dbad817baa2e6a7e5d3f2d1dd20856023d86e81e96343ae32db96453d8699de731c6739460c67d SHA512 f7f81161f85986e20c05d96de4555cf7349792383bc4bf9800d43c5ca7642a0395cce61b9d9d07c91c70331f40f725ca9167cbc83409da9baf8e90b9b736fd2c +DIST tox-4.56.0.tar.gz.provenance 9624 BLAKE2B 5ae867da302c83d469372412a849a6f6d68b87832a9f8e31ddb6822763308051dc698c9987c1344cc938685da127da5302b421f0d9c701d81915325461eee03e SHA512 9f5ba8f0f48b2ede83366f6cffd015a5a6ac68a8d3fe4863cd495b0a5abcf1710e5e86d4ca871b8ecc976bd81e261121e292e97eee11d41c9e7b20a84f415362 diff --git a/dev-python/tox/tox-4.50.3.ebuild b/dev-python/tox/tox-4.50.3.ebuild deleted file mode 100644 index 750901296d08..000000000000 --- a/dev-python/tox/tox-4.50.3.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/tox-dev/tox -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/pyproject-api[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/argcomplete[${PYTHON_USEDEP}] - dev-python/build[${PYTHON_USEDEP}] - dev-python/distlib[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} ) -# xdist seems to mess up state between successive implementation runs -distutils_enable_tests pytest - -src_prepare() { - # upstream lower bounds are meaningless - sed -i -e 's:>=[0-9.]*::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz - tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - case ${EPYTHON} in - python*) - local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) - ;; - pypy3*) - EPYTEST_DESELECT+=( - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' - ) - ;; - esac - - epytest -o addopts= -} diff --git a/dev-python/tox/tox-4.53.1.ebuild b/dev-python/tox/tox-4.53.1.ebuild deleted file mode 100644 index 0f7659db3fc7..000000000000 --- a/dev-python/tox/tox-4.53.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/tox-dev/tox -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 x86" - -RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/pyproject-api[${PYTHON_USEDEP}] - dev-python/python-discovery[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/argcomplete[${PYTHON_USEDEP}] - dev-python/build[${PYTHON_USEDEP}] - dev-python/distlib[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} ) -# xdist seems to mess up state between successive implementation runs -distutils_enable_tests pytest - -src_prepare() { - # upstream lower bounds are meaningless - sed -i -e 's:>=[0-9.]*::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz - tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - case ${EPYTHON} in - python*) - local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) - ;; - pypy3*) - EPYTEST_DESELECT+=( - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' - ) - ;; - esac - - epytest -o addopts= -} diff --git a/dev-python/tox/tox-4.55.0.ebuild b/dev-python/tox/tox-4.55.0.ebuild deleted file mode 100644 index db6e52f11b21..000000000000 --- a/dev-python/tox/tox-4.55.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/tox-dev/tox -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE=" - https://tox.readthedocs.io/ - https://github.com/tox-dev/tox/ - https://pypi.org/project/tox/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" - -RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - dev-python/pyproject-api[${PYTHON_USEDEP}] - dev-python/python-discovery[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/argcomplete[${PYTHON_USEDEP}] - dev-python/build[${PYTHON_USEDEP}] - dev-python/distlib[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} ) -# xdist seems to mess up state between successive implementation runs -distutils_enable_tests pytest - -src_prepare() { - # upstream lower bounds are meaningless - sed -i -e 's:>=[0-9.]*::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz - tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs - # require tombi - tests/session/cmd/test_schema.py::test_schema_tombi_lint - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - case ${EPYTHON} in - python*) - local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) - ;; - pypy3*) - EPYTEST_DESELECT+=( - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' - ) - ;; - esac - - epytest -o addopts= -} diff --git a/dev-python/tox/tox-4.56.0.ebuild b/dev-python/tox/tox-4.56.0.ebuild new file mode 100644 index 000000000000..23fd6cf278e6 --- /dev/null +++ b/dev-python/tox/tox-4.56.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/tox +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + dev-python/python-discovery[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine ) +# upstream timeouts are quite short +: ${EPYTEST_TIMEOUT:=180} +# xdist seems to mess up state between successive implementation runs +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs + # require tombi + tests/session/cmd/test_schema.py::test_schema_tombi_lint + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + epytest -o addopts= +} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 919e2b5c0881..ac494b2d9d55 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -2,3 +2,4 @@ DIST uv_build-0.11.16.tar.gz 390555 BLAKE2B 728d2aa39bd35ace67f95840acc73c7a361f DIST uv_build-0.11.19.tar.gz 398965 BLAKE2B 01f2ba93ad45b68649599ace9a678478a9a595bcded022a5ff3ec4638f6e4f8d9ad21173c67511bb11f75327f3045e3cb4f9860b57d790502aa71ad8bda59f61 SHA512 9ff1f62933f1f3a81386306ad64c65153848ff9461ee6b690455d1bf6f41ac2287302e42afe11dbc9b1532c08908f96d5158d5b2ff0e829a10330472b7f346cc DIST uv_build-0.11.21.tar.gz 400102 BLAKE2B 17766a7ebbfb0ec01b2f0ef76332c30b4bb9010c4ea0cf29a217a4ea45df8a3680c831c00974ad6732c847b5caae7aadf4e3639eff77223ef21a77040993e562 SHA512 7ee8b981791533f35313afde228b38de5dd460713a9453b61f620df63f5a6feb0cb2cd18e2a3fb29199e13a9781f31bf850002f9b4a747c14e3cf0579f8ba970 DIST uv_build-0.11.23.tar.gz 402105 BLAKE2B af9b72353cf82896795545201e911ed7a26f690bce392597bf8ba602594637cdd0562bccbac56d34ca0b2bee274cd533af1c8b79a73e5177711ef8b62e0b7a53 SHA512 730ceaad2e1ea092dfc37ac46ba631cf9e549415240e223e93d56afa1738b1bcdaa79427336ca13d273645ac8e5e9adb8ea6edbefa62c76b1380c7f663f8c77d +DIST uv_build-0.11.24.tar.gz 401361 BLAKE2B cdafaca66f3a6dd5db0f9e7520428790b1ebaf98d2adc8fe5a4f4b7754649cc50559066343bc2d95ff2634ceedf69f4f19bc33d88da3a2212f8c06531c5fb917 SHA512 3dfb1a9af61ce8f666c161f63a77f609c68f0578e1bd6eadc8bf9f681dabfc7427418e99e134334aea8f96bc6ea9537b62f162200050078fcfc187fd8c0eb0f1 diff --git a/dev-python/uv-build/uv-build-0.11.24.ebuild b/dev-python/uv-build/uv-build-0.11.24.ebuild new file mode 100644 index 000000000000..d66584ed2ede --- /dev/null +++ b/dev-python/uv-build/uv-build-0.11.24.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 6281ff69f9d3..ad2725d6cfe3 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -6,3 +6,5 @@ DIST uv-0.11.21-crates.tar.xz 43509336 BLAKE2B 2a1fcc003c4c2cb927225a5beec44239d DIST uv-0.11.21.gh.tar.gz 5420532 BLAKE2B 87bf0bc0064398dcbd9848589edcef0ec60aba55fe6dc678742caa6722738d08485edf368738ba3f83e12a13fc29a799b08d4ad3ab54de82a1b543f0c83e1b45 SHA512 c1057ff5e2387dc190d12c71fbdfddca3d99e03d2b00065f0077f9c912dbcb19ba8b81cbcd874c31f613a5ab2fafef77f6034589ccab5ee33940a6eb72714598 DIST uv-0.11.23-crates.tar.xz 43596924 BLAKE2B deeafbb1c13c2ae42f4ba12e7c220f518997ea41b95817778d60608b6b111d108a6660baa10737c4a121570e4794f0f6544feff2b246ad1f8a9b9496d3bdff5f SHA512 b6ded3c40033b2cd610b510aa47ca20b1866d4302ec0de8892f2c1017ae48fa6795277ef5cdcb448f8f4c25cb604eee6e60bcc035650a3537951765715c4c9bd DIST uv-0.11.23.gh.tar.gz 5488941 BLAKE2B 0d54f3f8568787cc2c6e9d1eb5dbd6f94d2d408f3872d4ca3557989f38def6ed11380e90583ab9ee162a9a2a60e1f47311f7ed3c93096117d044b580fa9a1de7 SHA512 4d40479ca540294fbdb346ca8c2dcb91fef572d1e663951ffea2370f9d09f12140aed2029be1178332874ac80150155b88774798c6424686badf7eeef646ce3f +DIST uv-0.11.24-crates.tar.xz 43622872 BLAKE2B 42ae58c7be399b917935d18840aea0a37545fe8f55eb236946804d6d937f8c29b31076f82bb67927ebd6cbd8505ac8d66317bc3c1426edeb5d45a5ded3feb6aa SHA512 745779a5ca9f604ed37506951cb1848d21ae3e63cfb1a17ecdd0603670a18e44eb084a4f7e92f582b9d3682218f54c6c29fffb63c58edbb79b72970d57a436a5 +DIST uv-0.11.24.gh.tar.gz 5503210 BLAKE2B b73f436de8b937c05c7d54edeef28ee658784c99df2bbd6ece638f799083b51b5d59fc57913c9a5daa58b5d44f69a3f5a3c0c0f1987cda35aa110326923fcb35 SHA512 4927f0280b4041293180db6efed8c31facbb23cb4349a2383ef0488c26b21a3fc6ab98f94e7ff41bf4411f65d158208345632e130a6fae9f2bc85d40deddefec diff --git a/dev-python/uv/uv-0.11.24.ebuild b/dev-python/uv/uv-0.11.24.ebuild new file mode 100644 index 000000000000..e5931b30ed3e --- /dev/null +++ b/dev-python/uv/uv-0.11.24.ebuild @@ -0,0 +1,163 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.94.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MIT-0 MPL-2.0 Unicode-3.0 + Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF + + # uv is now forcing bundled liblzma, sigh + sed -i -e '/xz/s:"static"::' Cargo.toml || die +} + +src_configure() { + local myfeatures=( + test-git + test-pypi + test-python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + dobin "$(cargo_target_dir)"/{uv,uvx} + + 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/vcs-versioning/Manifest b/dev-python/vcs-versioning/Manifest index 33557fb70517..0168172157e0 100644 --- a/dev-python/vcs-versioning/Manifest +++ b/dev-python/vcs-versioning/Manifest @@ -1,4 +1,6 @@ DIST vcs_versioning-1.1.1.tar.gz 97575 BLAKE2B c55952d68f021d6e7edf7ec7ba54a9a6e9716a0a220b035a5df5f33315f8a0a8b235a67139c52a1b53ba8dcd470d3c52cee11575f81f08b09d867dcf350416ac SHA512 e5bf9fa68eeb38c8d884f4bad6f93f1354854ad0ab04919d369ed1b40832c2ed117f4c9d9458ae5a8a71c84497f6d0ff0ca5b38881c7a3a057619b3da3cbbbbc DIST vcs_versioning-1.1.1.tar.gz.provenance 9842 BLAKE2B 7c25bc61bc3f6644f82b03252f1fe9322ddd3e0aff8c473f54105f41b43951ae8b18fd6377d5dfa64b5c00f5ed17e32c3637fff03e0b7e4e8c27c796a0ff38bd SHA512 902b141380652204deadd5265c191dd86c154b6e5ee305148fdeee8d242a02ab129d59a0e1530422ba95b9d752d011fc6a4e8246931bd0558a6a0509778c0913 -DIST vcs_versioning-2.0.1.tar.gz 127905 BLAKE2B 3c7c8c450e7319811ad45739806816d42ca88076fa3e3cbd8dd6f6d8caa169cf1ad4433daee4f5699276fc31899828df1383b6639ba4975508a89169d9aed844 SHA512 fe43bac233deb19e8d0e3300442c966b503ce782ce9fdcf7bf5ff797a0d02541922e663c813f88c218d418acc02c2cdac0be151432ff8124a2414c611d292521 -DIST vcs_versioning-2.0.1.tar.gz.provenance 10248 BLAKE2B a0f3f0ea5e0a4a5530d4118dfed947cdcdfd4c17e3521cc9127640e87e3c1943a763cc345e002d5fc8002166f49e8446a9ad9b44f9f92aa31cad37b64db6b727 SHA512 8f17e07c190854eba6961e9108e83aea801c636031f1088d9ecf52232888fa4a7b9ea1935742bcb952b0e7a0c41e9026e975291edbfc74805802aa0100122a24 +DIST vcs_versioning-2.1.0.tar.gz 130507 BLAKE2B 94a0b4e1e9ca3421a6476f818b057dac2007eac088f06b1ed1ba5160b00d094a918e30a5952e35f7667558eefc20f11cd0e7864e3294c713a7abdee33d43c60d SHA512 b8cdb083e2a229fd78141e51543971d2ad066f9e3ba53aa8be941ce6408c8b80b8db2eb4aac738d31de47d409d4eaa4473ebe3458f7b8ed696ac4127b28f76f3 +DIST vcs_versioning-2.1.0.tar.gz.provenance 10150 BLAKE2B f3969455387d463b95892ec51667ace679918a8bb2d72605c92d61f7da9117f516c0d17c770b01b5bd4c8c760e33c26c761b2bc1a0f97806fd9b5c25346b9171 SHA512 da43973d6f3e7f02559cf659a7628404e927438890faa9387c6694ee62428f10165c4c3ec1984c6e546aa5b664c1bc47acbd32fc9791758c3cb210ac3f0bf36a +DIST vcs_versioning-2.1.2.tar.gz 131716 BLAKE2B cc71ee0509b92af3d859d85d226e4bc52ebfd17c09eb9e215caf01e92131f57741fa996af184a70ce7040ba3d3607c31af9e3cde0fbf9b986b869d64eb6c847e SHA512 12fa4b10ebe8aa7014fbf9e96e607224f886d4f72ee2b09a346ba25e0ddcf09cc67f38807472d94dfb9ff94bd7462f06669b88c91dc6e68ee177b338265bc501 +DIST vcs_versioning-2.1.2.tar.gz.provenance 10346 BLAKE2B 9d7c828b593a69dc7a1c2544e3e57b5b0652436c00c77d57fbff5fcef45b1f10df0758d500efde0e1b5c8fbfd7bbff64fe3a0206434b77370bcfc0637b57df1d SHA512 571095ceeaeadae96d6a5b9182789be52ed8d889b239b164afd1af62f5fd3702b8ed0a219b4d685449a205293eaaa1cadd6b188eff37ece68a9987e51444a84d diff --git a/dev-python/vcs-versioning/vcs-versioning-2.0.1.ebuild b/dev-python/vcs-versioning/vcs-versioning-2.0.1.ebuild deleted file mode 100644 index 2270f7da84e5..000000000000 --- a/dev-python/vcs-versioning/vcs-versioning-2.0.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core VCS versioning functionality from setuptools-scm" -HOMEPAGE=" - https://github.com/pypa/setuptools-scm/ - https://pypi.org/project/vcs-versioning/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/packaging-20[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/packaging-20[${PYTHON_USEDEP}] - test? ( - >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # the usual nondescript gpg-agent failure - testing_vcs/test_git.py::test_git_getdate_signed_commit -) diff --git a/dev-python/vcs-versioning/vcs-versioning-2.1.0.ebuild b/dev-python/vcs-versioning/vcs-versioning-2.1.0.ebuild new file mode 100644 index 000000000000..2270f7da84e5 --- /dev/null +++ b/dev-python/vcs-versioning/vcs-versioning-2.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core VCS versioning functionality from setuptools-scm" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/vcs-versioning/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing_vcs/test_git.py::test_git_getdate_signed_commit +) diff --git a/dev-python/vcs-versioning/vcs-versioning-2.1.2.ebuild b/dev-python/vcs-versioning/vcs-versioning-2.1.2.ebuild new file mode 100644 index 000000000000..2270f7da84e5 --- /dev/null +++ b/dev-python/vcs-versioning/vcs-versioning-2.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core VCS versioning functionality from setuptools-scm" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/vcs-versioning/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing_vcs/test_git.py::test_git_getdate_signed_commit +) -- cgit v1.3