diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-05 19:18:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-05 19:18:11 +0000 |
| commit | ae4397d78e495404afda11d03c7ba29e7c524058 (patch) | |
| tree | b6428e0150f06f9fa5e0d14d9c8e85a3406408a0 /dev-python | |
| parent | dfd5a7f7e258f244f137f0b58ee5dcb9b1bc671c (diff) | |
| download | baldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.tar.gz baldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.tar.xz baldeagleos-repo-ae4397d78e495404afda11d03c7ba29e7c524058.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
35 files changed, 974 insertions, 110 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 98aae0dee0f7..399435e6a8a1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.42.34.gh.tar.gz 1075720 BLAKE2B 52881dd1683dc36c7f3360113d5418fd0e1 DIST boto3-1.42.39.gh.tar.gz 1078948 BLAKE2B 15a852156234ae0ac04c7ff2d47bfb0da973835be2fa37f94db9ae3f865e1b53b8a1683ca69c61b8dd0165062b3e1e0e39c796e2b9b3ca1c16d20d2b3bce5ffc SHA512 1a15924d9d5db384bf98e75b104417f56900ca2a053215a2d14c96b5fe03f5cf5a4c1ccbdc36d3c3fdec6a39089b556134234572ba462b01b9c6433309bd9f85 DIST boto3-1.42.40.gh.tar.gz 1079283 BLAKE2B 6b1410a6c23054f72cb666fa15444012e87b42a893869648e5a7ef0af4b73d5be587e5a0a6375f358e28da759a6a8e172d7c3b33491fcad93cd32758ea78dd69 SHA512 160e8afaf36daad370a635ed585ef85ed956d14e69845a63344718dca01b9e3f5a67c0e9c9fe189556bc8ee85276b6d0db15bbc6896ac2dc73cde18ec9a63b92 DIST boto3-1.42.41.gh.tar.gz 1080086 BLAKE2B e4b257b0d20dfc72d1b57ccdae7a456819ad234031f5d73452b95ad8cfc43ce1ec796203ffc586b04bf56ace44b9aa639a7a75d35f4d3438c705a6e3259c2464 SHA512 b7729e1e2b16fe792548465ff2091c1761c20cb56f5ffd86be94b3841557b94fed7b34026d6e070a8ab7ab44605667453b30c103008e6649af24a55a3a575361 +DIST boto3-1.42.42.gh.tar.gz 1080942 BLAKE2B 32609f924f414160f5649611b98ed02349396845ded24e2dc325b852abee2d250ed68eef480bc7ef55c2ca91631e42d086bedcfc4393696d8158cbbf03acdb33 SHA512 f0034bc64973a522a9b4537d22c7984d2c54cdc4b34fb35d264a62d3c48c8413c46edcc2769d08b9683eb7831e9460dc8c16db1457a1625b8697f935f7395f30 diff --git a/dev-python/boto3/boto3-1.42.42.ebuild b/dev-python/boto3/boto3-1.42.42.ebuild new file mode 100644 index 000000000000..6e5f06a012ad --- /dev/null +++ b/dev-python/boto3/boto3-1.42.42.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.16.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 147a0b8120c2..906d77215d33 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.42.34.gh.tar.gz 15781471 BLAKE2B 694d24a74d14db50f6532c92032e3f0 DIST botocore-1.42.39.gh.tar.gz 15795159 BLAKE2B 3485a55d4fabb1b7431035d9d22e5e165c226cd1fb9265dce47dc0123927504e3c4fb1f745d173f9fd7ba1ca3f74a0e31ab96cc0f1de6dbfbfd1c676e1a5ec59 SHA512 5b11b07e149d76c6ae34364f13eef263abcb83008fac1b76dba3ed27ba25b086602bbb4838e0540d4780e84adf7e29ae2fed46493e2e4ce2948bc5b70bdd387f DIST botocore-1.42.40.gh.tar.gz 15796244 BLAKE2B 9ccfe4e71b26d6f8696ec6a27bc7dcc668e5c4bc232d42cf72c814edba1076d88f46b16fcc1735b6784343cd598d920d88bfd4f68b9fa97d7366364f8b1bb77e SHA512 c90ef78777d9ca610340e24af6e56a5f1d1660707a4fc80c9ca557df39613942c3ef548d4477f5f4e4d3c5f7b9f68efdbce7d73cfe667bbe705fa7b5a64cab25 DIST botocore-1.42.41.gh.tar.gz 15803963 BLAKE2B 3b34f515acaf1bb1445f975a6f71c7c482b784cf801abecfcb8c621d65fa2ad2f88d2a10cfdb07d3a032e539e5e349d9dbea72fb087cdc07fe8beffe33725350 SHA512 9f9b7a68b2bee537652fe026a5903e67fed40b5ecaf9038bfca2d8fbb5d5359e8c962eeddab4a9c5fd9f3361342751b63cabb7b56e9013ca054691d689ce8bbc +DIST botocore-1.42.42.gh.tar.gz 15806216 BLAKE2B 4cd696276acb5e2d340ab9b8c6c3bc8b7c620fe0e6c3a6c1198bf39b2e57b285ffd2ecb39559b47bf7922e4a8a3f6bd308f64606adfb341172d941ee06864aa1 SHA512 c8201c4eb4559adccf4863449c032cc9a882c9464fbbd68121bcdf555ba84cff6396cfae4422a3f4584fa0d7de465c704707be871b3359c8b370c21a9ebc90fc diff --git a/dev-python/botocore/botocore-1.42.42.ebuild b/dev-python/botocore/botocore-1.42.42.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.42.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/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/ensurepip-pip/Manifest b/dev-python/ensurepip-pip/Manifest index c3f4a5b3d483..ae87a2282350 100644 --- a/dev-python/ensurepip-pip/Manifest +++ b/dev-python/ensurepip-pip/Manifest @@ -1,3 +1,4 @@ DIST flit_core-3.12.0-py3-none-any.whl 45594 BLAKE2B 7c6cb6eb03d45bbba27f27b3728881b57fe82dd38e03f884d3b7c46116eb2b9dd76f92bdaf7f594ef8ccbe12ec8f9a56424ff9e9fc7a839c4818a113fdf0c3d3 SHA512 790c12b1f43201e365fb3f8f2f0a54e1a578876799dfdf8bfeea679a25ea096bf62946d006618c1458ae6e37ce6d00998f37e9aba426d5ab80d32ef2d75da4e0 DIST pip-25.3.gh.tar.gz 9115712 BLAKE2B 87d848c497163a45ee3de8f6f75c80b5051b07062c5a15450ae98b59a6cebc6bf03ca8525d57929493f2cfeb28d5623401eba69f0bdfc734389efbb84eafdf53 SHA512 f50db092213ec3bb819d3da5669f73d119b5ec7f7ac5e8a587a17c27eafa32bc17a057df09389c526a3769ef3577f5553187d54ceffa89aed63f4b4498ff044e +DIST pip-26.0.1.gh.tar.gz 9227871 BLAKE2B 96a2fab2de472b3cde570f3bcbd6bc5e5c48ef2f0808ca9b2b6c0f57a611f723cd0f5d592b6b5f553fb57a6909459f57b4130f2451cd95c3b18678e02215e0c9 SHA512 3786df7522ea65bc20fb9885ce5c2ddc60200a536a1f754a8d7dc278115c73258863e4c51ac7e9a60dda0b70263730dc194f70e1e8f8d00178a8b3c724333bf0 DIST pip-26.0.gh.tar.gz 9226836 BLAKE2B fe24bd8fca7fa2b64ed865a880a430c420a9e73e35a9f1f2405473d4778467f48a8bc0607c1423760ff23706d3e11ddfeb20cd5a7f6522530a679994278ee1d8 SHA512 62a62b2db4e7a6c795cf01ab553b94068f0d1c62470c1f5c2b3164344a84fa68f7854eec99d93b9f56193c61276d95d8af21a3cb6b78f0db4f013d9997e78199 diff --git a/dev-python/ensurepip-pip/ensurepip-pip-26.0.1.ebuild b/dev-python/ensurepip-pip/ensurepip-pip-26.0.1.ebuild new file mode 100644 index 000000000000..723df9e4771f --- /dev/null +++ b/dev-python/ensurepip-pip/ensurepip-pip-26.0.1.ebuild @@ -0,0 +1,191 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +# PYTHON_COMPAT is used only for testing +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit distutils-r1 pypi + +FLIT_CORE_PV=3.12.0 + +MY_P=${P#ensurepip-} +DESCRIPTION="Shared pip wheel for ensurepip Python module" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/ +" +SRC_URI=" + https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz + test? ( + $(pypi_wheel_url flit-core "${FLIT_CORE_PV}") + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test test-rust" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${RDEPEND} + test? ( + <dev-python/ensurepip-setuptools-80 + dev-python/ensurepip-wheel + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +declare -A VENDOR_LICENSES=( + [cachecontrol]=Apache-2.0 + [certifi]=MPL-2.0 + [dependency_groups]=MIT + [distlib]=PSF-2 + [distro]=Apache-2.0 + [idna]=BSD + [msgpack]=Apache-2.0 + [packaging]="|| ( Apache-2.0 MIT )" + [pkg_resources]=MIT + [platformdirs]=MIT + [pygments]=BSD-2 + [pyproject_hooks]=MIT + [requests]=Apache-2.0 + [resolvelib]=ISC + [rich]=MIT + [tomli]=MIT + [tomli_w]=MIT + [truststore]=MIT + [urllib3]=MIT +) +LICENSE+=" ${VENDOR_LICENSES[*]}" + +python_prepare_all() { + local PATCHES=( + # remove coverage & pytest-subket wheel expectation from test suite + # (from dev-python/pip) + "${FILESDIR}/pip-26.0-test-wheels.patch" + ) + + distutils-r1_python_prepare_all + + if use test; then + local wheels=( + "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl + "${DISTDIR}/$(pypi_wheel_name flit-core "${FLIT_CORE_PV}")" + ) + mkdir tests/data/common_wheels/ || die + cp "${wheels[@]}" tests/data/common_wheels/ || die + fi + + # Verify that we've covered licenses for all vendored packages + cd src/pip/_vendor || die + local packages=( */ ) + local pkg missing=() + for pkg in "${packages[@]%/}"; do + if [[ ! -v "VENDOR_LICENSES[${pkg}]" ]]; then + missing+=( "${pkg}" ) + else + unset "VENDOR_LICENSES[${pkg}]" + fi + done + + if [[ ${missing[@]} || ${VENDOR_LICENSES[@]} ]]; then + [[ ${missing[@]} ]] && + eerror "License missing for packages: ${missing[*]}" + [[ ${VENDOR_LICENSES[@]} ]] && + eerror "Vendored packages removed: ${!VENDOR_LICENSES[*]}" + die "VENDOR_LICENSES outdated" + fi + + local upstream_count=$(wc -l < vendor.txt || die) + if [[ ${#packages[@]} -ne ${upstream_count} ]]; then + eerror "VENDOR_LICENSES: ${#packages[@]}" + eerror "vendor.txt: ${upstream_count}" + die "Not all vendored packages matched" + fi +} + +python_test() { + local EPYTEST_DESELECT=( + tests/functional/test_inspect.py::test_inspect_basic + # Internet + tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_install.py::test_install_sdist_links + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + tests/functional/test_lock.py::test_lock_archive + tests/functional/test_lock.py::test_lock_vcs + # broken by system site-packages use + tests/functional/test_freeze.py::test_freeze_with_setuptools + tests/functional/test_pip_runner_script.py::test_runner_work_in_environments_with_no_pip + tests/functional/test_uninstall.py::test_basic_uninstall_distutils + tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers + ) + local EPYTEST_IGNORE=( + # from upstream options + src/pip/_vendor + tests/tests_cache + # requires proxy.py + tests/functional/test_proxy.py + ) + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # unexpected tempfiles? + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + # wrong path + tests/functional/test_install.py::test_install_editable_with_prefix_setup_py + # wrong exception assumptions + tests/unit/test_utils_datetime.py::test_parse_iso_datetime_invalid + ) + ;; + esac + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + local -x PIP_DISABLE_PIP_VERSION_CHECK=1 + # rerunfailures because test suite breaks if packages are installed + # in parallel + epytest -m "not network" -o addopts= -o tmp_path_retention_policy=all \ + --use-venv +} + +src_install() { + if [[ ${DISTUTILS_WHEEL_PATH} != *py3-none-any.whl ]]; then + die "Non-pure wheel produced?! ${DISTUTILS_WHEEL_PATH}" + fi + # TODO: compress it? + insinto /usr/lib/python/ensurepip + doins "${DISTUTILS_WHEEL_PATH}" +} diff --git a/dev-python/id/Manifest b/dev-python/id/Manifest index 631e47d52c41..0ef154703d73 100644 --- a/dev-python/id/Manifest +++ b/dev-python/id/Manifest @@ -1,2 +1,3 @@ DIST id-1.5.0.gh.tar.gz 20209 BLAKE2B d5f1b959ed8c5151d049cad9c470e0ed773edb68f5c9e721e2d4d5207823af660c641546651fc4eee1dba398bebdd509098471046f7482f102d8be3ae6e4a846 SHA512 bedc354e59d569595b9b7258b3fb2da29f2701a4b9ec80487b98ce30a7077e8b35990bea80db955a95a8d0703d23ab98365077f3c66858f4cab8806f365c25a7 DIST id-1.6.0.gh.tar.gz 20662 BLAKE2B eed37815071faad0e0fc1cadb2f6634a90b60fcb5af3d19515f2a7629124257864f2048b590169cca67a5e39b4dd1f90cd3e6a331ce245e541a956550f80967c SHA512 1bcc4c36bf5e79da04fa94f9efa00a642a66a1ca02f9dce8bba4ae76d426827a0a060481eaacd5a948eb83837286bd2be29fefea19a9ae92ee208cbbc0b0e23d +DIST id-1.6.1.gh.tar.gz 23418 BLAKE2B ddea443e5924c6925789a900ea837e0764b795cbea838a05518a4d07718de861e2a66d1f95a8053afd118cc73b4a57fedabb9092292912a0f1dad937fa4e18be SHA512 58ce4586eff00ad2ac36b4dff31199eedca7287a5a317175238b8ed0a015b8fd5e1b09ad66a5b2ad7042cefac6d8dd980ee1924d112afe6a62a56edf6f07ae24 diff --git a/dev-python/id/id-1.6.1.ebuild b/dev-python/id/id-1.6.1.ebuild new file mode 100644 index 000000000000..4e6d4cd58ac0 --- /dev/null +++ b/dev-python/id/id-1.6.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="A tool for generating OIDC identities" +HOMEPAGE=" + https://github.com/di/id/ + https://pypi.org/project/id/ +" +# no tests in sdist, https://github.com/di/id/issues/286 +SRC_URI=" + https://github.com/di/id/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + =dev-python/urllib3-2*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # https://github.com/di/id/issues/287 + test/unit/internal/oidc/test_ambient.py::test_gcp_bad_env + test/unit/internal/oidc/test_ambient.py::test_gcp_wrong_product + test/unit/internal/oidc/test_ambient.py::test_detect_gcp_request_fails + test/unit/internal/oidc/test_ambient.py::test_detect_gcp_request_timeout + test/unit/internal/oidc/test_ambient.py::test_detect_gcp + ) + ;; + esac + + epytest +} diff --git a/dev-python/marshmallow/Manifest b/dev-python/marshmallow/Manifest index 85d6788ce499..b0dc87dd7fab 100644 --- a/dev-python/marshmallow/Manifest +++ b/dev-python/marshmallow/Manifest @@ -1,5 +1,4 @@ -DIST marshmallow-3.26.2.tar.gz 222095 BLAKE2B bfb279930cfda0a6b052badf1252926a282a40939d6c10222bb9ae84ea6b485441327e01d225a5837e723f7eede13dc868552cd4731470b1b543aada708b3bcb SHA512 022e656f4964abf0378f597b2c1dba9d4296e5710e4efb5c4ba25254435d4618bf21f1f8bb181b4fb613dbffe3dec76b97d191db9496441139b7698e8448ba00 -DIST marshmallow-4.2.0.tar.gz 221225 BLAKE2B a31cb68b740ff957e83d6b9e38403c9120888a138e505e1e3f64a06124a48272d1085cf98d90b888271f2908321335707d8cadb2f80da58e1e78a009a126d55c SHA512 76f400e7cd15ce10e784a0f9a33f2ab71e2cb494ebbc2fdb16136f0a0a2000da2f0dfda2770ba78109c9c1197001595f395c94207d484bafdf4c5e10c45e49f8 -DIST marshmallow-4.2.0.tar.gz.provenance 9863 BLAKE2B 71e6e1a3037e31fca011c2096d77d0c4b02326a2169344d0e6b9126f8451b54d2225e975edbee94d00e6333d1ff7ffbda0cde71a4d52afe6fc094df697eed991 SHA512 d8e61b03398e68dd653901b86140212e9db48f5b8008cbe77410237ecbb5c7fb043cc53cf5cd36f9f737f11501c7bdc95b22e555f80e81fb6264ef26c31b4239 DIST marshmallow-4.2.1.tar.gz 221309 BLAKE2B 4619606ae690d894aaa4f669a298f817339f7721f30807df6f8fb1e757c1cfe663bf10a5f69b57cf10370659915205630b43c5cb60e326dc3ce1056aa3140035 SHA512 d4f8d4aa26e50dbabfa3a9b889aa9a10c4a127b34583c30167e6fda2e738c70fc686b6cd0efb945bce1cecaba509da36c81dce05b79f4bb0a90cf519e8fd7068 DIST marshmallow-4.2.1.tar.gz.provenance 9902 BLAKE2B f3bd085e17a2a0cb1e64f466db43b8b41a7531f337f506e8590f001732d0febe1b4cdacdf736f290be112b2d5873c2c3925f0d89b84173d9b1c50cf8a84fb7cb SHA512 51638eb7f56f630b638dcd8c2615c14a52e8e45498caa5f16a364ff974ebb39ead35f18fc5bb2170f2895f533e57f12c144c1641c38715aa692ea4022826cb69 +DIST marshmallow-4.2.2.tar.gz 221404 BLAKE2B 08bdeffa85c8e371183d9f8888424c8edb5dc0a93ac7e2b92b03c742b6bda4db27446894f4e1e3153a2369b3f1448d58fafe34e585523c4b9757bd75bfb3502e SHA512 d13b9ce7110619379fd90b4cb4e5f94491dd30f2cd327d4444ed1b47d20ef6f3ccfa90069b263b4819f1527e80c4a9c6eb095686eb00ace9d9048b5c59230fe1 +DIST marshmallow-4.2.2.tar.gz.provenance 9855 BLAKE2B ee378252f6f40a4b9eda22e4a953051185c89ceab1ba10621b9ed19324e647382f65ee008bd65942d563a33bc60e5a0bd57ed5e3e758e7d639e7c4a8069c9c78 SHA512 556cfe4e7e89e777170cdbb43f3250c617be9fe3053f9ad846cc71db376c88809ea01a78d0f4dc315896cc9e1535561a83229d57e91e2e43236e46388e5e9dfe diff --git a/dev-python/marshmallow/marshmallow-3.26.2.ebuild b/dev-python/marshmallow/marshmallow-3.26.2.ebuild deleted file mode 100644 index 3a04e41d789b..000000000000 --- a/dev-python/marshmallow/marshmallow-3.26.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A library for converting to and from native Python datatypes" -HOMEPAGE=" - https://github.com/marshmallow-code/marshmallow/ - https://pypi.org/project/marshmallow/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/packaging-17.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/simplejson[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/marshmallow/marshmallow-4.2.0.ebuild b/dev-python/marshmallow/marshmallow-4.2.2.ebuild index c432ea319b3e..c432ea319b3e 100644 --- a/dev-python/marshmallow/marshmallow-4.2.0.ebuild +++ b/dev-python/marshmallow/marshmallow-4.2.2.ebuild diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index 3d44f210d0b7..858ae0cd2901 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -4,3 +4,5 @@ DIST pbs_installer-2026.1.14.tar.gz 66992 BLAKE2B a5f96ac0a836f8277539a1acaf9d70 DIST pbs_installer-2026.1.14.tar.gz.provenance 9744 BLAKE2B 6e55bae2f2524da914ff672f3746910c0aaa57b89358c83b4efefa219e71dfd2cf86e543b903c81a3ba9ffe348a5098e79edb77b9ece9d5a0729956939adbb2a SHA512 9e9e25da6aca921c94bbac8713df107448a1021ec815f320731e22748347b973e678bf2d2c0dc6dfbdfd2b8c1e27a18c1f30c0aae027af451ba055b9a977b4fa DIST pbs_installer-2026.1.27.tar.gz 66993 BLAKE2B f8fca1b5ee172066f812fe543b62844819f2e9d67718e67af06f2c0c4f6df4a18bed6a0658a3d3e896cb04172a3cc5bb98151794a448a8c8fca5b7baffb74b8c SHA512 b9b3f7b3279b6e79306ca4dde63b91e6deaba1689f589899a10bb687b7a115ff39988494b20fa2ecd130b97d84c860216154149d9c0481486471a64524faf9f7 DIST pbs_installer-2026.1.27.tar.gz.provenance 9458 BLAKE2B d16b56eeeb85c2e3ae60e2f637ea52d2ec674816b6b51bfe3b7717f33d3624139f6b72682ae32a922787ec8fba4df7df304b42eeae6bfa3ed7385104743f1ef3 SHA512 f211b8f32a2843e649fa66c423036a2a10a75588a8baaee29f30c5f3a81199d97670a30c44ba7f440365f4d695a46648ac1054140663c69390b5ceaa6ca72983 +DIST pbs_installer-2026.2.3.tar.gz 68327 BLAKE2B f5015781eef49ee421be7a041f5786fc8425a47c1dfc8c477db981c6bf3aa25cd491bc0d8b7228a58bcb0f8210c67ad606b070473981a016476628d0b10c2fe2 SHA512 7ba018d0d5c6e4042562a624685c1d045f64b3bc527a908c40c9c98e18475801095c4ef4a3b7528fe0bbfa65f8fdf22e69b69b461f30083680e634d98a1865f1 +DIST pbs_installer-2026.2.3.tar.gz.provenance 9642 BLAKE2B 32b0346d6d1e6b3c076a32a49a0fbfe9b9e4064d7f95553b6b1e58cdb51d81470c76488624d317463b49dfda8ea066f72eab635267e64f5d8ae8e36f89dbe11b SHA512 aa9f4451e3ef5c21790fcba3b96d0620e4ded031ac84c8d0db7e267aa16161c6b48d9baee6e6bc012dc87594e52f772c0d5ac233767afaed7b9216a24be8d4ef diff --git a/dev-python/pbs-installer/pbs-installer-2026.2.3.ebuild b/dev-python/pbs-installer/pbs-installer-2026.2.3.ebuild new file mode 100644 index 000000000000..ab0e8cdfbbac --- /dev/null +++ b/dev-python/pbs-installer/pbs-installer-2026.2.3.ebuild @@ -0,0 +1,31 @@ +# 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=" + <dev-python/httpx-1[${PYTHON_USEDEP}] + >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}] + >=dev-python/zstandard-0.21.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-import-check ) +distutils_enable_tests import-check diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index c0fe8a120a6b..474dd8e3216f 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,3 +1,3 @@ DIST phonenumbers-9.0.21.tar.gz 2297827 BLAKE2B abc80c432a48ae9efa6bdea47d672d00e1197edac59285411e5fad06ee8cc50566ae648e6615c5722e196a51e41db703a9cf2cfd4b7d8352cabfb4c882946d4e SHA512 6abc05883cd61563cb1bd7fe8afb43093efc0d6cd0ffedf979806142767ca606491ac951e6cf7a1d30675d5d1307a834483128018d35198a59bf60255cf85bc2 DIST phonenumbers-9.0.22.tar.gz 2297728 BLAKE2B 25993ad2b58df7e15a978ee1d68ff8741df08d6bd507cd947840da9ca1c58d0602245aa8f75d3a28779119b7f34718c5440a0dec997c66e14b9b7e8365a57f28 SHA512 ce3f19cc77c4b10e6f1f36ed8efc5634d8cfa440094f8a16148b44b17e0ff16af88fa3930421478c92059f7fd415cae0e0b46087a2e32a0bdc56b70d297cc221 -DIST python-phonenumbers-9.0.20.gh.tar.gz 4917117 BLAKE2B 31db2004c93c27a204601e00e2e0923121eedd27c1308e3c23ce0553531d7065314e8dd31daba1eeacc73fe045b26d34ae0115e6420b660661ffa07f9585ef5a SHA512 1622e5460c6897891550f6cee12006414000a4d19029b8eb692cfbff909b98d4cf143f73c69b7712ca1ff32e262e8e8b7d49d1977777e0134b90183a859993c4 +DIST phonenumbers-9.0.23.tar.gz 2298342 BLAKE2B 28ac9678230caed10e6575b5f4df925c31e6f40100f6a7de8082fdbd9730a02fc264ab47de139fc91b6cdb9f0903b0ffa6e5b9963242000dafad0ecb90996d29 SHA512 bb91e71fe1a880e36fc31c7b19b7ec165eea75e83b565383c60d03dba02a44dcf9eabd0acada78060089f66a396b855bcc04f59b05f6e9f76c0e337dc25b18ac diff --git a/dev-python/phonenumbers/phonenumbers-9.0.20.ebuild b/dev-python/phonenumbers/phonenumbers-9.0.23.ebuild index 91c0cadcc284..56b0d243a266 100644 --- a/dev-python/phonenumbers/phonenumbers-9.0.20.ebuild +++ b/dev-python/phonenumbers/phonenumbers-9.0.23.ebuild @@ -6,23 +6,17 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..14} ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_P=python-${P} DESCRIPTION="Python port of Google's libphonenumber" HOMEPAGE=" https://github.com/daviddrysdale/python-phonenumbers/ https://pypi.org/project/phonenumbers/ " -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" @@ -32,8 +26,6 @@ BDEPEND=" ) " -DOCS=( ../README.md ) - python_test() { "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index c3f4a5b3d483..ae87a2282350 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,3 +1,4 @@ DIST flit_core-3.12.0-py3-none-any.whl 45594 BLAKE2B 7c6cb6eb03d45bbba27f27b3728881b57fe82dd38e03f884d3b7c46116eb2b9dd76f92bdaf7f594ef8ccbe12ec8f9a56424ff9e9fc7a839c4818a113fdf0c3d3 SHA512 790c12b1f43201e365fb3f8f2f0a54e1a578876799dfdf8bfeea679a25ea096bf62946d006618c1458ae6e37ce6d00998f37e9aba426d5ab80d32ef2d75da4e0 DIST pip-25.3.gh.tar.gz 9115712 BLAKE2B 87d848c497163a45ee3de8f6f75c80b5051b07062c5a15450ae98b59a6cebc6bf03ca8525d57929493f2cfeb28d5623401eba69f0bdfc734389efbb84eafdf53 SHA512 f50db092213ec3bb819d3da5669f73d119b5ec7f7ac5e8a587a17c27eafa32bc17a057df09389c526a3769ef3577f5553187d54ceffa89aed63f4b4498ff044e +DIST pip-26.0.1.gh.tar.gz 9227871 BLAKE2B 96a2fab2de472b3cde570f3bcbd6bc5e5c48ef2f0808ca9b2b6c0f57a611f723cd0f5d592b6b5f553fb57a6909459f57b4130f2451cd95c3b18678e02215e0c9 SHA512 3786df7522ea65bc20fb9885ce5c2ddc60200a536a1f754a8d7dc278115c73258863e4c51ac7e9a60dda0b70263730dc194f70e1e8f8d00178a8b3c724333bf0 DIST pip-26.0.gh.tar.gz 9226836 BLAKE2B fe24bd8fca7fa2b64ed865a880a430c420a9e73e35a9f1f2405473d4778467f48a8bc0607c1423760ff23706d3e11ddfeb20cd5a7f6522530a679994278ee1d8 SHA512 62a62b2db4e7a6c795cf01ab553b94068f0d1c62470c1f5c2b3164344a84fa68f7854eec99d93b9f56193c61276d95d8af21a3cb6b78f0db4f013d9997e78199 diff --git a/dev-python/pip/pip-26.0.1.ebuild b/dev-python/pip/pip-26.0.1.ebuild new file mode 100644 index 000000000000..604ce5887b59 --- /dev/null +++ b/dev-python/pip/pip-26.0.1.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# please bump dev-python/ensurepip-pip along with this package! + +DISTUTILS_USE_PEP517=flit +PYTHON_TESTED=( pypy3_11 python3_{11..14} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit distutils-r1 pypi shell-completion +FLIT_CORE_PV=3.12.0 + +DESCRIPTION="The PyPA recommended tool for installing Python packages" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/ +" +SRC_URI=" + https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz + test? ( + $(pypi_wheel_url flit-core "${FLIT_CORE_PV}") + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test test-rust" +RESTRICT="!test? ( test )" + +# see src/pip/_vendor/vendor.txt +RDEPEND=" + >=dev-python/cachecontrol-0.14.3[${PYTHON_USEDEP}] + >=dev-python/dependency-groups-1.3.0[${PYTHON_USEDEP}] + >=dev-python/distlib-0.4.0[${PYTHON_USEDEP}] + >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.1.1[${PYTHON_USEDEP}] + >=dev-python/packaging-25.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.3.8[${PYTHON_USEDEP}] + >=dev-python/pyproject-hooks-1.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.4[${PYTHON_USEDEP}] + >=dev-python/rich-14.1.0[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.2.0[${PYTHON_USEDEP}] + >=dev-python/setuptools-70.3.0[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.2.0[${PYTHON_USEDEP}] + >=dev-python/truststore-0.10.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/ensurepip-setuptools + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + <dev-python/setuptools-80[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +python_prepare_all() { + local PATCHES=( + # remove coverage & pytest-subket wheel expectation from test suite + "${FILESDIR}/pip-26.0-test-wheels.patch" + # prepare to unbundle dependencies + "${FILESDIR}/pip-25.0.1-unbundle.patch" + ) + + distutils-r1_python_prepare_all + + # unbundle dependencies + rm -r src/pip/_vendor || die + find -name '*.py' -exec sed -i \ + -e 's:from pip\._vendor import:import:g' \ + -e 's:from pip\._vendor\.:from :g' \ + {} + || die + sed -i -e '/_vendor.*\(COPYING\|LICENSE\)/d' pyproject.toml || die + + if use test; then + local wheels=( + "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl + "${DISTDIR}/$(pypi_wheel_name flit-core "${FLIT_CORE_PV}")" + ) + mkdir tests/data/common_wheels/ || die + cp "${wheels[@]}" tests/data/common_wheels/ || die + fi +} + +python_configure() { + if use test && has_version "dev-python/pip[${PYTHON_USEDEP}]"; then + "${EPYTHON}" -m pip check || + die "${EPYTHON} -m pip check failed, tests will fail" + fi +} + +python_compile_all() { + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='if True: + import sys + sys.argv[0] = "pip" + __file__ = "" + from pip._internal.cli.main import main + sys.exit(main()) + ' + "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die + "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return 0 + fi + + local EPYTEST_DESELECT=( + tests/functional/test_inspect.py::test_inspect_basic + # Internet + tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_install.py::test_install_sdist_links + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + tests/functional/test_lock.py::test_lock_archive + tests/functional/test_lock.py::test_lock_vcs + # broken by system site-packages use + tests/functional/test_freeze.py::test_freeze_with_setuptools + tests/functional/test_install.py::test_install_subprocess_output_handling + tests/functional/test_pip_runner_script.py::test_runner_work_in_environments_with_no_pip + tests/functional/test_uninstall.py::test_basic_uninstall_distutils + tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers + # broken by unbundling + "tests/functional/test_debug.py::test_debug[vendored library versions:]" + tests/functional/test_debug.py::test_debug__library_versions + tests/functional/test_freeze.py::test_freeze_multiple_exclude_with_all + tests/functional/test_install.py::test_install_package_with_same_name_in_curdir + tests/functional/test_pep517.py::test_nested_builds + tests/functional/test_python_option.py::test_python_interpreter + tests/functional/test_uninstall.py::test_basic_uninstall + tests/functional/test_uninstall.py::test_uninstall_non_local_distutils + ) + local EPYTEST_IGNORE=( + # from upstream options + tests/tests_cache + # requires proxy.py + tests/functional/test_proxy.py + ) + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # unexpected tempfiles? + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + # wrong path + tests/functional/test_install.py::test_install_editable_with_prefix_setup_py + # wrong exception assumptions + tests/unit/test_utils_datetime.py::test_parse_iso_datetime_invalid + ) + ;; + esac + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + local -x PIP_DISABLE_PIP_VERSION_CHECK=1 + local EPYTEST_PLUGINS=() + # rerunfailures because test suite breaks if packages are installed + # to system site-packages while it's running + local EPYTEST_RERUNS=5 + local EPYTEST_XDIST=1 + epytest -m "not network" -o addopts= -o tmp_path_retention_policy=all \ + --use-venv +} + +python_install_all() { + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + newbashcomp completion.bash pip + newzshcomp completion.zsh _pip +} diff --git a/dev-python/protobuf/Manifest b/dev-python/protobuf/Manifest index 04647ae6e842..6a3f91870b2c 100644 --- a/dev-python/protobuf/Manifest +++ b/dev-python/protobuf/Manifest @@ -5,6 +5,7 @@ DIST protobuf-33.3.gh.tar.gz 6889779 BLAKE2B 8031047309ee32633860b23e93bb30984d8 DIST protobuf-33.4.gh.tar.gz 6889595 BLAKE2B fd378ca66464f39d32551bcf8ccab719b7d97e0fafa896bb69fa34c3866b5ae0d3938e75f57df6a712831ca5ea302595b35508037b11ea35c14ee54bb43a2fa2 SHA512 540059a93721447cf4723bcca06e91c43a4399cb366c05bf84e9d8e2c439f3107ba17803f9d912549b54c471f2dcc4c9fc834145ec441dff31ca24f9a3543aa9 DIST protobuf-33.5.gh.tar.gz 6890609 BLAKE2B d6069a5189cc02d7d1c7586883caab626d09bde61194fca54619f4e940ac4669d73fa7af4145b7559eb53f2d5b2b3c6184391c7c15ad920b04eebe53b520b2c8 SHA512 71110cd2cbf9f2e7f1bda4eed346ad6cad84a05ab0214d1e0880afc20a788f43176e2ccc8ac284eab38ec21578db147c2837b58789baf2823e4615d4b3557937 DIST protobuf-5.29.5.py.tar.gz 425226 BLAKE2B 1d7461e94ba8bc097d6f52170678665e3cd97ef44e4757e6c20bcb1bdfbfe673d26cd4a63f8e6972af964e381dfffedeb9a4959ec7a7d5a3a3f87f917c8aa329 SHA512 cbb39efe7f6499362b3e4cc9f073df921c8b83d3aafde245a2ca3432f3e744a428e946799c48b2797e08312342e164eced0bf2b8865b8d042b54913855abb1c8 +DIST protobuf-5.29.6.py.tar.gz 425623 BLAKE2B 113d56d001efde5d432437b0740c92255d7178a6900bf7b8266cece0d9c99815f12029034697f7363566d7500b853fc0825c5b3c01d8104b483323fcdbbcbb07 SHA512 42cb4c9b69dec89f001e6b70e35a25ddc94708e2977076ecd7d0e414b9547b2d1a044a1e8bfbf7eb7bebe6395888056f30cfb4c29608d86c9d0fcb7733c2b69a DIST protobuf-6.30.2.gh.tar.gz 9523913 BLAKE2B d3950abfe8b3b61dc2bb61f683b014de29451252c46b670dee75a81eb0b8ed30a3209227aa9483800244af16058469deb281521609d769a3456a798ca8a9a4a3 SHA512 f2ee857a36b49f87257a306b3f3c361770d74aaf24c4650b9d00994e1e1a0b09079fb0ce5ffb4d5a4a32d8ca46e3247d6db454918fa0b104fc8d58e8a0546a96 DIST protobuf-6.30.2.py.tar.gz 429315 BLAKE2B 6b56e23a8a962ce9da282ec49c4807877f4bfb677ad84bb6930b83cc436e9839f5791cfb19105678881c8361e27d62d3dde51e5e6c42f7a0e146d9e469282780 SHA512 48ddb2b63acc91759ba4243926c50bb0d16601aace9019129975701634b77a59415659751c69b06464afe994a0fbbd8da6640a208b743ba7df8bf6d60c5ec2b9 DIST protobuf-6.31.1.gh.tar.gz 9602805 BLAKE2B 349a528acaad6bae8c39be2888fcfe855dc71605d2b52e20c24e63b3171a855b0f16c60e4fa8a69bcad8b484edd46232132e7b0256634f420aea2dd207da129e SHA512 9138ac1b1c248246ed9840ab3879a6e18da60c709454ede2cb8e45e66e949998ab6e2c8aba557f0bb0b650ec430caeb546695b23387321ced5bc288866e04ad7 diff --git a/dev-python/protobuf/protobuf-5.29.6.ebuild b/dev-python/protobuf/protobuf-5.29.6.ebuild new file mode 100644 index 000000000000..17ef657a4df0 --- /dev/null +++ b/dev-python/protobuf/protobuf-5.29.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 2008-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Default implementation currently is upb, which doesn't match dev-libs/protobuf +# https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#implementation-backends + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) +PYPI_PN="protobuf" + +inherit distutils-r1 pypi + +DESCRIPTION="Google's Protocol Buffers - Python bindings" +HOMEPAGE=" + https://protobuf.dev/ + https://pypi.org/project/protobuf/ +" + +# Rename sdist to avoid conflicts with dev-libs/protobuf +SRC_URI=" + $(pypi_sdist_url) -> ${P}.py.tar.gz +" + +LICENSE="BSD" +SLOT="0/$(ver_cut 1-3)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index 6da77597d70c..f87f0fade774 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1,3 +1,2 @@ -DIST pycpio-1.5.4.gh.tar.gz 23533 BLAKE2B 51f23b73f921a5957f4536f13372891b991fddaeb986a7b3ede85bfa391d25055f4937a0105cdf873ca4f7ae6d6c3269afa9ac4d9bd329cfead3a3710ff1ca2b SHA512 4d1ca1ee8d4427a07191a7403ed1305835ea1e613b945c4dc1bde7bad1ab1e5d68c8a6462a7e46fed9cd50998f0086f840ced515f49f6fcba018439ba828260a -DIST pycpio-1.5.5.gh.tar.gz 23769 BLAKE2B 8771c4c154d3a93c1ca37441ec39ea1d141828d3c5652dcec3801bed44fa053bac9f77e98b8edafc4d0693d502d944ef8d7966e44d9c9693c3141cca48024d50 SHA512 830b4e5f6706a3bde3315111037055fcb6d53f0fe8d132434385eae1d471231d5051133b2fa90e9501321433272fe63a8dce9f1432f34494e10811d8b23e93c1 DIST pycpio-1.5.6.gh.tar.gz 23868 BLAKE2B 1c5a51948a84b6dc3f8b5ccfc21747dda27d560e719ffe2ee41ea48c3a988945e779f7b1a422554cb198b88f20f72ebcd8b183de3306309961b2c607b2ea3e91 SHA512 253aeb5b24997e99d06928f97e72b940043f028dbe069341427e94cd76a42f75c0dfbf376f801ed0d98de435a07dbb9407b3d28ff110c5c805b8523b67d88ae8 +DIST pycpio-1.7.0.gh.tar.gz 24738 BLAKE2B b4479df7b02bc2bc8751b1b833c0d82829383c9475544c11469facec172e2a54e4ee156e29b9a71c65bbd9ab7102448eee5c299e853bf470f39c3c55c4eff302 SHA512 9738f60ef52accfe228e51bf660552f09b189b99454e8d8ff2423150b446dd5977b6924ff88d7535ed2b1ce9d118146f674ab6e771ae27910ef4ec16919643d6 diff --git a/dev-python/pycpio/pycpio-1.5.5.ebuild b/dev-python/pycpio/pycpio-1.5.5.ebuild deleted file mode 100644 index a5139ea03d39..000000000000 --- a/dev-python/pycpio/pycpio-1.5.5.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 optfeature shell-completion - -DESCRIPTION="Python CPIO library" -HOMEPAGE="https://github.com/desultory/pycpio/" -SRC_URI=" - https://github.com/desultory/pycpio/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64" - -RDEPEND=" - >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] -" - -BDEPEND="test? ( dev-python/zstandard[${PYTHON_USEDEP}] )" - -distutils_enable_tests unittest - -python_test() { - eunittest tests -} - -python_install_all() { - distutils-r1_python_install_all - dozshcomp completion/_pycpio # Install zsh autocomplete script -} - -pkg_postinst() { - optfeature "zstd compression support" dev-python/zstandard -} diff --git a/dev-python/pycpio/pycpio-1.5.4.ebuild b/dev-python/pycpio/pycpio-1.7.0.ebuild index a5139ea03d39..9215afd79e9f 100644 --- a/dev-python/pycpio/pycpio-1.5.4.ebuild +++ b/dev-python/pycpio/pycpio-1.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,10 +17,10 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm64" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" RDEPEND=" - >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] + >=dev-python/zenlib-3.3.0[${PYTHON_USEDEP}] " BDEPEND="test? ( dev-python/zstandard[${PYTHON_USEDEP}] )" diff --git a/dev-python/pycpio/pycpio-9999.ebuild b/dev-python/pycpio/pycpio-9999.ebuild index bda830ea8e5a..7b30b0e17777 100644 --- a/dev-python/pycpio/pycpio-9999.ebuild +++ b/dev-python/pycpio/pycpio-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-httpdomain/Manifest b/dev-python/sphinxcontrib-httpdomain/Manifest index 35621e8618cd..dcb67b0c3533 100644 --- a/dev-python/sphinxcontrib-httpdomain/Manifest +++ b/dev-python/sphinxcontrib-httpdomain/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib-httpdomain-1.8.1.gh.tar.gz 41281 BLAKE2B 9ba157b1ed9494426226a8231d5a3cea420121722e5b4891049b76da567a917aebd8f2eac2c7a3ea899517fb4c64a6d0f1c50eb872fbd24418c464433a795c69 SHA512 ba0ba8d695302acedb3d51c3218748dfe25b756e8ba2eed4d8bbe012f16d09aaf822bbc93e0d6a32d3836b20345df2df7d675317aa96a802e7daef7fee792475 +DIST sphinxcontrib-httpdomain-2.0.0.gh.tar.gz 94266 BLAKE2B c41a58d108b0f86200b371b05b52e13ee9c7ad9f8e3ce6b67aa02cf884ff92c8a5e739e5072c316eebef8814f40ee0bae8045d9fa79f475b407716aba0c77418 SHA512 1dcc4b7cc072953ec8fd82b32370815b15a9a9f4da7db2b0ef499e325a85acf181fe232429c2b296155d1da74d11a1b128abbab505bec4640d690635aa8e1889 diff --git a/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-2.0.0.ebuild b/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-2.0.0.ebuild new file mode 100644 index 000000000000..b683c45b8248 --- /dev/null +++ b/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-2.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx domain for documenting HTTP APIs" +HOMEPAGE=" + https://pypi.org/project/sphinxcontrib-httpdomain/ + https://github.com/sphinx-contrib/httpdomain/ +" +SRC_URI=" + https://github.com/sphinx-contrib/httpdomain/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/httpdomain-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/sphinx-6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/bottle-0.13.4[${PYTHON_USEDEP}] + >=dev-python/flask-3.1.2[${PYTHON_USEDEP}] + >=dev-python/tornado-6.5.4[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + cd "${T}" || die + epytest "${S}"/test +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index e66f66f523f2..d052f1f571ee 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,5 +1,5 @@ DIST sqlglot-27.24.2-crates.tar.xz 8973180 BLAKE2B f893ebe4b94d4c2ab94f8fa902e51066e861511f698b24660d5becd31a98837c5a7f23a3d80c0716e8017012ae61f7202440c0092e1417e5f61b62e2e9f4260b SHA512 6a92b1ba2fbb51eac170db7a927927f8a06f184ebf820107a813c9cfa4dcdbea794199090a33986b48f5f00b3f43b404b7e1d26f5bf9663c53cb2b8f134d69af DIST sqlglot-27.29.0.tar.gz 5503507 BLAKE2B f9c92b8f287ca4c99c792d005e62846afd669ba27b5d09042de06c8c3fa5e46b21abdf5134cc81ae3ae2cb13d0a5997c56ac07c14e5fb938544d5dbc08c70632 SHA512 5fc7a8a81b39a2dba007b501f1f5c2de9fa1e74b39d44e1bea706491db1ead0329aa2fbfb7c4997a50458137af70d259a227a8662ac26ba2904dde2b66922bb1 +DIST sqlglot-28.10.0.tar.gz 5739594 BLAKE2B 80096fb378882195090942eaedc96a08fd30b45e654f1b0f8fed6601baf8706d747365f5731bbe7747ea077d6cb03587d5510f8443a4864b517ff39495bd2bb3 SHA512 dad42fa4e5f9c66efcfe3230187a1f859a1ef7e90ec97bc644ce097f04b6ae40002b9cdf5977d1258e1aa4aaafd4ef2fcae68309774b30ee2465e6325033ab1a DIST sqlglot-28.7.0-crates.tar.xz 6575196 BLAKE2B 29a29117c0118312e425cadb4ad2b2051bb3e7740175fab28865740051916b636f161ad0aa1afc346575698156b595c05cf9eec217b1ddd92d2f8a8741ba1686 SHA512 205a6932d593c41439e8de6b694bb1206e554c92ee2647cdd0fa33cf5497f46bea2e67e5e6b3e4af336837e3bd2cf2c0b82dfd7dc99a283bf134ba62c413d2ff -DIST sqlglot-28.7.0.tar.gz 5717197 BLAKE2B 279e940abd537b75f69d0aaaa500fc4622daa175840bc0ba8126216bdb2d8860f641d3b751fd51879ac20e44c898cf4bd7b0518bd906f74c8b243d791e21adba SHA512 284b68d0848ac134ab2950a367b3dee875de2339605b392df2098e0f6c08ba6eba46c8496e773dba8a131613c668e7222622869bcf6ae09ee190e0203286d989 DIST sqlglot-28.8.0.tar.gz 5734732 BLAKE2B 06ffba829543a83bf70880f64eb5822c3f56c791e4faea810e61d307f19c59fb567fdce42b67e7713b5bd48da396c4667fe9deb1238ae49311ba954a5c0cd2c2 SHA512 cc5441759541adaa642954d0abc8dccb1a77a400182b87a12e5e4ebd573233431ae39f90bfb7f5f9032fa7ad716f8b53f1eec4706613b69c221d118079a6057d diff --git a/dev-python/sqlglot/sqlglot-28.7.0.ebuild b/dev-python/sqlglot/sqlglot-28.10.0.ebuild index 8651c990e495..c1ea5b5b0b0d 100644 --- a/dev-python/sqlglot/sqlglot-28.7.0.ebuild +++ b/dev-python/sqlglot/sqlglot-28.10.0.ebuild @@ -5,6 +5,7 @@ EAPI=8 CRATES="" CARGO_OPTIONAL=1 +RUST_MIN_VER="1.81.0" DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..14} ) diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index 98af7bc15629..2d0bc6609720 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1 +1,3 @@ DIST tenacity-9.1.2.tar.gz 48036 BLAKE2B 5e91e0380d7cd5f3b94148f3817c3a296ab12a8ce4996ec9a917e5abb42575496c83dcbfa0034d1cff074add0a963c4b58ef9d5976fd412edf86196cc9a2e7a4 SHA512 35dff9ab9f1c2b9ab0d807bc790b92a3a3d4e133aecb9921a700af0e6dd9bf805f551a2409dc4341088a44b0693ec0b0fa6b703305b312a988da5e3dc1f61d11 +DIST tenacity-9.1.3.tar.gz 49002 BLAKE2B 0ae81a8470bdccecc85d78de67c9011a65914f136daef78dfd912d316043940cb96caea740c2ee78d4da23996c2523ce39d0fa545863cd70024679e4f85f87ea SHA512 aa04c007aca4e0d505b48e41b1d7b568c6da4f4d0f3db498033e6f46903d6c03c36a1762e722bd6895bd4f095b240946ee756cd15d21782746fd67766d6aafd9 +DIST tenacity-9.1.3.tar.gz.provenance 9222 BLAKE2B 128db9842ac12017d8b1bdcd3f6be72385eaf83a2d411f81333f185abd8fb77b7fa05bcadaba0be3e6153d641768e71fc716f449e2462d4bc3da8b610f0ea50c SHA512 3d712842da562221bce51af3814cda45ad1f9d76c1134a04d47580d45998e37ba4f4591e120823c99966db7c9a8c1ffc9dedb44cd545795ce06ad07c67ee104c diff --git a/dev-python/tenacity/tenacity-9.1.2.ebuild b/dev-python/tenacity/tenacity-9.1.3.ebuild index d047bfade312..d7cc71891402 100644 --- a/dev-python/tenacity/tenacity-9.1.2.ebuild +++ b/dev-python/tenacity/tenacity-9.1.3.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# 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/jd/tenacity PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -16,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] @@ -26,14 +27,10 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest -python_test() { - local EPYTEST_DESELECT=( - # fragile to timing - tests/test_asyncio.py::TestContextManager::test_sleeps - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} +EPYTEST_DESELECT=( + # fragile to timing + tests/test_asyncio.py::TestContextManager::test_sleeps +) diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 60d0d97a5b11..a404a9d1c775 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -9,3 +9,4 @@ DIST uv_build-0.9.25.tar.gz 359005 BLAKE2B b0c8307919092aa0abbca7da379efd315f54c DIST uv_build-0.9.27.tar.gz 359927 BLAKE2B 59b28b510f3d6b00e1cc3d4d7b2513181d2b0b494beeb3bc715e02a88ed42efddd2d5baa76c220dd94128bda9283f80f4bbf4fd7510101d022c9a070a7205cf8 SHA512 9b7ddba6293f6b2b6df8d4d5d5d2ededdea9c2806551d61ca32f1831bd0f073c68463336cbfb75e69a202af0cba2f61a9d03c80e19cf4b1c7e5a314b34c59bd7 DIST uv_build-0.9.28.tar.gz 359476 BLAKE2B 287b5b7ef98e9838c12416d0ff1f0ff938a13acf3858a3062f94d699af3d3c94a00be8f0e95effe76c26aa8930c9679f93baeee16822c1a32b5486a87d3bfa28 SHA512 d12d6850f231535f9f6a4abb2086eee76f527fe396b9e5cb63abf6697353c07e8e24c9479804cdcec64054230fea751525d24ce05c811a8d02e03acc5c96957c DIST uv_build-0.9.29.tar.gz 360262 BLAKE2B d8d80dbe8d7c0d8f73e6ccc84379a0d410307bb065d74c4020e0ae1a8ca5651cd390408681eb7e10a3bc118e018676fb82d784a5457719a8c20f10252785d1f4 SHA512 ad449f2dcc4b0132f9610124a0ab66145c9f53e81ade24694b4c83f41a0922e6ec1e993898b1c94d2eb872bf8df6313105e6f7d395dbd8f63a6476d199f4f6bb +DIST uv_build-0.9.30.tar.gz 360307 BLAKE2B aca8d30cb985b37c9b36057f23dfed1527ffd262f05077095892e3f65724de0ec8a6330e6932a03d23593792b06d5952369b398f47d660ba7e22bae869017f47 SHA512 378abd79176fd944c5d34da3de9ff55a1413a6961b1cbf9b45c05fd7eba55258643b0ff9e5dbf993af91e9dd52749cd895b4d0c7c0fe0bb75835361f362ca204 diff --git a/dev-python/uv-build/uv-build-0.9.30.ebuild b/dev-python/uv-build/uv-build-0.9.30.ebuild new file mode 100644 index 000000000000..639745396c25 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.9.30.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 ~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 9545a9730d48..5c60c9882503 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -20,3 +20,5 @@ DIST uv-0.9.28-crates.tar.xz 40486928 BLAKE2B 51f658d27d85b40b2eabb1e4369e43517e DIST uv-0.9.28.gh.tar.gz 4901290 BLAKE2B b5da19f7ddb271d952a71b20262319957809ada26ff73c194239cb6473bbc3c9d0ada3af2e7c3f753f3aed299ba8640f9ea75a573eed66ea5641b93cb19f81f6 SHA512 5ecd47127f630596d81db5c33e5f279fba5b1249ef3dd92269cbdf4f7ade4fe750c0fa1093b557d456504abdb832b7682c81a2945efcd6f1b9d10d933a21bb61 DIST uv-0.9.29-crates.tar.xz 40470584 BLAKE2B 79f17de0df630b20bcaba8b4649fba3e7eb41aaeedfb348a21b1f00132112bb4d1a0715af5f3fda8afbbaabc09a1f2143e372f76ed632caa6ce7a4a2d6f3036b SHA512 9ef56e24e13247785e204501ad5136cc78fcfe419d2838b683a7cbc915702ea2a6d5fbfa6e3fe884f34a186c62d65a94ca5aca811d31bfba33f60a2d77b9715c DIST uv-0.9.29.gh.tar.gz 4906670 BLAKE2B e20a0f6eb8d8ff4ceaebea9d57482cb375c2fff8710a4968b461b17350e1824df3e6fda435ba13dff844c403c80d318d0ea67b6aead14295c9b52df9e9cdc60d SHA512 02db296e156b19bd68663247d0537757550cfd11a8dc1cad650f28436607ee24ae502007c69969d624290d01700998ac4fb0a5935c009a22ef0db40eedf4a502 +DIST uv-0.9.30-crates.tar.xz 40470584 BLAKE2B 79f17de0df630b20bcaba8b4649fba3e7eb41aaeedfb348a21b1f00132112bb4d1a0715af5f3fda8afbbaabc09a1f2143e372f76ed632caa6ce7a4a2d6f3036b SHA512 9ef56e24e13247785e204501ad5136cc78fcfe419d2838b683a7cbc915702ea2a6d5fbfa6e3fe884f34a186c62d65a94ca5aca811d31bfba33f60a2d77b9715c +DIST uv-0.9.30.gh.tar.gz 4916626 BLAKE2B 975eb7a93005cd3fb44e6ca65b37f389a47a65ef96d1cb3350e128c0b7cfdc249da6e1fc53a89e53cc72c885f6bc645d3d2aa742a44778f84a824ff04ab78edf SHA512 15484325d652e07a23b29284f25d496920819609d2375c5e91b8ae9fba7dc084d5ade22fb5610237a2a92b69a088fee6028f8f2dbb2ba113393fca1687b99062 diff --git a/dev-python/uv/uv-0.9.30.ebuild b/dev-python/uv/uv-0.9.30.ebuild new file mode 100644 index 000000000000..30f3883671ff --- /dev/null +++ b/dev-python/uv/uv-0.9.30.ebuild @@ -0,0 +1,161 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.91.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 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + 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 +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/vector/Manifest b/dev-python/vector/Manifest index 562a2dd42522..a7dc13735391 100644 --- a/dev-python/vector/Manifest +++ b/dev-python/vector/Manifest @@ -1,3 +1,4 @@ -DIST vector-1.6.3.tar.gz 352886 BLAKE2B 52b5bbb88ab3fce6c6feececc159b16f38ce0fbf4c78b2446011ec581c65dd2b50087a58ae39f53ee39263e8c4c1c32bf0594ca2e6cfb33b00f3c541125c4656 SHA512 ebd176f4901c087fe4b8ce91787633c11a59fe9aa3485cde9f06995aa78f14d7b3f8ea6d9cae55a8a5f92fa8c6ab4b90fa4aabc32317c5cc5425b5836f7fdc80 DIST vector-1.7.0.tar.gz 386607 BLAKE2B 96689863e1e602d64bbbf694b62afeb69f2487d2232178fd5b3352a1d757023d62e2a0e98003d113e34d3eb1794a7fa03701fc2040d353ae5ad6bcede26ab320 SHA512 de2b7c775e8db0d1797d43c2541fb4e8f118e616b1875d48fbc3bd6a1a08013319b0e576bffd8d3178791483468cb690295ed58e3626f16d7a05650e9ddbbb80 DIST vector-1.7.0.tar.gz.provenance 9150 BLAKE2B b9d5804f99c9df10986e0d92fa09388aa66bf502e9fa4069ec25b7eddff79a69dc8b6fb017c5f6baeaa404a1f8e5d0916d19077846b05f1e7afb3523815cec06 SHA512 13f9a72f0079cd27228d701fa13342546900c05666c97cf821c29c0b750e0a56c94d0121d57b8a4cc474a8a5c4598e36fd5247d7ee9131146574ab1097481496 +DIST vector-1.8.0.tar.gz 387493 BLAKE2B f858c435f1a6ba4c2bd2fa609171e207fe06494fa125fbe266535404d4834e9f2b72ca0a3ca6b805e34b8e6221778553c6b96cf72d95f79a76f58e84531b1156 SHA512 2c8129f548285b8bbcfbbaf084358dd15fe11ac3de2b3646b6434a3ed26bb85124b4957f736e6aa24d43fb6e8c35726eea7c5260b6e27a4315ea3500cc2a2bf6 +DIST vector-1.8.0.tar.gz.provenance 9195 BLAKE2B 4cbd5974ae64e9dfc39c4540f087474e86b8d0afe5951f0163c8c36c207d9a6ac417e43941b7ca33bf266701709146d3ece90c74eeb8f070c45f40b5c8e466a4 SHA512 dd494c9c5b7fa2f2e6972cbd73e2c79fa7c329aea751005b256339b5b6e9793c905bfb1d58b989fd0e758271cc451edb871e7bb912259e2285326cb430d2cfdc diff --git a/dev-python/vector/vector-1.6.3.ebuild b/dev-python/vector/vector-1.8.0.ebuild index 6a96ed5b650a..e178d0fe8046 100644 --- a/dev-python/vector/vector-1.6.3.ebuild +++ b/dev-python/vector/vector-1.8.0.ebuild @@ -1,16 +1,17 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..14} ) +PYPI_VERIFY_REPO=https://github.com/scikit-hep/vector DISTUTILS_USE_PEP517=hatchling inherit distutils-r1 pypi optfeature DESCRIPTION="Vector classes and utilities" HOMEPAGE=" - https://github.com/scikit-hep/vector + https://github.com/scikit-hep/vector/ https://pypi.org/project/vector/ https://vector.readthedocs.io/ https://doi.org/10.5281/zenodo.7054478 @@ -21,8 +22,8 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}] - >=dev-python/packaging-19[${PYTHON_USEDEP}] + >=dev-python/numpy-1.19.3[${PYTHON_USEDEP}] + >=dev-python/packaging-20[${PYTHON_USEDEP}] " BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] @@ -41,7 +42,6 @@ EPYTEST_IGNORE=( ) EPYTEST_PLUGINS=() - distutils_enable_tests pytest pkg_postinst() { |
