26 lines
893 B
Bash
26 lines
893 B
Bash
# Template file for 'uv'
|
|
pkgname=uv
|
|
version=0.1.29
|
|
revision=1
|
|
build_style=python3-pep517
|
|
build_helper="rust qemu"
|
|
hostmakedepends="maturin cargo cmake pkg-config"
|
|
makedepends="rust-std openssl-devel libgit2-devel libssh2-devel zlib-devel"
|
|
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"
|
|
checksum=dad20061d2e13b281925c26f6e1f0872852d095774b241ca8d963a13da4f4249
|
|
# 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
|
|
}
|