From 5a1e2f874db05baac26359a99597859d0f575014 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 6 May 2026 07:10:42 +0000 Subject: Adding metadata --- dev-python/apsw/Manifest | 1 + dev-python/apsw/apsw-3.53.1.0.ebuild | 53 +++++++ dev-python/b2sdk/Manifest | 1 + dev-python/b2sdk/b2sdk-2.12.0.ebuild | 52 +++++++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.43.4.ebuild | 53 +++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.43.4.ebuild | 67 +++++++++ dev-python/casttube/casttube-0.2.1-r1.ebuild | 2 +- dev-python/channels/Manifest | 6 +- dev-python/channels/channels-3.0.5.ebuild | 41 ------ dev-python/channels/channels-4.2.2.ebuild | 34 ----- dev-python/channels/channels-4.3.2.ebuild | 62 ++++++++ .../files/channels-4.3.2-fix-install.patch | 14 ++ dev-python/channels/metadata.xml | 11 +- dev-python/django/Manifest | 4 + dev-python/django/django-5.2.14.ebuild | 100 +++++++++++++ dev-python/django/django-6.0.5.ebuild | 100 +++++++++++++ .../djangorestframework-3.17.1.ebuild | 2 +- dev-python/elastic-transport/Manifest | 1 + .../elastic-transport-9.4.0.ebuild | 68 +++++++++ dev-python/inflection/inflection-0.5.1-r1.ebuild | 4 +- dev-python/jupyter-server/Manifest | 1 + .../jupyter-server/jupyter-server-2.18.1.ebuild | 68 +++++++++ dev-python/langdetect/Manifest | 2 - .../files/langdetect-1.0.9-explicit-config.patch | 13 ++ dev-python/langdetect/langdetect-1.0.9.ebuild | 4 +- dev-python/langdetect/metadata.xml | 10 +- dev-python/librt/Manifest | 4 +- dev-python/librt/librt-0.10.0.ebuild | 40 +++++ dev-python/librt/librt-0.8.1.ebuild | 40 ----- dev-python/magic-wormhole/Manifest | 1 + .../magic-wormhole/magic-wormhole-0.24.0.ebuild | 64 ++++++++ dev-python/mypy/Manifest | 1 - dev-python/mypy/mypy-1.18.1-r1.ebuild | 127 ---------------- .../openapi-core/openapi-core-0.23.1-r1.ebuild | 2 +- dev-python/osc-lib/Manifest | 1 + dev-python/osc-lib/osc-lib-4.6.0.ebuild | 49 ++++++ dev-python/pbs-installer/Manifest | 2 + .../pbs-installer/pbs-installer-2026.5.4.ebuild | 33 +++++ dev-python/pydantic/Manifest | 1 - dev-python/pydantic/pydantic-2.11.7.ebuild | 72 --------- dev-python/python-discovery/Manifest | 4 +- .../python-discovery/python-discovery-1.2.1.ebuild | 51 ------- .../python-discovery/python-discovery-1.3.0.ebuild | 51 +++++++ .../python-editor/python-editor-1.0.4-r2.ebuild | 2 +- dev-python/sphinxcontrib-mermaid/Manifest | 1 + .../sphinxcontrib-mermaid-2.0.2.ebuild | 44 ++++++ dev-python/tempora/Manifest | 1 + dev-python/tempora/tempora-5.9.0.ebuild | 33 +++++ dev-python/ujson/Manifest | 2 + dev-python/ujson/ujson-5.12.1.ebuild | 40 +++++ dev-python/uv-build/Manifest | 1 + dev-python/uv-build/uv-build-0.11.10.ebuild | 99 +++++++++++++ dev-python/uv/Manifest | 2 + dev-python/uv/uv-0.11.10.ebuild | 164 +++++++++++++++++++++ 56 files changed, 1311 insertions(+), 397 deletions(-) create mode 100644 dev-python/apsw/apsw-3.53.1.0.ebuild create mode 100644 dev-python/b2sdk/b2sdk-2.12.0.ebuild create mode 100644 dev-python/boto3/boto3-1.43.4.ebuild create mode 100644 dev-python/botocore/botocore-1.43.4.ebuild delete mode 100644 dev-python/channels/channels-3.0.5.ebuild delete mode 100644 dev-python/channels/channels-4.2.2.ebuild create mode 100644 dev-python/channels/channels-4.3.2.ebuild create mode 100644 dev-python/channels/files/channels-4.3.2-fix-install.patch create mode 100644 dev-python/django/django-5.2.14.ebuild create mode 100644 dev-python/django/django-6.0.5.ebuild create mode 100644 dev-python/elastic-transport/elastic-transport-9.4.0.ebuild create mode 100644 dev-python/jupyter-server/jupyter-server-2.18.1.ebuild create mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch create mode 100644 dev-python/librt/librt-0.10.0.ebuild delete mode 100644 dev-python/librt/librt-0.8.1.ebuild create mode 100644 dev-python/magic-wormhole/magic-wormhole-0.24.0.ebuild delete mode 100644 dev-python/mypy/mypy-1.18.1-r1.ebuild create mode 100644 dev-python/osc-lib/osc-lib-4.6.0.ebuild create mode 100644 dev-python/pbs-installer/pbs-installer-2026.5.4.ebuild delete mode 100644 dev-python/pydantic/pydantic-2.11.7.ebuild delete mode 100644 dev-python/python-discovery/python-discovery-1.2.1.ebuild create mode 100644 dev-python/python-discovery/python-discovery-1.3.0.ebuild create mode 100644 dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.0.2.ebuild create mode 100644 dev-python/tempora/tempora-5.9.0.ebuild create mode 100644 dev-python/ujson/ujson-5.12.1.ebuild create mode 100644 dev-python/uv-build/uv-build-0.11.10.ebuild create mode 100644 dev-python/uv/uv-0.11.10.ebuild (limited to 'dev-python') diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 148db4858a73..c9b861eaa21d 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,2 +1,3 @@ DIST apsw-3.51.3.0.zip 2851810 BLAKE2B cb43f3425d55f23352aced5e9c07f5feec40d0ea037a2983c91e7c381e71f4ff68fcc0ca83eb444f5b37aced861d14ef6ad0c8ae91b677607ca6543ed3fe18f6 SHA512 8c729e3a4344e7b84139bdc686cb7cbbc31e00d134ac3733a27ab63269c143f79658caa899291b3ff010fa5ef7e42ba38c887e0a41b5bd2aeaabf7fe5a523e7b DIST apsw-3.53.0.0.zip 2862752 BLAKE2B d858e910a0d80417d50a3a9c5e41375dedf7e353317ba4680db5400d2acc728338e8ff7894ff53769bbddf2a43bbc2997406e6b405a1e314c927b67bfbee7272 SHA512 9d086f80c063bd7faf2a20fd55db0a42fa53ad999ea9bd439f63fcd23cd6be07d573adf6a5274885c45d9877ffbfbad4db2b9342825e7f468367f2ea57c74c21 +DIST apsw-3.53.1.0.zip 2864390 BLAKE2B d497cf55ab009ee55e2ea2da7b878e4dfe77c83f94ebbfecb4d4f9530b122fc31ec0ea7397372220097c7cbfb423f89b2bdf35dbca25516bfb9e43db8f123574 SHA512 05f48170c3a30c55fd68251431afd5a945a1c7182537e452ae79bb303316ef8e541db07eb340ea7b6eade795d63308251ac1f85960e50bee26ab0f5f15c9a8da diff --git a/dev-python/apsw/apsw-3.53.1.0.ebuild b/dev-python/apsw/apsw-3.53.1.0.ebuild new file mode 100644 index 000000000000..e3bd70808045 --- /dev/null +++ b/dev-python/apsw/apsw-3.53.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE=" + https://github.com/rogerbinns/apsw/ + https://pypi.org/project/apsw/ +" +SRC_URI=" + https://github.com/rogerbinns/apsw/releases/download/${PV}/${P}.zip +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="doc" + +DEPEND=" + >=dev-db/sqlite-${PV%.*}:3 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + app-arch/unzip +" + +src_configure() { + cat >> setup.apsw <<-EOF || die + [build_ext] + use_system_sqlite_config=True + EOF +} + +python_test() { + esetup.py build_test_extension + cd "${T}" || die + "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + doman man/apsw.1 + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest index cf824410352e..721cdd0d6414 100644 --- a/dev-python/b2sdk/Manifest +++ b/dev-python/b2sdk/Manifest @@ -1,2 +1,3 @@ DIST b2sdk-2.10.4.gh.tar.gz 564873 BLAKE2B a6b06e110d725907568e27e15e8ea76636632ad6f2ca36a45587fa8596c0bdcd387f631ea2c2289e8865e20a0d475bc2c278d9471d2e24a4303932c4bbee0dfa SHA512 9854882551d3a4adf558cf914f1afbdd50ca89ac33b3c89731474e78a55e34bbc7b0a2a23d1f794c55254b714cd6f50553dbb82dbdb2e9ccfaa8c61cb14c41ec DIST b2sdk-2.11.0.gh.tar.gz 564361 BLAKE2B 5f0645a23c924c4dec1e851e602b782b8ea7203e667c160520ec7019a8c3500440149ab11c94084ee0aad59d185fbff90f64fc7d4b40d8d47099e7311f3d8437 SHA512 53e511824dcb95e7aa70866ddb75a7b1abd780031b87021f65874d2cb18c527414ad19f291bc87788d8a801aa20f1a676ba27972e56ae76b15766de756163f50 +DIST b2sdk-2.12.0.gh.tar.gz 491790 BLAKE2B 07fb95e44751e48f20da5df8baf81235eed128c655e5993cf38cf78c26201328d377e50d3a243e7a8a3609e01f6a5a86bab3dc20f2b38feff89ce7aa697213f5 SHA512 cf1d37112dc5b6059bab5f6f5d970a29cfc89a9825ad6044c107d5f7a0a38024c7851e3d72b41a1c750d86bcd25d1234d37aabcddc9c77692e67abcd8b4df622 diff --git a/dev-python/b2sdk/b2sdk-2.12.0.ebuild b/dev-python/b2sdk/b2sdk-2.12.0.ebuild new file mode 100644 index 000000000000..308e13e2ed8b --- /dev/null +++ b/dev-python/b2sdk/b2sdk-2.12.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library to access Backblaze B2 cloud storage" +HOMEPAGE=" + https://github.com/Backblaze/b2-sdk-python + https://pypi.org/project/b2sdk/ +" +# No tests in sdist +SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/b2-sdk-python-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# pydantic can be used but it has a fallback +RDEPEND=" + >=dev-python/annotated-types-0.5.0[${PYTHON_USEDEP}] + >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.33.0[${PYTHON_USEDEP}] + >=dev-python/tenacity-9.1.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Requires network access and real API keys + test/integration/test_bucket.py + test/integration/test_download.py + test/integration/test_file_version_attributes.py + test/integration/test_sync.py + test/integration/test_upload.py + test/integration/test_raw_api.py +) + +EPYTEST_PLUGINS=( pytest-{lazy-fixtures,mock,timeout} ) +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 2b81e326dd3c..753305ebf625 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.42.91.gh.tar.gz 1124704 BLAKE2B b6916ead939d892467698a93b7fa9257f09 DIST boto3-1.42.96.gh.tar.gz 1129293 BLAKE2B 186684ffe3d8e776e6f7462b4c7fdd996febcfc84ef87b3fe7399bc44bf00578177dab353d758231d0b2437fdbbef9204fc58b2eeda8f5be95b1d74e967c0d1d SHA512 c265a94e7fb4e7ed19e2f5aa152410c83d8e171373eb95c3572e8cc03fae6371c2ee7145722adffdab4e680b8f2abd0f3c3f4ff52bbd20fdfccd932f30cb9a20 DIST boto3-1.43.2.gh.tar.gz 1133320 BLAKE2B 21890b9f6629ec5af1da155d767a6117beada74550c292ba07d6900666bef39722740493e343a4770cf7f8adbb0030462d9e41366daee4c2bc17c391f14153f2 SHA512 b807ff1e6133285f6f64a83e328b7522f18d2de63838e9d6d70b982f44316b63aed90ddf3cbc12c6c32967c35807c0ef548d647588cd76c09a363e4de0c9b1e0 DIST boto3-1.43.3.gh.tar.gz 1134373 BLAKE2B 040db467be8b1722e99c602b7d3a23e799815506edc6970d0ca552b84efca800088ebd21a1c1a8ff9b3317cabf85d659cd7790aef01d96267c3ae03a8de824c1 SHA512 9c9c8f405b7fd501aa1c0e6b4360aa94ea2b36c81c0a32d84e528a32a3697859abe0c4d74b324ccb8bfa6b4edff34d2cbe5d83f383b3ae63bbfbc847727a49c2 +DIST boto3-1.43.4.gh.tar.gz 1135368 BLAKE2B f392e76b8994d81756b68a91dea865520b6fc7ac65d928e550171b118559ad4c0d05aa9867f1ba7970dc649f440a3a0b581f01c1a618568b69db1ab4822b07df SHA512 bbe8c33efb2176e62ce444e9ec30ba72ad0dee2f97c0406e1f0138848fdf9efbd39ae7f66a947d79dad42dc060397995d7a1bbbc5e4bcc9828978a255f9cac25 diff --git a/dev-python/boto3/boto3-1.43.4.ebuild b/dev-python/boto3/boto3-1.43.4.ebuild new file mode 100644 index 000000000000..11cadb4f704f --- /dev/null +++ b/dev-python/boto3/boto3-1.43.4.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_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.17.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 32dd6f2dcc1a..c88556ec6ce9 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.42.91.gh.tar.gz 16138871 BLAKE2B b5090d9707e20d83bdcc2757f13f655 DIST botocore-1.42.96.gh.tar.gz 16190988 BLAKE2B c63dbf335904dd9fd56d2881428fab2500ef36104fee2f979fb8394860eb30743022db17ffaabfe14bb896bed2b03728e32f0d0f8e7e6f1979abefb171f87a7c SHA512 d3f55cb1c05cb587b89f83eb3ca58fc002d67187e958deb25d8bd571bac89802e63231da4e6b9261616003e6cb3972291697141ad4208cec76ce39769aa81fc4 DIST botocore-1.43.2.gh.tar.gz 16233880 BLAKE2B f35f27344dd853b1c6e7c1049d501f034c378149ccff13ebffafa054a1f76d56f54104046804e6957f533c0db7aa49c4249af8820ad9d382e522b1c1149de65d SHA512 72cc8eaf651b0634af1d023098994db3dc8d879f8c685e75c226935010d5dee08da00577a5192d68bb0c23c928efc9573820c74f468e79594ddc1f6e96e89e61 DIST botocore-1.43.3.gh.tar.gz 16242539 BLAKE2B a9942f5bce01e35ea049478c08220640bad1d224d805baabc2fb592bb942d096186a0d5ac1452a703aa242673bccfd64599b280758203572e19ee311eb289b11 SHA512 4b9741bd63db17d1ab75a68e362a2e53105a8bc040196f9bd6751d74547557ebde867534f3779facdee629de22a6eb780d97fd44c0ea05c921f0e5566d7672b3 +DIST botocore-1.43.4.gh.tar.gz 16254569 BLAKE2B f9f0bbd8ba71747c918b30b4ac4a17d2daf3cb0e64b41e648a73d628a219c94ea4f3165f525cb71799327639fc34ca453d13d9858d536ed93549d34349f7a36c SHA512 6c6cf7461ba5a33bfca28e7be99c245980981456766df60e7b02de6d2df4a8b6801c52261ad23e3f7730f0e56811b2e4a457cec0bc1089fa7d81d17163cb5e07 diff --git a/dev-python/botocore/botocore-1.43.4.ebuild b/dev-python/botocore/botocore-1.43.4.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.4.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_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +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/casttube/casttube-0.2.1-r1.ebuild b/dev-python/casttube/casttube-0.2.1-r1.ebuild index 284769046b88..d0a50d2e88a2 100644 --- a/dev-python/casttube/casttube-0.2.1-r1.ebuild +++ b/dev-python/casttube/casttube-0.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2025 Gentoo Authors +# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/channels/Manifest b/dev-python/channels/Manifest index b58c0c2009cc..93bbf2713782 100644 --- a/dev-python/channels/Manifest +++ b/dev-python/channels/Manifest @@ -1,5 +1 @@ -DIST channels-3.0.5.gh.tar.gz 200118 BLAKE2B 7a7653f986face1e87369917317db013e5c9fc912c6e2d7c737054ffef167bd01feb48f7e2d00d0d331e7a16093478e5416645717aed59e46dfec8f9b3641a2e SHA512 b12d1aec9602b702b5a097e9ca52dccad49940f82fcbe5594890c9bd1f1879a2fcf0f29630ca53e4972a26853df8f71d07d7b2cccd876abbf2417a76dee281bf -DIST channels-4.2.2.gh.tar.gz 197010 BLAKE2B 321bf62c68038ce511145acd43c036dd298d58056f20ab2d676c3e3a8d6360a86a4f07c8f9ed6c123f888c012d69da22cfae4fb477dd5422cf326bf2de6a4c8f SHA512 8f7c8f27981988fed8ec254db91ce0a130b24842949ef94cc9ae21b4a259a7003654ec86c4e18aa81924e26d9b81b6a2aafaac404e490cbdda6b4a100476917a -EBUILD channels-3.0.5.ebuild 936 BLAKE2B 788d0e9a2822dd9d0ed2d1d1a62135aeb5f244710b66f7591962518a5204cde5b8e779280783dd1d1a1b1a3fa9b272a0eb457f1d88d62c8ecefc8f67384929ef SHA512 89003fa68c7ab1cdd1a329f4389ba6fe28f491217a70c03b2979a992b450d8aa1a02f024f073ad5fc0aa1d093d81c6c8b1adaa45bdc9a179f5bd1607d85c13ef -EBUILD channels-4.2.2.ebuild 829 BLAKE2B e5946c4a0eaf9fb3ffa2092a3d5d49d3d6ee16f151483fa2b716c8bab3350eca5e330a22822f881421d8882ffb970f4c56154c613477d094319e46addf1a5537 SHA512 84ce30d87a654c1a89ac299fb0f6447ca9c736e4b63497d83fc2687384e9cbe8094ba8f5021a19f726f9bae97c6b6d11eddef6a9ee5c275efe827bf95d3848ec -MISC metadata.xml 445 BLAKE2B b4c0a41d6caadfbc53cbba3c41f8b7689a286b3f8d285c37a88a1f79d8dc350b82fea255048c022b92091a1e0cc67bf19645d6c32183b82a6dd49cccadf5078f SHA512 380c8b98efe8d9a2513c51899b7de90b115d4a51f104f46b552ff8929c322850e511e245a2ba0e976213416ae7241a17292ca98248caacfc891fcdcf5cea5d44 +DIST channels-4.3.2.gh.tar.gz 206077 BLAKE2B c0913d67dc74bc728dd828584cf803b4ad175bab717de71ccf1e1c5b6aaca296fd15d011deb07b2876e63b7daaefab5e5ee24c323e907b3c563f5358759f14b8 SHA512 29d9c91aca721fad44143978863c45812bf596bb65cf99084803f78d85c664d5cc7ca1015df151cdc27754b822c9cfd18102989b6e5f59bc50257f6c9d8b8b3e diff --git a/dev-python/channels/channels-3.0.5.ebuild b/dev-python/channels/channels-3.0.5.ebuild deleted file mode 100644 index 03a4923889fe..000000000000 --- a/dev-python/channels/channels-3.0.5.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Extends Django abilities beyond HTTP protocol" -HOMEPAGE="https://github.com/django/channels" -SRC_URI="https://github.com/django/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - >=dev-python/django-2.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/async-timeout[${PYTHON_USEDEP}] - >=dev-python/daphne-3.0[${PYTHON_USEDEP}] - > setup.cfg - - distutils-r1_python_prepare_all -} diff --git a/dev-python/channels/channels-4.2.2.ebuild b/dev-python/channels/channels-4.2.2.ebuild deleted file mode 100644 index 710613a7cbd1..000000000000 --- a/dev-python/channels/channels-4.2.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Extends Django abilities beyond HTTP protocol" -HOMEPAGE="https://github.com/django/channels" -SRC_URI="https://github.com/django/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - >=dev-python/asgiref-3.5.0[${PYTHON_USEDEP}] - >=dev-python/django-4.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/async-timeout[${PYTHON_USEDEP}] - >=dev-python/daphne-4.0.0[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme diff --git a/dev-python/channels/channels-4.3.2.ebuild b/dev-python/channels/channels-4.3.2.ebuild new file mode 100644 index 000000000000..ffafd1ece52b --- /dev/null +++ b/dev-python/channels/channels-4.3.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 #pypi + +DESCRIPTION="Brings async, event-driven capabilities to Django" +HOMEPAGE=" + https://channels.readthedocs.io/ + https://github.com/django/channels/ + https://pypi.org/project/channels/ +" +# no tests in sdist +SRC_URI=" + https://github.com/django/channels/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + =dev-python/asgiref-3.9.0[${PYTHON_USEDEP}] + >=dev-python/django-4.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/async-timeout[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # avoid daphne as it requires autobahn + tests/sample_project/tests/test_selenium.py + tests/security/test_websocket.py + tests/test_database.py + tests/test_generic_http.py + tests/test_generic_websocket.py + tests/test_http.py + tests/test_testing.py +) + +EPYTEST_PLUGINS=( pytest-django pytest-asyncio ) +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/channels-4.3.2-fix-install.patch +) + +python_prepare_all() { + # avoid daphne as it requires autobahn + sed -e '/"daphne"/d' -i tests/sample_project/config/settings.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/channels/files/channels-4.3.2-fix-install.patch b/dev-python/channels/files/channels-4.3.2-fix-install.patch new file mode 100644 index 000000000000..18eca8f75445 --- /dev/null +++ b/dev-python/channels/files/channels-4.3.2-fix-install.patch @@ -0,0 +1,14 @@ +diff --git a/setup.cfg b/setup.cfg +index 742e1f6..43d8c0d 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -52,7 +52,7 @@ types = + + [options.packages.find] + exclude = +- tests ++ tests* + + [flake8] + exclude = venv/*,tox/*,docs/*,testproject/*,build/* + diff --git a/dev-python/channels/metadata.xml b/dev-python/channels/metadata.xml index 7093cae71294..0dec5a678a5f 100644 --- a/dev-python/channels/metadata.xml +++ b/dev-python/channels/metadata.xml @@ -2,11 +2,10 @@ - marcin.deranek@slonko.net - Marcin Deranek + negril.nx+gentoo@gmail.com + Paul Zander - - https://github.com/django/channels/issues - - slonko-overlay + + gentoo-guru-overlay + \ No newline at end of file diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 3b3c2698d01c..94a2916827df 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,6 +1,10 @@ DIST Django-4.2.30.checksum.txt 2498 BLAKE2B 82da291f4b5df6d4058f30e918f47388938429b0b4030672e80ac0b566dd138aa7edf88479cbafe9757c9443b16bc20d8a0708ddad310ebd16390847793cbe20 SHA512 a71849dd02eb2cbfed340ae286c7d02bf6b9cef0509ea04c6b38160ae2779240f54b50ec25487d485ef505c04cb5dc20afd01708460bc1ef5485f1ff0adecba2 DIST Django-5.2.13.checksum.txt 2498 BLAKE2B 87b8f43819321dfe61964fe157b3c732a4db7674a717e71603ce888871f21a5bd991f6ed40f3bb8e8819f954cd4c4befda305962b88127a85d11a49eb086afaf SHA512 7b148ce939b257dc2f94a616564e0e3e0db05ea1d93c5324865fe124f16727063ca0b268fa4e463b3847172095baa276487b272bae608400fac9c69cbcd598d1 +DIST Django-5.2.14.checksum.txt 2317 BLAKE2B 0cd012b8815ec7305520483ea1c9db5b3b1373ede52b120010472c662ba55f110c8ac3fd5e12ef539618911dae28d81fbe9886f8436e941b95f2d7d3ae09f4ea SHA512 b81cb4877274d11f6270b55b9726aeec378f92e48f4ce9394a556156aad07af28f622dcad86ab93a594314639259888194a4f8df63bfaa109f69ad7a9441c7a7 DIST Django-6.0.4.checksum.txt 2488 BLAKE2B 47d11160eda2ab91264a6c92e963e8e238d92f985276a97335c01d4dd591c12828a2b709583e9c8ad0fe7f1aace73742582a4229a513d057c0cba1c40a0acebe SHA512 01ace44fd2e8c4a56f6bba29f767d24504bd6e1ea64d9d3356bb2787410e5c6aef30f764d84e31b2fe8a17d507c5030c238d0384c27a4c3fab9b4008d8e039cf +DIST Django-6.0.5.checksum.txt 2307 BLAKE2B 8dcc3a52c9cce9dc00d4911025deb818ec2eccdc3f5254dd640720ac81077ea4ab7b8cd39ec96a4c099f9796e81f4980a8b38e5e4750c405fa3fdc1a783c227b SHA512 7acf5c8e6732eb4208b85b31ba2ab939e3bd7a773827d7f8cbb524b255c8f05ad3acb02c40077f2b7e418ae7287f30090f559bbe44c69c91dba6517e5f42a865 DIST django-4.2.30.tar.gz 10468707 BLAKE2B 760101d8eede890455e1df29bf6cd018007216f8f7ceaba8381c757eec5387b0d8524af2e4519cf6adeca93d3116f3f82b57887f73cc68c89dfbffddc79158e8 SHA512 62bbb451a3ab61ab1679ce9e86178147930cc711f01a0d983aa231ffbc4152f1926d3da240751ee4636f1c0c421248d2f3ee5ebd6827c45a4743adae7b46fbe8 DIST django-5.2.13.tar.gz 10890368 BLAKE2B 9fd67406297589e5a6764031dbc73701b7cbbf9f8699a72da8fed389145dc4326b4b01721d544a1c33ad6e636be5d9078275edd1750428f7d4d5f80c95c45cee SHA512 dfe3bcc9cf8cfcacf832e7968687605bb06590d1c77f89373bdf4228baefa857faa441e757a5bf1b7b8b75027daec86f88f5fd7a37d579f26918cdb54448581f +DIST django-5.2.14.tar.gz 10895118 BLAKE2B de911089a503cce7c12ee50e4729ea94c5400f6260c84d79ef12f8fbd251ea7d332eb26b5194fbb1663602ff4b2488673498f81e013fb967fe358ef3b6339257 SHA512 e6e05195d4693209de15be99fc6621cc23b5a0d28fbcf2516b271274aa1637be4f55a6b607fb1c5dc8e913a78eca99d76645bce1cc71468a8dfed7e16c129a84 DIST django-6.0.4.tar.gz 10907407 BLAKE2B 0cccac99762dd0f447816c04c199a9a37c7b3582306ca72b22053d7c2512d464efddbd6b6797c8a57248b17d461606accf36a353f95c379a0911ad702df015bc SHA512 3a750cd96d5f7655d67adad0ead1079f350b4874234e8163c85155a757900119cc0070679b84ec838e9416cf61e3f2199b7a3a88e886cfc67a85d00e53ce5551 +DIST django-6.0.5.tar.gz 10924131 BLAKE2B 03c0e2e5b62efa2a1462d3beba4103d4b30714ecd42f573b3665399feba335925e8032ad01826b4f31da7bf1686768b45b1f872af52c4315900440f4b033bd6d SHA512 c8f06e11217a1ec5a089646c9d3581cbda7c0d1178cdad3547e0d8a3444bd78a093ecea04deebd2d15f6179f43cf9e427385e28ca310de56b8cd7310e3fcb260 diff --git a/dev-python/django/django-5.2.14.ebuild b/dev-python/django/django-5.2.14.ebuild new file mode 100644 index 000000000000..a3115d0e40f8 --- /dev/null +++ b/dev-python/django/django-5.2.14.ebuild @@ -0,0 +1,100 @@ +# 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_{10..14} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig + +DESCRIPTION="High-level Python web framework" +HOMEPAGE=" + https://www.djangoproject.com/ + https://github.com/django/django/ + https://pypi.org/project/Django/ +" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P}.tar.gz + verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) +" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/asgiref-3.8.1[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] + sys-libs/timezone-data +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + >=dev-python/docutils-0.19[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.11.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/selenium-4.8.0[${PYTHON_USEDEP}] + >=dev-python/tblib-1.5.0[${PYTHON_USEDEP}] + sys-devel/gettext + ) + verify-sig? ( >=sec-keys/openpgp-keys-django-20241002 ) +" + +PATCHES=( + "${FILESDIR}"/django-4.0-bashcomp.patch + # d55979334dcefdb11626220000bec97ade09df07 + "${FILESDIR}"/django-5.2.7-py314.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${P^}.checksum.txt" sha256 "${P}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ + -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:0 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt +} diff --git a/dev-python/django/django-6.0.5.ebuild b/dev-python/django/django-6.0.5.ebuild new file mode 100644 index 000000000000..98d3fe282383 --- /dev/null +++ b/dev-python/django/django-6.0.5.ebuild @@ -0,0 +1,100 @@ +# 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_{10..14} ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig + +MY_P=${P/_} +DESCRIPTION="High-level Python web framework" +HOMEPAGE=" + https://www.djangoproject.com/ + https://github.com/django/django/ + https://pypi.org/project/Django/ +" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz + verify-sig? ( https://media.djangoproject.com/pgp/${MY_P^}.checksum.txt ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/asgiref-3.9.1[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.5.0[${PYTHON_USEDEP}] + sys-libs/timezone-data +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + >=dev-python/docutils-0.19[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.11.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/selenium-4.8.0[${PYTHON_USEDEP}] + >=dev-python/tblib-1.5.0[${PYTHON_USEDEP}] + sys-devel/gettext + ) + verify-sig? ( >=sec-keys/openpgp-keys-django-20240807 ) +" + +PATCHES=( + "${FILESDIR}"/django-4.0-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${MY_P^}.checksum.txt" sha256 "${MY_P}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ + -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion django-admin + bashcomp_alias django-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:0 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt +} diff --git a/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild b/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild index a84366045378..af0394cf8e3b 100644 --- a/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild +++ b/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/django-4.2[${PYTHON_USEDEP}] diff --git a/dev-python/elastic-transport/Manifest b/dev-python/elastic-transport/Manifest index e47295ddde47..d16aecd79834 100644 --- a/dev-python/elastic-transport/Manifest +++ b/dev-python/elastic-transport/Manifest @@ -1 +1,2 @@ DIST elastic-transport-python-9.2.1.gh.tar.gz 78272 BLAKE2B d469e4caa01f741dac083e30fd06b8770739060ae4eee5e4b6b5de1c043bbaf4a5267b3bac3bae63513416d0ddde2981b7c4867cd8a14dd53ea16e14e5187b4f SHA512 5de5929b01e213f61891c6e535da2d4a6197f31a8bc68b372622ce128141a1521fe2c20a92c83afdd0fd65487c9c753755bc0f08716e252fbc3e8ed1906305a6 +DIST elastic-transport-python-9.4.0.gh.tar.gz 78628 BLAKE2B 4bf9e5c7ed5829c13316df701e094feb72168e577f926df987878a40b6c7b9d27ffbd9dd8171a6781cef3e32e7e729fbd49e65640903c965a8099fd332c7c412 SHA512 e03c43dc8ee6866c705c2170a610d8f1c78a6957cffe3d41d92e7d54c6dc68ed537585cff5fcc21c0a98711ae38f7547ea1adfb637033a659db89421da2e07bc diff --git a/dev-python/elastic-transport/elastic-transport-9.4.0.ebuild b/dev-python/elastic-transport/elastic-transport-9.4.0.ebuild new file mode 100644 index 000000000000..0a923eb85e08 --- /dev/null +++ b/dev-python/elastic-transport/elastic-transport-9.4.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=elastic-transport-python-${PV} +DESCRIPTION="Transport classes and utilities shared among Python Elastic client libraries" +HOMEPAGE=" + https://github.com/elastic/elastic-transport-python/ + https://pypi.org/project/elastic-transport/ +" +SRC_URI=" + https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + >=dev-python/urllib3-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/opentelemetry-api[${PYTHON_USEDEP}] + dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] + dev-python/orjson[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/respx[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/sphinx \ + dev-python/furo \ + dev-python/sphinx-autodoc-typehints +EPYTEST_PLUGINS=( anyio pytest-asyncio pytest-httpbin pytest-httpserver ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to random warnings + tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off + tests/node/test_http_aiohttp.py::test_ssl_assert_fingerprint + tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain + # hardcodes supported Accept-Encoding + # https://github.com/elastic/elastic-transport-python/issues/269 + tests/async_/test_async_transport.py::test_async_transport_httpbin + tests/async_/test_httpbin.py::test_node + tests/test_httpbin.py::test_node +) + +python_test() { + epytest -o addopts= # avoid coverage +} diff --git a/dev-python/inflection/inflection-0.5.1-r1.ebuild b/dev-python/inflection/inflection-0.5.1-r1.ebuild index c3196d9fa113..e5057798c725 100644 --- a/dev-python/inflection/inflection-0.5.1-r1.ebuild +++ b/dev-python/inflection/inflection-0.5.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" distutils_enable_sphinx docs distutils_enable_tests pytest diff --git a/dev-python/jupyter-server/Manifest b/dev-python/jupyter-server/Manifest index 11a5cc40554c..d4686e633604 100644 --- a/dev-python/jupyter-server/Manifest +++ b/dev-python/jupyter-server/Manifest @@ -1,2 +1,3 @@ DIST jupyter_server-2.17.0.tar.gz 731949 BLAKE2B e15b8e385f620549ce965a553a49f4606180fc782cd1617b4cc723a5a6443c2a0a7e3c19c9f00577afd125ea9f8e8a68e60eb42d2e73c09b69e0181f6fc8b790 SHA512 9eb386bee25e2fa28ef30a2d00178fcbe3a6ab0b3033c461863cfabb78433701fe7c856af27084e57d312d092610c7d50890637114c90c126e39b9f78bc15355 DIST jupyter_server-2.18.0.tar.gz 751152 BLAKE2B 7f34be2b9466fdccea015036ba2f91a408f57c728d17e83589ea6a41f7f41b46a834d7acaf2ce210017c7570c30bd804f62e0ab107ccb40f070693865c2af39a SHA512 d959a59bb121c10dd453f8398ababcd1a4bb49976fcd35b3012bc62e95db10bf63a4539db5d1e19d214dbcfddd45494be7bd3bfaf72bd5c86c8475cf3e924037 +DIST jupyter_server-2.18.1.tar.gz 752024 BLAKE2B 56e6731c158f5a171021bf6a053ef58f398362921982222f877aa5c598b2d04455d123ed9711db6047dd4a12bd0b95d321d3dc712afe77ed900c8a83e4cc8ae5 SHA512 fe1fc53216c3ab4c5a8d4c7182a369bb3212c1098885be58be6befe93b4298c082a68308c6deeb849bbbddcafd4d35d91bdfe081a58e78b469b91bd6c02732f9 diff --git a/dev-python/jupyter-server/jupyter-server-2.18.1.ebuild b/dev-python/jupyter-server/jupyter-server-2.18.1.ebuild new file mode 100644 index 000000000000..d1516490badf --- /dev/null +++ b/dev-python/jupyter-server/jupyter-server-2.18.1.ebuild @@ -0,0 +1,68 @@ +# 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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server/ + https://pypi.org/project/jupyter-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + >=dev-python/argon2-cffi-21.1[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.3[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.4.4[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-terminals-0.4.4[${PYTHON_USEDEP}] + >=dev-python/jupyter-events-0.11.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/overrides-5.0[${PYTHON_USEDEP}] + ' 3.11) + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/prometheus-client-0.9[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + >=dev-python/send2trash-1.8.2[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.7[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{console-scripts,jupyter,timeout,tornasync} ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension + ) + + # FIXME: tests seem to be affected by previously installed version + epytest -o tmp_path_retention_policy=all +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 271137de443d..7100f5f39dd8 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ - marcin.deranek@slonko.net - Marcin Deranek + pastalian46@gmail.com + Takuya Wakazono - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file diff --git a/dev-python/librt/Manifest b/dev-python/librt/Manifest index 3e57fdc1f568..606260dba726 100644 --- a/dev-python/librt/Manifest +++ b/dev-python/librt/Manifest @@ -1,4 +1,4 @@ -DIST librt-0.8.1.tar.gz 177471 BLAKE2B 9a126fb58c75ce420e789d516806e3089ef38ef67a6d19c71e8028f61b6e3a1c1804ebe89280877df9ec0fefb3045da7c4d1a060f1635d6455e48b6cedfdc405 SHA512 0cac416696dd87a1cd9c8276946d7ea25d125b07fe9bb0abc09a5590e549bb781944713f1c83edb83eede3a0038175cc33d8ad3fa4e945ed916aa3c590f91020 -DIST librt-0.8.1.tar.gz.provenance 9403 BLAKE2B 204a0608d5d88e937497eca45e1df0499c12f3b20886b6c983d9f9faa5a1b7577ccd4824805879deb45c91f3dec6007ad15f71d10a85ebaf62bb20c6ee4b4a45 SHA512 c906baf149855c13ab356e3eed93a72e64d3ad49430d50398652d916ad6d429d7852412fc92b03fa141de7527cf48c5a17638304a230d41f233dbd99193addea +DIST librt-0.10.0.tar.gz 191799 BLAKE2B 27dfdbfd999a6ebb2a390dba65ab3356fe155773f8d0d526721a27720a4ee1410db5d04ce8fece6d5aee647d52b4263526ed446bdb6f511f8b41f6b9b5d79d0d SHA512 0cb251c8595d711b90434b7f6bb95b577cf3231bf72d7de75c98db47326dbbdb193cdf69c5bcd165282483c211738ad982bdda2538b62e7ed2eb1de8025f413d +DIST librt-0.10.0.tar.gz.provenance 9278 BLAKE2B 1bb6485bfff8cde221fbb6851b500d3f912706d5101b7efc7d78d7239ff6e41fdcf57928c52ca62585217b7fe293f578fb8e4dc300b8b4fa32c4805c45438ef0 SHA512 bde45f77e5fb079d123def44620e83b3596a5f93240502050808ec82b5b3ff32d2682b32cbeb68fa41dc50a36a53004ede90bd7f052a6ca3ef333e75f031ddce DIST librt-0.9.0.tar.gz 184368 BLAKE2B 03e1b1628c902eeab9d97610ec4a4e764767a4ba7a60cf5c9b52d2c8f7486a8b960baed1e75d895d4f5d9e2d2bc9725ec80e4269352b9e602833c4aa92c6bc5e SHA512 0877b217af0898b20623290aa5aeaabc224342d19bf2e6142d7ba7afd1d9d5ab19266e79e09b31a4b6cdd02ebeebc38561fc8876ff13026df1745e35ddd7d7a6 DIST librt-0.9.0.tar.gz.provenance 9176 BLAKE2B af4aacde70c07d9458714711402f508197fd232abe624dfce92a2a68f32d25c0b99bb15ce09dfc0b7975aa60119146062c722436ded816396eca667d9bf36ca9 SHA512 c568c933cbb8b1016c7b64308001a3d205120afa0f8a7845613ea8907eaffecc796ac5668db002260b30974f4839e17b88d5eb231eb6124263194e9270c78e18 diff --git a/dev-python/librt/librt-0.10.0.ebuild b/dev-python/librt/librt-0.10.0.ebuild new file mode 100644 index 000000000000..961df9196779 --- /dev/null +++ b/dev-python/librt/librt-0.10.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/mypyc/librt +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mypyc runtime library" +HOMEPAGE=" + https://github.com/mypyc/librt/ + https://pypi.org/project/librt/ +" + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/mypy-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_compile() { + # setuptools is broken for C extensions, bug #907718, bug #967476 etc. + distutils-r1_python_compile -j1 +} + +python_test() { + rm -rf librt || die + epytest smoke_tests.py +} diff --git a/dev-python/librt/librt-0.8.1.ebuild b/dev-python/librt/librt-0.8.1.ebuild deleted file mode 100644 index 3141e6033308..000000000000 --- a/dev-python/librt/librt-0.8.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/mypyc/librt -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mypyc runtime library" -HOMEPAGE=" - https://github.com/mypyc/librt/ - https://pypi.org/project/librt/ -" - -LICENSE="MIT PSF-2.4" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - test? ( - dev-python/mypy-extensions[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_compile() { - # setuptools is broken for C extensions, bug #907718, bug #967476 etc. - distutils-r1_python_compile -j1 -} - -python_test() { - rm -rf librt || die - epytest smoke_tests.py -} diff --git a/dev-python/magic-wormhole/Manifest b/dev-python/magic-wormhole/Manifest index 36f0ccfa25b8..c7c131a24e55 100644 --- a/dev-python/magic-wormhole/Manifest +++ b/dev-python/magic-wormhole/Manifest @@ -1 +1,2 @@ DIST magic_wormhole-0.23.0.tar.gz 313621 BLAKE2B 3670b70133e9d844216eb458bff1fa68b645ca76cfe64be0c79794ce37b74cad40b99550f43076339d571b7f9962ddb66f1949c852e5f78e5659d004ed15c11e SHA512 704125bc29274326b27da8ab16c2bd92a98bca07e9b20cbb9fb5e036bb5ad109a28d981a2ea315a05916d7958f4d05148262f2ea49694eb161b8dcbba3a16dac +DIST magic_wormhole-0.24.0.tar.gz 308777 BLAKE2B 9fae8db73d1245e054c513d5d85ffc1a9d6300c5dccfab52040bc61e62c47418b7654c9b7e195ce6abdb0bf89f5321fd030d88d8c5c59f92ac682fea83b4a57d SHA512 91bdbc5a341560490c08606c4a4f200ee39cc1a61e0d2461f2edaccdd8898036300adddce304ce3ce39f07f091e2263c08a8a54f3a8edec6a7dd29882dd50522 diff --git a/dev-python/magic-wormhole/magic-wormhole-0.24.0.ebuild b/dev-python/magic-wormhole/magic-wormhole-0.24.0.ebuild new file mode 100644 index 000000000000..8070349521f0 --- /dev/null +++ b/dev-python/magic-wormhole/magic-wormhole-0.24.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 +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi shell-completion + +DESCRIPTION="Get Things From One Computer To Another, Safely" +HOMEPAGE=" + https://magic-wormhole.readthedocs.io/en/latest/ + https://github.com/magic-wormhole/magic-wormhole/ + https://pypi.org/project/magic-wormhole/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/autobahn-0.14.1[${PYTHON_USEDEP}] + dev-python/automat[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/humanize[${PYTHON_USEDEP}] + >=dev-python/iterable-io-1.0.0[${PYTHON_USEDEP}] + dev-python/noiseprotocol[${PYTHON_USEDEP}] + dev-python/pynacl[${PYTHON_USEDEP}] + >=dev-python/qrcode-8.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ~dev-python/spake2-0.9[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.13.0[${PYTHON_USEDEP}] + dev-python/twisted[ssl,${PYTHON_USEDEP}] + >=dev-python/txtorcon-18.0.2[${PYTHON_USEDEP}] + >=dev-python/zipstream-ng-1.7.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( + dev-python/magic-wormhole-mailbox-server[${PYTHON_USEDEP}] + dev-python/magic-wormhole-transit-relay[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-twisted ) +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + rm versioneer.py || die +} + +src_install() { + distutils-r1_src_install + + newbashcomp "${ED}/usr/wormhole_complete.bash" wormhole + newfishcomp "${ED}/usr/wormhole_complete.fish" wormhole.fish + newzshcomp "${ED}/usr/wormhole_complete.zsh" _wormhole + rm "${ED}/usr"/wormhole_complete* || die +} diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index d8abde83f2c2..608e5fc69a7f 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,3 +1,2 @@ -DIST mypy-1.18.1.gh.tar.gz 3468445 BLAKE2B 95d3d8151bd09e23e7c1587fccd7f7c52f8008fb4f812132214c3ce6d8d454d317df8dfdf3305dba912a1234b7717517cac6c38877610a00bf679703e5666473 SHA512 8dcc2144e5d9b1c08e445b281c607f8c42b306be80cbc9db2a2f2aa52c830264f0ce76093350181f97d0c67e7ec84c7d18a569061e378d76971be07959007779 DIST mypy-1.18.2.gh.tar.gz 3468958 BLAKE2B 7c80d839829e2982604c8ed0ee82ca390b9372fb057baaf5ad4b4a8d2dc7ce538b7246342b4691e5c950666360a9788421f540febbc2b19412af80cd4d828907 SHA512 f3cbfdf338b5d994bc077e66721e26a635926d79985f8200af0bd6aa841b076703fa2c798c6d2ceadd7c8c69d4a86af11c5a8f551f13a7fd2b510721af466c54 DIST mypy-1.20.2.gh.tar.gz 3837137 BLAKE2B cc28ad8a145d27dd4f6f395496e44ed80859df634e89fe7d584975107534cf063db97817b5b94665e2b7629ca1fa67c75c0ed2978237f10d68606c33bc6e79d3 SHA512 55affb5d086b18ea16b5cc9fd4bb2fbc99987d444f2c0b6c64aaa9dd87a7790f99385b922eb6afbd5fe0c0ff0a5da9f69ab03bb3d8aac350aa5b2f85174fc130 diff --git a/dev-python/mypy/mypy-1.18.1-r1.ebuild b/dev-python/mypy/mypy-1.18.1-r1.ebuild deleted file mode 100644 index f80bcca2d9d9..000000000000 --- a/dev-python/mypy/mypy-1.18.1-r1.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Optional static typing for Python" -HOMEPAGE=" - https://www.mypy-lang.org/ - https://github.com/python/mypy/ - https://pypi.org/project/mypy/ -" -SRC_URI=" - https://github.com/python/mypy/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions" - -# stubgen collides with this package: https://bugs.gentoo.org/585594 -RDEPEND=" - !dev-util/stubgen - >=dev-python/pathspec-1.0.0[${PYTHON_USEDEP}] - >=dev-python/psutil-4[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] - >=dev-python/mypy-extensions-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - ${RDEPEND} - dev-python/types-psutil[${PYTHON_USEDEP}] - dev-python/types-setuptools[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/attrs-18.0[${PYTHON_USEDEP}] - >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# frustratingly, mypyc produces non-deterministic output. If ccache is enabled it will be a waste of time, -# but simultaneously it might trash your system and fill up the cache with a giant wave of non-reproducible -# test files (https://github.com/mypyc/mypyc/issues/1014) -export CCACHE_DISABLE=1 - -PATCHES=( - "${FILESDIR}"/${PN}-1.14.0-no-werror.patch - "${FILESDIR}"/${PN}-1.19.1-update-pathspec.patch -) - -src_prepare() { - distutils-r1_src_prepare - - # don't force pytest-xdist, in case user asked for EPYTEST_JOBS=1 - sed -i -e '/addopts/s:-nauto::' pyproject.toml || die -} - -python_compile() { - local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0) - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # the majority of them require Internet (via pip) - mypy/test/testpep561.py - # known broken with assertions enabled - # https://github.com/python/mypy/issues/16043 - mypyc/test/test_external.py::TestExternal::test_c_unit_test - mypyc/test/test_run.py::TestRun::run-classes.test::testDelException - mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance - mypyc/test/test_run.py::TestRunStrictDunderTyping::run-floats.test::testFloatOps_dunder_typing - # these assume that types-docutils are not installed - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable - # TODO - mypy/test/meta/test_parse_data.py - mypy/test/meta/test_update_data.py - ) - case ${EPYTHON} in - python3.13) - ;& - python3.12) - EPYTEST_DESELECT+=( - # more assertions, sigh - mypyc/test/test_run.py::TestRun::run-async.test::testRunAsyncMiscTypesInEnvironment - mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues - mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined - ) - ;; - esac - - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests - # fail with high COLUMNS values - local -x COLUMNS=80 - - # The tests depend on having in-source compiled extensions if you want to - # test those compiled extensions. Various crucial test dependencies aren't - # installed. Even pyproject.toml is needed because that's where pytest args - # are in. Hack them into the build directory and delete them afterwards. - # See: https://github.com/python/mypy/issues/16143 - local -x MYPY_TEST_PREFIX="${S}" - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - cp -r "${S}"/{conftest.py,pyproject.toml} . || die - - local failed= - nonfatal epytest || failed=1 - - rm conftest.py pyproject.toml || die - - [[ ${failed} ]] && die "epytest failed with ${EPYTHON}" -} diff --git a/dev-python/openapi-core/openapi-core-0.23.1-r1.ebuild b/dev-python/openapi-core/openapi-core-0.23.1-r1.ebuild index 8899cdbb6429..4ba15a45b6ab 100644 --- a/dev-python/openapi-core/openapi-core-0.23.1-r1.ebuild +++ b/dev-python/openapi-core/openapi-core-0.23.1-r1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" if [[ ${PV} != *_beta* ]]; then - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" fi RDEPEND=" diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest index 5f44d2c899c1..06b66dee386a 100644 --- a/dev-python/osc-lib/Manifest +++ b/dev-python/osc-lib/Manifest @@ -1,2 +1,3 @@ DIST osc_lib-4.4.0.tar.gz 105435 BLAKE2B f4a9f359d8376aeaa94f70594993d66a5cbd396c7d827155f2d72df847d823f394410732a194a1ec7a112ebc494902fbeef84ebedb5e209f284d6ac324655024 SHA512 0d949c2f172324f12ae130a3487d6a017968bf2737685e274d5778705a9413a1f401edfa08d64573450715b347d583c2819583c5781ddddeb5f8eff632d69775 DIST osc_lib-4.5.0.tar.gz 105164 BLAKE2B 555e929bc3701328d0d4989f1e9457d89aa200c832fcb793916ff1811943ab5b34a6dffc4dd4ec06b23182b8c97a0497984bf68bbb2d229e5a61436da0bc8322 SHA512 777a1548a6fe9b6bed890faf088447378bfda11f47b8d8d64c1d3a398c78b7bf73c1ac820cdab796e9a2e5caa8ccd47a8aaac04061cf54c23987a1060c03847a +DIST osc_lib-4.6.0.tar.gz 105274 BLAKE2B 7c15ba55268c4ebdf12b310fa3da0dde12be31e40845e676add9c9d9270c935108fb9042913bdb8cad98c36fe989ee5e39434c1d92e69abf75a9786c58639177 SHA512 3af1a206bbd7ee0d3b4ea109692fb816fbb00febd7cc567ce1e7e16d66910a0a7745f5b52dbb3614b8ad0435de416f6a555c282d604b53f38308ac952d767610 diff --git a/dev-python/osc-lib/osc-lib-4.6.0.ebuild b/dev-python/osc-lib/osc-lib-4.6.0.ebuild new file mode 100644 index 000000000000..4dde5a42cb4d --- /dev/null +++ b/dev-python/osc-lib/osc-lib-4.6.0.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=pbr +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A package of common support modules for writing OSC plugins" +HOMEPAGE=" + https://opendev.org/openstack/osc-lib/ + https://github.com/openstack/osc-lib/ + https://pypi.org/project/osc-lib/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cliff-4.9.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-5.10.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-4.12.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # need to skip all tests under TestTagHelps class + # checks exact help message, based on another unittest runner + sed -e '179,$s/test_add_tag_/_&/' -i osc_lib/tests/utils/test_tags.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index 85beaa4851d6..4336888ff76c 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -2,3 +2,5 @@ DIST pbs_installer-2026.3.25.tar.gz 70501 BLAKE2B 4cc42854db663b33ab365b3fed23ef DIST pbs_installer-2026.3.25.tar.gz.provenance 9838 BLAKE2B 3be7c123f86391e6eee337728e8b84de01a3bf8b7780f1e566c66f0778ee9bb12226ffbf828a3767cba77936f520c867425cde57c284776fc26bb73baaae42f5 SHA512 8f148003bc8b263a5dc32b3638b7bcc927fb1bffce017172c38e34c0c5f204ba73b714feaeb9dc1a60a9cc83130dc4e18995ee1a530a1b0355b4607cf1b263b0 DIST pbs_installer-2026.4.7.tar.gz 71866 BLAKE2B 0617ec42b1f42a8f66a7b47de10ec294b4275c99974323de98abf28455a48126d5421afa524cfc0c9d2031e814e9a0effa3bb66acb0df9dd99d01de277632466 SHA512 d5fa4c513d47c4f9117d2ce392440f827705a53c8f672fdadb2ea2c2cc25ab47031616beaabe21896700204172c82d59355b5099bf4a77698c88de37e5e88849 DIST pbs_installer-2026.4.7.tar.gz.provenance 9693 BLAKE2B 522a8e6fbfd26ab0f0d868ed1b81dfe78b8d1b12ba35ae4ad2d5ec155f0610db94d55beba051c9460513f76405b6d9a610f68073eb288ed70fb4bf1b256397b1 SHA512 a865874430b405ffa0a9a3f1947eee0c830641626abad740c278e6c27961c0457c2d59923653330285dcd41d3cdc6af7ff85173173dbce3865ae789d11c7e413 +DIST pbs_installer-2026.5.4.tar.gz 71861 BLAKE2B 6dfaf5a4f09a5d304a72b11677c01d957cc841387295deee3649869c15b66910c76da530716923a2df38565c38a91a5bbab2445a6e27821e25d265c8bd438a1a SHA512 aeb6f43049e85158973740f6620c47ab70f7cf87e1376a01f772bcdae55f8c2f7e4eb374ee8579fe214b1ac7cc529e7c7d64d6fa88d1be661b0777a060376ac7 +DIST pbs_installer-2026.5.4.tar.gz.provenance 9834 BLAKE2B 12aec6b380928f5f576a4179733cd5b534bbae7db6024b27b2457a29e3b3806d57de85ec7691936cdc08e889f140527c19472abdb25c60d8e5e14aac4642578d SHA512 9b5cdc743fb74179b49f3f0f8d236361b63a46d65512a909b7b85093207f61fee591607f4cf86c3eaf54201cdfdb4a74346bf89440d54b9b9172b42e291f53e0 diff --git a/dev-python/pbs-installer/pbs-installer-2026.5.4.ebuild b/dev-python/pbs-installer/pbs-installer-2026.5.4.ebuild new file mode 100644 index 000000000000..557165ae6a2a --- /dev/null +++ b/dev-python/pbs-installer/pbs-installer-2026.5.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYPI_VERIFY_REPO=https://github.com/frostming/pbs-installer +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Installer for Python Build Standalone" +HOMEPAGE=" + https://pypi.org/project/pbs-installer/ + https://github.com/frostming/pbs-installer/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# httpx is needed to download builds +# zstandard is needed to install them +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/backports-zstd-1.0.0[${PYTHON_USEDEP}] + ' 3.11 3.12 3.13) + =dev-python/httpx-0.27.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests import-check diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index b9ee0e88705c..6964867b3cb6 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -52,7 +52,6 @@ DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfa DIST percent-encoding-2.3.2.crate 11583 BLAKE2B 58925243b23a6a1decc3d92c4ce17d06af5206844ad283b49e69e523ac0db2c36c3f4407af4104ab92c029c2581c228bdf416a054a2531191a9e912448ba4408 SHA512 495b4aac88a7a46420811671d6bd82817e4eb2fe51d5068d11c5b50d0d927895d54c855cb07d4f4ad5a2d42b22f9419ad0183c14781dbfa240804fd49761035a DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 -DIST pydantic-2.11.7.tar.gz 788350 BLAKE2B 4767f593beb649fe3139f3b22e3814a9f56793494dc17428cf70952451e9112d03b275c0af979f0f0159b25deae2e2794bfdb1392e2c3499220ad3cd67945414 SHA512 54ee1a49d5a429cad31928425c197139ae3cce004d8f3530835ce39897be9afa6aea35e639af1d6290bace7148e1369ce66840e26bced329bc2e7d93b3dad6e5 DIST pydantic-2.12.5.tar.gz 821591 BLAKE2B 7b139db92fc103cc5e0e5820a3541af8ffaa850ecca9d0136f09768bf5f51ceddb933b12434ea3428b9e2f10e587d9227ec22ced9609b83759765446e6a9cb9d SHA512 93968bf402ba1b2ea48375be021f8e2cfc61bee2cb39a7ec470bf445d752f1bfd638dd951b34f443ddb6a853aa81f1860b11cc6478eb20c142e48347c80ec827 DIST pydantic-2.12.5.tar.gz.provenance 9274 BLAKE2B 9796b665fbb38345b99cbe1ca5890c14a1bbdc2f1995f69685aab53590aaabdc841544d4cacb0e723414bfc8cc18b0368ae958d486b84bfdd201537c78eab3a4 SHA512 e95f64e35c6fbc35d3d6fee2b1104b0a48df5fc0376d95dc4102961f957eed6ebbcb51903cd51e7a61dbd97e6f0e0b5c1d50e26a352018e4a1079169e34a249a DIST pydantic-2.13.3.tar.gz 844068 BLAKE2B 9ac95faf9b902b2f2ed89e1095ffdd8b1d091c89f3e3bb34c5956ab0c0efc19ee9c2eec5cd81b7e94d7b2dc1aa4d345ed6dbc2cfc24049944bbc396ddecc16a4 SHA512 fb807b94eec1ac603e515e11e99d1b4c19d31c0008d2ae02f4798eab8ad524202b38a71211f1667b476f38385f7e13f7e16b38a5912081eb5df22402020f618a diff --git a/dev-python/pydantic/pydantic-2.11.7.ebuild b/dev-python/pydantic/pydantic-2.11.7.ebuild deleted file mode 100644 index 0d0c25954ae6..000000000000 --- a/dev-python/pydantic/pydantic-2.11.7.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -# py3.14: https://github.com/pydantic/pydantic/issues/11613 -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Data parsing and validation using Python type hints" -HOMEPAGE=" - https://github.com/pydantic/pydantic/ - https://pypi.org/project/pydantic/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] - ~dev-python/pydantic-core-2.33.2[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] - >=dev-python/typing-inspection-0.4.0[${PYTHON_USEDEP}] - dev-python/tzdata[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] - test? ( - $(python_gen_cond_dep ' - dev-python/cloudpickle[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/dirty-equals[${PYTHON_USEDEP}] - >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] - >=dev-python/faker-18.13.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/benchmark/d' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # -Werror, sigh - tests/test_types_typeddict.py::test_readonly_qualifier_warning - ) - local EPYTEST_IGNORE=( - # require pytest-examples - tests/test_docs.py - # benchmarks - tests/benchmarks - ) - - if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/test_pickle.py - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_mock -} diff --git a/dev-python/python-discovery/Manifest b/dev-python/python-discovery/Manifest index f12c071c2abf..3bab0761b17c 100644 --- a/dev-python/python-discovery/Manifest +++ b/dev-python/python-discovery/Manifest @@ -1,4 +1,4 @@ -DIST python_discovery-1.2.1.tar.gz 58457 BLAKE2B 618d2063314201b1a309c30e39061e6eeaa973f48ee60cfd7698a0dfbe753e66a2719f1798a191eb1fdb0c91fc2fbf5163132040d97e1384f101716c5a7c54c5 SHA512 7007265dd78279c55f12383eac0acafbcfd76e94fc6d2ceb2124fe7741abe4ba302b82d0522e72193dcd0372f7c236b0fb500c1a3be4b32393f0424c5e419323 -DIST python_discovery-1.2.1.tar.gz.provenance 9827 BLAKE2B e2ac127bd8d2e0d340bbb0b06afe6fe6afc3a8db4837050723aa6fef32684c1b7540a353b2830247016926fd7b115361ce0a691c87180dff51a4b808517ee892 SHA512 3da8a48c369fceeaaa8972f450c6c6f047aa21cb8758380006ba5b9c4b61a9f1fefc9f3837cd6e419f9bcee7f22853bd7904ab23023ae1b4bbd4a5ffe26c0cb8 DIST python_discovery-1.2.2.tar.gz 58872 BLAKE2B 0177a23499cd59aef5c7489694a53c7d1c290e8ab1543182a8388ede9aa80afba15f6e58113dedd6e16d404dbd081b575d4725c15f3b35e7cc9eed0fab4bd3ca SHA512 4f82ff5510f245cdfd08e896f1b869f2c5b5636a92ac6e5c782ec652d1e2a8c0c422ca09bf277b2cd1b3ccfb566e9909ac108bc8ab095ca5564beb86ab66e9c5 DIST python_discovery-1.2.2.tar.gz.provenance 9263 BLAKE2B e405c7db48810a177671144bffdc28c8903b74ed846f2f5bcab47134e8e795f061ad3394779551a045feb4debaf2704567547cafefafcbd0a9debecb6ec1425e SHA512 c70313361c0660297335fdce23a7af12eb2f67b7146126ab6bfe3cf783645155e368bc68126b853be91b968da9917e005ecc7f6025a62fa14d1ffc735c31bc85 +DIST python_discovery-1.3.0.tar.gz 63925 BLAKE2B 58f80736df5a3187edea63949cc326be9e4c88e7df7be99aae04fade18666b679894db3318d0ec31a6724df9be43bfde503d0643f782bd73c153161105397077 SHA512 dc7567834d23b7879d144be79c35ec343058909ba81dade3921bdea64fdb921ec9b8a354da5aecad3013b9617f5a186f0d4aff5a59c5538a1f0fade9316fc18f +DIST python_discovery-1.3.0.tar.gz.provenance 9310 BLAKE2B 1af3f9f500a8b186e2548bb47ab2bf18376e059712c2d3042138300038b5f254f4daf30bce4dfe6c14f0760fc46f3df71d4efcfda4b50cf02dce866a1ac2b745 SHA512 29626c050fe014cb2ef8e8fd4f738dda7edec6b3b412a22415ff05be81fe9a86f1727073e254e4ae860b47a8c8ea41832335e296f4d8701523b29ce8732efbb7 diff --git a/dev-python/python-discovery/python-discovery-1.2.1.ebuild b/dev-python/python-discovery/python-discovery-1.2.1.ebuild deleted file mode 100644 index 24318511709a..000000000000 --- a/dev-python/python-discovery/python-discovery-1.2.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 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/python-discovery -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python interpreter discovery" -HOMEPAGE=" - https://github.com/tox-dev/python-discovery/ - https://pypi.org/project/python-discovery/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~riscv ~s390 ~x86" - -RDEPEND=" - >=dev-python/filelock-3.15.4[${PYTHON_USEDEP}] - =dev-python/platformdirs-4.3.6[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/setuptools-75.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-mock ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - - case ${EPYTHON} in - python3.*t) - EPYTEST_DESELECT+=( - # TODO - tests/test_py_info_extra.py::test_satisfies_path_not_abs_basename_match - ) - ;; - esac - - epytest -} diff --git a/dev-python/python-discovery/python-discovery-1.3.0.ebuild b/dev-python/python-discovery/python-discovery-1.3.0.ebuild new file mode 100644 index 000000000000..b487b66b0704 --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 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/python-discovery +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interpreter discovery" +HOMEPAGE=" + https://github.com/tox-dev/python-discovery/ + https://pypi.org/project/python-discovery/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + >=dev-python/filelock-3.15.4[${PYTHON_USEDEP}] + =dev-python/platformdirs-4.3.6[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-75.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.*t) + EPYTEST_DESELECT+=( + # TODO + tests/test_py_info_extra.py::test_satisfies_path_not_abs_basename_match + ) + ;; + esac + + epytest +} diff --git a/dev-python/python-editor/python-editor-1.0.4-r2.ebuild b/dev-python/python-editor/python-editor-1.0.4-r2.ebuild index e62222511929..682da1f9310c 100644 --- a/dev-python/python-editor/python-editor-1.0.4-r2.ebuild +++ b/dev-python/python-editor/python-editor-1.0.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-mermaid/Manifest b/dev-python/sphinxcontrib-mermaid/Manifest index c3b0d8709fae..3efd66d20e13 100644 --- a/dev-python/sphinxcontrib-mermaid/Manifest +++ b/dev-python/sphinxcontrib-mermaid/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib-mermaid-2.0.1.gh.tar.gz 22700 BLAKE2B 8e2ee324aed0f60bcaeaf4911b6d813b8a155a881b09649330c5f8f0743d696e7757a4dec6cc9e65de210a3d0cd64053c94381f77945e976945852efbbd6b043 SHA512 1fea22c7759e3f2be5530b905899688b946c8c58590b5fe242f156f3b9e4ecad92cd3a99dbbd78e6536371f15a8972e29560b743a9a5bd0c74bcc2a4bb98640b +DIST sphinxcontrib-mermaid-2.0.2.gh.tar.gz 23399 BLAKE2B 3243962204fa9c95433dfcf2bda1544ae7e3116f21089bff847ff3a05407b500ee1a266f6b37d6147b2b31f75d88f770ad5f49cc266ac676665c3c3eb55687e3 SHA512 7bb6022f6cd113e3047ec446081d705041937d834cd8afe74b0f237d39b77f2e3e714753853ec5acf5227f512f641b6380ca0f6507adefb959902231e97a1101 diff --git a/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.0.2.ebuild b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.0.2.ebuild new file mode 100644 index 000000000000..3e57b6630bd8 --- /dev/null +++ b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-2.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx spelling extension" +HOMEPAGE=" + https://github.com/mgaitan/sphinxcontrib-mermaid + https://pypi.org/project/sphinxcontrib-mermaid/ +" +# pypi does not include test files, so we use the GitHub tarball +SRC_URI=" + https://github.com/mgaitan/sphinxcontrib-mermaid/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/jinja2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + distutils_write_namespace sphinxcontrib + rm -rf sphinxcontrib || die + epytest tests +} diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest index 745c2fb92e1c..e2c9f7e2cf1f 100644 --- a/dev-python/tempora/Manifest +++ b/dev-python/tempora/Manifest @@ -1 +1,2 @@ DIST tempora-5.8.1.tar.gz 23072 BLAKE2B fc82f096814853bfff5b5634779daf28539b32b2f84fab6d35ac3e8cba1cf9ac6fff9b29bad1ac7ad7ec66f421c60a4e4871554f2430cbcdd4507378f3a1795f SHA512 d53c44f613c6897b3fee09a4e127e261bfc1b63373b0465fce6d8cc21f9fd38a45c1c32ed33acc23a32f1959ca1b88f9377af4b8267ede2a6504a64e208f9d15 +DIST tempora-5.9.0.tar.gz 24490 BLAKE2B 94107a16e7f56188b156e305cf4ca57574684eae92ab4d97cdc4ca8b610f8e44d9fc589af2fcb3a0f17a4188739e90a9112dd8d1fbe6d00bd8c3b6adf3263c61 SHA512 f515a35345968b765d7bd61d6828d9e1761d2b9ab8915015804597e9f4204942da3801de01e80ab1ed93be604bd4011f650a8bd970f09c14abad3e4af8e586eb diff --git a/dev-python/tempora/tempora-5.9.0.ebuild b/dev-python/tempora/tempora-5.9.0.ebuild new file mode 100644 index 000000000000..9f4023a63c6c --- /dev/null +++ b/dev-python/tempora/tempora-5.9.0.ebuild @@ -0,0 +1,33 @@ +# 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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE=" + https://github.com/jaraco/tempora/ + https://pypi.org/project/tempora/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/jaraco-context[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-4.2[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/jaraco-collections-5.2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-freezer ) +distutils_enable_tests pytest diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index 3ac5580b9c8c..02fba802f544 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1,2 +1,4 @@ DIST ujson-5.12.0.tar.gz 7158451 BLAKE2B 0a70ac85dcd4516af11c9a9014930dbb2f172485f22c2ce2db5c49a3d3938b040b9df99fd4d8c03f690929b45364a62b7967136dc4cb1bacf7dfaabcb73d8638 SHA512 1424f30338194edf934f90a5a59a66f119e3121ecb57c134738cfd5ef52fbda786d7c98c3bba33e4ffb7858357be0ab69376e44d687202522645ccf7fd829969 DIST ujson-5.12.0.tar.gz.provenance 9494 BLAKE2B 9776e4f9914e95172cf27c02d785ee2e1e3a9462f69cd6db8ed0716123fb021ac0a60ddbe4ae945c503d206d7a3fec6781ebe3471fdab951e4dd8ba3b20fb91a SHA512 c54ce5a6428c3702df6140129a45fd5b48f42391b4a7afd137711215ee940563aaaf3369a15d96eb387e60bf5ad038df94664c43c1e59b6f260fcae5928cd82d +DIST ujson-5.12.1.tar.gz 7164538 BLAKE2B 3e666173bd56e7a2c3f7f52e60509d9017904db4aba4b70b8f14380ba6de767ee07233343bd99ad30674611dee9bc7756b46e555307add41b9f71b5d35b39f79 SHA512 2904bf37c8e8c155d9fabaed7837dc58840e9e21ec516f43c2047c926e7d29d2d37506c261d23bd05f113fdda6658d347eb7d7a54c32e699f0c3652fe12943b6 +DIST ujson-5.12.1.tar.gz.provenance 9630 BLAKE2B 9985aeea8ce9a426e85f93fcf9933b69fb6f12d887a31bfa6e0a82347f601f5a09889e7bb669ff1a537ee2bbef8825f7d67a0da88cf2bffe60ea8f729696994b SHA512 9c89ab7a9f1d0511ea03ffb3a81725a6bba822495fb591560ba25e43ac95686fcd08b97b8f86c19b8a994bd310e98c78c9d6dc79cba21c6941a1e7bfa86e5a17 diff --git a/dev-python/ujson/ujson-5.12.1.ebuild b/dev-python/ujson/ujson-5.12.1.ebuild new file mode 100644 index 000000000000..e58e9124e3a1 --- /dev/null +++ b/dev-python/ujson/ujson-5.12.1.ebuild @@ -0,0 +1,40 @@ +# 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_VERIFY_REPO=https://github.com/ultrajson/ultrajson +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ultra fast JSON encoder and decoder for Python" +HOMEPAGE=" + https://github.com/ultrajson/ultrajson/ + https://pypi.org/project/ujson/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + dev-libs/double-conversion:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + export UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion" + export UJSON_BUILD_DC_LIBS="-ldouble-conversion" + export UJSON_BUILD_NO_STRIP=1 +} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 531a67e1904a..7d08118c8a31 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,4 +1,5 @@ DIST uv_build-0.11.1.tar.gz 381246 BLAKE2B 57bd4e5366899c745294e967b9c632ff12587faf5d016cf5dab90c722fa61ff999ec0d95274c88372b27f5ff4878ffe6a9a476bfea62ca4eccb1796666a09599 SHA512 7d1421bfd46635e7e927be951eaf4f5044dc6dceec99178a2c0204b6bafd54648f98107d9ac68ebf0685132c3a34fdbfb6a6b684455caa9acd9b4bb9cb9dfcab +DIST uv_build-0.11.10.tar.gz 376745 BLAKE2B 8447c14db66981f9188336dc1d8b7918784f2cfbdd2ddeed3d66f5cdc7a1d521f49082c68d5c48d5fbee87b8f4bdc39cb259353f99d63f6e77d2eed02c292e7c SHA512 ab1e10e9c23bfd90ef12a274695076a2e9756da3b13b062a9f4ab073fc8789a2faee3a8b87af1abeb071de84f245a26ebf896b31825b753acdd32ba74df6f1d0 DIST uv_build-0.11.2.tar.gz 381227 BLAKE2B a0989816b2c4f224fe78d88a0dbee2f87b6426d0cb67299ae7f5caec644bf11ba0a3503919103d5c2a747cf696f2e7447a618a8b11156ffad9c308eeb3fb1e7b SHA512 66ce17d053002eb3c7fe82bf0c0e9953770dbc5b75822fa6bacdddd3092b5899d5416cd669e633a58b644e6fb6ceb6a8ff940878d7874c08b5d23b02564f2ba3 DIST uv_build-0.11.3.tar.gz 382592 BLAKE2B c212ba9dbd57d588f229a6972a20824cb1439c1770d677a7754a2ccad598a0b9235edbd4c6e178bae99c04c2a31a104a6213335e2c8e005728b25500c1b3a729 SHA512 3ed531b2ac111a8446336861eb80e90d5e7aa595cc65de7e83c79f94f4b2a0183028e3738ed30169b00430ef380574701fd1beffd120bc2cf7510d3bcb28bf11 DIST uv_build-0.11.5.tar.gz 360294 BLAKE2B 5e913cc609b40bbc906e574a16d1cecec8fa59517ef3dac392ebe81e7d377ca20346ddb09b4292377cbbc506cce95e5c4df284d80b5f26907de6539999bc52d3 SHA512 731cdd7a17ba40d20add0ef9928c688016b4f19b5378a7cb71a3d02aca09a4585a1bd6b6304ef4c1b5745fe3edb5ee36a1a49b563946dd29d1e210fd5946d1de diff --git a/dev-python/uv-build/uv-build-0.11.10.ebuild b/dev-python/uv-build/uv-build-0.11.10.ebuild new file mode 100644 index 000000000000..2ab229426f84 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.11.10.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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~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 ef2fb5965d23..39b2183c159e 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -1,5 +1,7 @@ DIST uv-0.11.1-crates.tar.xz 46998940 BLAKE2B d3447d8f11e14a01abb7531249a3c5806e9de8bc981897863d2018efc498ab0d01291b400a522030a73ae98e5b80e1451203f060c1925e044c8eb7c323b37014 SHA512 768bf9ee90e4728d853255bdb5eb68ba61ddb49f389e4264feeb2a5efae92b18be1ac403f64d37c073f7c4455113b365bd4b298293623abd598a0795b0909adf DIST uv-0.11.1.gh.tar.gz 5126423 BLAKE2B f22419906c1b6955a73418969d1c2e953daca1e53aee2c3427fe47a6421650197abedf4ec10548d99300f9409249c382df950dffbd6e9d7b78a46f6fc185d4f4 SHA512 8012635e9905913db0028a735979ac66d7b42328fca8d351129f4ba6c394b9ffc12ff1522f79120bf23489fad373dddb64591df744eac435b99fcb16d577887c +DIST uv-0.11.10-crates.tar.xz 46797580 BLAKE2B 69c193a4d0d8b81b7ee504ad4439c36474b4bbfd91387b29a498f5cdc1529b3d52d0bbd2249e1ec4163914f63b4c139f68762396ed61e3480e5a813089277d59 SHA512 dbde92b55820f8b507f2c87d35917cf9e43da9add81046c2715a8e542e2d88d5916d90e7c07e9d1dc8331ca7b098e38cc5bcbac0ef66ceb81c5a68d9146bb35b +DIST uv-0.11.10.gh.tar.gz 5252516 BLAKE2B 81502332be0bc84c89714a61c4befef787f5191bb0aa56f6fe7aec08d3f5df7ee0df44bace6c1bfdd34b7b2dd65a42f621888b240688495526bdcea86fd5879f SHA512 d969396c1cf0793a4589aa8c9c47b100d3e1ca8bdd55bd95f3bdbd1164c67f58678c06190f35e22248d173f6ddc2b24cbae8c5888f44dd2cc6a1a7e1f0eeea16 DIST uv-0.11.2-crates.tar.xz 46998940 BLAKE2B d3447d8f11e14a01abb7531249a3c5806e9de8bc981897863d2018efc498ab0d01291b400a522030a73ae98e5b80e1451203f060c1925e044c8eb7c323b37014 SHA512 768bf9ee90e4728d853255bdb5eb68ba61ddb49f389e4264feeb2a5efae92b18be1ac403f64d37c073f7c4455113b365bd4b298293623abd598a0795b0909adf DIST uv-0.11.2.gh.tar.gz 5135705 BLAKE2B abcedb5bbf0ef2c6585580818a7b11046a1555559254c2255a929050a61d3906fe176007ca8d39d0b4a2fc8582ce70376a73b7b6c4856af796056099750ecea1 SHA512 5db8253e1403a21a82c172429f8a2ee336d19a7b1e640942bd8b6a523defa8308f60b035c8ffae40d1de9292a598a5619f36debf5bf7bb3663b1f630e311cfd4 DIST uv-0.11.3-crates.tar.xz 46981748 BLAKE2B be42ea0a2997d23ddbd1e2772c4ad1e7a2ab8866624fa3e8eee31638e65293a5241ae0a3b3c2cecab64250b8e166f548c041145ed840a91e8c90d4d1d79ffcb8 SHA512 99686a97e1f630c396b6e7b282e85b37642b3fefb05233ec0276f4fc8fc297738c600c2348c5f15c5744242dfe121412f0bf2d4339f59b254b02ab9f4612d614 diff --git a/dev-python/uv/uv-0.11.10.ebuild b/dev-python/uv/uv-0.11.10.ebuild new file mode 100644 index 000000000000..030c2e92591f --- /dev/null +++ b/dev-python/uv/uv-0.11.10.ebuild @@ -0,0 +1,164 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.93.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 + ZLIB BZIP2 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF + + # uv is now forcing bundled liblzma, sigh + sed -i -e '/xz/s:"static"::' Cargo.toml || die +} + +src_configure() { + local myfeatures=( + test-git + test-pypi + test-python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} -- cgit v1.3.1