diff --git a/srcpkgs/git-cliff/patches/downgrade-git2.patch b/srcpkgs/git-cliff/patches/downgrade-git2.patch index eda09bc98e9..258d95adffd 100644 --- a/srcpkgs/git-cliff/patches/downgrade-git2.patch +++ b/srcpkgs/git-cliff/patches/downgrade-git2.patch @@ -1,12 +1,12 @@ diff --git a/git-cliff-core/Cargo.toml b/git-cliff-core/Cargo.toml -index fbcfbb2..7209a63 100644 +index d7611bc..f88a763 100644 --- a/git-cliff-core/Cargo.toml +++ b/git-cliff-core/Cargo.toml -@@ -28,7 +28,7 @@ toml = "0.8.1" - lazy-regex = "3.0.2" +@@ -59,7 +59,7 @@ futures = { version = "0.3.30", optional = true } + url = "2.5.0" [dependencies.git2] --version = "0.18.1" +-version = "0.18.2" +version = "0.17" default-features = false optional = true diff --git a/srcpkgs/git-cliff/template b/srcpkgs/git-cliff/template index d42b45d8815..ba1241984e6 100644 --- a/srcpkgs/git-cliff/template +++ b/srcpkgs/git-cliff/template @@ -1,12 +1,16 @@ # Template file for 'git-cliff' pkgname=git-cliff -version=1.4.0 +version=2.0.2 revision=1 archs="x86_64* i686* aarch64* arm*" # ring build_style=cargo build_helper=qemu make_install_args="--path git-cliff" -make_check_args="-- --skip repo::test::git_log --skip repo::test::git_tags" # This test fails without a git repo +# These tests fail without a git repo +make_check_args="-- + --skip repo::test::git_log + --skip repo::test::git_tags + --skip repo::test::git_upstream_remote" hostmakedepends="pkg-config" makedepends="libgit2-devel" short_desc="Changelog generator based on conventional commits" @@ -15,10 +19,10 @@ license="Apache-2.0, MIT" homepage="https://github.com/orhun/git-cliff" changelog="https://raw.githubusercontent.com/orhun/git-cliff/main/CHANGELOG.md" distfiles="https://github.com/orhun/git-cliff/archive/refs/tags/v${version}.tar.gz" -checksum=8ec9a2c9cd0e97a8111a82bcf2fce415f40818897bdc76a2c5cc63d99114ec30 +checksum=ab29fbda532bec2a344d99f39b7998063c576efee92a1bee083c6fba5f52e4ef post_patch() { - cargo update --package git2@0.18.1 --precise 0.17.2 + cargo update --package git2@0.18.2 --precise 0.17.2 } post_install() {