diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-14 19:09:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-14 19:09:49 +0000 |
| commit | 8ba8d3c5f996904e8536e956504e295521ca65ae (patch) | |
| tree | 8d3e6c91b4326d264ae12249fec6d886035794fe /dev-python | |
| parent | d3d8ce0c1f4a547e117b61afc26ff5257a8860ca (diff) | |
| download | baldeagleos-repo-8ba8d3c5f996904e8536e956504e295521ca65ae.tar.gz baldeagleos-repo-8ba8d3c5f996904e8536e956504e295521ca65ae.tar.xz baldeagleos-repo-8ba8d3c5f996904e8536e956504e295521ca65ae.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
60 files changed, 705 insertions, 2346 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 2cd909ea17c7..ee0210cd2e5b 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,11 +4,5 @@ DIST boto3-1.42.44.gh.tar.gz 1082573 BLAKE2B 98ac0981ec6df7594dcfcbc1ccddcbe8e9f DIST boto3-1.42.49.gh.tar.gz 1085810 BLAKE2B f9015a7ea5ff20a8c65d2ce25de3df2dab0e41dd28adb40a23c8294e477fb7163e77d2d8ddfab2d6143019d5f71c0b7b34c05e86d7fc35c2808aaf46f51caeb3 SHA512 364c194b48058af0c3d3daf89b0d84c6fb13c1c64df866b61169506adacb7dd36eacaaeca38a3ee0efe0b01c5887da1a1219078318cf8e5238bdd9662e2d1339 DIST boto3-1.42.54.gh.tar.gz 1088047 BLAKE2B 882bb5e1c8b5b3b5539b8536e286e9df4fe71c50f501c3d71d53dfd7826e31648ded9fa805a0a1b04c1292f84a68fe93e438b2f2efc33cf1b64dc76e48445ebe SHA512 69aeadc259fd03326827ec9cc30a27a5b98649a2f6ba4dff5210282d5f5ec6ce4fcad8b1b77001a5275fa31f43b5c4cd9d6c9512093ad93986eb55f14486f937 DIST boto3-1.42.59.gh.tar.gz 1092344 BLAKE2B 90cef2aa61be1e7627f8a1c7b566097a5cf8986d644aec63e4637a5ebc5044bf73fefe4d5cede5cccb4998e846681bcefbe20831a002e415c0471adc17f87beb SHA512 dc1f9d23d90c27adda8736b371000f52c176b51f75513a7178590ea26d71c9ff080f5e4866a56d45cc5541e58eb78c43aa9d034867736be255431c938b3fc485 -DIST boto3-1.42.60.gh.tar.gz 1093008 BLAKE2B 97afe677242ea1ca6e3d0ad662cd4f18efdd80b1f3eb29d70395632f5efc51349d4ba8a980f8d63247111e78303f6394e741e5b574a31bc39bd8c8b6a42c08a5 SHA512 51dff737ba3e3b0ff491c8cacc864d2ad58f7ddf92da5d26b5f5c1f5992029782e9a77a50b0f2b04112241abb9c2d4e1faaf4cd513ae35f419e49a92d1e9ff35 -DIST boto3-1.42.61.gh.tar.gz 1093876 BLAKE2B ba4631b911069536202ed3f86e7635211d753b0f1ecfe0d7e369357d70a953288da4daa56851b56186e49aab58e829bbc0b93f662d73a75e866df3e5fc72ae25 SHA512 e317cd1cc08abeea46554e3960defea8fa7cf7018821013f487bda38db6e8f54e50aca629b579b1a548a3696ed742188d4da58a0dcdfa80364d270e01b3928ba -DIST boto3-1.42.62.gh.tar.gz 1094541 BLAKE2B f60b88a6a6d61dc5e7f7f1918c6b90d530150668adda59d3a2281729c4a072eaefa1d7561f4a94ff7467f592325a4111863b52c8fe09d8676655d98401eba3e5 SHA512 e2cc706d1ae2c153489d099dc1557eacbcc3c2404b75cd6a8d81dcb0e5cf83d7faafdfddecc1a1833f566eaf7cf0e474753fe75d4dbebf484a42a63e3328ca0c DIST boto3-1.42.63.gh.tar.gz 1095562 BLAKE2B 26ffcecca0099e4ad72f3dca7be7dcf946d7461867acbd27b599c812044d10e875fb2818921feedfb761d2b38756d247d2bb4f05a4b285e68580f85688625f23 SHA512 131705d3f1cee436c07ab2c3707ad86ed0b64e308f50197ae815c7133bbb32b9a5bbe5de6c8e994f3b76e482669bb17ee1233b36da56428d7b909bf5ac7431a2 -DIST boto3-1.42.64.gh.tar.gz 1095941 BLAKE2B 39a0fd43edba582548374ab56be05628e96d67d3448a873d1f99c620207bcd66dd12e0efb6cb1512f66b1ea6c2d0077aebcc4e18acec04b214278d79ed295e58 SHA512 c8bf840c16bf275fe21169d1dc8175ff75755491259ff8d02ccf8019e36fdca48d008f6c10b91e6e3bdbcaffd8da1578ed5107d835a6254a81920c30b26ea948 -DIST boto3-1.42.65.gh.tar.gz 1096408 BLAKE2B edb8ac6765677fb1b9ffefd9ea86a5e334b26846fa7aa9d5c9a0caa7b43616d8b8198da19a432530cf38f06839b1fde6e87b4f7cdcb65207dad626f16b5296c9 SHA512 d5f7a5ae6ea7dab011621d8632f1347bec6eb0b229fd3d38e1e24758402a8451c4008323b8e8acf44350b13eb00d9bdb21ccd491fae86b8c002526ab15575cc5 -DIST boto3-1.42.66.gh.tar.gz 1097318 BLAKE2B b5149eda75456a35a75a9584db80e344bec3c852ccf51dae4dbd14237ee55cda62727639280a0ca50593a7af8ed46d1b37a4f162a5fb753fa2a97284d7a9db5e SHA512 42b70f1104d278b576bc15da1d1a506596980f29c5972aac380c30b52950a178c084537b94a70cdfcecf438f633c84e7fa32239c5a8d5caa47c0a8c440f7d7b6 -DIST boto3-1.42.67.gh.tar.gz 1097832 BLAKE2B d0bd5c87d20424f3e9a40e66b2d438e4b33249c4461686204abcfc3082ecd8464e5f4606b2e8f6f1ae2582460c5be708555cc5aa04e62ac130c26a942788c3a0 SHA512 f5b529b4cb6fb3b38d572c9e4adcebb141a76184a99bf4b5a25f4c00f3278c1e4dc278b075871c055be3ef8821e24bb5fe4d6fcb06cbab4bf2cba08182992a8e +DIST boto3-1.42.68.gh.tar.gz 1099362 BLAKE2B ad682ed811e726d2c57aa33730766bba09e1ba68149ae967189170a51d78cbe1f37c5b360a251cf3fc35972c8b59612f1083844fb12c5e2b767b503dfdc17473 SHA512 5bec985fe697bf2fdd565b29111bdf133aa833fa71520c178b721592aeb698696d833257342abaa05d575602a1a533da0ce4bbe186e0969d6f218bb81fd84ecc diff --git a/dev-python/boto3/boto3-1.42.61.ebuild b/dev-python/boto3/boto3-1.42.61.ebuild deleted file mode 100644 index 6e5f06a012ad..000000000000 --- a/dev-python/boto3/boto3-1.42.61.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.42.62.ebuild b/dev-python/boto3/boto3-1.42.62.ebuild deleted file mode 100644 index 6e5f06a012ad..000000000000 --- a/dev-python/boto3/boto3-1.42.62.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.42.64.ebuild b/dev-python/boto3/boto3-1.42.64.ebuild deleted file mode 100644 index 6e5f06a012ad..000000000000 --- a/dev-python/boto3/boto3-1.42.64.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.42.65.ebuild b/dev-python/boto3/boto3-1.42.65.ebuild deleted file mode 100644 index 6e5f06a012ad..000000000000 --- a/dev-python/boto3/boto3-1.42.65.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.42.66.ebuild b/dev-python/boto3/boto3-1.42.66.ebuild deleted file mode 100644 index 6e5f06a012ad..000000000000 --- a/dev-python/boto3/boto3-1.42.66.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.42.67.ebuild b/dev-python/boto3/boto3-1.42.67.ebuild deleted file mode 100644 index 6e5f06a012ad..000000000000 --- a/dev-python/boto3/boto3-1.42.67.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.42.60.ebuild b/dev-python/boto3/boto3-1.42.68.ebuild index 6e5f06a012ad..6e5f06a012ad 100644 --- a/dev-python/boto3/boto3-1.42.60.ebuild +++ b/dev-python/boto3/boto3-1.42.68.ebuild diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 3aee4625097a..13ddd4c05e3a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,11 +4,5 @@ DIST botocore-1.42.44.gh.tar.gz 15820139 BLAKE2B a7047f799dc39ee8f49c7128e91e0f1 DIST botocore-1.42.49.gh.tar.gz 15843630 BLAKE2B 823ba230ac7ba7fb3ecef8c716ff0fab0669920cbb3633105e1587c788abd5e99cddfd7ad7c896342feafd226c10eea6fcc2a888a12bacf8fd120ffc5ca51e21 SHA512 c8d73ed693936f97d0b61a9c84c00c3671891afe3173cac3a9610831c02c82c2583c285f746efbc884cb910f5f935a1a369991524b20ef79e7dc467d72497575 DIST botocore-1.42.54.gh.tar.gz 15809562 BLAKE2B 555e6c10bb65e5f14fbae4366084ddb5839674feb8ed77586e95b6c2bce76de7422ed92f260640d2dbfddf25b070909f1b2d69c386a2265289c12c19d7e49b8a SHA512 a49078027612182c1cbc9fcbfb5fcf4d99b02ef4278b3d6fde341f3c33d92a00bfd99c4cdf0fa2e359ca8c05789d007815a39e3ee07e9f630880f2bda66ce9fc DIST botocore-1.42.59.gh.tar.gz 15839997 BLAKE2B 6adafebe89e98b9a609d93cba72dcde9bdaababb7ccec6199917b3b59e898c3fdf88b9ebc54d42bd59f74a596a1eddabc1846054453400c820f31de0724048e7 SHA512 fc26447e76b8cbc8520563a469c5047a2fa872449c277a21799396bf5c0b7f61f61dcae9403f9cc3e523bfe549cb45a105b7eff153aced7aa0ca7a7cc49664fb -DIST botocore-1.42.60.gh.tar.gz 15840569 BLAKE2B d7fc6631be4348e6d9a7153a7da63fc975082157f3a3dad8ed9668b18f3f18801f7cead6bd3c7bb9f43416672cb987d04f60a8258c0cdbb0c9ceca8a7c0680a6 SHA512 9f1ee9651615d986dd7066586853e51bf1ffb052e7e1a517834788fbfd86c8d608a348387977508cab055dbd37eb61f41959c427e7c60c14f6a9d02b8d9c1c99 -DIST botocore-1.42.61.gh.tar.gz 15849256 BLAKE2B 12813db9207aa595f4dbfeb30e33a4d8e441f5892f65e45e2d85452afd54db388f4433f6f8fb9e7c0ce541915736e80fedcd942626b2f08589c58a4761e6b021 SHA512 38d2253c5b50cf3cf6233b343df0d26bc126ae80261794415b84e80faaa828f4af5a5edf6e95541212269eb84df3bb9735daa8abae2ed95906ba8e0bf7df0e1a -DIST botocore-1.42.62.gh.tar.gz 15859923 BLAKE2B 60c9807e446b3c15459b867d6e9f7833bed06dcf1f28a6907ec9be0743c05a6c705a42a47958b5d3cd6bd828c4606b754b8f4f2d93e94bd1303766e4d343439b SHA512 9cb9d26757845f48522cbed503ad0b65dc105857dbab06d01bca920bed118dc702b73a27c32a59345a1ee7bec8c18b04605bbb4dbc776aa90ddb64800e0142f2 DIST botocore-1.42.63.gh.tar.gz 15861570 BLAKE2B 92bc6efde4e08c3c5f4ce1d910e2e2daeaa7e7e8403518c54e9cde3de5f5ce62a2836dc78c448da93098f900f97f8ebf5940a6df62be9cfee79c2747b3b07b5d SHA512 3e713bd24a6d752f8af7486bd235099f0313a6b6511123e8f111253742c60e6ac75a1bd0b525c898e0998e501536536dddeae04621425181a042771f0205ac2a -DIST botocore-1.42.64.gh.tar.gz 15863756 BLAKE2B b6d3f2aa75d2ca4f8754c655088c0e0163e7c384bebe930c8181b07354bb91d14a849145a528fb079d6b9ff8841734a2ac920a9efa23eeedf89f2bee88874f79 SHA512 f9ca214645edbaa5a06a77c2aedccbec93854695b1b758ea30413423707281fa6c9b1eab9a4d8f20861ac95a76f862a165ab6392722b96d6256fc2262330df7f -DIST botocore-1.42.65.gh.tar.gz 15865779 BLAKE2B 5e4c7eca2ea3e676099e3e1e454f85456363ebe7d4e0b6b7321d5576fe65d50321ba91e38a4a12dff90ab5241c51b5afe134471778ce541ccb54e79301fcf458 SHA512 f92cbb35c3fa58719968a607f0b28835529b86a6405c8c7af0d143a3c6e19d9eb5e77e3eef9bb74d013f16bb42479f24050af03f3c4e2a4f48e1b299d608189a -DIST botocore-1.42.66.gh.tar.gz 15874309 BLAKE2B f6ea16293607c78ef0db6ef1817a626dedb2f6da84a8c9f59ddd958022786ab26feed175928edd2fee1121f96f9aa0eb1e608d6bf9a48624c402891ac37881f3 SHA512 a4b0585e56fbf374be6e7ac34a1e8a1767f676614016e6af0e46a0502f5a20a5032e3b2b48c960028905ddfb58d5459a61c7dc6b7223d16e1b0d1d4769135fee -DIST botocore-1.42.67.gh.tar.gz 15876655 BLAKE2B 52a79deb98a30a320c2273d89ae9d335bcce3e42c77f5a69ed49ecdcf2aa56a1d287af2e65ba9f99753171d87711438430d3c923d65810355370e55cc791f19b SHA512 c2ee32a8b8e7b489c95ed29730f1dd375e331672919af22a28e630b06e4a0b1d000fffa91cab3422bfcf0b6b8d036bea398083d4d899b4ccb4042bd91fc3aa0f +DIST botocore-1.42.68.gh.tar.gz 15892102 BLAKE2B aabd9e28196516919779fbfedfd1b05bb515096dc810a0449dfa3c8668d975ed88eadbdd06dac1054b2b4ba403a960f10753531fed68e50031c13f00e03e0a7f SHA512 263ae479e54e63a7b15fa1611c8551de9e08df3c0d10dacf4a306c08a064dcb68a24185d767ce061781cf83b6ccc7e9d1743258d2fddb74421299a4d4f96a999 diff --git a/dev-python/botocore/botocore-1.42.61.ebuild b/dev-python/botocore/botocore-1.42.61.ebuild deleted file mode 100644 index f6ce0d9ed8d5..000000000000 --- a/dev-python/botocore/botocore-1.42.61.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.42.62.ebuild b/dev-python/botocore/botocore-1.42.62.ebuild deleted file mode 100644 index f6ce0d9ed8d5..000000000000 --- a/dev-python/botocore/botocore-1.42.62.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.42.64.ebuild b/dev-python/botocore/botocore-1.42.64.ebuild deleted file mode 100644 index f6ce0d9ed8d5..000000000000 --- a/dev-python/botocore/botocore-1.42.64.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.42.65.ebuild b/dev-python/botocore/botocore-1.42.65.ebuild deleted file mode 100644 index f6ce0d9ed8d5..000000000000 --- a/dev-python/botocore/botocore-1.42.65.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.42.66.ebuild b/dev-python/botocore/botocore-1.42.66.ebuild deleted file mode 100644 index f6ce0d9ed8d5..000000000000 --- a/dev-python/botocore/botocore-1.42.66.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.42.67.ebuild b/dev-python/botocore/botocore-1.42.67.ebuild deleted file mode 100644 index f6ce0d9ed8d5..000000000000 --- a/dev-python/botocore/botocore-1.42.67.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.42.60.ebuild b/dev-python/botocore/botocore-1.42.68.ebuild index f6ce0d9ed8d5..f6ce0d9ed8d5 100644 --- a/dev-python/botocore/botocore-1.42.60.ebuild +++ b/dev-python/botocore/botocore-1.42.68.ebuild diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 53a41c836ccd..6e07815dc6e9 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -6,6 +6,7 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda +DIST llvm-project-1f9b32ba061e7d5f7173a6a7150faf31964c2974.tar.gz 264557724 BLAKE2B 58b583abbee8d0cfc50c7a3bc1bd526b8c29946dc0bf225fddbd403a157687c557654a7b65e08ac19d5df427f5622d9f699d97adce9ef79b7a5ab571ab4f87ea SHA512 68d27c9cf9f3a0efcbbb51539ce441139b63f79aa799de0c46eadba2abb8f895f78ad42507b4f7191ae361d559bb7597555214e68266dc6b8bcae89efeed21db DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 DIST llvm-project-21.1.8.src.tar.xz 158958576 BLAKE2B 0d3d4ee920f8e5db50e98152616f16004c74df0e7313cc86d893428fb7b1c875109988a5e40ea6f2e5d0fef53c7bfe2fc2b69e84807f6eb440b03afa1b228a36 SHA512 cae4c44e7bf678071723da63ad5839491d717a7233e7f4791aa408207f3ea42f52de939ad15189b112c02a0770f1bb8d59bae6ad31ef53417a6eea7770fe52ab diff --git a/dev-python/clang/clang-23.0.0_pre20260314.ebuild b/dev-python/clang/clang-23.0.0_pre20260314.ebuild new file mode 100644 index 000000000000..bdbb6bbefa8b --- /dev/null +++ b/dev-python/clang/clang-23.0.0_pre20260314.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/{bindings/python,include} ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/dunamai/dunamai-1.26.0.ebuild b/dev-python/dunamai/dunamai-1.26.0.ebuild index 799b616d502a..a87a3b7a7bce 100644 --- a/dev-python/dunamai/dunamai-1.26.0.ebuild +++ b/dev-python/dunamai/dunamai-1.26.0.ebuild @@ -35,6 +35,8 @@ src_test() { local EPYTEST_DESELECT=( # Internet tests/integration/test_dunamai.py::test__version__from_git__shallow + # Broken + tests/integration/test_dunamai.py::test__version__from_pijul ) git config --global user.email "you@example.com" || die diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest index 541005bc1483..10d546c2f560 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -1,4 +1,5 @@ DIST faker-40.1.2.tar.gz 1949802 BLAKE2B 43a2a41d28d0b7c74fc9b9be487637e40174cdb0dda58636518e51655fe73a8d16a3dff9d5dbe5a38a3b33307727b3fb0028d91063975a79ad81e58da644897e SHA512 940719f9e9370797a60aa1c710190d4fdce2532d15bde9bed9bdb69754750201b06c8c4fe46b2374c2557cba46c310607b3948bb23e3fd6d91db7bc98e431494 +DIST faker-40.11.0.tar.gz 1957570 BLAKE2B fd4249667567dc81a66b75e8a9f5a707dfb394c9674808e049c87c8c9a8e702c8b8483a0807ac7d10c0b92e68fcb17eb9438c90a95536b139fb6dc7d28ef7e6f SHA512 e22a5a1a92aaec20cb0a29bfb6c7e38b308da1dc0245c8493c77cb55a411eb816d3b5943b6d0fa375f98f3043409551b8c448053b45a8025deaceea0f88d04f8 DIST faker-40.4.0.tar.gz 1952221 BLAKE2B 5c339f7ad3ffd07533ed73c58648626adbce8570f8bdf6365b79908834f8935749adc94236a0ccfa475f383368d5647a42e03ad9bb350328f45968a21cbde9a7 SHA512 f32a8e7aeaa9330b5bebfdfea3fa868b4938f41e79bb134d8bcf4ec120ea221431ec8b259f1b63d095d2547a98a777c6d2fec14773cf8f55518831c6c7a44dac DIST faker-40.5.1.tar.gz 1952684 BLAKE2B f94fdd2d19a7bceb5378fc34df0b2d3e83b27ce0af262855697f7ed2c52f94de5a3354be1ee3e2df0b4ca3357b9e9d067dd61aae74bd3ec6ca96b3becf9ce62c SHA512 e9380240da7bca9720f9a4abf6d9938404176a4543405d17cec2eb3f48f76d30ed7732946154675b0727ca6a921366bc9efa9a56e18d116c4e10abaac753a249 DIST faker-40.7.0.tar.gz 1956310 BLAKE2B b19cd1f4532a9a07e0fd7dfd19943d985e596b21ffe33cc83072b6a3cfa8447842f8d9a39b8b45ff73290a36e2460539083da1d26860f1b22190180d44168996 SHA512 5e545163239789adbc3cde2538cd2579a1ead306a266d01f260094a3a2fb8c2321edf58b183e50d5651a60135f7e7de600558e6c37b646da249d75fc7bd22529 diff --git a/dev-python/faker/faker-40.11.0.ebuild b/dev-python/faker/faker-40.11.0.ebuild new file mode 100644 index 000000000000..22e0ad6d9c1f --- /dev/null +++ b/dev-python/faker/faker-40.11.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +# note: tests are flaky with xdist +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest + +python_test() { + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 644684b0d376..8200ef743215 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,2 +1,3 @@ DIST fonttools-4.61.1.gh.tar.gz 4004669 BLAKE2B 26ef4135197190d31f90f9d981d8940cbec12c01f4afbb363b21606f9e0935b24e77d3b5bb376df7c750c85558d89b73ac2d0d37eebad92c90e5fb06937e2eb3 SHA512 3bdf3b1a72268ca9966550db53a25b8a7e9a1438abef9009d09a76e8d718691fdd248f87521c65df59b07728262a4405aee7a94aa2af616d744f7ee815f29c2d DIST fonttools-4.62.0.gh.tar.gz 4011421 BLAKE2B b02b25010dfb6e9ae2356265affe1265bc4a9cbe37aeb79ab894ef0351c9f2eab46fad21f736e9fab010b48c41f52f49a1f414297fa38b40cf659844397bc88a SHA512 c2096d9d4d0d30f3fe48fed462385b47151cb8f38df994f6bc5162a1b8dabcd061b4f99fbf7ed3259bec90b14aed2252005ecf0642fc37e7790fe0acbdbcf07b +DIST fonttools-4.62.1.gh.tar.gz 4012183 BLAKE2B a0ce63a4ee0a77ec52b00da7b2772f0e4916a41c58c9ce9eaa43c1120cace352ed244219dd0f9657ae7142c4a9c4d25d9c42746e941896ab10223c023820d9ae SHA512 6cd85502ea215c8d76918f82a633eae5e8961ad529f137e1064ab321c75167d86764198e9ae7bcdcbe6aed07ea6353a8e8ce318df58193afd2564a6f1d849b49 diff --git a/dev-python/fonttools/fonttools-4.62.1.ebuild b/dev-python/fonttools/fonttools-4.62.1.ebuild new file mode 100644 index 000000000000..57e0b7f2ad7e --- /dev/null +++ b/dev-python/fonttools/fonttools-4.62.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] + ' 3.{11..13}) + dev-python/munkres[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_PLUGINS=( pytest-rerunfailures ) +# woff2 tests are extremely flaky +EPYTEST_RERUNS=20 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + # nonfatal for virtx + nonfatal epytest Tests fontTools || + die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 1fde556000a9..ca099ad762f3 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -17,3 +17,5 @@ DIST inline_snapshot-0.32.3.tar.gz 2625275 BLAKE2B ee990004036086df466cfcfeeb4a0 DIST inline_snapshot-0.32.3.tar.gz.provenance 9477 BLAKE2B c1a49bec6ac49649c470b6fad3d8131c444431bf728aec15dd8b183de6ed347ae14bd8c20eb3365457e76c9fdc0585ca783fc5f34b80af0d14b7589b9a542228 SHA512 107d46fb1e7c7022a08a36ff0c8ac0d1989987b3881362db00caf11532221e2e37b36c4476c100f48f306b8867f50e44ce78eacf8afede6c5e532dcda558363f DIST inline_snapshot-0.32.4.tar.gz 2626703 BLAKE2B 3adb991a0598f99e632effeb278f4046fcf37a579915f983eaadeb6851023bd90bea8bacf7a2e06475f254e8d67305d9983e44a116fb274e4d34dc3651e6d807 SHA512 9738339178996f7f45e7fc1f2f554f59847065ee15591d2ef09dae57e9a8ea27025f78e7258ee27d0a0856cfb5a3834650cfcf547430106e75b22bab67c2dd1f DIST inline_snapshot-0.32.4.tar.gz.provenance 9478 BLAKE2B 445cc3305bee1b6bdb560134978a6f91cda32d2ac5f14d1ddd96a4a53eea54c2837daa6b04135741bbe3c32d14132ff59bd029b3e16ad43912f3a65e0081a77f SHA512 016134634347eb8f5a4f6c960ee3450ffcc7331b9c4f906838a80824b7d2019cce642dbcba1c4b8a10222b194918c40e995fd178968c1c26761c4dd64f8ae7af +DIST inline_snapshot-0.32.5.tar.gz 2626796 BLAKE2B 3e811658e005b4c095564ba9d94b7290945d7f774b5cda1e2925dceca3ae75417634df90c5804b5322ef533299bc4abb195e210ee1ac4a4e070ad8a6e6d1485f SHA512 a5f4878a89a24ef8bd246ec652095363092f7127cc9135a63f6b2695be80593a67adb4b098a5f6f887fcbc566b48325bd4e3cf7be16aed13193ff7e0e6e31409 +DIST inline_snapshot-0.32.5.tar.gz.provenance 9388 BLAKE2B af33c329be8e941a1a91f6f6d5967dbca4d9ad10d9e7c6d98298d5e3b590348b55b4024a01f45a2756c4ab03722e10c9b0008057eaead6b73aa2258013601702 SHA512 0018391d0373218743c438812af50d38e4ac1394ca5784e4380ca0642d789801b4c3f9d76f5880053e9a78094f99b60238b6d91a29ba111ec698b80f20147cf0 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.32.5.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.32.5.ebuild new file mode 100644 index 000000000000..0967f87cbd6d --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.32.5.ebuild @@ -0,0 +1,65 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/15r10nk/inline-snapshot +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,subtests,xdist} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing_args[pyright]' + 'tests/test_typing.py::test_typing_call[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + 'tests/test_docs.py::test_docs[categories.md]' + 'tests/test_docs.py::test_docs[code_generation.md]' + 'tests/test_docs.py::test_docs[testing.md]' + ) + + local -x PYTHONPATH=${S}/src + epytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 271137de443d..7100f5f39dd8 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 53a41c836ccd..6e07815dc6e9 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -6,6 +6,7 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda +DIST llvm-project-1f9b32ba061e7d5f7173a6a7150faf31964c2974.tar.gz 264557724 BLAKE2B 58b583abbee8d0cfc50c7a3bc1bd526b8c29946dc0bf225fddbd403a157687c557654a7b65e08ac19d5df427f5622d9f699d97adce9ef79b7a5ab571ab4f87ea SHA512 68d27c9cf9f3a0efcbbb51539ce441139b63f79aa799de0c46eadba2abb8f895f78ad42507b4f7191ae361d559bb7597555214e68266dc6b8bcae89efeed21db DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 DIST llvm-project-21.1.8.src.tar.xz 158958576 BLAKE2B 0d3d4ee920f8e5db50e98152616f16004c74df0e7313cc86d893428fb7b1c875109988a5e40ea6f2e5d0fef53c7bfe2fc2b69e84807f6eb440b03afa1b228a36 SHA512 cae4c44e7bf678071723da63ad5839491d717a7233e7f4791aa408207f3ea42f52de939ad15189b112c02a0770f1bb8d59bae6ad31ef53417a6eea7770fe52ab diff --git a/dev-python/lit/lit-23.0.0_pre20260314.ebuild b/dev-python/lit/lit-23.0.0_pre20260314.ebuild new file mode 100644 index 000000000000..2cc4b6485aed --- /dev/null +++ b/dev-python/lit/lit-23.0.0_pre20260314.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest index f65b638da265..fc3e90b56047 100644 --- a/dev-python/puremagic/Manifest +++ b/dev-python/puremagic/Manifest @@ -1,3 +1,4 @@ DIST puremagic-1.30.gh.tar.gz 315120 BLAKE2B a5329ffcd25f2f8024eb05a80f8c0a5f328087ffe30b9b744894b0b3261a9b08da3f3b68ed0a5cf2f51008f472626bee3afd26b5f97fee015094e96dd5cd8b06 SHA512 3937e0aa3f8222c7ce558e71da4d4b6dcb0c81ca61b432d39db70031b7fd9d8c273befc47f6e9d0d3d3667dd9c7fcf893d0fd45475a0dfa8be01f54110ac444e DIST puremagic-2.0.0.tar.gz 1119578 BLAKE2B 4b0fc7462002e53382ab57aee3a97669e05fa6acc515a36891fb1d317f04c4e300a1df5c41b812c4db99fecdbb1951cf94749cdf2889dd5ef837e7a9af78855e SHA512 d7815612896eb2d40d2ff603078621e117091bd2af1763ec8098c577b76d5dc2057901433dc74553ba6cbf5aa4e5e47d35413bad04994b7bbb59a23499954c2c DIST puremagic-2.0.2.tar.gz 1129446 BLAKE2B ec98a256c9ed0f0f98f51c287846c8710afa14e1b2eb0b1026c5d9ce6b00fb9616ad0cb88760d41f088262e6ae1017442c538e5e6c145219156cb3dd95e23f7d SHA512 b92fb1ad23a95a44e7ddee7e5a0f07a694dcbc95e8508816f59f5ac8b2f16afcb10f8da5e1b3d11834bd6e23e395c5b482e9f47a62012c4915d26ae4660a2853 +DIST puremagic-2.1.0.tar.gz 1133014 BLAKE2B a43626c41fa6e4705fb514f1be548991f4bb1d6d305e55e76a713f784b107d3e8d66b2334bef0728418f948bd5ea9f9540e110768b262d08fca323d24fcab665 SHA512 23c83dff60eb98b7ef8e2bb1e9daf3931e86a60cf79885d380fa88af2c077ed24c755ccc1235e3e436010cf18341b040d0d0f580d53ba43dbb772f4716cbbe1f diff --git a/dev-python/puremagic/puremagic-2.1.0.ebuild b/dev-python/puremagic/puremagic-2.1.0.ebuild new file mode 100644 index 000000000000..6070ac118b86 --- /dev/null +++ b/dev-python/puremagic/puremagic-2.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure python implementation of magic file detection" +HOMEPAGE=" + https://github.com/cdgriffith/puremagic/ + https://pypi.org/project/puremagic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +DOCS=( CHANGELOG.md README.rst ) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest index 655a5f88e8bc..e71ed98b53e3 100644 --- a/dev-python/pyjwt/Manifest +++ b/dev-python/pyjwt/Manifest @@ -3,3 +3,5 @@ DIST pyjwt-2.11.0.tar.gz 98019 BLAKE2B b5bf0ffc4b2eb0f14accfc257a525f74a156bc5da DIST pyjwt-2.11.0.tar.gz.provenance 9448 BLAKE2B e6e71af154c4e6580323a0f9d9a0a640a912393db168308e9add90019994a9f2ac3765a02e4748eaa9bb096eabe49a96afd0a406c27ee0e2f9de03244ac0d716 SHA512 98a0929e50e2c7ae3b7f1d99686317f890ce6b28d59796bb1d20991aba1623077f60ca559e278469702c016664ab2cb1af14da10e548973f5a7bc91cc72675bf DIST pyjwt-2.12.0.tar.gz 102511 BLAKE2B 2ad18de3915405961eae6938f5a13c9f58e175b645eba300ee5ae2d0b66d842ed15f80087c391ca1afb895a9003837a88066647e0204b33480ebe2a151b4dfb3 SHA512 177ae71b1c11712cf6a4c2b8a98ee3869494c0cb5c6515b51fb0ffda218eab273b91a340b19e51dc03d4c2cf8f681ef898cbfbcfc74ec1756516466de9cf0ab7 DIST pyjwt-2.12.0.tar.gz.provenance 9555 BLAKE2B 7319110894349365a1567c765d859563cd5304be6720686b8d4dc0050a26e55fa6275c1e782bb467900ce255d29d75329d11228926e7e55f085709ca63d8ab6c SHA512 2704ecffc4b8ccf726fd29b82270a7c4b2deade71408d0ceeecfcdfbbabd5e3d9b4f438a35fe45a577e3e952b9c7f8921aa710a5dc8492ff95dcfeef00688516 +DIST pyjwt-2.12.1.tar.gz 102564 BLAKE2B 9e2c5554b4c45dbc940c8de8ba860ab73ac585da58c90e6129c1b8040e5f334a92f13f933f123263bb0b07e942355546e376875a061c9118dc9651d45ccf5678 SHA512 ad1e925b9aa39017bd83863233b39de06a919daed664d5835e58def47f6fb4435fab057a37a5fa8a7543f691f5fc9f82e6d879ef0ad60960f982a214b305078a +DIST pyjwt-2.12.1.tar.gz.provenance 9461 BLAKE2B 1580ae7d42473f72d7b6f47a4025d696e1682450510e735935d02f1f98cda0e07608d2ce2699f4deae3f65816020763b2aa016c0fbf48d1eaec1c9fa977dba8e SHA512 f4a269774bbb58ddb2ec895d83dc224ab3faee5d9e1a9afed9570165fdacb595c37cb13d98b8432237128a89ca23be1c13ec0b5788b1daae9173f231e4ed67fc diff --git a/dev-python/pyjwt/pyjwt-2.12.1.ebuild b/dev-python/pyjwt/pyjwt-2.12.1.ebuild new file mode 100644 index 000000000000..b36c700021ea --- /dev/null +++ b/dev-python/pyjwt/pyjwt-2.12.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="PyJWT" +PYPI_VERIFY_REPO=https://github.com/jpadilla/pyjwt +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="JSON Web Token implementation in Python" +HOMEPAGE=" + https://github.com/jpadilla/pyjwt/ + https://pypi.org/project/PyJWT/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + !dev-python/python-jwt +" +BDEPEND=" + test? ( + >=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_sslcontext_default +) + +pkg_postinst() { + optfeature "cryptography" dev-python/cryptography +} diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest index f6a6bb3cafe9..ddb5194496d0 100644 --- a/dev-python/pypy-exe-bin/Manifest +++ b/dev-python/pypy-exe-bin/Manifest @@ -6,3 +6,9 @@ DIST pypy-exe-7.3.20-1.ppc64le-musl.gpkg.tar 6656000 BLAKE2B c1cfdd5c344c6c3a5ce DIST pypy-exe-7.3.20-1.ppc64le.gpkg.tar 11141120 BLAKE2B a1d49d28fb87b4a18c81a4a7821585e593d36cc665a2f4a144ba143477812aff552f38d72658ffa672fc62adaea4ccf00357cb433da30bc0fb579496d94bbc60 SHA512 cb7e1624620c6fc99d18baee690ceaa3bffd9175f6392b9f5d65de136d1b47b01f09438eceeab7c18c55970f8d90de32c76abe7682ca5dba81d948a39a657936 DIST pypy-exe-7.3.20-1.x86-musl.gpkg.tar 10014720 BLAKE2B 276a3f2d70a73829cb5acb7c185e9c9c0ded5f9e43fae82cd715297fe8dfd6a1a816e6ca6f7d4046f90d3271ca18042765e2eb4a051a60b6ac65530fed9549fc SHA512 e5ac44f88402466c3fe3fea27958a61e5f274fd5de303a9172bb80b4caa914a727bc0533ddd1007adea1be9937e2100fb86d7b04c22420bdd0fbd423dd4409b0 DIST pypy-exe-7.3.20-1.x86.gpkg.tar 9973760 BLAKE2B ccac855fc15d5a9b5915eb42b1b201867fd621c1ef351386176b33b2e68c983d7f82695a19248208d431489a194a2c5f07839a881de77ff98da2ab77b15f5299 SHA512 008d27f98b65e41d88c594aeffcef57f1f48eb9590958462adbd98c00ff48acd260c378d9f02122e21b2a77d923a901dd55228faed039fcd612f9011d8779967 +DIST pypy-exe-7.3.21-1.amd64-musl.gpkg.tar 12984320 BLAKE2B b5734432edbeae2093f1f2cdb9c17ace197f895f929dbfcc87a7917beec1d179738daa6a3fa457e7cc3c84808c2e2d7615cdfc52bed978f7019277120f661457 SHA512 66fe6c2dcd2cd6a07f96615b0e958e2a72cbc849a39c2d86e9727762270504f9b63a3df441ad384015d29bdc08ddd4e492423a201bb7a96ab1335d160233698e +DIST pypy-exe-7.3.21-1.amd64.gpkg.tar 12943360 BLAKE2B cf301eacb3e817354ef78a87ec60a7205af31d09d13faf17dad4413418fd54a4db6fcb7b94c4965ae1c1583d922376c3721db2f49c8734761b9899a4875636b6 SHA512 c9370057a32cb50e0c19b17802cf73d6794c0ade1a35c8ff76f6a39ecd717100dc4cc97375047d1e514ed04a946061a5fa3c042f3e01e1dea003344c426c6ce1 +DIST pypy-exe-7.3.21-1.arm64-musl.gpkg.tar 11274240 BLAKE2B 842879818c10230d242927b7971e5ebc0bb80476db694de587a2449eee5e4f40e8cfa426001ac4654a92ba4629de9dcc19635f7a44b7c85695fba129996c07cd SHA512 c79590433adb6ea60add2a2782907957c0e807c7b3c64dfb1031959442ada666c87aa268a57b859df12cb5d89cddf16821173d174b2e6c75f382a60e68015f06 +DIST pypy-exe-7.3.21-1.arm64.gpkg.tar 11274240 BLAKE2B 56ee15183690a2bac097f0314a96ea51fa35cdeb58b1d85303d028a3c756e37aab0f7244164de6c37e5b0c975f83a4d994b9890729e6cf614834c60a4a9c3a5b SHA512 554090c45a7667789dd5ed5a2ee3e5166bdabddd6abbd80f4822577a4f995e032670f79a1e41fbf53f5fb0ebeb9271ec5d9fd3a67203d010c7a6dc5d0e54b9a0 +DIST pypy-exe-7.3.21-1.x86-musl.gpkg.tar 10086400 BLAKE2B dd6643cc2804c94a97727f938cf2376aeb929a7e3f8d0bf1e7787379cb1d1127c62b68e6d700a991538cf76580c742023c78acdc4af87680e65862e3050589cf SHA512 7cfc35d323fceecba52b3c91a9e58272193f11f08d50be647a447fd1a20fe2a55444bf7354a6214e1f31a5886455009e109587a36cc35b8742573e5ec04846f5 +DIST pypy-exe-7.3.21-1.x86.gpkg.tar 10024960 BLAKE2B c5e4728d02e580ebf1c9eba5789e747170287bcf672063f98c213645e39cbd3cd149893380df3a524b74a3e8b610f8acb095765e0fa1ed5d89c9c8b81b61cc7e SHA512 081c7e1323e73f94a6e211f716297b0b69f2889f12eb9478b7b4b7c2be2af9a0a97897027401b4ac90aea5899b0a4517f7f88351cb4e8946c9354bae0cde2b3c diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.21.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.21.ebuild new file mode 100644 index 000000000000..929dee54395a --- /dev/null +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.21.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils unpacker + +MY_P=pypy-exe-${PV}-1 +DESCRIPTION="PyPy executable (pre-built version)" +HOMEPAGE=" + https://pypy.org/ + https://github.com/pypy/pypy/ +" +SRC_URI=" + elibc_glibc? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86.gpkg.tar + ) + ) + elibc_musl? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64-musl.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64-musl.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86-musl.gpkg.tar + ) + ) +" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="${PV%_p*}" +KEYWORDS="~amd64 ~arm64 ~x86" + +# sys-devel/gcc for libgcc_s.so +RDEPEND=" + app-arch/bzip2:0/1 + dev-libs/expat:0/0 + dev-libs/libffi:0/8 + sys-libs/ncurses:0/6 + >=virtual/zlib-1.1.3:0/1 + virtual/libintl:0/0 + elibc_glibc? ( + sys-devel/gcc + >=sys-libs/glibc-2.35 + ) + !dev-python/pypy-exe:${SLOT} +" + +QA_PREBUILT=" + usr/lib/pypy2.7/pypy-c-${SLOT} +" + +src_install() { + insinto / + doins -r */image/usr + fperms +x "/usr/lib/pypy2.7/pypy-c-${SLOT}" + pax-mark m "${ED}/usr/lib/pypy2.7/pypy-c-${SLOT}" +} diff --git a/dev-python/pypy-exe/Manifest b/dev-python/pypy-exe/Manifest index 611381885557..b1ba7d4946a6 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,2 +1,4 @@ DIST pypy2.7-gentoo-patches-7.3.20.tar.xz 5324 BLAKE2B d2ac71ae4360292d1f4661e10ec817bebdaceb00c6deb92eb8ffaf023d7f0e511c10f10aac6c60d436f9b0f34185e989a87780c99913d011a679df8cdb6f255d SHA512 69839ed3c5cba8983661da8719b06a3054b94fc1a3eca9ccf3546c523745811cd91963afb39ea9551fe98e8f71fab6c9344ccbb0378c2b51f0dca8aef7f04ac4 +DIST pypy2.7-gentoo-patches-7.3.21.tar.xz 5324 BLAKE2B dcda7ed149b26dcd22700179618a88889435d922d614004f9957a2321a0797773dfa867533c36b6af23dde9e59be55c4cc5bfa94780ce73d72297085f1ddcf11 SHA512 cd21c967fe1805cc7573dcf60038033a8eaed673d33eb67bac4890142b0d82049198d0772abd005d4844c84716c12b0c9f7639a3046c8025342465dceaad7b76 DIST pypy2.7-v7.3.20-src.tar.bz2 21016441 BLAKE2B 382830a4e2511b77861a96a52038f0f6ca69fd3a938cdc0434285dac217bbeacacb71a5566edad0240e7e7723924ee449b2237b3a84008e80922b19df8880638 SHA512 f23a065efc7f4ab4020de554ff1411b21d05364e19dd49f7026a9a1f90761342bdf5606f1522094991c189df449387ebf0f79240902b6836235cb3a4e89d6d3a +DIST pypy2.7-v7.3.21-src.tar.bz2 21020098 BLAKE2B c5f97f5ff86bdde61a1c1da2a5411dff337a9d151747cc0437b2d704bfef28a00ad91382c3fa1a7191658b08bbd30cb28e9f7dbc4fb1fbea32cb10473a065424 SHA512 9a0875ce1f621a571a91c5372778aa67c0cd48270139896cc7aeec9973ff2ff44779e9aea68c534daa7485edad8707376421ab5785daf6414331c881bf59d16e diff --git a/dev-python/pypy-exe/pypy-exe-7.3.20.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.20.ebuild index 7f77e4882834..849c8a194e1f 100644 --- a/dev-python/pypy-exe/pypy-exe-7.3.20.ebuild +++ b/dev-python/pypy-exe/pypy-exe-7.3.20.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}-src" LICENSE="MIT" SLOT="${PYPY_PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" DEPEND=" diff --git a/dev-python/pypy-exe/pypy-exe-7.3.21.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.21.ebuild new file mode 100644 index 000000000000..2db026be6251 --- /dev/null +++ b/dev-python/pypy-exe/pypy-exe-7.3.21.ebuild @@ -0,0 +1,187 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs pax-utils toolchain-funcs + +PYPY_PV=${PV%_p*} +MY_P=pypy2.7-v${PYPY_PV/_} +PATCHSET="pypy2.7-gentoo-patches-${PV/_}" + +DESCRIPTION="PyPy executable (build from source)" +HOMEPAGE=" + https://pypy.org/ + https://github.com/pypy/pypy/ +" +SRC_URI=" + https://downloads.python.org/pypy/${MY_P}-src.tar.bz2 + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PYPY_PV}" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" + +DEPEND=" + >=virtual/zlib-1.1.3:= + dev-libs/libffi:0= + virtual/libintl:0= + dev-libs/expat:0= + bzip2? ( app-arch/bzip2:0= ) + ncurses? ( sys-libs/ncurses:0= ) +" +RDEPEND=" + ${DEPEND} + !dev-python/pypy-exe-bin:${PYPY_PV} +" +# don't enforce the dep on dev-python/pypy with USE=low-memory +# since it's going to cause circular dep with unhelpful error message +BDEPEND=" + !low-memory? ( + || ( + dev-lang/pypy:2.7 + dev-python/pypy + dev-lang/python:2.7 + ) + ) +" + +check_env() { + if ! has_version -b dev-lang/pypy:2.7 && + ! has_version -b dev-python/pypy + then + if use low-memory; then + eerror "USE=low-memory requires (a prior version of) dev-python/pypy" + eerror "installed." + else + ewarn "CPython 2.7 will be used to perform the translation. Upstream" + ewarn "recommends using (a prior version of) dev-python/pypy instead." + fi + elog "You can install a prebuilt version of PyPy first using e.g.:" + elog " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" + + if use low-memory; then + die "dev-python/pypy needs to be installed for USE=low-memory" + fi + fi + + if use low-memory; then + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + ) + + # Avoid linking against libraries disabled by use flags + local opts=( + bzip2:bz2 + ncurses:_minimal_curses + ) + + local opt + for opt in "${opts[@]}"; do + local flag=${opt%:*} + local mod=${opt#*:} + + args+=( + $(usex ${flag} --withmod --withoutmod)-${mod} + ) + done + + local interp + if use low-memory || + has_version -b dev-lang/pypy:2.7 || + has_version -b dev-python/pypy + then + einfo "Using already-installed PyPy to perform the translation." + interp=( pypy ) + if use low-memory; then + local -x PYPY_GC_MAX_DELTA=200MB + interp+=( --jit loop_longevity=300 ) + fi + else + einfo "Using CPython 2.7 to perform the translation." + interp=( python2.7 ) + + # reuse bundled pycparser to avoid external dep + mkdir -p "${T}"/pymod/cffi || die + : > "${T}"/pymod/cffi/__init__.py || die + cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die + local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} + fi + + # translate into the C sources + # we're going to build them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + local dest=/usr/lib/pypy2.7 + exeinto "${dest}" + newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} + insinto "${dest}"/include/${PYPY_PV} + doins include/pypy_* + pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" +} diff --git a/dev-python/simpleeval/Manifest b/dev-python/simpleeval/Manifest index 6e581baaab28..c61e173a488b 100644 --- a/dev-python/simpleeval/Manifest +++ b/dev-python/simpleeval/Manifest @@ -1,3 +1,4 @@ DIST simpleeval-1.0.3.tar.gz 24358 BLAKE2B aa073d0e6776b3943240c7054736097f2695933f9590d085dadc442e7541f47386f5894aef9709bdacbe857cae850aa8faa421b75539b8c48054c2e57696be1d SHA512 e5dbfe40c48afcc75c0d2bae00f8fd5e33f56052a0f4671ae89cb1d072e218190af3115acf6bfbecbeae8c9a4b39cb75adac9071d44e3c851a9ad31c89c26139 DIST simpleeval-1.0.4.tar.gz 37046 BLAKE2B b3d1159e52b75f6fa645797005bc797708fe27a1060c1a8c92bcfaff96d7c2aad8c7be2fe2175cbf33e82d04749164b06d35477140e9c6664c70ce4de24b1150 SHA512 83b0862208515179414cc7ebeaa9332e1c9f3252368d5d2f5c33615cb7dbf8755b4741fbaf34db8b86cd44d51c8a3120c43282b18629fc648bc3b3950e3ade3c DIST simpleeval-1.0.5.tar.gz 40853 BLAKE2B 963de29c6b4b9279a4f904e7f6d0d0367f360285ea578acb315e44d5054c81c894a30ce33027be74e987ebef2045994c019574046a293bde99014828bf8b3844 SHA512 c136c95106c0db4a7b143b4ad989116164b37e1bfad4719c4b9dbb5f4a81e0d80e3f0c3755e6b52163fa614aafdeefda82006326bdeaf582c6a5c94c18e922d3 +DIST simpleeval-1.0.6.tar.gz 41004 BLAKE2B 0ca58f5714c488658486447cd21302e220cef18c7c7f73a4afbb68996057e3363df217e02d1bb4b498a12ced1ee333929eda096a7eb13d3d2572e66d3f8d30cb SHA512 fb4698952f9bf5699b8cabd7adc1463b9faa75bd1e6124a92aa3d9fe7edd4364b81480b4bd63c6ecd00bcc92351b08a05e22684c3ddd5ed8f08f2d50e88c8d01 diff --git a/dev-python/simpleeval/simpleeval-1.0.6.ebuild b/dev-python/simpleeval/simpleeval-1.0.6.ebuild new file mode 100644 index 000000000000..cadc42be443b --- /dev/null +++ b/dev-python/simpleeval/simpleeval-1.0.6.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A simple, safe single expression evaluator library" +HOMEPAGE=" + https://github.com/danthedeckie/simpleeval/ + https://pypi.org/project/simpleeval/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest diff --git a/dev-python/sphinx-issues/Manifest b/dev-python/sphinx-issues/Manifest index abbcfcb1bc5b..c34833266b60 100644 --- a/dev-python/sphinx-issues/Manifest +++ b/dev-python/sphinx-issues/Manifest @@ -1 +1,3 @@ DIST sphinx_issues-5.0.1.tar.gz 14370 BLAKE2B 0978ca43c7d90958ad77bb29191004c7087b1f80f656d5e13ec6deb3bcc2aadadcf4dec44b30f480e21e3141bb32b61419ab40db343c35cb70d7cccccd9654b1 SHA512 2fa1dac59f368291052cc00ebf71f9e7de980c7269661552ccd198c4d94af79f924a4f1729870039917ed60fca0b1782ac8419dc1ab53a12a0967dc528ac5b0e +DIST sphinx_issues-6.0.0.tar.gz 15230 BLAKE2B ddcb3f46bb4ede894a31cb6786b7d58380c26c2f716e6dfe1c0d88c14862c508cecd1b42612eaa3dd9e53f82a32656452626e1b4020ba9b6c586e7a9910c22b8 SHA512 b7a2b573e291e491d2ce0abaa85a0d0e9d121d2ad0624d7ca046a726f44618e0ed9956dab2b5ee630de2d1a3510bec1a134c02723f0aaa2b271d1e8194051c2b +DIST sphinx_issues-6.0.0.tar.gz.provenance 9542 BLAKE2B c2ce42c0cdc9812dbc8808ac7f5ff31dda9903c18d6dd2edf3f1f92f74bc014b794f1c0caca575ee5138f46ae9fbaeff11dbc91a2161ab291656f0947d96dce2 SHA512 9cf1ce5cef0593d56fb531dd921b61d099df55fa8b0b4478f2280d97adb32e46ffac84590386ab454883048d10e7e31cf4be77a48052b856beb720d88694e2c4 diff --git a/dev-python/sphinx-issues/sphinx-issues-6.0.0.ebuild b/dev-python/sphinx-issues/sphinx-issues-6.0.0.ebuild new file mode 100644 index 000000000000..3ef409d2f7e3 --- /dev/null +++ b/dev-python/sphinx-issues/sphinx-issues-6.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2019-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/sloria/sphinx-issues +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension for linking to your project's issue tracker" +HOMEPAGE=" + https://github.com/sloria/sphinx-issues/ + https://pypi.org/project/sphinx-issues/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/sphinx-8.1.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # doesn't work in our pep517 install + tests/test_sphinx_issues.py::test_sphinx_build_integration +) diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 10e2eb826d03..4a357ca87297 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,13 +1,7 @@ -DIST uv_build-0.10.0.tar.gz 361570 BLAKE2B e94909f789b4f09b407b2441261c60235d9e4572c3cf71e9947fb285fea1240be90faa9edf0a8a6fc9b0992103a0c99c7edcf32d969267482f63a354a2f00b94 SHA512 c053b31df98966b1e2d327d912d610f7844fe98565ab0f396cf87c3f9cfcafcad142fc6999d23afa7a5819a69995195d9ed65f76d6179a890c842db6e8e2aebb +DIST uv_build-0.10.10.tar.gz 378602 BLAKE2B bc6f3f601d153bd1f4ff6904076607ec2b889e07452c71dcef442c26f16109c691f418e24803148f4f571a1adb2a3d3fdc76b2097b9395c4ba5c578eaa4756dd SHA512 a103acda49c6245a52b17fb5b675046bd25116cd358ac03b9c970456ae89c6f1ab41d9b9c31737efa00cb94bf4e3ee9fb9d038b4ef07568e6a09fe2c3a80e640 DIST uv_build-0.10.2.tar.gz 361619 BLAKE2B 846ebd454b8f9ec126bb25671c39e75b6f22b0ec60ccc7cd0775ef84df0ed8ba9cad94d343538def6c5ebfa142df60bc502ee732017f0d5abbd53392747d9c6c SHA512 fee7ddb7eedc2490eed4240120b6541b6d4b247dd428e8e6844895880d4ed8310dc90a5a0805ee77a5ea179b753212719cf9e2be9baad19c5661e7df50d84f34 -DIST uv_build-0.10.3.tar.gz 362506 BLAKE2B 36e938850caef030cc3492c89a30c15ce7a8374b3c02baa1718e24d51441a63e0e30c0af936bb58e0772128e66f7b35d9626b61fa471313913e6920ac006573e SHA512 b49b5089b34d18851264f4f0645021828a7b5a8a46b393d4a67e9f99d508aa12f24d9fcb7c821d585a5dfea8c2a4fb1980853df64cb63fc07cde63eb9a27440f DIST uv_build-0.10.4.tar.gz 362535 BLAKE2B 2c392629b8e8ff6e81bb04fe182453c97b88320746ba813c40b742b9356be9b0ab9becd9f0d365d4d87b798aeb8fc21e16584270d56f63a52e31530ff5f601ab SHA512 f7d6ff75d8f5e457ade32943aa4eb80d393299d83324608df8822b5f1fb232b66a1fe2e1c218b1e8165d13c37937f3b56d9e3fc97a325b8989d73a11ae30a7b9 -DIST uv_build-0.10.5.tar.gz 373244 BLAKE2B 797281dcd3de242af57179dcf8134cf572ee88524534c2be294b6d4946b4621ec19d5b921fc3f3d5d118b1bbad811838b8c2a1b49c824ec2f7e0fb793e12044a SHA512 739586480180602830cb48d6e5900007a4ea24eb82a8e6045c3be689b58fd9965f48fd4f2ba668665f15996037a3ce5ef62b8bb720064686fcd92b582bdbec58 DIST uv_build-0.10.6.tar.gz 373654 BLAKE2B a7c543f1029d81a86fdd7c7fb93f051eea1e2acdf151f4f3503c0fa8a13365d63ef933be187febfaa70567328ddef8dff07f08b9c57587611bf0abe450be3d7a SHA512 90e48a44a24d2f874c16aba345cb73d598f4b8937a51d8823c226b6f4ac44a9cbc77ad2bb2b7525db1a1caa1defe59a4e27944a5fec59c64f55c96c147e3465b DIST uv_build-0.10.7.tar.gz 373660 BLAKE2B 377637bd594ee3aba5098769c11474a58c9a819b22b1a0247284c7ab998630b9efc953fb9b5f9dc239b1b17b39952f1778a9993aba2c576d6e09e166a576fc8d SHA512 af6c89eaf880c506cf99d91188f7ca076b746b59d95d0639bc389e1482fb1594ef6c8fdfd4e6ccbbc764fd755cc5e590249f744f389a9374d4ca3b80b689bf9d DIST uv_build-0.10.8.tar.gz 374745 BLAKE2B 4a2c96171b0af20bcb75e6bcc9e7d54e888ce9c978575c926413e110670b7f09163c43096780080b35c195d380f482a93da494acc59796a01821f67a6039c6e7 SHA512 8beefb87914fa37cb057151a92a7b55c2f7bbe18e187f467971800af073d6edb1dd48413eb1481ba647fba60846beb2816efbfb65e9e0a06fe859a871056c7ad DIST uv_build-0.9.15.tar.gz 354021 BLAKE2B a47350ead8d9672d09967bbd7f9ac2f8e231e1dd5afb8c20e59926429792d3872feb1f8e4d7a9318ec447a99ce8add0503dfba0be2b970b2f192f954b472f1a7 SHA512 11fa1ebb1cfc184bd5bedf5e11fb28f14abf118183d94cbe0ac9a1b83f150a69836f0547a671e8cf16527d84ec61dd5b2983efafe5aeccd86e94cda79e1de664 -DIST uv_build-0.9.21.tar.gz 357539 BLAKE2B 721e12e0260301d3234f3fbc76d5944c9b15e14b345876d3f231314f64f15c5e6c37c8c7155e24605c928dbe52b12b3b02cd2f0a1373b8d93b017f2c122ddf19 SHA512 1e2885f978fa45e1481a72a35d5734ef80d3ab7da0213fc41cad8c4e49756bf0b172cea570d25a6b0461c6dd13fead8a8fae356b11ec758f8bd7b915faa322c4 -DIST uv_build-0.9.25.tar.gz 359005 BLAKE2B b0c8307919092aa0abbca7da379efd315f54c4d70c066633a3524fb1a78fcff0831e071086050b240536a123d965706337f09c716814e5655c9051cd4d879a19 SHA512 601eea260c615b6102c0e6a766d7c5fd0585c72005fb813a22cdc3f568c2f57042f72d3d16822f1c1773e1f9e8580d1f77b1e73b940a026c0a8e8783ef817f7b -DIST uv_build-0.9.28.tar.gz 359476 BLAKE2B 287b5b7ef98e9838c12416d0ff1f0ff938a13acf3858a3062f94d699af3d3c94a00be8f0e95effe76c26aa8930c9679f93baeee16822c1a32b5486a87d3bfa28 SHA512 d12d6850f231535f9f6a4abb2086eee76f527fe396b9e5cb63abf6697353c07e8e24c9479804cdcec64054230fea751525d24ce05c811a8d02e03acc5c96957c -DIST uv_build-0.9.30.tar.gz 360307 BLAKE2B aca8d30cb985b37c9b36057f23dfed1527ffd262f05077095892e3f65724de0ec8a6330e6932a03d23593792b06d5952369b398f47d660ba7e22bae869017f47 SHA512 378abd79176fd944c5d34da3de9ff55a1413a6961b1cbf9b45c05fd7eba55258643b0ff9e5dbf993af91e9dd52749cd895b4d0c7c0fe0bb75835361f362ca204 diff --git a/dev-python/uv-build/uv-build-0.10.0.ebuild b/dev-python/uv-build/uv-build-0.10.10.ebuild index 639745396c25..2ab229426f84 100644 --- a/dev-python/uv-build/uv-build-0.10.0.ebuild +++ b/dev-python/uv-build/uv-build-0.10.10.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/uv-build/uv-build-0.10.3.ebuild b/dev-python/uv-build/uv-build-0.10.3.ebuild deleted file mode 100644 index 639745396c25..000000000000 --- a/dev-python/uv-build/uv-build-0.10.3.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.10.5.ebuild b/dev-python/uv-build/uv-build-0.10.5.ebuild deleted file mode 100644 index 639745396c25..000000000000 --- a/dev-python/uv-build/uv-build-0.10.5.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.21.ebuild b/dev-python/uv-build/uv-build-0.9.21.ebuild deleted file mode 100644 index fe8e9650d15e..000000000000 --- a/dev-python/uv-build/uv-build-0.9.21.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 ~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.9.25.ebuild b/dev-python/uv-build/uv-build-0.9.25.ebuild deleted file mode 100644 index 639745396c25..000000000000 --- a/dev-python/uv-build/uv-build-0.9.25.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.28.ebuild b/dev-python/uv-build/uv-build-0.9.28.ebuild deleted file mode 100644 index 639745396c25..000000000000 --- a/dev-python/uv-build/uv-build-0.9.28.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.30.ebuild b/dev-python/uv-build/uv-build-0.9.30.ebuild deleted file mode 100644 index 639745396c25..000000000000 --- a/dev-python/uv-build/uv-build-0.9.30.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index e9ab08d769c5..344b0908d372 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -1,13 +1,9 @@ -DIST uv-0.10.0-crates.tar.xz 40475984 BLAKE2B 8146350fd684ac9aeadda44142b8fb0b0dd8652530de27b61100178c7095a2bd75ea4005b120dc978c468e0f896fe4a7d54ee38d86754c9e05648e05c5358ce2 SHA512 8ce9f23b552ff002b52e74ae85638b5ac139341a3045f35c4721e339590c2edc96e09614718d1278b39ea4661f36e6d1598f2b892b7e41961bb131c7352bfff1 -DIST uv-0.10.0.gh.tar.gz 4924383 BLAKE2B 957a9ab408ad5f07416a76a97f23d0bb41b22a1d1ebffc6a84e41c382b8cf271094bce08be19d5649fd9866d22c75619c3561b79659c65c99fa45ea318b6bf95 SHA512 84bf1ecfa730cbb4fe4c602dba3ef3d58bf070472cde5f160291fabfdd7630fd8dcbb45b10e7abcb00db6898d5cefa8ac616c68dfa56bb15640ce6211caff51d +DIST uv-0.10.10-crates.tar.xz 41709176 BLAKE2B b37f5b1f94c697866885418071c268fe9ff9fa3585000b8a64fab5aa86054b1f2386f0629b5d6213f13a4a0974cd730be17ebf56d1674cce5b563c5fe3ce2d2e SHA512 b4c1914e0a9ed398e1544a80e053c49f2e38a75778e86e881710acdfb758159b1f521538876a5120c8561c0b370da9d797f4c58bccefb2ee6a6bc829e1cd5eff +DIST uv-0.10.10.gh.tar.gz 5085650 BLAKE2B 98a1a3d9cef9f54977a9da42bd02b163185ca4181f0f7c73b09a3d3c2a7fe600f9ee65fa6e9f792bcaa6ea1676480e82c2aeda89719115214095a7937b40b069 SHA512 b95ad2534ecc57f2a4e4235d632c006283cdf0ccb8c629be880f45137cbc17ed2ee3b0a6459bbedc0603ee9b044044495a67752c549daabd9e49484afc343635 DIST uv-0.10.2-crates.tar.xz 40488272 BLAKE2B 7b60ce55ac335b4f22c14e4029451e5931a52d2fbd2342d53d444a84ea50383ba79c5152b0f394d49937dd5e0d7449f92bf69fd6a32e3509f682403533eb9f8b SHA512 7fdac474d6b6cbd4ff22e40396b47edcf050ace6d7d74885c90e6833169ba2051d392b2f70f7a8dc9d12cecb7fc81102a556c5b5510cd678be996a3e90ff2e08 DIST uv-0.10.2.gh.tar.gz 4927786 BLAKE2B bdbc9014a9362121205f12046eea0999838c9a72bf6d3cb347c51c13f92cb7b5b4524b4abcc81caac297645f2863e577981b033a4ee6a29166cd818aec06a6ad SHA512 7592217ce76cd0a418a4979df045890e215c5bcff53d18e34924e0d57ec388fc8ce56b3fdc7ee473f131de5d04a4349b1dbb9d5a585493a0cd9a22dfd51e9cfc -DIST uv-0.10.3-crates.tar.xz 40664424 BLAKE2B 78f8834b7f78b74448d77dbb9e12f31c472561e8104fee73fdd70b449818b2deaa6e6600ffec1e65b533fa1b39c3703f43a71996e90036b4e045c1ec786184f0 SHA512 e79f416a6afc01cafca081e34759ee3f873239f321a17147b1ee1badbb22289feea29d003da79ca2274ef151f4f42947be4675182be4912a9590ee7f84a9165d -DIST uv-0.10.3.gh.tar.gz 4944734 BLAKE2B f2b65afbcdb88ec7d77b22ac44123aca4a2e6424d69abbd290d9b51a6470f954938e8cd9f5bb65fba2b3a5ee4383692fab3a15dd020529935021a547e3fed11d SHA512 a8f41a5fc74b30f8e0dd7bd24786148a35230f14237872211e56539f3892b02b59a0e06ad6400fa000b13c659b6286065294337c73749f6c51aca17f22ed5d69 DIST uv-0.10.4-crates.tar.xz 40639148 BLAKE2B 3cd5b71f5e276b0df754d452014e068eefbc90ad15888e130de0678f7e423ec2c28fea97d4ae896e0b6104ba3fe67a62ad5e968fab1fb5064b618df00aafde18 SHA512 c7cbfd337f382b759de159c7dd1b28419228ad18d3da1fcbf16e23eaaec0dd02cf68f16d6ed834b1046700702d22b4a1448de20440889078f5aab4750fce921a DIST uv-0.10.4.gh.tar.gz 4944819 BLAKE2B 2b450f9822454118d18720449cfa0ad07279bf35077e61cc7212fe14a919468c35c7ce50c6d458049536b25b3e80fbd5d710c74c8fad45a99db58152acaf3d8c SHA512 0ca01e6d42ac1e773b0366b9ffa44806ec4c19a920f9c33c9d6cc12dbc60d7564b8667bce85628db1e571b7c478bec3946c48875a42f45f77da6be78f2de5f37 -DIST uv-0.10.5-crates.tar.xz 41620476 BLAKE2B a8391e50bede2a9472f9449e95c179c502456da1030995eda3d5c2cdb922c7d45f95e95665233ef944380b19cf2360e1cf1ca43e851b898a3305f9e9f541e232 SHA512 bd78dc089160da67e4f503fd8307ed07d33255545f3cd226f6085919c1e6867c1b3cbdb2dc93dd1e854e5da549228db74ea595199fa87460b84b11596d53c3e7 -DIST uv-0.10.5.gh.tar.gz 4964729 BLAKE2B 10e13b772f2a175e066a49c0819531d332f716dfb608a81d38e31a7651bfc3e1da23cd4b89147484538dba891bf2161e927f6d19c0992ff83a12a723a0ca7e1a SHA512 7a01860e173f386f7feef10a33f9c49958e872a52df85627aadf7c09a54d4f8b01e429e91a83d96bcf7ac14ff9de01c2406fe7cb45b0128836328cd4a79895f9 DIST uv-0.10.6-crates.tar.xz 41620476 BLAKE2B a8391e50bede2a9472f9449e95c179c502456da1030995eda3d5c2cdb922c7d45f95e95665233ef944380b19cf2360e1cf1ca43e851b898a3305f9e9f541e232 SHA512 bd78dc089160da67e4f503fd8307ed07d33255545f3cd226f6085919c1e6867c1b3cbdb2dc93dd1e854e5da549228db74ea595199fa87460b84b11596d53c3e7 DIST uv-0.10.6.gh.tar.gz 4969125 BLAKE2B e820fd59458e890ba847d0334efdc3e3cdc0692e06d820fae742f2a8f801f96559de75d9f2fdfc8bb1bff9e644fb1af3f83de4b5b960304b247d8f485b7d4a1a SHA512 5237b6961677d981af3320bb53958712c43f95de17af1d172015ba2ea80e02189b5ff9ea35d594211a4341bcaf8f55858a68ca5625c5d3dc7d17e5acaf39837d DIST uv-0.10.7-crates.tar.xz 41627264 BLAKE2B 59f9c7cf092da54748ba38d6bea9c841d533e28db66f6fd3ac6017cf8729c069663ca683890419078cec8bd484bafdaad3d1753ff5e3dfbcec541decf2b53277 SHA512 ae1fe88cf1db2bcb9e360b1cfc804da49976e73748cb0910737857464993a0eddfe63b974488df0415af577dfb7ac0de4db39dce6e732996099d5971e99b5349 @@ -16,11 +12,3 @@ DIST uv-0.10.8-crates.tar.xz 41594192 BLAKE2B 0ab30f04b93ac1d2b1660da4d10203d69e DIST uv-0.10.8.gh.tar.gz 4993223 BLAKE2B e38bcc018c815bb272ad85fb150f2dc34b622bb8d5763048c66743ff6e1deae7885e5e912656aaf4f9f5f412f217fef30725307289f145c18a54b5558f866c36 SHA512 d5eef1a7a46e25bbe534769c3b2894d573f50221b1dfb4ec78abaa73ec78fbe75f2cb785f2101155c5b7a7984138ff20efc3a51548a0209ffbf7aff8367e4960 DIST uv-0.9.15-crates.tar.xz 46539408 BLAKE2B 57e582f56e12858292d1dfaec10292eb58fb118051618875eab0d2dcd4f55aa89de6f788b3aa5013ce5e03068bb404ef04faae633d5c208f382366ac5ddf70df SHA512 4db7549d6902682db7af385e5099e74bbd82e54aaf45a44fe64416fda91e065f4bf978b9db55ab72f2872f9e8933b49020102b959c1d2bcef4b9a9877ac1e789 DIST uv-0.9.15.gh.tar.gz 4887603 BLAKE2B 422a3c004abdf052438b145400675010b1adfc8cb8d49979367544e2d381389594188276fe603ffa983f5926be624f5d863053bd79342eeee10caf1260b2a479 SHA512 2605e2e7d5f6fdbb5ec4839363f65c8e71559944ec003cb9c69040be08094eb5c041831151b669e2dbbcf1799e862f484a21a592090524f79686469eac0e3381 -DIST uv-0.9.21-crates.tar.xz 48642776 BLAKE2B 4ce225a3639d02ea05014c2132a7fd8baf53f3bd0bf3cafc6ebde144f2cea982426835f91bcb587e8dba122afe381c5a0ffa654667d4677f0b0b18b4b63a2f2e SHA512 db391109602bf1afbe868740ee977e76f92911136f61a9db8918ca89bcabdad02b75f1892cef200a370ea91829e177fd6c775aff9522f72fb90f2fc9d3acb22a -DIST uv-0.9.21.gh.tar.gz 4799580 BLAKE2B 88a65fd86bc3b124e6470c701c387bfe2b4a41c21d4eb82870966b94ab6db6fc5819aaaf2c04c04d1cd2ed367353e995185103ce145e88dc17f9bba507e9a162 SHA512 38c852dfca2bdfa839c37342ace2482d5182e2d4f7b4334ee32da200364912ccbedda04cf08cf89d974ad0f82c374444a19156c9df65ce11019d4a214bf26eb3 -DIST uv-0.9.25-crates.tar.xz 48574824 BLAKE2B ad3fd45f6ad0ff2b84dd092adaec061539b46293bce4c05c694a1aac32ba00cafd3b6ae419149e8251baf7bc6928f8a07c7237e356731d29e222a13093d9388f SHA512 c022e7cb8f9d539e9e52c48f31b8958e570cbd117db8bac4b8ecaf1ba5fd434dab451ebb32a419e426d845f3edafa07b6ad87f270da09f37d61e2ba4104ad046 -DIST uv-0.9.25.gh.tar.gz 4834894 BLAKE2B 2aa0542dd6754213a61973541b08c03bb0b42733c518899ccb770a81fdcff7ff57183de60540ae1c878390a358ff765b3f2c5639a1b1790e04b9751ff49a8093 SHA512 f578b7f51f4330e55fa3e9db4db428f074bb8762e41ce840032857893304a807a00d6544fc23588abbe9dc584925261f5a3232a62c8cf5da5b237fafef5b520e -DIST uv-0.9.28-crates.tar.xz 40486928 BLAKE2B 51f658d27d85b40b2eabb1e4369e43517e86a211a81ec946f4ca58c4507e0685d65f26ffdf07c0c821213edda865d249a7f3f346ffda9c176eaeab8323fc9f12 SHA512 9f942d809ed5a3806887d8bca616bb904ebe9d0d1c83beec62bd5dcade2c2d566c6db5f0a00abe018cc28ab4ef3e7ff567faa0687557040cbe5a79401d9012b3 -DIST uv-0.9.28.gh.tar.gz 4901290 BLAKE2B b5da19f7ddb271d952a71b20262319957809ada26ff73c194239cb6473bbc3c9d0ada3af2e7c3f753f3aed299ba8640f9ea75a573eed66ea5641b93cb19f81f6 SHA512 5ecd47127f630596d81db5c33e5f279fba5b1249ef3dd92269cbdf4f7ade4fe750c0fa1093b557d456504abdb832b7682c81a2945efcd6f1b9d10d933a21bb61 -DIST uv-0.9.30-crates.tar.xz 40470584 BLAKE2B 79f17de0df630b20bcaba8b4649fba3e7eb41aaeedfb348a21b1f00132112bb4d1a0715af5f3fda8afbbaabc09a1f2143e372f76ed632caa6ce7a4a2d6f3036b SHA512 9ef56e24e13247785e204501ad5136cc78fcfe419d2838b683a7cbc915702ea2a6d5fbfa6e3fe884f34a186c62d65a94ca5aca811d31bfba33f60a2d77b9715c -DIST uv-0.9.30.gh.tar.gz 4916626 BLAKE2B 975eb7a93005cd3fb44e6ca65b37f389a47a65ef96d1cb3350e128c0b7cfdc249da6e1fc53a89e53cc72c885f6bc645d3d2aa742a44778f84a824ff04ab78edf SHA512 15484325d652e07a23b29284f25d496920819609d2375c5e91b8ae9fba7dc084d5ade22fb5610237a2a92b69a088fee6028f8f2dbb2ba113393fca1687b99062 diff --git a/dev-python/uv/uv-0.10.0.ebuild b/dev-python/uv/uv-0.10.0.ebuild deleted file mode 100644 index 4bc9aace14fe..000000000000 --- a/dev-python/uv/uv-0.10.0.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.91.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - test-git - test-pypi - test-python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.10.3.ebuild b/dev-python/uv/uv-0.10.10.ebuild index 73993f9a17fd..ea2607714c56 100644 --- a/dev-python/uv/uv-0.10.3.ebuild +++ b/dev-python/uv/uv-0.10.10.ebuild @@ -5,7 +5,7 @@ EAPI=8 CRATES=" " -RUST_MIN_VER="1.91.0" +RUST_MIN_VER="1.92.0" inherit cargo check-reqs @@ -39,7 +39,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" diff --git a/dev-python/uv/uv-0.10.5.ebuild b/dev-python/uv/uv-0.10.5.ebuild deleted file mode 100644 index 73993f9a17fd..000000000000 --- a/dev-python/uv/uv-0.10.5.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.91.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB BZIP2 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF - - # uv is now forcing bundled liblzma, sigh - sed -i -e '/xz/s:"static"::' Cargo.toml || die -} - -src_configure() { - local myfeatures=( - test-git - test-pypi - test-python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.9.21.ebuild b/dev-python/uv/uv-0.9.21.ebuild deleted file mode 100644 index fe3eb6a3dc83..000000000000 --- a/dev-python/uv/uv-0.9.21.ebuild +++ /dev/null @@ -1,168 +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.89.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # 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.25.ebuild b/dev-python/uv/uv-0.9.25.ebuild deleted file mode 100644 index 034a691346b0..000000000000 --- a/dev-python/uv/uv-0.9.25.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.89.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # 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.28.ebuild b/dev-python/uv/uv-0.9.28.ebuild deleted file mode 100644 index 30f3883671ff..000000000000 --- a/dev-python/uv/uv-0.9.28.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.91.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.9.30.ebuild b/dev-python/uv/uv-0.9.30.ebuild deleted file mode 100644 index 30f3883671ff..000000000000 --- a/dev-python/uv/uv-0.9.30.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" -RUST_MIN_VER="1.91.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} |
