2024-02-16 13:27:27 +01:00
|
|
|
# Template file for 'uv'
|
|
|
|
pkgname=uv
|
2024-05-17 18:05:40 +02:00
|
|
|
version=0.1.44
|
2024-04-06 01:37:45 +02:00
|
|
|
revision=1
|
2024-02-16 13:27:27 +01:00
|
|
|
build_style=python3-pep517
|
|
|
|
build_helper="rust qemu"
|
|
|
|
hostmakedepends="maturin cargo cmake pkg-config"
|
2024-04-20 04:13:17 +02:00
|
|
|
makedepends="rust-std openssl-devel libgit2-devel libssh2-devel zlib-devel libzstd-devel"
|
2024-02-16 13:27:27 +01:00
|
|
|
short_desc="Extremely fast Python package installer and resolver"
|
|
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
|
|
license="Apache-2.0, MIT"
|
|
|
|
homepage="https://github.com/astral-sh/uv"
|
|
|
|
changelog="https://github.com/astral-sh/uv/raw/main/CHANGELOG.md"
|
|
|
|
distfiles="https://github.com/astral-sh/uv/releases/download/${version}/source.tar.gz"
|
2024-05-17 18:05:40 +02:00
|
|
|
checksum=295c120a2b63297d929ee9592c9b1993435a0c6907436d14f8bb93cff5ac4800
|
2024-02-16 13:27:27 +01:00
|
|
|
# many tests require old python versions
|
|
|
|
make_check=no
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE-MIT
|
|
|
|
for sh in bash fish zsh; do
|
|
|
|
vtargetrun "$DESTDIR"/usr/bin/uv --generate-shell-completion "$sh" > "uv.$sh"
|
|
|
|
vcompletion "uv.$sh" "$sh"
|
|
|
|
done
|
|
|
|
}
|