From 5dc0147f54ade5bfc509b1edec07a6a3ebdda0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 19 Oct 2025 04:06:14 +0200 Subject: [PATCH] dev-python/uv-build: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/uv-build/Manifest | 11 --- dev-python/uv-build/uv-build-0.8.15.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.8.16.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.8.17.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.8.18.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.8.19.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.8.20.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.8.22.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.8.23.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.9.0.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.9.1.ebuild | 99 ---------------------- dev-python/uv-build/uv-build-0.9.2.ebuild | 99 ---------------------- 12 files changed, 1100 deletions(-) delete mode 100644 dev-python/uv-build/uv-build-0.8.15.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.8.16.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.8.17.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.8.18.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.8.19.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.8.20.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.8.22.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.8.23.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.9.0.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.9.1.ebuild delete mode 100644 dev-python/uv-build/uv-build-0.9.2.ebuild diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index e64b71e860fc1..84dc2e3f984ae 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,14 +1,3 @@ -DIST uv_build-0.8.15.tar.gz 327897 BLAKE2B c2972d5db464320956707dabdec70e796b03c2ddb4fe2e320d6a688f7099f710fd4e29374cb706e23b3a900e0c055277e24514041ab352d7bd589c92d7d7c6eb SHA512 6b2dc120cad0f0e759d6618d1716ab6c4e07444faa4f185423d428954e5d519f7488b7133108eec9a32bb482112b6368c9beccaf0382e23ced2d3e0292ff3415 -DIST uv_build-0.8.16.tar.gz 330691 BLAKE2B d1c730ee6c8292273a6511383c6c0d015909ff59b67a74152d13bcb390a777c5649cff2b00fb50fb98dfc0100011f7402016f12657279c87e5b09959034ff3af SHA512 1df459afa00271b6fafc3b3abf3558f2b19db2603017a86a371ddfb4eb917304de9ec38d673ce4eda8d05c9432be48ab0b0401e8b89238af19a5de55771b11f1 -DIST uv_build-0.8.17.tar.gz 331207 BLAKE2B fefb1fce9d0669fa242a7639dac3767accc166008bd780778cf2c589faa2e48fec435a1c77244d38ffbc2e79cf9c0e8ad87a99e432ca61c5c2b7cadcfd14028d SHA512 d997be2cc62782d8c305a1a408b99173e876ba70d7af279efd5ea745fb17862754f3b896924822052c2dedc56d332e7ea35228514effe265be340767f0286ec7 -DIST uv_build-0.8.18.tar.gz 330099 BLAKE2B 7a9a144aeae7ab2d9f458d10c2b8786f4d5e22bd64ab38b0b82ea747135d69fc0f4325efff23d7d232e8a6a584acdd8b94c97428f91e20806750967a6fafd6a7 SHA512 1a975786482d957fb0b3b3cf716d3e8dd8d210bcffa562ad60df7f18d4024aaf8dcf2c52a7afdb04c32de469684668cb7c7ec8359d9a7b102024a52ae3e0d785 -DIST uv_build-0.8.19.tar.gz 331154 BLAKE2B 45d594ced0dd59efc9efdb48c2c412d8e619b7fb1b2dbe74e172bae736d35c9ac920763479ba78d7ff60f0f5dddeb75b15b1dbadcf15d10e7c28c17e92971c83 SHA512 91b7b31c5d42b59869b7fe282ee4a5410512a756df90ea68d46015aef950e21c1a61218b75e3d5f9b38cd84b84e99ee0b314943e85344fb00978885ab11e9483 -DIST uv_build-0.8.20.tar.gz 331116 BLAKE2B 0089f4c645a0ddcbf9661c67108f10b72bfe0ab26f096f1176d24f51f88c2ef1f1947329274dbbe367dfe4d1f6d0066a66befbc37ceb184d27609702745b2fa4 SHA512 d13b53e71ea1805fc9530045e52300ce6a06a1d77f41d8f3ab47d0ac1d459d22ce3b5323cf4543a6fb251543821d367c24aeba108fea09de651f84fb78149804 -DIST uv_build-0.8.22.tar.gz 332850 BLAKE2B c3c48c77ecbe53a66f48077143e49ec61af92583618934abb11ef492e29a81759300f3bf7f01ae5cbc986dc1cc77568fd7f30607868f5d8d6dca237379ea7b2d SHA512 eb08f61551bdb4a79ff8978e2008ba160731c477d8e71a6a92266425640e7e053f44970ac6d8119e80b03cda803081ef81758885d5af7d88f9efef818f820340 -DIST uv_build-0.8.23.tar.gz 332290 BLAKE2B 06b569c7ce774476e3e24eb0e4cf8f9f30d590f084df02b88172b19dbe374338003fd912e5ce845a91bc6f4871991d4cd34c551a39a615dc2ecebaf6780726a2 SHA512 3cc9bb53e60e09c7450630f09042ba07bbb61c1ad2731566e57a1d9e157b68a882d53a66bb8b088101c48eb89b4411a55eb96c0969a18c325db79a37e02dba9c DIST uv_build-0.8.24.tar.gz 332743 BLAKE2B de8e695ab1b41139dd6a8d78ae8f895ae4e464f7956019c1f32a9a39109517332ed4e783cc99dddb16c89215d49488081c2139a5edb7f9a7a602d712f1580e9f SHA512 cdeeead6b94e27edf6ebcd5997419032266f4f3fe6deef22c3b850220d5cb5c5416c4d13cbaca543facf417ec12f749bf2f2cac63894047464a3b54275d1a988 DIST uv_build-0.8.6.tar.gz 318772 BLAKE2B faf4f36b32cf308d3c70d52b84bd135d108db4018bc4c7eadf193448e422fe8b0deb1cf68f7264413152697708f9a15748a017d0ece151c19c1677916b3727b9 SHA512 da83c3ba7f2daa1c39a8bac5b18635eff4afc93460ea23b770518ebaf44bef573654e272c117e257f4126124c71a5b661f2751ff36be792c03ee28f257d1eddc -DIST uv_build-0.9.0.tar.gz 332461 BLAKE2B 422c100a5eec0d8973e676be25cdee06c2cfb7e5be1509a4dc1eeb60293633a8e541396125f884809af0e6b5f5135b7841bee7951207d0052a354c61aa5eca4a SHA512 2eaac5ab194e222bd12d569611fc3c1f1238f90f0fc634b529bed004979b8782db506f110563995ad1df0d960246d5db85260f772db62098ece178325ed6f5b0 -DIST uv_build-0.9.1.tar.gz 332775 BLAKE2B 29808da2a83560a3d75d233dd5671a93b532881366dac9fc7963cf8a85b2c84cd8085b7ec9f6275adf1bef75c81700f39ea36f0d713f1ab0a028d9365cd231da SHA512 4dfb14ece44d6f8ed8a9381306d69161e6acea58800c12299af051ede93274869591b482f64023ae4b2f525e5f91b579dbcfef688279f8551988bd563df64944 -DIST uv_build-0.9.2.tar.gz 332728 BLAKE2B b2f6d546cfddf19f53ec10d144ed4f46dcf60f28a85271877742f19668056277fbff51838fc56c6dba7a2dca52524bf07895d264937c7a100913908c82cb87f3 SHA512 71321eb3485b1056b0a152c82765932379ca9f33de19ad4dcaa760e34d1217558fb3367724a9f1ee99324d9fc828445a80969e20536bc192b4715a02c37663d6 DIST uv_build-0.9.3.tar.gz 332769 BLAKE2B 8e813d289d59d2bf8ad4eaffaeb1c8525acaa36215ff9d8e1088ec4fd2ba6d7ac971251c144748805950c0934c24e9c141a860e5ef7332e71d049080852817f1 SHA512 bc1231a3aaaf77b80404281675241b8a27a328100128ec12160f29b574c1f6505a021d18bb5d8a4a23017d73cb8804d6bca5b1c8f27deba823d248744a231cc8 diff --git a/dev-python/uv-build/uv-build-0.8.15.ebuild b/dev-python/uv-build/uv-build-0.8.15.ebuild deleted file mode 100644 index 31ebba59b6cc1..0000000000000 --- a/dev-python/uv-build/uv-build-0.8.15.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=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.8.16.ebuild b/dev-python/uv-build/uv-build-0.8.16.ebuild deleted file mode 100644 index 31ebba59b6cc1..0000000000000 --- a/dev-python/uv-build/uv-build-0.8.16.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.8.17.ebuild b/dev-python/uv-build/uv-build-0.8.17.ebuild deleted file mode 100644 index 31ebba59b6cc1..0000000000000 --- a/dev-python/uv-build/uv-build-0.8.17.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.8.18.ebuild b/dev-python/uv-build/uv-build-0.8.18.ebuild deleted file mode 100644 index 5041ec143fb7f..0000000000000 --- a/dev-python/uv-build/uv-build-0.8.18.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.8.19.ebuild b/dev-python/uv-build/uv-build-0.8.19.ebuild deleted file mode 100644 index a047e409cdbc6..0000000000000 --- a/dev-python/uv-build/uv-build-0.8.19.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.8.20.ebuild b/dev-python/uv-build/uv-build-0.8.20.ebuild deleted file mode 100644 index a047e409cdbc6..0000000000000 --- a/dev-python/uv-build/uv-build-0.8.20.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.8.22.ebuild b/dev-python/uv-build/uv-build-0.8.22.ebuild deleted file mode 100644 index a047e409cdbc6..0000000000000 --- a/dev-python/uv-build/uv-build-0.8.22.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.8.23.ebuild b/dev-python/uv-build/uv-build-0.8.23.ebuild deleted file mode 100644 index a047e409cdbc6..0000000000000 --- a/dev-python/uv-build/uv-build-0.8.23.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.0.ebuild b/dev-python/uv-build/uv-build-0.9.0.ebuild deleted file mode 100644 index 8d74c706f39b6..0000000000000 --- a/dev-python/uv-build/uv-build-0.9.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.1.ebuild b/dev-python/uv-build/uv-build-0.9.1.ebuild deleted file mode 100644 index 8d74c706f39b6..0000000000000 --- a/dev-python/uv-build/uv-build-0.9.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.2.ebuild b/dev-python/uv-build/uv-build-0.9.2.ebuild deleted file mode 100644 index 8d74c706f39b6..0000000000000 --- a/dev-python/uv-build/uv-build-0.9.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -}