commit:     71503b05d12a09f41377436253c867a5214cb7e8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 12:15:08 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 18 13:04:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71503b05

dev-python/uv-build: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/uv-build/Manifest                       |  2 --
 .../uv-build/files/uv-build-0.6.9-use-uv.patch     | 18 ----------
 dev-python/uv-build/uv-build-0.6.13.ebuild         | 41 ----------------------
 dev-python/uv-build/uv-build-0.6.14.ebuild         | 41 ----------------------
 4 files changed, 102 deletions(-)

diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest
index c9fdbfa95e3e..dcbf686662df 100644
--- a/dev-python/uv-build/Manifest
+++ b/dev-python/uv-build/Manifest
@@ -1,3 +1 @@
-DIST uv_build-0.6.13.tar.gz 292732 BLAKE2B 
af5eeeb12c572fb11c95e85a342cdad91b9bb7bb1970351b75d38e94846b9f2049729691e9d125b2a7818a8d48eb668e4d3ffdf4dcc58ec18f9a790fb990e836
 SHA512 
a00af900bdde243a11de9a8d2c837229fa9ee7b9296b2a6d79c67580b9548a9fd1ef99dd5d77d680c147d69def2bb21852e6cba572946195b7b682cbc3e60799
-DIST uv_build-0.6.14.tar.gz 293296 BLAKE2B 
2c6a747a3099f3bac647b1d3bcfc62b66fe56f1a3a35da19b1d1c8945bca6a23bfa4e15a4c36c1ab29279b86de74959ec1b6da631c1f6594ec385e98800353ef
 SHA512 
6443abbfa04223a9483d521576caf2a27dc46abd6e6dfe1ed09637069a9f147e83953048f54ee4f7a34f58bb53b766b14340d6a50ac9331b821a2887dd682f73
 DIST uv_build-0.6.17.tar.gz 300696 BLAKE2B 
3f15068232e20b4b70ef319f90a258efc0d38be668bc438c91354b5ede4cb03235abc912292e2747249eab5c54c1fbc3cfa91ab1335881b975fce9677340c54e
 SHA512 
2827629a11a9775661554f3eae4f3c6018637203c18f739ce728973ee0e7f905bef7c9fcc200f95393e2e13c167e31fdf0ab8dced59c028c3c600d47ba373752

diff --git a/dev-python/uv-build/files/uv-build-0.6.9-use-uv.patch 
b/dev-python/uv-build/files/uv-build-0.6.9-use-uv.patch
deleted file mode 100644
index 6e0f96d46ec3..000000000000
--- a/dev-python/uv-build/files/uv-build-0.6.9-use-uv.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/python/uv_build/__init__.py b/python/uv_build/__init__.py
-index c8ce9c5..835ba0f 100644
---- a/python/uv_build/__init__.py
-+++ b/python/uv_build/__init__.py
-@@ -39,11 +39,11 @@ def call(
- 
-     warn_config_settings(config_settings)
-     # Unlike `find_uv_bin`, this mechanism must work according to PEP 517
--    uv_bin = shutil.which("uv-build")
-+    uv_bin = shutil.which("uv")
-     if uv_bin is None:
-         raise RuntimeError("uv was not properly installed")
-     # Forward stderr, capture stdout for the filename
--    result = subprocess.run([uv_bin, *args], stdout=subprocess.PIPE)
-+    result = subprocess.run([uv_bin, "build-backend", *args], 
stdout=subprocess.PIPE)
-     if result.returncode != 0:
-         sys.exit(result.returncode)
-     # If there was extra stdout, forward it (there should not be extra stdout)

diff --git a/dev-python/uv-build/uv-build-0.6.13.ebuild 
b/dev-python/uv-build/uv-build-0.6.13.ebuild
deleted file mode 100644
index 39fada98c1d0..000000000000
--- a/dev-python/uv-build/uv-build-0.6.13.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-# maturin compiles uv-build executable for every impl, we do not want
-# that, so we hack hatchling into installing the Python module instead.
-DISTUTILS_UPSTREAM_PEP517=maturin
-PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
-
-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"
-
-RDEPEND="
-       >=dev-python/uv-${PV}
-"
-
-src_prepare() {
-       local PATCHES=(
-               # use 'uv build-backend' instead of compiling uv-build 
executable
-               # that largely overlaps with dev-python/uv
-               "${FILESDIR}/${PN}-0.6.9-use-uv.patch"
-       )
-
-       distutils-r1_src_prepare
-
-       cat >> pyproject.toml <<-EOF || die
-               [tool.hatch.build.targets.wheel]
-               packages = ["python/uv_build"]
-       EOF
-}

diff --git a/dev-python/uv-build/uv-build-0.6.14.ebuild 
b/dev-python/uv-build/uv-build-0.6.14.ebuild
deleted file mode 100644
index 39fada98c1d0..000000000000
--- a/dev-python/uv-build/uv-build-0.6.14.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-# maturin compiles uv-build executable for every impl, we do not want
-# that, so we hack hatchling into installing the Python module instead.
-DISTUTILS_UPSTREAM_PEP517=maturin
-PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
-
-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"
-
-RDEPEND="
-       >=dev-python/uv-${PV}
-"
-
-src_prepare() {
-       local PATCHES=(
-               # use 'uv build-backend' instead of compiling uv-build 
executable
-               # that largely overlaps with dev-python/uv
-               "${FILESDIR}/${PN}-0.6.9-use-uv.patch"
-       )
-
-       distutils-r1_src_prepare
-
-       cat >> pyproject.toml <<-EOF || die
-               [tool.hatch.build.targets.wheel]
-               packages = ["python/uv_build"]
-       EOF
-}

Reply via email to