From 7fde5d1163c34f94ba96e236bf6a3d66170cad58 Mon Sep 17 00:00:00 2001 From: icp Date: Sat, 29 Jul 2023 22:37:30 +0530 Subject: [PATCH] cargo-deny: update to 0.14.2. --- srcpkgs/cargo-deny/template | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/srcpkgs/cargo-deny/template b/srcpkgs/cargo-deny/template index 8cbc9d5ecc256..f93c5a0b5be00 100644 --- a/srcpkgs/cargo-deny/template +++ b/srcpkgs/cargo-deny/template @@ -1,29 +1,39 @@ # Template file for 'cargo-deny' pkgname=cargo-deny -version=0.13.9 -revision=2 _adv_commit="222ccf84ef7d733a6eac71f694a5e14b4d0d0289" +version=0.14.2 +revision=1 +_adv_commit="9cf72357c8c52629d22edd8b4b8d7f7cdeea2504" +_test_adv_commit="1f44d565d81692a44b8c7af8a80f587e19757f8c" build_style=cargo configure_args="--no-default-features" +make_check_args="-- --skip=fetches_with_gi --skip=detects_yanked" hostmakedepends="pkg-config" -makedepends="openssl-devel libzstd-devel" +makedepends="libzstd-devel" short_desc="Cargo plugin to help you manage large dependency graphs" maintainer="Jan Christian Grünhage " license="MIT, Apache-2.0" homepage="https://github.com/EmbarkStudios/cargo-deny" changelog="https://raw.githubusercontent.com/EmbarkStudios/cargo-deny/main/CHANGELOG.md" distfiles="https://github.com/EmbarkStudios/cargo-deny/archive/refs/tags/${version}.tar.gz" -checksum=b26d8f984e00ddf96766e25781d6b296ff7a571f2c3730a607bfde24062b8adb +checksum=86152b1be86c9293b4bf0f80a1feedf6d9e045964c68de63d0407abf6aadcfc3 if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then broken="bitvec crate unimplemented for big endian" fi pre_check() { - rm -rf tests/advisory-db/github.com-2f857891b7f43c59 - /usr/libexec/chroot-git/git clone https://github.com/rustsec/advisory-db.git tests/advisory-db/github.com-2f857891b7f43c59 - cd tests/advisory-db/github.com-2f857891b7f43c59 - /usr/libexec/chroot-git/git checkout ${_adv_commit} + export PATH="/usr/libexec/chroot-git:${PATH}" + + ADV_DB_DIR="tests/advisory-db/github.com-a946fc29ac602819" + rmdir $ADV_DB_DIR + git clone https://github.com/rustsec/advisory-db.git $ADV_DB_DIR + git -C $ADV_DB_DIR checkout ${_adv_commit} + + TEST_ADV_DB_DIR="tests/advisory-db/github.com-c373669cccc50ac0" + rmdir $TEST_ADV_DB_DIR + git clone https://github.com/EmbarkStudios/test-advisory-db.git $TEST_ADV_DB_DIR + git -C $TEST_ADV_DB_DIR checkout ${_test_adv_commit} } post_install() {