Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / uv


Commits:
bac6fdb3 by Caleb Maclennan at 2024-04-18T10:51:50+03:00
upgpkg: 0.1.33-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = uv
        pkgdesc = An extremely fast Python package installer and resolver 
written in Rust
-       pkgver = 0.1.31
+       pkgver = 0.1.33
        pkgrel = 1
        url = https://github.com/astral-sh/uv
        arch = x86_64
@@ -20,8 +20,8 @@ pkgbase = uv
        depends = zlib
        depends = libz.so
        options = !lto
-       source = git+https://github.com/astral-sh/uv.git#tag=0.1.31
-       sha256sums = 
7f87a3be084e66ccfbdac45a0e0e040d14621918f226f46ce3c0e3649b69ab32
+       source = git+https://github.com/astral-sh/uv.git#tag=0.1.33
+       sha256sums = 
a4612682838be13d67f2c4d244e159fbe2c67e89a0bbc1a3ffd9c81ee1e2df62
 
 pkgname = uv
 


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@
 
 pkgbase=uv
 pkgname=("$pkgbase" "python-$pkgbase")
-pkgver=0.1.31
+pkgver=0.1.33
 pkgrel=1
 pkgdesc='An extremely fast Python package installer and resolver written in 
Rust'
 arch=('x86_64')
@@ -20,7 +20,7 @@ makedepends=('cargo' 'maturin' 'python-installer' 'cmake' 
'git')
 checkdepends=('python' 'python-zstandard' 'libxcrypt-compat' 'clang')
 options=('!lto')
 source=("git+$url.git#tag=$pkgver")
-sha256sums=('7f87a3be084e66ccfbdac45a0e0e040d14621918f226f46ce3c0e3649b69ab32')
+sha256sums=('a4612682838be13d67f2c4d244e159fbe2c67e89a0bbc1a3ffd9c81ee1e2df62')
 
 prepare() {
   cd "$pkgbase"
@@ -40,8 +40,12 @@ build() {
 
 check() {
   cd "$pkgbase"
-  python3 ./scripts/bootstrap/install.py
-  cargo test -p uv --frozen --all-features
+  # The upstream cargo tests are unit tests against a matrix of Python versions
+  # using vendored Python installs. Even collapsing the matrix to match our
+  # system Python version and patching around the path issues to use it,
+  # a majority of the unit tests are irrelevant.
+  local _target="target/$(rustc -vV | sed -n 's/host: //p')/release/uv"
+  $_target -V | grep -Fx "$pkgname $pkgver"
 }
 
 _package_common() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/uv/-/commit/bac6fdb3e8b008b9c4f86cc587432a15537c8b39

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/uv/-/commit/bac6fdb3e8b008b9c4f86cc587432a15537c8b39
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to