cocogitto: rebuild for libgit2-1.7

This commit is contained in:
Marcin Puc 2023-09-08 17:14:39 +02:00 committed by cinerea0
parent a3c2075fea
commit 6018eca57c
2 changed files with 1 additions and 18 deletions

View File

@ -1,13 +0,0 @@
diff --git a/Cargo.toml b/Cargo.toml
index 2608ea1..b0d3282 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,7 +20,7 @@ codegen-units = 1
panic = "abort"
[dependencies]
-git2 = { version = "0.18.2", default-features = false, features = [] }
+git2 = { version = "0.17", default-features = false, features = [] }
# Do not bump anyhow, (see: https://github.com/dtolnay/anyhow/issues/353)
anyhow = "1.0.75"
colored = "^2"

View File

@ -1,7 +1,7 @@
# Template file for 'cocogitto'
pkgname=cocogitto
version=6.1.0
revision=1
revision=2
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
@ -17,10 +17,6 @@ checksum=756bc574f311311639723297f3dc793f7494d9b3ae375d6bc3e6e714432d08f0
# Test suite is not atomic, relies on user environment such as git user configuration
make_check=no
post_patch() {
cargo update --package git2@0.18.2 --precise 0.17.2
}
post_install() {
local cog="${DESTDIR}/usr/bin/cog"
for shell in bash zsh fish; do