From 210708199d07934d375006b2155e0e7cc98ca8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sun, 27 Nov 2022 10:24:54 +0100 Subject: [PATCH] cargo-deny: update to 0.13.5. --- srcpkgs/cargo-deny/template | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cargo-deny/template b/srcpkgs/cargo-deny/template index ec8ad592b9c65a..ab4ddbd2a05196 100644 --- a/srcpkgs/cargo-deny/template +++ b/srcpkgs/cargo-deny/template @@ -1,7 +1,8 @@ # Template file for 'cargo-deny' pkgname=cargo-deny -version=0.12.2 +version=0.13.5 revision=1 +_adv_commit="222ccf84ef7d733a6eac71f694a5e14b4d0d0289" build_style=cargo configure_args="--no-default-features" hostmakedepends="pkg-config" @@ -12,12 +13,19 @@ 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/${version}.tar.gz" -checksum=7d8a034fe0219f8b7adc0ab25c90f7f253b4c387d7d5c8f74f6ad79f4810dc1e +checksum=aebfff46cf510fc9a85ce0059e88792c6467f44c17dd29badce50a13af47e4f7 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} +} + post_install() { vlicense LICENSE-APACHE vlicense LICENSE-MIT