uv: rebuild for libgit2-1.7

This commit is contained in:
Marcin Puc 2024-03-22 09:31:51 +01:00 committed by cinerea0
parent 79f7b78302
commit 70260b7800

View file

@ -1,7 +1,7 @@
# Template file for 'uv'
pkgname=uv
version=0.1.24
revision=1
revision=2
build_style=python3-pep517
build_helper="rust qemu"
hostmakedepends="maturin cargo cmake pkg-config"
@ -16,12 +16,6 @@ checksum=9a9d91d1a5dcfecf5029931530d417fc3febf4c469d7d7b9567845c4210bb59b
# many tests require old python versions
make_check=no
post_patch() {
# Downgrade to use system libgit2 1.6
vsed -i 's/git2 =.*"0.18.1".*/git2 = "0.17.2"/' Cargo.toml
cargo update --package git2@0.18.2 --precise 0.17.2
}
post_install() {
vlicense LICENSE-MIT
for sh in bash fish zsh; do