commit: 5065f6c487ad084525c113b923752789abdb8860
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 8 04:01:11 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 8 04:44:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5065f6c4
dev-python/uv-build: Bump to 0.6.13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/uv-build/Manifest | 1 +
dev-python/uv-build/uv-build-0.6.13.ebuild | 41 ++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest
index f5ed92312728..5ab3e0004cd5 100644
--- a/dev-python/uv-build/Manifest
+++ b/dev-python/uv-build/Manifest
@@ -1 +1,2 @@
DIST uv_build-0.6.11.tar.gz 292635 BLAKE2B
906d310f6884def53d4b739d0b2d246be4a2651b8add2ec94665128d9cd815830de9246ce5e7c1850842673d56c829547ebd1d707ca69984bbc15183f3ade0d8
SHA512
b68ff4c87b21bae1095ac622fdb4ed60610e44db9c73c0ae29c5566ee30ecdfee39a0c8a0659a70101c72dd04317de80f2ac7a377d2ad5a2c59fa4adabeb7c5b
+DIST uv_build-0.6.13.tar.gz 292732 BLAKE2B
af5eeeb12c572fb11c95e85a342cdad91b9bb7bb1970351b75d38e94846b9f2049729691e9d125b2a7818a8d48eb668e4d3ffdf4dcc58ec18f9a790fb990e836
SHA512
a00af900bdde243a11de9a8d2c837229fa9ee7b9296b2a6d79c67580b9548a9fd1ef99dd5d77d680c147d69def2bb21852e6cba572946195b7b682cbc3e60799
diff --git a/dev-python/uv-build/uv-build-0.6.13.ebuild
b/dev-python/uv-build/uv-build-0.6.13.ebuild
new file mode 100644
index 000000000000..39fada98c1d0
--- /dev/null
+++ b/dev-python/uv-build/uv-build-0.6.13.ebuild
@@ -0,0 +1,41 @@
+# 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
+}