uv: update to 0.4.30.
[void-pkg.git] / srcpkgs / uv / template
blobe4c3e9c46528b64aab6896b5086fad0ae31d9218
1 # Template file for 'uv'
2 pkgname=uv
3 version=0.4.30
4 revision=1
5 build_style=python3-pep517
6 build_helper="rust qemu"
7 hostmakedepends="maturin cargo cmake pkg-config"
8 makedepends="rust-std libzstd-devel bzip2-devel"
9 short_desc="Extremely fast Python package installer and resolver"
10 maintainer="classabbyamp <void@placeviolette.net>"
11 license="Apache-2.0 OR MIT"
12 homepage="https://github.com/astral-sh/uv"
13 changelog="https://github.com/astral-sh/uv/raw/main/CHANGELOG.md"
14 distfiles="https://github.com/astral-sh/uv/releases/download/${version}/source.tar.gz>uv-${version}.tar.gz"
15 checksum=f077365676f0ed0e2275bd55015ad32f381a9d8684559ce9ee4d0e3c84906a0a
17 post_install() {
18         vlicense LICENSE-MIT
19         for sh in bash fish zsh; do
20                 vtargetrun "$DESTDIR"/usr/bin/uv --generate-shell-completion "$sh" > "uv.$sh"
21                 vcompletion "uv.$sh" "$sh"
22         done