mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-vcs/git-cliff: drop old 2.9.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
9fc8c12f39
commit
7ffdf96d6d
@ -2,5 +2,3 @@ DIST git-cliff-2.10.0-crates.tar.xz 32723524 BLAKE2B ab5eed4a8f1572a7c8ad00a2802
|
||||
DIST git-cliff-2.10.0.gh.tar.gz 13067606 BLAKE2B 198ca575645aec7704fe82f6447ecd3858cadbdb3685a0c1526de4ff440661132db91db0debc4a8ebb83a992491f053eb44025454207a106d8f99b096c14d874 SHA512 737ab42f27281931114ce3bbe9438a73193f41f836a9ba35b835a3763c8218784623abfad1e8b6b252670ebf71447bb829ba6e75fef9812b60eb78d743d2d023
|
||||
DIST git-cliff-2.10.1-crates.tar.xz 31885884 BLAKE2B 9392f30564ecfa463f5b234fe516a9b01d5e1c5638cb9a81acbb54fe3c4918d75dd4cc5669cf928e3b3a6535d42b6a842f62a8def590b5bf64cc41237454575f SHA512 4722b6a553a7241ff4f777b06da6b4a6448ce36e7308d3fc2757083ab3a44da42515cd8c13772f66e3ed8ef35bedc14340312d806d440d1330162706680dab07
|
||||
DIST git-cliff-2.10.1.gh.tar.gz 13072444 BLAKE2B d0b17a1ec2598cc938e009bbffdc2367f1a46ddcd6d70a7ca1420e592d0a5596a77a93c406c9cdbbfd599a83fde1e5227388a85eb0b27adb78a77d597cd48df1 SHA512 74e0aafba0fb7f4c8f3f7370de843cfbcc1569232cebe2994d90810234a7fb068d5eb4a0ae84d7b3a5c0f6456bcef1b176f92b80b7f5977a7b5d5f13e8688fbc
|
||||
DIST git-cliff-2.9.1-crates.tar.xz 36436428 BLAKE2B 949df9967197a44e9fd8121045c10fdd35bedf327224ce83913b10fa0cfbecebbc80d05fbe07513ce15c18db93e1a634a31a7139716b67b17c1fbd7b40563976 SHA512 e89212b41c3afee380f96d1b0903e4f5d18436f425f7d9484b19550ad8daa46f1e65753c77d96d97c32ff7cef507ba01df34fba6dd16ead68efc20d844018a73
|
||||
DIST git-cliff-2.9.1.gh.tar.gz 13057370 BLAKE2B bb5082e14a3a8d8ad890f2e79f414875ffd91b95bca949a50c6c5d45c68c4bb47208f7519cd745c3b94678721b907cf5c56c7fb949cd458561841b521a804f74 SHA512 97a460852911f1cb65896de8075aeebbf52e2f1fd55421b8ac379ff1c59d4b8eaf9c5481fc6dcb3da14d877920f6c126f686fed7b4e9dfcc6a02bc36702c6f33
|
||||
|
||||
@ -1,66 +0,0 @@
|
||||
--- a/git-cliff-core/src/repo.rs
|
||||
+++ b/git-cliff-core/src/repo.rs
|
||||
@@ -584,6 +584,7 @@
|
||||
Ok(())
|
||||
}
|
||||
|
||||
+ #[ignore]
|
||||
#[test]
|
||||
fn get_latest_commit() -> Result<()> {
|
||||
let repository = get_repository()?;
|
||||
@@ -594,6 +595,7 @@
|
||||
Ok(())
|
||||
}
|
||||
|
||||
+ #[ignore]
|
||||
#[test]
|
||||
fn commit_search() -> Result<()> {
|
||||
let repository = get_repository()?;
|
||||
@@ -603,6 +605,7 @@
|
||||
Ok(())
|
||||
}
|
||||
|
||||
+ #[ignore]
|
||||
#[test]
|
||||
fn get_latest_tag() -> Result<()> {
|
||||
let repository = get_repository()?;
|
||||
@@ -615,6 +618,7 @@
|
||||
Ok(())
|
||||
}
|
||||
|
||||
+ #[ignore]
|
||||
#[test]
|
||||
fn git_tags() -> Result<()> {
|
||||
let repository = get_repository()?;
|
||||
@@ -656,6 +660,7 @@
|
||||
Ok(())
|
||||
}
|
||||
|
||||
+ #[ignore]
|
||||
#[test]
|
||||
fn git_upstream_remote() -> Result<()> {
|
||||
let repository = get_repository()?;
|
||||
@@ -673,6 +678,7 @@
|
||||
Ok(())
|
||||
}
|
||||
|
||||
+ #[ignore]
|
||||
#[test]
|
||||
fn resolves_existing_tag_with_name_and_message() -> Result<()> {
|
||||
let repository = get_repository()?;
|
||||
@@ -690,6 +696,7 @@
|
||||
Ok(())
|
||||
}
|
||||
|
||||
+ #[ignore]
|
||||
#[test]
|
||||
fn resolves_tag_when_no_tags_exist() -> Result<()> {
|
||||
let repository = get_repository()?;
|
||||
@@ -699,6 +706,7 @@
|
||||
Ok(())
|
||||
}
|
||||
|
||||
+ #[ignore]
|
||||
#[test]
|
||||
fn includes_root_commit() -> Result<()> {
|
||||
let repository = get_repository()?;
|
||||
@ -1,11 +0,0 @@
|
||||
--- a/git-cliff-core/src/command.rs
|
||||
+++ b/git-cliff-core/src/command.rs
|
||||
@@ -89,7 +89,7 @@
|
||||
run("rev", Some(env!("CARGO_PKG_NAME").to_string()), vec![])?.trim()
|
||||
);
|
||||
assert_eq!("testing", run("echo 'testing'", None, vec![])?.trim());
|
||||
- assert!(run("some_command", None, vec![]).is_err());
|
||||
+ assert!(run("false", None, vec![]).is_err());
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
@ -1,57 +0,0 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
RUST_MIN_VER="1.85.0"
|
||||
|
||||
inherit cargo shell-completion
|
||||
|
||||
DESCRIPTION="A highly customizable changelog generator"
|
||||
HOMEPAGE="https://git-cliff.org/"
|
||||
SRC_URI="
|
||||
https://github.com/orhun/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-crates.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0 MIT BSD-2 BSD Boost-1.0 CDDL ISC MPL-2.0 Unicode-3.0
|
||||
Unicode-DFS-2016 ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PATCHES=(
|
||||
# disables tests against local (.)git repo
|
||||
"${FILESDIR}/${P}-disable_repo_tests.patch"
|
||||
# silences a "command not found" error (QA)
|
||||
"${FILESDIR}/${P}-silence_run_os_command_test.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile
|
||||
|
||||
local target_dir="${S}/$(cargo_target_dir)"
|
||||
|
||||
# generating man pages
|
||||
mkdir "${target_dir}/man"
|
||||
OUT_DIR="${target_dir}/man" "${target_dir}/"${PN}-mangen
|
||||
|
||||
# generating completion scripts
|
||||
mkdir "${target_dir}/completion"
|
||||
OUT_DIR="${target_dir}/completion" "${target_dir}/"${PN}-completions
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local release_dir="${S}/$(cargo_target_dir)"
|
||||
|
||||
insinto /usr/bin
|
||||
dobin "${release_dir}/"${PN}
|
||||
|
||||
doman "${release_dir}/man/"${PN}.1
|
||||
|
||||
newbashcomp "${release_dir}/completion/${PN}.bash" ${PN}
|
||||
newfishcomp "${release_dir}/completion/${PN}.fish" ${PN}
|
||||
|
||||
einstalldocs
|
||||
dodoc -r "${S}"/examples/
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user