From 2c6f05561ebbbebbd5c116e7a4d14fcac2d8e9c7 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Mon, 19 Feb 2024 13:26:03 +0100 Subject: [PATCH] git-cliff: update to 2.0.2 --- srcpkgs/git-cliff/patches/downgrade-git2.patch | 8 ++++---- srcpkgs/git-cliff/template | 12 ++++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/srcpkgs/git-cliff/patches/downgrade-git2.patch b/srcpkgs/git-cliff/patches/downgrade-git2.patch index eda09bc98e9e9..258d95adffdb1 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 d42b45d881562..ba1241984e6b2 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() {