Skip to content

Commit dd5c9be

Browse files
committed
uv: update to 0.10.6, enable uv-build
Signed-off-by: stydxm <stydxm@outlook.com>
1 parent 91216fd commit dd5c9be

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

lang-python/uv/autobuild/build

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
abinfo "Building uv ..."
2+
export tripple="$(rustc --print host-tuple)"
3+
maturin build --locked --release --target "$tripple" --strip --compatibility linux
4+
maturin build --locked --release --target "$tripple" --strip --compatibility linux -m crates/uv-build/Cargo.toml
5+
6+
abinfo "Installing uv ..."
7+
python3 -m installer "$SRCDIR"/target/wheels/uv_*.whl --destdir "$PKGDIR"
8+
python3 -m installer "$SRCDIR"/target/wheels/uv_build-*.whl --destdir "$PKGDIR"

lang-python/uv/autobuild/defines

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
PKGNAME=uv
22
PKGSEC=utils
3-
# FIXME: rustc depends on llvm-20 while our default llvm is llvm-18.
4-
# Invalid attribute group entry (Producer: 'LLVM20.1.6' Reader: 'LLVM 18.1.8')
5-
BUILDDEP="llvm-20 rustc maturin"
3+
BUILDDEP="llvm rustc maturin"
64
PKGDEP="glibc gcc-runtime zlib bzip2"
7-
PKGDES="A Python package and project manager"
5+
PKGDES="Python package and project manager"
86

7+
ABTYPE=self
98
# FIXME: ld.lld doesn't work properly on loongson3
109
NOLTO__LOONGSON3=1

lang-python/uv/spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VER=0.10.5
1+
VER=0.10.6
22
SRCS="git::commit=tags/$VER::https://github.com/astral-sh/uv"
33
CHKSUMS="SKIP"
44
CHKUPDATE="anitya::id=372636"

0 commit comments

Comments
 (0)