mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
git-cliff: update to 2.4.0
This commit is contained in:
parent
94eea4bf47
commit
3832fa9c8f
2 changed files with 20 additions and 7 deletions
13
srcpkgs/git-cliff/patches/downgrade-git2.patch
Normal file
13
srcpkgs/git-cliff/patches/downgrade-git2.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/git-cliff-core/Cargo.toml b/git-cliff-core/Cargo.toml
|
||||||
|
index 79cab62..fb21383 100644
|
||||||
|
--- a/git-cliff-core/Cargo.toml
|
||||||
|
+++ b/git-cliff-core/Cargo.toml
|
||||||
|
@@ -76,7 +76,7 @@ url = "2.5.2"
|
||||||
|
dyn-clone = "1.0.17"
|
||||||
|
|
||||||
|
[dependencies.git2]
|
||||||
|
-version = "0.19.0"
|
||||||
|
+version = "0.18"
|
||||||
|
default-features = false
|
||||||
|
optional = true
|
||||||
|
|
|
@ -1,17 +1,13 @@
|
||||||
# Template file for 'git-cliff'
|
# Template file for 'git-cliff'
|
||||||
pkgname=git-cliff
|
pkgname=git-cliff
|
||||||
version=2.3.0
|
version=2.4.0
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64* i686* aarch64* arm*" # ring
|
archs="x86_64* i686* aarch64* arm*" # ring
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
make_install_args="--path git-cliff"
|
make_install_args="--path git-cliff"
|
||||||
# These tests fail without a git repo
|
# These tests fail without a git repo
|
||||||
make_check_args="--
|
make_check_args="-- --skip repo::"
|
||||||
--skip repo::test::git_tags
|
|
||||||
--skip repo::test::git_upstream_remote
|
|
||||||
--skip repo::test::get_latest_commit
|
|
||||||
--skip repo::test::get_latest_tag"
|
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libgit2-devel libzstd-devel"
|
makedepends="libgit2-devel libzstd-devel"
|
||||||
short_desc="Changelog generator based on conventional commits"
|
short_desc="Changelog generator based on conventional commits"
|
||||||
|
@ -20,7 +16,11 @@ license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/orhun/git-cliff"
|
homepage="https://github.com/orhun/git-cliff"
|
||||||
changelog="https://raw.githubusercontent.com/orhun/git-cliff/main/CHANGELOG.md"
|
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"
|
distfiles="https://github.com/orhun/git-cliff/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=a234fa1b78f7d9807ef1e41e6c36e56f178e65aa0f6e1fb7100cf144def2f180
|
checksum=d5791600e440d0842e42f3b0dbc8d503f4902920675054a23f046fbb1c252636
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
cargo update --package git2@0.19.0 --precise 0.18.3
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
|
|
Loading…
Add table
Reference in a new issue