Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust It looks like "checksum" is optional, and "s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a9902da3b2b
branches:  trunk
changeset: 433929:8a9902da3b2b
user:      he <he%pkgsrc.org@localhost>
date:      Mon Jun 08 22:37:28 2020 +0000

description:
It looks like "checksum" is optional, and "source" isn't for
"external" packages, so use the latter.

diffstat:

 lang/rust/cargo.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 9c9531689d70 -r 8a9902da3b2b lang/rust/cargo.mk
--- a/lang/rust/cargo.mk        Mon Jun 08 22:15:42 2020 +0000
+++ b/lang/rust/cargo.mk        Mon Jun 08 22:37:28 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.14 2020/06/08 17:13:39 he Exp $
+# $NetBSD: cargo.mk,v 1.15 2020/06/08 22:37:28 he Exp $
 #
 # Common logic that can be used by packages that depend on cargo crates
 # from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -64,6 +64,6 @@
 show-cargo-depends:
        ${RUN}${AWK} '/^name = / { split($$3, a, "\""); name=a[2]; } \
                /^version = / { split($$3, a, "\""); vers=a[2]; } \
-               /^checksum = / { \
+               /^source = / { \
                        print "CARGO_CRATE_DEPENDS+=\t" name "-" vers; \
                        }' ${WRKSRC}/Cargo.lock



Home | Main Index | Thread Index | Old Index