diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-19 07:11:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-19 07:11:05 +0000 |
| commit | 4d3d4808c463335991e16c229763787e9cebba2e (patch) | |
| tree | a83ab280f31797a239a5b5ccc1da1fd729c035e6 /dev-python | |
| parent | e6fc564c40d23f49a149fdae8513f6d0309ec47a (diff) | |
| download | baldeagleos-repo-4d3d4808c463335991e16c229763787e9cebba2e.tar.gz baldeagleos-repo-4d3d4808c463335991e16c229763787e9cebba2e.tar.xz baldeagleos-repo-4d3d4808c463335991e16c229763787e9cebba2e.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
50 files changed, 654 insertions, 2854 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 5c8e2401fd82..5ab63f65bc18 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1 +1,2 @@ DIST arrow-1.3.0.tar.gz 131960 BLAKE2B 892ed898ea09a00ca100eada18956994d3567836c30feec50e1d2d1bca6a603c3f9254def16cd55b46e68c1530f8bf7c0f55401b458cc5aadf0883ade0899e90 SHA512 f0725e75d1005e0177bb234b3d2523aaf9e882ec08b020f6b3737a3af27af3c8c031aee9dcba0332595845a09a0286d56662b77ddad8a6da928ba37201725239 +DIST arrow-1.4.0.tar.gz 152931 BLAKE2B 48321e9b2b5aa34ada8ffec37f8b7866b65b79457a24f259df0a44df1bb2c3385042e8a48e997780f53a8833f183870cf2eceb57d661e44f8f4d7fd421871840 SHA512 25163555797aa14eb97fc3fb9153c6a9238a9cde961c5205b8d232c2d0d24beff00cd7ab21a63b6563b6812a0649b0dcd11696e236615132c4bd7be595d82299 diff --git a/dev-python/arrow/arrow-1.4.0.ebuild b/dev-python/arrow/arrow-1.4.0.ebuild new file mode 100644 index 000000000000..b6112939ce1e --- /dev/null +++ b/dev-python/arrow/arrow-1.4.0.ebuild @@ -0,0 +1,39 @@ +# 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="Better dates and times for Python" +HOMEPAGE=" + https://github.com/arrow-py/arrow/ + https://pypi.org/project/arrow/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' tox.ini || die + distutils-r1_src_prepare +} diff --git a/dev-python/django-allauth/Manifest b/dev-python/django-allauth/Manifest index a3d67d299cc4..d77ec9231a7d 100644 --- a/dev-python/django-allauth/Manifest +++ b/dev-python/django-allauth/Manifest @@ -1,2 +1,2 @@ -DIST django_allauth-65.11.2.tar.gz 1916225 BLAKE2B f32a7d15b94dc2a790eed0e7d42502c2141cf5269e5d3fcd09192f362a5db5028e4224f8803d2b887ea5c937d5f1b4372d35cc92b9ee5d490e26388f0ded0b21 SHA512 44613ccc034899574ca52b7519e81f375fffd0e0c0a15b8e8e168079052e95611f60d75c3b21f562c80c98f69612ef232ac75e4b273294960a89041f1b7599fc DIST django_allauth-65.12.0.tar.gz 1967199 BLAKE2B a83f493224b85b3547fd53d09cc75a57cbc5dc7edf9ed7beae5387df0b6593fab0786839b892a0fa13a77fec026aa839e61eb504888e2eadece1878aa0b02ae7 SHA512 31e7536feb9f0b454e82337b8f6b3c1dfaed56caf5b75e2869b597079ca7b540895bde383810d906a2f07266c47772a7088f80fb03bc0625e3cab45ad5ef877d +DIST django_allauth-65.12.1.tar.gz 1967971 BLAKE2B 6e75652dccc0ba07098eace3b3d3d640b65ede258fbd167a9734ed6eb822a6f8780f7be3a6f0056ec305b351ccc99ebd4dd3ee9e3927c79e31d3738bcb3522c4 SHA512 2845ca7d4cab8e41d87ac31e0d833dde1ac487e220120dff8e9d1f0326b35d1eceac625b2553fed81ac2fe8e5d492f3ae0c74d75a35f308f7e503f96bb55de52 diff --git a/dev-python/django-allauth/django-allauth-65.11.2.ebuild b/dev-python/django-allauth/django-allauth-65.12.1.ebuild index f4dbd1281b49..f4dbd1281b49 100644 --- a/dev-python/django-allauth/django-allauth-65.11.2.ebuild +++ b/dev-python/django-allauth/django-allauth-65.12.1.ebuild diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index d2290094b264..76f20bdc857c 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1,2 +1,3 @@ DIST hishel-0.1.3.gh.tar.gz 877174 BLAKE2B 296337921b1b7091b3fd8c4ec45203c7dc6138659d4affcd26a84cedf408cd39c835bf24acee5766deb59c4589d81fb4a9b7fc2f38ae5e328175f2a886617502 SHA512 5807cb1ddd819e3903f038b330cde7abb12101a46782c5117cc97b4cd53e752d8ed0e69ac9d0142fe1314b2ce56f1173aac23989f96e78596bbc3b6696a4f713 DIST hishel-0.1.4.gh.tar.gz 1079026 BLAKE2B c058ddeb0fd8552cf6f2cba5d74a8d259f3008caf0ab259ca98d897c98fa92d3a1a31de2b292217178b1743393da04056e304997546d7a14395bab5b23f36f2e SHA512 213f9a51e3ed079c7558449cd90691988ad7defddaf7eb0b94a70bebe26f1a9f3d63119666124e7fd414b593a77041deb14b8bee13e4ece87fc36b30d2cf0b1e +DIST hishel-0.1.5.gh.tar.gz 1065622 BLAKE2B 926801f579a57cc2b45cb6cd5326459493452d34b32a2725b906307dcc4575b1297b35ffc626e51acc5805216731552d58c672dedb0541f2c771f153daee960d SHA512 b1f850895b147da616ace381d98ac9b6a15386d7e79d64a57a4e87f9bd0b42009a6ffa15fe1f8e46c57f8bc664c3af97d46e5adb81211e30fae87dab898f7734 diff --git a/dev-python/hishel/hishel-0.1.5.ebuild b/dev-python/hishel/hishel-0.1.5.ebuild new file mode 100644 index 000000000000..e70d50f13984 --- /dev/null +++ b/dev-python/hishel/hishel-0.1.5.ebuild @@ -0,0 +1,73 @@ +# Copyright 2024-2025 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="An elegant HTTP Cache implementation for HTTPX and HTTP Core" +HOMEPAGE=" + https://github.com/karpetrosyan/hishel/ + https://pypi.org/project/hishel/ +" +SRC_URI=" + https://github.com/karpetrosyan/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/anyio-4.9.0[${PYTHON_USEDEP}] + >=dev-python/anysqlite-0.0.5[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-1.14.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + dev-db/redis + >=dev-python/boto3-1.15.3[${PYTHON_USEDEP}] + >=dev-python/inline-snapshot-0.28.0[${PYTHON_USEDEP}] + >=dev-python/redis-6.2.0[${PYTHON_USEDEP}] + >=dev-python/time-machine-2.19.0[${PYTHON_USEDEP}] + >=dev-python/trio-0.30.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( anyio ) +distutils_enable_tests pytest + +src_test() { + local EPYTEST_DESELECT=( + # Internet + tests/beta/test_async_httpx.py + tests/beta/test_requests.py + tests/beta/test_sync_httpx.py + ) + + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Starting Redis" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/iniconfig/Manifest b/dev-python/iniconfig/Manifest index 38279b1e3e4d..f0705e250b9b 100644 --- a/dev-python/iniconfig/Manifest +++ b/dev-python/iniconfig/Manifest @@ -1 +1,3 @@ DIST iniconfig-2.1.0.gh.tar.gz 8195 BLAKE2B f72d682bebf84893a2e035742bb5bb59c40e37e7916e7c997144768f3a7b188f1df8a544aea216d9e38db54cd33abced66f1c99ee0c6ae5c9403187d10707e47 SHA512 2f973195ca65a3274961b32d1d478fef4e7beca7b9be27b7e88956d61b50eab4f8b10d491427aff23e973cb94cbcfe7dcc25e6767364a6ed52b3b81219549a20 +DIST iniconfig-2.3.0.tar.gz 20503 BLAKE2B 4225327dedf8a1216c5426260f2032f1c1709648d4793ce6eefdb72b50348d5994f23f3f807f9e441261ec7d0d6509727cb63851c8de1fb501a069a911665a47 SHA512 65f9200c904fae6d4691823a8c1c7af7d80d91438db47a6fa84a7688d0b95c73b65702a9ada16383a6c2036438b657b9981d2fcffbe6bbb5ed744b54557094eb +DIST iniconfig-2.3.0.tar.gz.provenance 9140 BLAKE2B 390a9d88eca571cdaa83a7f8ab5e95fce0f925919555ba1cd8c210baacdbe46ac78eab0da7187eb2449b3e541d254a075e1e4a0769659eb2d3259cf25e7b5781 SHA512 ea59087c68809b1593048705adc3b222b4d829f93678ae35da2c24c0f6309197511463578e63f0b35ee0e4892ebb7d352528a36a28e364ee7dcbb05cb930c4e0 diff --git a/dev-python/iniconfig/iniconfig-2.3.0.ebuild b/dev-python/iniconfig/iniconfig-2.3.0.ebuild new file mode 100644 index 000000000000..d2d3f7627cf0 --- /dev/null +++ b/dev-python/iniconfig/iniconfig-2.3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pytest-dev/iniconfig +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Brain-dead simple config-ini parsing" +HOMEPAGE=" + https://github.com/pytest-dev/iniconfig/ + https://pypi.org/project/iniconfig/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/mistletoe/Manifest b/dev-python/mistletoe/Manifest index ac8d27b423ac..3e7d9de3f737 100644 --- a/dev-python/mistletoe/Manifest +++ b/dev-python/mistletoe/Manifest @@ -1 +1,2 @@ DIST mistletoe-1.4.0.gh.tar.gz 122220 BLAKE2B ca82e85a5900a07ce97749d4e199b6a938e26f25154123a64cb26bdfb4efcdc60ac4bec8d43dc4c1fa33417f1e34772ea6cd7fe59db5a2f0a5aa8fbb73dac33e SHA512 6896be4a6eb377699e97d16d1224165a14dc238047490125d29cbcced6121afd7df70497434f6bea0aa4e2e2a086c31176ecc79d38943f18d0b72f36894c7eec +DIST mistletoe-1.5.0.tar.gz 111620 BLAKE2B 5ef7d0b47509010d129a4d0ebf2c6944c307488f4bacc1098bbe4b799131ec11790a04338f1cfe75b0667b56806d6ba9ca651bea7e66649f6e593f73dc8f9b05 SHA512 7f9269832b8c086ac130c4e1ce9597f6fef8007c885c1248fb69556b05f20a02a3dfa12b5a1d5243e80add75075138e6aab0231bfd998ece7d5f0e09ae8afd40 diff --git a/dev-python/mistletoe/mistletoe-1.5.0.ebuild b/dev-python/mistletoe/mistletoe-1.5.0.ebuild new file mode 100644 index 000000000000..7561e7c6af14 --- /dev/null +++ b/dev-python/mistletoe/mistletoe-1.5.0.ebuild @@ -0,0 +1,32 @@ +# 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 pypi + +DESCRIPTION="A fast, extensible Markdown parser in pure Python" +HOMEPAGE=" + https://github.com/miyuchina/mistletoe/ + https://pypi.org/project/mistletoe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# NB: pygments is technically optional but we like syntax highlighting +RDEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/pandas/pandas-2.3.3.ebuild b/dev-python/pandas/pandas-2.3.3.ebuild index 6b7899440b5b..c93206947af8 100644 --- a/dev-python/pandas/pandas-2.3.3.ebuild +++ b/dev-python/pandas/pandas-2.3.3.ebuild @@ -135,8 +135,11 @@ python_test() { # probably pytz, doesn't happen on main (where zoneinfo is used) 'tests/arrays/test_array.py::test_array_inference[data7-expected7]' - # virtx? - pandas/tests/test_downstream.py::test_seaborn + # random warning regressions?! + tests/test_expressions.py::TestExpressions::test_bool_ops_warn_on_arithmetic + 'tests/series/test_arithmetic.py::TestSeriesArithmetic::test_add_list_to_masked_array_boolean[numexpr]' + 'tests/frame/test_arithmetic.py::TestFrameArithmetic::test_binop_other[numexpr-add-True-bool]' + 'tests/frame/test_arithmetic.py::TestFrameArithmetic::test_binop_other[numexpr-mul-True-bool]' ) if ! tc-has-64bit-time_t; then @@ -170,6 +173,23 @@ python_test() { ) fi + case ${EPYTHON} in + python3.14) + EPYTEST_DESELECT+=( + 'tests/computation/test_eval.py::TestEval::test_simple_cmp_ops[float-float-numexpr-pandas-in]' + 'tests/computation/test_eval.py::TestEval::test_simple_cmp_ops[float-float-numexpr-pandas-not in]' + 'tests/computation/test_eval.py::TestEval::test_simple_cmp_ops[float-float-python-pandas-in]' + 'tests/computation/test_eval.py::TestEval::test_simple_cmp_ops[float-float-python-pandas-not in]' + 'tests/computation/test_eval.py::TestEval::test_compound_invert_op[float-float-numexpr-pandas-in]' + 'tests/computation/test_eval.py::TestEval::test_compound_invert_op[float-float-numexpr-pandas-not in]' + 'tests/computation/test_eval.py::TestEval::test_compound_invert_op[float-float-python-pandas-in]' + 'tests/computation/test_eval.py::TestEval::test_compound_invert_op[float-float-python-pandas-not in]' + 'tests/computation/test_eval.py::TestOperations::test_simple_arith_ops[numexpr-pandas]' + 'tests/computation/test_eval.py::TestOperations::test_simple_arith_ops[python-pandas]' + ) + ;; + esac + local -x LC_ALL=C.UTF-8 cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die diff --git a/dev-python/patsy/patsy-1.0.1-r1.ebuild b/dev-python/patsy/patsy-1.0.1-r1.ebuild new file mode 100644 index 000000000000..4384b966cc16 --- /dev/null +++ b/dev-python/patsy/patsy-1.0.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python module to describe statistical models and design matrices" +HOMEPAGE=" + https://patsy.readthedocs.io/en/latest/index.html + https://github.com/pydata/patsy/ + https://pypi.org/project/patsy/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + !hppa? ( + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index 89e34ffa2e56..3fdc1d53e8e7 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -1,4 +1,5 @@ DIST psycopg-3.2.10.gh.tar.gz 572879 BLAKE2B 20950385767bdb3d9d1553919424b8a80343f8a611de619da2888197ca2a139e5e2837e0521762d605b17ec3c1ee2bb73088a21709856f32351490588260f37e SHA512 aca15ce2563b3aa03d53c13ecd6a0f3a17e267a6214e899dc7aad8867dc944503c3cd23aec766903cff083df2c860d1c3a888539c684d38444b2a9af4781252a +DIST psycopg-3.2.11.gh.tar.gz 577490 BLAKE2B f0575616ba664335651612fb14328cd99c26680c190d260c4c0742877d04c6316552035ac11b7d9a029f629babe784ad1fc4631ce4ca5f9bd537c93b6cc71266 SHA512 f4385e251895abd46d03f2fba804d80073171a488e3f3363c9f98297b532b8c0570e657b93805acaf969bcaa730f0831fd97f8df14889ced8e48a4f064a8348a DIST psycopg-3.2.9.gh.tar.gz 565735 BLAKE2B 5b9b16e5e310214bdbf12198a7b8d9d86ed7b7e947a33c7333fe79bca946b76f09c60ea25960d3cf3f99423598a65ce33b53bd6dc10a9c68a930a46068b54fd6 SHA512 3e455852dd19c9639a8ee18773486295ea76f9a16146997be9dd4f3f6350257440e0d8fff9494acb79e95f04e74c0c14ec7968694fe329abeb74edcfb297d4dd DIST psycopg2-2.9.10.tar.gz 385672 BLAKE2B 4a3ad64f406c427b785ffeb85f6520aa67ed04de2d1749eb22d8275146b71ba451f7c04c9ead401d6f7a273781492cd6a5a36beba68b36b1e5203ee75f7df503 SHA512 d0916f6a645b5e87f89f2463dc22fad78340a85fbff320d099bf429a42557f40d3a4eebdc670768469aef1e9fcee60123767bfe49e1186e8574f95bfd6f46900 DIST psycopg2-2.9.11.tar.gz 379598 BLAKE2B 78608a2b4a9b1db9ba9873ce01b84f898489de8ff6db5522ecc2fa68606b0ef8cdab7f137c86cf840509c9161b329a2efc1e1aadc494b565226099e8651372ab SHA512 44f7b03d958dc62822be8a8c38d738c4016c3a1f860c824158b78ba0a23f04ca63377171b22a14e38b76df868458ede25f29e4643197912adb2f1a1db8c0d5c0 diff --git a/dev-python/psycopg/psycopg-3.2.11.ebuild b/dev-python/psycopg/psycopg-3.2.11.ebuild new file mode 100644 index 000000000000..cc0258a2a63d --- /dev/null +++ b/dev-python/psycopg/psycopg-3.2.11.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="PostgreSQL database adapter for Python" +HOMEPAGE=" + https://www.psycopg.org/psycopg3/ + https://github.com/psycopg/psycopg/ + https://pypi.org/project/psycopg/ +" +SRC_URI=" + https://github.com/psycopg/psycopg/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="+native-extensions" + +DEPEND=" + native-extensions? ( + >=dev-db/postgresql-8.1:= + ) + !native-extensions? ( + >=dev-db/postgresql-8.1:* + ) +" +RDEPEND=" + ${DEPEND} + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + >=dev-db/postgresql-8.1[server] + >=dev-python/dnspython-2.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( anyio ) +distutils_enable_tests pytest + +python_compile() { + # Python code + ctypes backend + cd psycopg || die + distutils-r1_python_compile + + # optional C backend + if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then + local DISTUTILS_USE_PEP517=standalone + cd ../psycopg_c || die + distutils-r1_python_compile + fi + cd .. || die +} + +src_test() { + rm -r psycopg{,_c} || die + + initdb -D "${T}"/pgsql || die + # TODO: random port + pg_ctl -w -D "${T}"/pgsql start \ + -o "-h '' -k '${T}'" || die + createdb -h "${T}" test || die + + local -x PSYCOPG_TEST_DSN="host=${T} dbname=test" + distutils-r1_src_test + + pg_ctl -w -D "${T}"/pgsql stop || die +} + +python_test() { + local EPYTEST_DESELECT=( + # tests for the psycopg_pool package + tests/pool + # some broken mypy magic + tests/test_module.py::test_version + tests/test_module.py::test_version_c + tests/test_typing.py + tests/crdb/test_typing.py + # TODO, relying on undefined ordering in Python? + tests/test_dns_srv.py::test_srv + # requires pproxy? + tests/test_waiting_async.py::test_remote_closed + tests/test_waiting.py::test_remote_closed + ) + + case ${ARCH} in + arm|x86) + EPYTEST_DESELECT+=( + # TODO + tests/types/test_numpy.py::test_classes_identities + ) + ;; + esac + + local impls=( python ) + if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then + impls+=( c ) + fi + + local -x PSYCOPG_IMPL + for PSYCOPG_IMPL in "${impls[@]}"; do + einfo "Testing with ${PSYCOPG_IMPL} implementation ..." + # leak and timing tests are fragile whereas slow tests are slow + epytest -k "not leak" \ + -m "not timing and not slow and not flakey" + done +} diff --git a/dev-python/pyarrow/pyarrow-21.0.0.ebuild b/dev-python/pyarrow/pyarrow-21.0.0.ebuild index 1d5d57c179c0..e5222ea4c2df 100644 --- a/dev-python/pyarrow/pyarrow-21.0.0.ebuild +++ b/dev-python/pyarrow/pyarrow-21.0.0.ebuild @@ -94,6 +94,7 @@ python_test() { # fragile memory tests tests/test_csv.py::TestSerialStreamingCSVRead::test_batch_lifetime tests/test_csv.py::TestThreadedStreamingCSVRead::test_batch_lifetime + tests/test_array.py::test_to_pandas_zero_copy # takes forever, and manages to generate timedeltas over 64 bits tests/test_strategies.py "tests/test_array.py::test_pickling[builtin_pickle]" diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 089825bd446d..68cdb271dc94 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -4,3 +4,5 @@ DIST pyzotero-1.6.17.tar.gz 527253 BLAKE2B 502c6e9a850b026bdb965b19e788068652242 DIST pyzotero-1.6.17.tar.gz.provenance 9407 BLAKE2B 903dad16065eed019964b12e5220e1bd0ef9a0b1d00c4b2fb665ce47927d3b009ad71dcc8b9a374344a11d8e7e152277be44dd392d6a188eb8d3cda0b0606859 SHA512 4ee4325326dc69a8365d153fd377f7bbf75d849794dfddd43a30ee7c2bcaf68b0c0139d91ea2a2de4b7c847f4effe9230c83fab477badc03f26a1efcb9bb94f2 DIST pyzotero-1.7.2.tar.gz 531570 BLAKE2B e615de0b8f34505353db19011d5b59e8ad38664abc01155272cd04bc166348cc6e7434efa74ba550582199b2879338da6073f83ac6f45f488be2bb86ab5c30c7 SHA512 4c42989276181b04f1593c1b1a2b4a11f38648a4e56d04b474dc6a9a908914693774dac1c17be5946e0afe63389cbf3073c82382fea3cc386506445e192da327 DIST pyzotero-1.7.2.tar.gz.provenance 9395 BLAKE2B 6083881003437a1c7041aaac28f5678bfdaa317af8406fb9dcb899351ff7475a69e894a7d7d56d3e5c694f99525085e665f665e74be86a0188a0c5f482970482 SHA512 598a12a4928be2bbfe022c5f5a12ba20d706ca3e5341b01e6154174ba57afda3e7c0d678ebd88fc73ee659a949e6d0f8627f69489c0b93aee76c7129656c92ee +DIST pyzotero-1.7.3.tar.gz 532004 BLAKE2B e516a4052c5553710cf7b215f41d010a7c5f4d39dd7dd384206861bd75fcc48bee6c3ac3a3bba3c7e3b22f9335ec5aae9128796591faaadce44bb7afc35f1423 SHA512 cc20277fedc9426c939bdf3193f26cf4ba591be559381894b67492d7d43ca9fa6f4cd7493d67f405d5d23253e3a02f1b6d4f345169deae15f49498637db5ccab +DIST pyzotero-1.7.3.tar.gz.provenance 9152 BLAKE2B de20fce045bcef374fb9d921dfa9f5309a70fe3df2e32bc5a6cdfc106708fe2f6cfd030e4eee13f7b94a2ccb0b03146a566cb3fe7d2032dc10ae393b5080db62 SHA512 9e15c7cf299f2c13564353a0dc5bf45f6cb4b6db945cf060ea4fe7506e3e3f383d31c03adfaf7bc964a1d758d2e19e7e4136a05b06747c959bb5d28f743528d5 diff --git a/dev-python/pyzotero/pyzotero-1.7.3.ebuild b/dev-python/pyzotero/pyzotero-1.7.3.ebuild new file mode 100644 index 000000000000..375eb6a672e6 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.7.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYPI_VERIFY_REPO=https://github.com/urschrei/pyzotero +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="BlueOak-1.0.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + <dev-python/bibtexparser-2[${PYTHON_USEDEP}] + >=dev-python/bibtexparser-1.4.3[${PYTHON_USEDEP}] + >=dev-python/feedparser-6.0.12[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] + >=dev-python/whenever-0.8.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] + test? ( + >=dev-python/httpretty-1.1.4[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/pytz-2025.2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/tzdata-2025.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/qtpy/qtpy-2.4.3-r1.ebuild b/dev-python/qtpy/qtpy-2.4.3-r1.ebuild index 415ea2d7a79e..d546ea6f5b81 100644 --- a/dev-python/qtpy/qtpy-2.4.3-r1.ebuild +++ b/dev-python/qtpy/qtpy-2.4.3-r1.ebuild @@ -30,7 +30,7 @@ unset _IUSE_QT_MODULES REQUIRED_USE=" || ( pyqt6 pyside6 ) - pyside6? ( $(python_gen_useflags python3_{11..13}) ) + pyside6? ( || ( $(python_gen_useflags python3_{11..13}) ) ) " # These flags are currently *not* common to the PySide2/6 and PyQt5/6 ebuilds diff --git a/dev-python/statsmodels/statsmodels-0.14.5-r1.ebuild b/dev-python/statsmodels/statsmodels-0.14.5-r1.ebuild new file mode 100644 index 000000000000..48ae137efe39 --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.14.5-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Statistical computations and models for use with SciPy" +HOMEPAGE=" + https://www.statsmodels.org/stable/index.html + https://github.com/statsmodels/statsmodels/ + https://pypi.org/project/statsmodels/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux" +IUSE="examples" + +# NB: upstream requires building with numpy-2 but supports 1.x +# at runtime +DEPEND=" + >=dev-python/numpy-2.0.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.8[${PYTHON_USEDEP}] +" +RDEPEND=" + >=dev-python/numpy-1.22.3[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pandas-1.4[${PYTHON_USEDEP}] + >=dev-python/patsy-0.5.6[${PYTHON_USEDEP}] + >=dev-python/scipy-1.8[${PYTHON_USEDEP}] +" +BDEPEND=" + ${DEPEND} + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + 'dev-python/ipykernel' \ + 'dev-python/jupyter-client' \ + 'dev-python/matplotlib' \ + 'dev-python/nbconvert' \ + 'dev-python/numpydoc' + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + export VARTEXFONTS="${T}"/fonts + export MPLCONFIGDIR="${T}" + printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x MKL_NUM_THREADS=1 + local -x OMP_NUM_THREADS=1 + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest statsmodels +} + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Plotting functionality" "dev-python/matplotlib" +} diff --git a/dev-python/tables/tables-3.10.2-r1.ebuild b/dev-python/tables/tables-3.10.2-r1.ebuild new file mode 100644 index 000000000000..8ecca0a2f64e --- /dev/null +++ b/dev-python/tables/tables-3.10.2-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 prefix pypi + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE=" + https://www.pytables.org/ + https://github.com/PyTables/PyTables/ + https://pypi.org/project/tables/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+cpudetection examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-arch/bzip2:0= + app-arch/lz4:0= + >=app-arch/zstd-1.0.0:= + >=dev-libs/c-blosc-1.11.1:0= + >=dev-libs/c-blosc2-2.11.0:= + dev-libs/lzo:2= + >=dev-python/numpy-1.19.0:=[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.4:= +" +RDEPEND=" + ${DEPEND} + >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) +" +BDEPEND=" + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] + virtual/pkgconfig + cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + ) +" + +python_prepare_all() { + rm -r c-blosc/{blosc,internal-complibs} || die + + distutils-r1_python_prepare_all + + sed -i -e '/blosc2/d' pyproject.toml || die + hprefixify -w '/prefixes =/' setup.py + + export PYTABLES_NO_EMBEDDED_LIBS=1 + export USE_PKGCONFIG=TRUE +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" tables/tests/test_all.py -v || die +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r contrib examples + docompress -x /usr/share/doc/${PF}/{contrib,examples} + fi +} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index e64b71e860fc..f8cbb2fe3a18 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,14 +1,4 @@ -DIST uv_build-0.8.15.tar.gz 327897 BLAKE2B c2972d5db464320956707dabdec70e796b03c2ddb4fe2e320d6a688f7099f710fd4e29374cb706e23b3a900e0c055277e24514041ab352d7bd589c92d7d7c6eb SHA512 6b2dc120cad0f0e759d6618d1716ab6c4e07444faa4f185423d428954e5d519f7488b7133108eec9a32bb482112b6368c9beccaf0382e23ced2d3e0292ff3415 -DIST uv_build-0.8.16.tar.gz 330691 BLAKE2B d1c730ee6c8292273a6511383c6c0d015909ff59b67a74152d13bcb390a777c5649cff2b00fb50fb98dfc0100011f7402016f12657279c87e5b09959034ff3af SHA512 1df459afa00271b6fafc3b3abf3558f2b19db2603017a86a371ddfb4eb917304de9ec38d673ce4eda8d05c9432be48ab0b0401e8b89238af19a5de55771b11f1 -DIST uv_build-0.8.17.tar.gz 331207 BLAKE2B fefb1fce9d0669fa242a7639dac3767accc166008bd780778cf2c589faa2e48fec435a1c77244d38ffbc2e79cf9c0e8ad87a99e432ca61c5c2b7cadcfd14028d SHA512 d997be2cc62782d8c305a1a408b99173e876ba70d7af279efd5ea745fb17862754f3b896924822052c2dedc56d332e7ea35228514effe265be340767f0286ec7 -DIST uv_build-0.8.18.tar.gz 330099 BLAKE2B 7a9a144aeae7ab2d9f458d10c2b8786f4d5e22bd64ab38b0b82ea747135d69fc0f4325efff23d7d232e8a6a584acdd8b94c97428f91e20806750967a6fafd6a7 SHA512 1a975786482d957fb0b3b3cf716d3e8dd8d210bcffa562ad60df7f18d4024aaf8dcf2c52a7afdb04c32de469684668cb7c7ec8359d9a7b102024a52ae3e0d785 -DIST uv_build-0.8.19.tar.gz 331154 BLAKE2B 45d594ced0dd59efc9efdb48c2c412d8e619b7fb1b2dbe74e172bae736d35c9ac920763479ba78d7ff60f0f5dddeb75b15b1dbadcf15d10e7c28c17e92971c83 SHA512 91b7b31c5d42b59869b7fe282ee4a5410512a756df90ea68d46015aef950e21c1a61218b75e3d5f9b38cd84b84e99ee0b314943e85344fb00978885ab11e9483 -DIST uv_build-0.8.20.tar.gz 331116 BLAKE2B 0089f4c645a0ddcbf9661c67108f10b72bfe0ab26f096f1176d24f51f88c2ef1f1947329274dbbe367dfe4d1f6d0066a66befbc37ceb184d27609702745b2fa4 SHA512 d13b53e71ea1805fc9530045e52300ce6a06a1d77f41d8f3ab47d0ac1d459d22ce3b5323cf4543a6fb251543821d367c24aeba108fea09de651f84fb78149804 -DIST uv_build-0.8.22.tar.gz 332850 BLAKE2B c3c48c77ecbe53a66f48077143e49ec61af92583618934abb11ef492e29a81759300f3bf7f01ae5cbc986dc1cc77568fd7f30607868f5d8d6dca237379ea7b2d SHA512 eb08f61551bdb4a79ff8978e2008ba160731c477d8e71a6a92266425640e7e053f44970ac6d8119e80b03cda803081ef81758885d5af7d88f9efef818f820340 -DIST uv_build-0.8.23.tar.gz 332290 BLAKE2B 06b569c7ce774476e3e24eb0e4cf8f9f30d590f084df02b88172b19dbe374338003fd912e5ce845a91bc6f4871991d4cd34c551a39a615dc2ecebaf6780726a2 SHA512 3cc9bb53e60e09c7450630f09042ba07bbb61c1ad2731566e57a1d9e157b68a882d53a66bb8b088101c48eb89b4411a55eb96c0969a18c325db79a37e02dba9c DIST uv_build-0.8.24.tar.gz 332743 BLAKE2B de8e695ab1b41139dd6a8d78ae8f895ae4e464f7956019c1f32a9a39109517332ed4e783cc99dddb16c89215d49488081c2139a5edb7f9a7a602d712f1580e9f SHA512 cdeeead6b94e27edf6ebcd5997419032266f4f3fe6deef22c3b850220d5cb5c5416c4d13cbaca543facf417ec12f749bf2f2cac63894047464a3b54275d1a988 DIST uv_build-0.8.6.tar.gz 318772 BLAKE2B faf4f36b32cf308d3c70d52b84bd135d108db4018bc4c7eadf193448e422fe8b0deb1cf68f7264413152697708f9a15748a017d0ece151c19c1677916b3727b9 SHA512 da83c3ba7f2daa1c39a8bac5b18635eff4afc93460ea23b770518ebaf44bef573654e272c117e257f4126124c71a5b661f2751ff36be792c03ee28f257d1eddc -DIST uv_build-0.9.0.tar.gz 332461 BLAKE2B 422c100a5eec0d8973e676be25cdee06c2cfb7e5be1509a4dc1eeb60293633a8e541396125f884809af0e6b5f5135b7841bee7951207d0052a354c61aa5eca4a SHA512 2eaac5ab194e222bd12d569611fc3c1f1238f90f0fc634b529bed004979b8782db506f110563995ad1df0d960246d5db85260f772db62098ece178325ed6f5b0 -DIST uv_build-0.9.1.tar.gz 332775 BLAKE2B 29808da2a83560a3d75d233dd5671a93b532881366dac9fc7963cf8a85b2c84cd8085b7ec9f6275adf1bef75c81700f39ea36f0d713f1ab0a028d9365cd231da SHA512 4dfb14ece44d6f8ed8a9381306d69161e6acea58800c12299af051ede93274869591b482f64023ae4b2f525e5f91b579dbcfef688279f8551988bd563df64944 -DIST uv_build-0.9.2.tar.gz 332728 BLAKE2B b2f6d546cfddf19f53ec10d144ed4f46dcf60f28a85271877742f19668056277fbff51838fc56c6dba7a2dca52524bf07895d264937c7a100913908c82cb87f3 SHA512 71321eb3485b1056b0a152c82765932379ca9f33de19ad4dcaa760e34d1217558fb3367724a9f1ee99324d9fc828445a80969e20536bc192b4715a02c37663d6 DIST uv_build-0.9.3.tar.gz 332769 BLAKE2B 8e813d289d59d2bf8ad4eaffaeb1c8525acaa36215ff9d8e1088ec4fd2ba6d7ac971251c144748805950c0934c24e9c141a860e5ef7332e71d049080852817f1 SHA512 bc1231a3aaaf77b80404281675241b8a27a328100128ec12160f29b574c1f6505a021d18bb5d8a4a23017d73cb8804d6bca5b1c8f27deba823d248744a231cc8 +DIST uv_build-0.9.4.tar.gz 332506 BLAKE2B 3b65cc80192cf3abc33bcf01735c8b7f937a12f2dcd0557d0ae255ce8bd4cb7dbb15522e73802be0e17ac10c4acad6f9075f12d5f853bb1881b0c13f1d120b33 SHA512 c3be52cfbc1cf5a229df91d9e1125925a534e3fca3041e29a16edd2334fa28b055c73e21a6bd1a3d1d63924cf8f112645300530e8cb6139fb549499ca672070f diff --git a/dev-python/uv-build/uv-build-0.8.16.ebuild b/dev-python/uv-build/uv-build-0.8.16.ebuild deleted file mode 100644 index d827fe02704a..000000000000 --- a/dev-python/uv-build/uv-build-0.8.16.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -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-build/uv-build-0.8.17.ebuild b/dev-python/uv-build/uv-build-0.8.17.ebuild deleted file mode 100644 index d827fe02704a..000000000000 --- a/dev-python/uv-build/uv-build-0.8.17.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -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-build/uv-build-0.8.18.ebuild b/dev-python/uv-build/uv-build-0.8.18.ebuild deleted file mode 100644 index ffc700842174..000000000000 --- a/dev-python/uv-build/uv-build-0.8.18.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~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-build/uv-build-0.8.19.ebuild b/dev-python/uv-build/uv-build-0.8.19.ebuild deleted file mode 100644 index bfe4be2e78b9..000000000000 --- a/dev-python/uv-build/uv-build-0.8.19.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" -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-build/uv-build-0.8.20.ebuild b/dev-python/uv-build/uv-build-0.8.20.ebuild deleted file mode 100644 index bfe4be2e78b9..000000000000 --- a/dev-python/uv-build/uv-build-0.8.20.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" -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-build/uv-build-0.8.22.ebuild b/dev-python/uv-build/uv-build-0.8.22.ebuild deleted file mode 100644 index bfe4be2e78b9..000000000000 --- a/dev-python/uv-build/uv-build-0.8.22.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" -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-build/uv-build-0.8.23.ebuild b/dev-python/uv-build/uv-build-0.8.23.ebuild deleted file mode 100644 index bfe4be2e78b9..000000000000 --- a/dev-python/uv-build/uv-build-0.8.23.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" -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-build/uv-build-0.8.24.ebuild b/dev-python/uv-build/uv-build-0.8.24.ebuild index bfe4be2e78b9..aced7187faa7 100644 --- a/dev-python/uv-build/uv-build-0.8.24.ebuild +++ b/dev-python/uv-build/uv-build-0.8.24.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/uv-build/uv-build-0.9.0.ebuild b/dev-python/uv-build/uv-build-0.9.0.ebuild deleted file mode 100644 index 500741a7f540..000000000000 --- a/dev-python/uv-build/uv-build-0.9.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv" -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-build/uv-build-0.9.1.ebuild b/dev-python/uv-build/uv-build-0.9.1.ebuild deleted file mode 100644 index 500741a7f540..000000000000 --- a/dev-python/uv-build/uv-build-0.9.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv" -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-build/uv-build-0.9.2.ebuild b/dev-python/uv-build/uv-build-0.9.2.ebuild deleted file mode 100644 index 500741a7f540..000000000000 --- a/dev-python/uv-build/uv-build-0.9.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv" -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-build/uv-build-0.9.3.ebuild b/dev-python/uv-build/uv-build-0.9.3.ebuild index 500741a7f540..fe8e9650d15e 100644 --- a/dev-python/uv-build/uv-build-0.9.3.ebuild +++ b/dev-python/uv-build/uv-build-0.9.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/uv-build/uv-build-0.8.15.ebuild b/dev-python/uv-build/uv-build-0.9.4.ebuild index d827fe02704a..fe8e9650d15e 100644 --- a/dev-python/uv-build/uv-build-0.8.15.ebuild +++ b/dev-python/uv-build/uv-build-0.9.4.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 3a6b4221a3fe..0de57485244c 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -4,26 +4,11 @@ DIST reqwest-middleware-7650ed76215a962a96d94a79be71c27bffde7ab2.gh.tar.gz 42520 DIST reqwest-middleware-ad8b9d332d1773fde8b4cd008486de5973e0a3f8.gh.tar.gz 41975 BLAKE2B db42a68b8f0d592edc297462c19a34caa068464b9a5f307e8e1c1fdacde95cd08c5af0f73fa55ed62217dee63940a1d02a4322c5edb2c2c8a568a7e04efd80e6 SHA512 2dad83835c87cdd79e2a08c19b5024b3fdf30d1d8cd14e480e434612e856ecc20a5404881ff81d5793d3e9d5808ee3d59ce920312a86a100535009da43d7d46b DIST rs-async-zip-285e48742b74ab109887d62e1ae79e7c15fd4878.gh.tar.gz 37003 BLAKE2B c4aed18d82641ced2771ad8b8e800c45b1ded279e8ba1874ec9766907d042ae13b460beac739ced6e31c03a647e4238af96fb41e8c0dff4c5d4dd7f59c0ebbff SHA512 d6dd699f43ca6e23a4c8abb8673b37d3983081a8c78545492ea3c1d0b35e3a491277c341df6dd64fb7efaec3b23eb479dede99e9b41016b5504d1a6dc9fbc617 DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c33f6f52e2bc83823eb6319f8a3e462b7c7408fb6a08f995747857ef234f81db4135a04f9d183095fe473a4087f8f0cb89d8f87ef4400285d2ce034ec22 SHA512 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68 -DIST uv-0.8.15-crates.tar.xz 46898116 BLAKE2B 53fa26bc5ff7a22063ed700951dc44541de66967b7a567cec27701914bcac94ac27f0e821e7ea747b483a5fb721d10d9df9ecdcb6d338fd45d70f13855fff3f0 SHA512 14576aba8d91aeb250c3e64d32cfdbdad5723d83a1c51c7311caca1f433fc0279f13dd9ff1af165e1f1b1b94663878260536611e707c97238f1084cbc99b758d -DIST uv-0.8.15.gh.tar.gz 4424880 BLAKE2B 89dcf4dbf4f43774b9107f0c1c068654d49bca837a5852c5bf05be588232f0157bbf7b2d2d961bea75c37b815f51bd1d12f943bf9129720c2caee1dd923c54b9 SHA512 eafe6f8d74e476d404ac48a69115c0965152a07c876b87139f04b48770df2b7a5c42e04efb7a12297e1e341248a8551f87ab286dbd5fe06a41de029eff54ee4e -DIST uv-0.8.16-crates.tar.xz 46965296 BLAKE2B 7c866d7c2843c7942acfe71c4f040d51a95a50d43a6df41730ad536ae6d58b56a279a556bec26613400abdec5248f5b0d1fb012dd62f0b1d00aa397fcb71c7e4 SHA512 8410b56732d35ae2bc101403350c2344875310f9e91a72373647b0be7fe6e434b203478591ab43b21507614729d3437eb1b3e78be5993cd9432941ba70c00b42 -DIST uv-0.8.16.gh.tar.gz 4441379 BLAKE2B b7c914a03e8a14fe08de8cdeaaf073efca0a15c933aa5db5918da6df529ea68c0c8c25fc7dc7e2632a895b3da631a1e51000a7c65ee3bac72a063b5e8a43c2c4 SHA512 8799554f7fbdc01277792ffddcf1731db2ddb8e67b387324ae52087c1a4ae64375186f588b535771fa7c66dacd7d78c3aa71d1ca232325f32c095a09d48041a4 -DIST uv-0.8.17.gh.tar.gz 4443731 BLAKE2B 747eceb88ef5e2eecbb5a3c827ff11646c6589c33026adc91a07199726cc0be2002c849380c5ce0ea67faea144c41a84c3f74db04d00f274b4c0301309d06d95 SHA512 f8d331fa717fca1ecea0907ac5da483ab1f6ec4a1cdf149549dbbc765353b0e28f47ab472270a52581042260e58c03f8cfead6a315969852d057b030d9b9075e -DIST uv-0.8.18-crates.tar.xz 45354832 BLAKE2B 48c0f06f699015f9206fd916027e1346996479ec4665b43ac7b60cb1ca281b0706021b6ef1688e4df6cdb601a3d8e8ada882937e24bde659c4cc51c81ee11b0b SHA512 d2583a283bcb29ab4781fa201677ec7cade1fc3ac2c47b224f3fc23eff31e1ee140cbc5f763bdca5fac983eb25fb74f4d466869023bb49dc9ab423ffadd768af -DIST uv-0.8.18.gh.tar.gz 4693782 BLAKE2B 636f45447de3ed21bde705c900b0299b34f106c7b2740478cfe2cdeee1c9fece1250912a908e05e378320918deb809656a61987507fc9741d68f0d2a7c82a929 SHA512 a21e001cc241050c0fa19b1d5629a347e61f1fd3f0854fa855b5a78c2dcd68fcaf1336ce3f769e50430dd279418c644c473002d175ccebc934ee9c0cb4a38c65 -DIST uv-0.8.19.gh.tar.gz 4700498 BLAKE2B 60d0b2b0fc406b9b91502942c71d51d70ad97e33f11aa4787f4c9caccbeddc1d97c3948a57017516918260dfb3904372285aaf2809b376d75d56c1d34f1042a4 SHA512 565825f348422d2247d9bb32d30fc22e00240ac63b271ebb77a67cf7d5ba84de768819b03274194085ff941c742a76e4cc27129922b3db6ea63e58b694e97b59 -DIST uv-0.8.20-crates.tar.xz 45310716 BLAKE2B 4fe01bda1fe2c879742433bfedbc459fb9e4387324449722648344f5b17178bf70848b92df9129327ea7fd010c7ae59a222be96b19f5617b871c1f22fe229cf2 SHA512 baa62bd819aaf8499647e1bd65d233cedb29af2cc81154f89983c167158f4fdfed3b74b79a429c773fafba3b54eddffd38e61254e09b3a57149b3fa1419cdf5f -DIST uv-0.8.20.gh.tar.gz 4702175 BLAKE2B ffb1898d1acd59fe9befd2ae2842d133619b9d9ec2e114b5332848b0155ebc065589951363df167f1b2e8dc48fe103fd97da8542a5e1a551d6938635fcb628c5 SHA512 80e6566b8152b5f2eff8f1f8991ed4f62465670aa5a179dc055fa8395968581369ebd9289000b934c28e395b39185ea18d705066016ea969abbbe42985064668 -DIST uv-0.8.22-crates.tar.xz 45793452 BLAKE2B ff9678899b1fd3a3d5cc34599ea1631dddd64485cb65506d066db7c960798b1e5bf36ef007fc54ba262d4496f4c87301a51cfc70a854ab3d00b20dbcb68ff1c2 SHA512 6e144acea42db2fd8e3922bb23d42be4fb82706a44a6da66c7bb47d360a53ea90f0b073f23893095a3893a0ca61ea053eee6d878b87bf3664abd601e38c1ec2c -DIST uv-0.8.22.gh.tar.gz 4707422 BLAKE2B f205c01e46f2e638c125f2ce3e97fdcb761e9fdc9993b8cddcb41dc1ccda1785d013c6c30992760f1a0929d1a0bfe30711325e55f9051fb3eb731c284ecfb693 SHA512 625d5bf4a824ed785f819fded89f980e50d7a393a537b8ac4f75f3c1985d51e57e8e982960441029e526ffa09a63781262567c336615444309ffef300d90e1dd DIST uv-0.8.23-crates.tar.xz 45766372 BLAKE2B 2637a9fe79fb647b74c8666b4574a94a98873e3d82d192fd941ad4e8cade231ff8251830dc6273a4355abc03cc8ac231d96125bef786f54b665068a13d5454a3 SHA512 df4b95502004d2bdec5ec3ee40e6ee8fef9b1744e4cf6c8944cff533f65a7edc4f9fa4988d768f85fbaf025b1dd2d2bb24bab903d7673247fad86741afa646f9 -DIST uv-0.8.23.gh.tar.gz 4713451 BLAKE2B 0315ebd13331e1b48a469e6bb0e470db75c0d9d3ed6349d3318a533494dc716789386e5ebae3141b2d7fe5d41987f97f9cc9273b2800409bd6ececb2aa25dc6b SHA512 b8fc563ee0bf69fbd809e140b28657e9cbc93233ae7d04cf8b852b3aa3be2ea636c5ae24649ea36cc5e95e6089a4c5400dcf088327a71225b7677b9622e315a7 DIST uv-0.8.24.gh.tar.gz 4711600 BLAKE2B 9939b7aff063e5e1e473b162e23e521d73d67d06fa4f2f7d85a267a322f7dcd71c75d08e594a45cb9713d79167e5fa9d4f2d0e64e02085d455c59e4dbc7fe5e6 SHA512 202e44296eb16fe9aa0f3f8470b5fa5af3489355462fa1de3544309d81ad3b97ddf8eb76a0f00db15aa07586f4279210a7ed1fe6fc868aa9fcf6f131f425dc99 DIST uv-0.8.6-crates.tar.xz 46208952 BLAKE2B f9557a45fbfaa9d6006f935629130960b5d414cd185d7fbdb1415e7f3875568d07ade946a0b606712e9e2e06e7964bb0fb8318e02e78609899a852ed073b87a6 SHA512 c79fa70a6a670dc2d80efbf0b51942806b2b16ab7b4c63983ab634453ab32142322302bd68ab80f5bcfee08138bca8d04a7d152c76ca5d94bfc40255cab8477b DIST uv-0.8.6.gh.tar.gz 4255911 BLAKE2B 198ed83cb487f25a35957959bca32f98b8f5343712a7a9bbf3f817f189f1ec9c7903fa2e64ec65c9b3e18a469506c942ebb0ca50b39a353dc7e82228386fb69c SHA512 d164488e967364d254bab989933a5faf27c52c91da1bdeb6f3419fce335dfac5d4ea6cd717cac6b05fee9f85605cf21930c3d37119c49a98cb13c53d51ea996d -DIST uv-0.9.0.gh.tar.gz 4724344 BLAKE2B 43a8c9d46cb374aa2c6b3f021c2b8f7c38bbadde870eacb0a609a7541d0480ef53d0e73cfd4f54dda902f0a19792211315dc96bd5eb99ccfb687e1440ad6cd95 SHA512 f9815a8f79cf8fdb1d892b4407cfe164cd191f78ef17550481e97b6e42626b92a9a06e791205a2448e07a77f0d959ba8933060bddc22a80700f5544c0ad15820 -DIST uv-0.9.1-crates.tar.xz 46038732 BLAKE2B 83f7e8b0649341354e24e20d530640ac4bd07759bcf764526faff034e39e63f9a4efcaf4dec3c8b06dc93f86f9a767f07118332373a3adf4983abb9a7f9ee944 SHA512 27ebecd20669a5e45c8dcb770daed7e7ec4f985d871d73dc7a3378882ced3e704c02153a66a8351a5706514c9ae0174ab6c25c269a2aa2ec376834799073b87a -DIST uv-0.9.1.gh.tar.gz 4729329 BLAKE2B f859b68ca6d4da3df30cf4f17a7741e17da029195d1caade5017a599ef1227ea8824ff95aef0fa4669c2532440cefa5b05a528c9767728fcb4a8c05f13b4de37 SHA512 82ebac748368b08fcb9841c28de0a86f11510518c73f8c062bc6e960cdfa2da0a612ce24599893cc5072c46a31dabffd1358b803f16ed78ffd31b83694a99212 -DIST uv-0.9.2.gh.tar.gz 4737210 BLAKE2B f2f74fa8015aa05073f317a96abf0e8b1177d16401a5e42c279cd7edc2c992b392cb2be953ae9d1f43279577d313e7104359851ce4b8b695d5c3915d1abbeede SHA512 197cbb4503fbd353b6f2f28db8d0a2a47040f15829164b1fc6827a8772f6ab354b502852b41f2217b824febada7c8c8e5287dec2f9b1dcc94c42cb9adab35f23 DIST uv-0.9.3-crates.tar.xz 46057388 BLAKE2B 1fb8f46cdbebed4877d68a32e03932d3c7a5b552a455e4976feabbcb71280e3573a346fdab8e60a481e132367a9da671b44d30937534d992961a07154bcd55b8 SHA512 7331be26b967dedb2de3c873bbce0e7583ea21cc1cf6f09522c3c6539f50dd2df2fef6e59fce1d977b53d7568bcab2beef6e14df4730fcb77d6d10d989ecfb0e DIST uv-0.9.3.gh.tar.gz 4746738 BLAKE2B 9a1e40dab76aeb3d1378ecc373470ceba6eaf69d1a40bcfff66530857af88f2609d2e13c433142a9cdfcea97d7eab36d6b86f9673270f8b101ab9f4b3a4720de SHA512 1557b620c089c8871e5c3f9507c96a8aaf4f81cf6d3b8fe7b83fd170fcd9cd7eb2d404d6ee0cde92e4ec298817a0cb329bbfc0217525a1bd3745783bf909c56e +DIST uv-0.9.4-crates.tar.xz 46093644 BLAKE2B bdce4b138718b91a67ccb36e6d8839358ab2ddeeedec3017bc245b0717e32d890a41f8c9c831983681ec715ce458efa8d43356c189b9b7457df3e71122924e3f SHA512 7047b68db7e05abb6a399250a4a531499985d42f12eff61ad1557823b37d62576b38b51ccbe39a02bc9a98af6341de728466b262c49bb48dd30abb64eb804660 +DIST uv-0.9.4.gh.tar.gz 4749319 BLAKE2B b46d44830f7a2a621f3ab420db85e9d999b7c42ddebc21403ea2f11e819e8295af37049f1529848a3fd83ef87ac0de26ce1e1c03bf4177c3032b9adfd6dfe1e8 SHA512 ae11c1e777e3d0e036f0a665e2edfb9a4b5b50a9e107d795113b626bc16d406d3fca12e8a133185e54279b2a64f8e3d276372cefc9a96b2ac5f1ed0ece2c10b0 diff --git a/dev-python/uv/uv-0.8.15.ebuild b/dev-python/uv/uv-0.8.15.ebuild deleted file mode 100644 index d5a02e6201af..000000000000 --- a/dev-python/uv/uv-0.8.15.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES="" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.8.16.ebuild b/dev-python/uv/uv-0.8.16.ebuild deleted file mode 100644 index d5a02e6201af..000000000000 --- a/dev-python/uv/uv-0.8.16.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES="" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.8.17.ebuild b/dev-python/uv/uv-0.8.17.ebuild deleted file mode 100644 index 1e66902c9c41..000000000000 --- a/dev-python/uv/uv-0.8.17.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=0.8.16 -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 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.8.18.ebuild b/dev-python/uv/uv-0.8.18.ebuild deleted file mode 100644 index 5580215053ce..000000000000 --- a/dev-python/uv/uv-0.8.18.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.8.19.ebuild b/dev-python/uv/uv-0.8.19.ebuild deleted file mode 100644 index 1289e88d0271..000000000000 --- a/dev-python/uv/uv-0.8.19.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=0.8.18 -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 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.8.20.ebuild b/dev-python/uv/uv-0.8.20.ebuild deleted file mode 100644 index fa234db7db08..000000000000 --- a/dev-python/uv/uv-0.8.20.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.8.23.ebuild b/dev-python/uv/uv-0.8.23.ebuild deleted file mode 100644 index 5c9e7094598b..000000000000 --- a/dev-python/uv/uv-0.8.23.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.9.0.ebuild b/dev-python/uv/uv-0.9.0.ebuild deleted file mode 100644 index ec686a3659cd..000000000000 --- a/dev-python/uv/uv-0.9.0.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=0.8.23 -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.9.1.ebuild b/dev-python/uv/uv-0.9.1.ebuild deleted file mode 100644 index 5c9e7094598b..000000000000 --- a/dev-python/uv/uv-0.9.1.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.9.2.ebuild b/dev-python/uv/uv-0.9.2.ebuild deleted file mode 100644 index 1af4c2bf6f70..000000000000 --- a/dev-python/uv/uv-0.9.2.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.88.0" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;285e48742b74ab109887d62e1ae79e7c15fd4878;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;7650ed76215a962a96d94a79be71c27bffde7ab2;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;d8efd77673c9a90792da9da31b6c0da7ea8a324b;pubgrub-%commit%/version-ranges' -) - -inherit cargo check-reqs - -CRATE_PV=0.9.1 -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.8.22.ebuild b/dev-python/uv/uv-0.9.4.ebuild index 5c9e7094598b..31bb8fdcad40 100644 --- a/dev-python/uv/uv-0.8.22.ebuild +++ b/dev-python/uv/uv-0.9.4.ebuild @@ -18,7 +18,7 @@ declare -A GIT_CRATES=( inherit cargo check-reqs -CRATE_PV=${PV} +CRATE_PV=0.9.4 DESCRIPTION="A Python package installer and resolver, written in Rust" HOMEPAGE=" https://github.com/astral-sh/uv/ diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index bbc3ab6865eb..9e13c4271c59 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1,3 +1,5 @@ DIST uvicorn-0.35.0.gh.tar.gz 712106 BLAKE2B 117f925e295a8475d403e5c29126ffee64cdc62e54b532a8f1ba25862741f2b5d7e164e45878aa00b5e7839d1799e7f8c56d2f85ee3a92520cce7c9059690227 SHA512 f7340bae22774d40c573f5d0657cbec64b5f4b6d97a693dbb3e1d42d539e30e4bca679faf6f6359b07828a3ffb4ac22a94195b99c09078af531cf13a5afe479c DIST uvicorn-0.36.0.gh.tar.gz 815375 BLAKE2B 44df6b0543debfb3471b81bc8684a48f6b6a409ac1f9303d50b332ba604f11078e8ec6ee90c964cc5e919424b2b382f3776c06004927b6a195d52d45a1282480 SHA512 4639a4abc98e76749c5267acc17a35bfee713a1242c9c3a6254ee68a8911db30b0ea9358d9749346dc8ca38f4d52bb209964083409087b5a5582b55a1346182b DIST uvicorn-0.37.0.gh.tar.gz 815857 BLAKE2B 2de453b020d6659c53dcf0ea10ab9f155f9f4f25242c0be53247f49081dd49dfd3aeacd03555dba4560534abe0809e725b565bc3191676adaf4b5d76a1413e3a SHA512 be933111c14fc6c31335c8b13e1147542aa69045b856982a4aa841ef3e078fdc8626fc17287fc23ecf63ad8f2c54647d521b090963c71ddb6a4ba494e4299de1 +DIST uvicorn-0.38.0.tar.gz 80605 BLAKE2B b7dd7f9bcb5b72f1cbf381bb263dbcbe6aa4d3c252540e64f60ee471e248480995525e646bc852487d37bc768be7072e7b7b20f9f7a7efd6022dc3ed88d0d57f SHA512 29b1a838cef63f90839fac7799723ed56711f21d4016437b62363fd9f45f76ea683d2be9ec7491f6c79a05159d0b5814e0e9247c67dc92342577c24ae392fdd7 +DIST uvicorn-0.38.0.tar.gz.provenance 9257 BLAKE2B 94b9804d3740ac2db01c4715fa60b413e4af12f70a4e955ced6326ef06b2d43f1d5dca96f833e951a108521b9d8aeb27d3c6061b586cf180eaf777efc3be38d2 SHA512 a4cdfe7406e4d15398edd958c553eaff1d36692b2cc368be59ace7495ed14d62a172afada542122896eecdd5f81ea185976e4a13a4c6fbf2de5f7171328254a4 diff --git a/dev-python/uvicorn/uvicorn-0.38.0.ebuild b/dev-python/uvicorn/uvicorn-0.38.0.ebuild new file mode 100644 index 000000000000..a5e6a1da2d0b --- /dev/null +++ b/dev-python/uvicorn/uvicorn-0.38.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/Kludex/uvicorn +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Lightning-fast ASGI server implementation" +HOMEPAGE=" + https://www.uvicorn.org/ + https://github.com/Kludex/uvicorn/ + https://pypi.org/project/uvicorn/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/h11-0.8[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/a2wsgi[${PYTHON_USEDEP}] + >=dev-python/httptools-0.6.3[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + >=dev-python/websockets-10.4[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/watchfiles[${PYTHON_USEDEP}] + ) + ) +" + +EPYTEST_PLUGINS=( anyio pytest-mock ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # too long path for unix socket + tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers + # TODO + 'tests/protocols/test_http.py::test_close_connection_with_multiple_requests[httptools]' + 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[httptools-max=defaults sent=defaults+1]' + 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[h11-max=defaults sent=defaults+1]' + ) + case ${EPYTHON} in + pypy3*) + # TODO + EPYTEST_DESELECT+=( + tests/middleware/test_logging.py::test_running_log_using_fd + ) + ;; + python3.14*) + EPYTEST_DESELECT+=( + # TODO + tests/test_auto_detection.py::test_loop_auto + # changed exception type + tests/test_compat.py::test_asyncio_run__passing_a_non_awaitable_callback_should_throw_error + ) + ;; + esac + + epytest +} + +pkg_postinst() { + optfeature "auto reload on file changes" dev-python/watchfiles +} diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 82154fbafd2a..d34d38dc73c3 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,5 +1,6 @@ DIST xarray-2025.10.0.tar.gz 3058084 BLAKE2B 72df811cb7d7b0af3e6a718564e1061e45d116f108c8d3e431ec91fa0f514451588bd060c9243e773e6f4863294a388c0d48e1322f91a04144bccd40d8f1cc02 SHA512 03f1d3e6c124d85e84ba72ce941381c40dd39aab5ad413f129a6fb52bd0241b3d4a2105a72c5a5463945619b2d751658692e0ff38da20cc9df362eb480d7f9d2 DIST xarray-2025.10.1.tar.gz 3058736 BLAKE2B c0fc6bb4bbec01151841331d051bd10f073ca62e27a9229685937e21d5e4108fe7a1668114d4c2d4ac4f3c31d62aa9d97099a5b081187494d51555b84a54286f SHA512 aa4e0678a7ad4fa18ab1c9cbb6d8ed0ffe99b5461f1b0797e54ad34edf9de0270ee19d9db4c20399de2d7a3a7f3023088a66e4e8585278f1c7db5572651afd1f +DIST xarray-2025.10.1.tar.gz.provenance 9539 BLAKE2B 1a341643aa8787f31dd02a32292ad5c71e6c888d28bd32d7af83946555e0f27c7131ee72d45e2853d53b87816c43a51d56d2b0e6fea2f9dd2c5c88e4544bf6d3 SHA512 5c483fa98e4c190f18963c8305d6343d4c0f97c1d8c62b961b0109ebc03be8bc26f5afc8ab8551180f4c64bb44bbb4c19da55177634e6395407472f2c83894b0 DIST xarray-2025.6.1.tar.gz 3003185 BLAKE2B a75f68947922e922dad94dc6ab5454d9d2b2ec993e5fd06d760b2e3685b3feda2a88fb879e7ebb353b35dea5540fa8899eb8cba33ab0e5f9b59cb3fd885de1af SHA512 4fc7980f843f86c8e83015fbf9ea2c8440b046faaa1589a605cf1e2f64f9380e28e157c8afda5c0058b3fe8cfe01122ba8582f5d61b9f0eabdf7107ce6d81c0c DIST xarray-2025.7.1.tar.gz 3013717 BLAKE2B 37abbeec6736745a9a0cc098bfdb36b76c5b07a1f762a3207e7a69bda1670ad464c328daabcb5845f65dcb0b9901f045c633fb12fed4524bcc7dacfcc259e65b SHA512 446e50cfa16a3ba54124dc9417203ea96f6232e05515de38dc191b06ee417e165fd2faefaf4718eddb9620d32675abc6c2125ac7555759eb003263a70662cb7e DIST xarray-2025.8.0.tar.gz 3034425 BLAKE2B 089eecd4b8928bcc4cae2aa590a06f4d8b45b2886f1cb7f26114f97ea55914fecf83e58eec637c83123e1d81ff2bfb92f1d4ac18161b39495beb4975af71f255 SHA512 2ace4ae6736a5cde298f7d0da6b704326fa5b28d758744e0db022cc3e9ea6514ac447c5d7762fc273bc192ad7b31517edc0cda7a16302c3e9a63d5c952b1bcd2 diff --git a/dev-python/xarray/xarray-2025.10.1.ebuild b/dev-python/xarray/xarray-2025.10.1.ebuild index 9dbf7237b699..15258463a92d 100644 --- a/dev-python/xarray/xarray-2025.10.1.ebuild +++ b/dev-python/xarray/xarray-2025.10.1.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pydata/xarray PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi |
