pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint pkgtools/pkglint: update to 21.3.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5180e35648c
branches:  trunk
changeset: 769804:c5180e35648c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Nov 20 18:06:13 2021 +0000

description:
pkgtools/pkglint: update to 21.3.4

Changes since 21.3.3:

For wip packages, allow SHA1 to be used as digest algorithm.  An example
package that needs this is wip/doomlegacy-devel.

diffstat:

 pkgtools/pkglint/Makefile          |  4 ++--
 pkgtools/pkglint/files/distinfo.go |  4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1db7ff4543dc -r c5180e35648c pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sat Nov 20 16:10:26 2021 +0000
+++ b/pkgtools/pkglint/Makefile Sat Nov 20 18:06:13 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.703 2021/11/13 21:20:59 rillig Exp $
+# $NetBSD: Makefile,v 1.704 2021/11/20 18:06:13 rillig Exp $
 
-PKGNAME=       pkglint-21.3.3
+PKGNAME=       pkglint-21.3.4
 CATEGORIES=    pkgtools
 DISTNAME=      tools
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=golang/}
diff -r 1db7ff4543dc -r c5180e35648c pkgtools/pkglint/files/distinfo.go
--- a/pkgtools/pkglint/files/distinfo.go        Sat Nov 20 16:10:26 2021 +0000
+++ b/pkgtools/pkglint/files/distinfo.go        Sat Nov 20 18:06:13 2021 +0000
@@ -153,6 +153,10 @@
                // TODO: remove after 2021Q4. Until then, allow pkgsrc-wip to
                //  be used with the stable 2021Q3.
                return
+       case G.Wip && algorithms == "SHA1, RMD160, SHA512, Size" && isPatch != yes:
+               // TODO: remove after 2021Q4. Until then, allow pkgsrc-wip to
+               //  be used with the stable 2021Q3.
+               return
        case G.Wip && algorithms == "SHA1, BLAKE2s, SHA512, Size" && isPatch != yes:
                // TODO: remove after 2021Q4. Until then, allow pkgsrc-wip to
                //  be used with the stable 2021Q3.



Home | Main Index | Thread Index | Old Index