Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] cargo-deny: update to 0.14.2.
Date: Mon, 04 Sep 2023 12:53:01 +0200	[thread overview]
Message-ID: <20230904105301.mRHw6iMuq1dvsl_cdOnFrM5eektqba7kQdPnIYi25DQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45529@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages cargo-deny
https://github.com/void-linux/void-packages/pull/45529

cargo-deny: update to 0.14.2.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/45529.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cargo-deny-45529.patch --]
[-- Type: text/x-diff, Size: 2471 bytes --]

From 7fde5d1163c34f94ba96e236bf6a3d66170cad58 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
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 <jan.christian@gruenhage.xyz>"
 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() {

  parent reply	other threads:[~2023-09-04 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 18:37 [PR PATCH] cargo-deny: update to 0.14.1 icp1994
2023-08-10 18:58 ` icp1994
2023-08-11  7:16 ` [PR PATCH] [Updated] " icp1994
2023-09-04 10:53 ` icp1994 [this message]
2023-09-04 14:26 ` [PR PATCH] [Updated] cargo-deny: update to 0.14.2 icp1994
2023-09-05  6:29 ` icp1994
2023-09-12  5:31 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230904105301.mRHw6iMuq1dvsl_cdOnFrM5eektqba7kQdPnIYi25DQ@z \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).