aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/uv/template
blob: 18f97578db3d34607e4e5ade2074d44d00c88a21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Template file for 'uv'
pkgname=uv
version=0.2.11
revision=1
build_style=python3-pep517
build_helper="rust qemu"
hostmakedepends="maturin cargo cmake pkg-config"
makedepends="rust-std libzstd-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=75555dfd78bfd30f0b32e7515413319920bd1fcc88c4130c4fe02516dbd2bc58
# 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
}