From d04c98215975b2146ed7375c25d79b6080a1ea0b Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Thu, 30 Nov 2023 09:55:00 +0100 Subject: [PATCH] cocogitto: update to 6.0.1 --- srcpkgs/cocogitto/patches/downgrade-git2.patch | 13 +++++++++++++ srcpkgs/cocogitto/template | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/cocogitto/patches/downgrade-git2.patch diff --git a/srcpkgs/cocogitto/patches/downgrade-git2.patch b/srcpkgs/cocogitto/patches/downgrade-git2.patch new file mode 100644 index 0000000000000..8273f1eb15df0 --- /dev/null +++ b/srcpkgs/cocogitto/patches/downgrade-git2.patch @@ -0,0 +1,13 @@ +diff --git a/Cargo.toml b/Cargo.toml +index e84724f..9a01b29 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -20,7 +20,7 @@ codegen-units = 1 + panic = "abort" + + [dependencies] +-git2 = { version = "0.18.1", default-features = false, features = [] } ++git2 = { version = "0.17", default-features = false, features = [] } + anyhow = "^1" + colored = "^2" + chrono = { version = "0.4.19", features = ["serde"] } diff --git a/srcpkgs/cocogitto/template b/srcpkgs/cocogitto/template index e8ab6178e3a14..e0cf7481a0231 100644 --- a/srcpkgs/cocogitto/template +++ b/srcpkgs/cocogitto/template @@ -1,6 +1,6 @@ # Template file for 'cocogitto' pkgname=cocogitto -version=5.6.0 +version=6.0.1 revision=1 build_style=cargo build_helper=qemu @@ -13,12 +13,12 @@ license="MIT" homepage="https://github.com/cocogitto/cocogitto" changelog="https://raw.githubusercontent.com/cocogitto/cocogitto/main/CHANGELOG.md" distfiles="https://github.com/cocogitto/cocogitto/archive/refs/tags/${version}.tar.gz" -checksum=eea9655f4750cb2567eaca9ca4968a3a639f9003242ef733b205bf5410d90c86 +checksum=2a0e332b7028ffcfeb113c734b4bf506c34362730e371b03a3e4a71142099330 # Test suite is not atomic, relies on user environment such as git user configuration make_check=no post_patch() { - cargo update --package git2@0.16.1 --precise 0.17.2 + cargo update --package git2@0.18.1 --precise 0.17.2 } post_install() {