dev-python/uv-build: Bump to 0.6.14

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-04-12 13:41:39 +02:00
parent c09d9328d2
commit f8f067af81
2 changed files with 42 additions and 0 deletions

View File

@@ -1 +1,2 @@
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

View File

@@ -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
}