Subject: CVS commit: pkgsrc/pkgtools/pkglint
From: Roland Illig
Date: 2019-04-23 23:20:49
Message id: 20190423212049.F0F93FB16@cvs.NetBSD.org

Log Message:
pkgtools/pkglint: update to 5.7.6

Changes since 5.7.5:

* The explanation for distfile hashes is only given when the distfiles
  actually need to be downloaded. If they are already there, no
  explanation is necessary.

* Makefile lines that are commented and have line continuations are
  properly parsed. This affects the autofix for variable value
  realignment.

* Variable permissions are not checked in hacks.mk since pkgsrc
  developers who know about hacks.mk probably know what they are doing.
  From hacks.mk files, builtin.mk files may be included directly, for
  the same reason.

* Expressions of the form !empty(PKGPATH:Mpattern), when PKGPATH is not
  a list variable and pattern has no wildcards, can be written in a
  simpler form, and pkglint autofixes this. For example the above
  expression is transformed into ${PKGPATH} == pattern. This
  transformation reduces the amount of double negations (!empty) in the
  code.

* Duplicate warnings about invalid relative ../package have been merged.

* TOOLS_ALIASES are properly resolved. The line USE_TOOLS=ggrep makes
  the tools grep, egrep and fgrep known to pkglint, in the same way as
  in the pkgsrc infrastructure.

* The diagnostics for missing or unnecessary distinfo files have been
  improved to provide some guidance.

* Packages that use MESSAGE_SRC to build the message from multiple files
  no longer produce a warning for malformed message files. These files
  are simply skipped.

Files:
RevisionActionfile
1.576modifypkgsrc/pkgtools/pkglint/Makefile
1.21modifypkgsrc/pkgtools/pkglint/files/autofix_test.go
1.39modifypkgsrc/pkgtools/pkglint/files/check_test.go
1.32modifypkgsrc/pkgtools/pkglint/files/distinfo.go
1.29modifypkgsrc/pkgtools/pkglint/files/distinfo_test.go
1.25modifypkgsrc/pkgtools/pkglint/files/files.go
1.25modifypkgsrc/pkgtools/pkglint/files/files_test.go
1.35modifypkgsrc/pkgtools/pkglint/files/mklinechecker.go
1.31modifypkgsrc/pkgtools/pkglint/files/mklinechecker_test.go
1.47modifypkgsrc/pkgtools/pkglint/files/mklines.go
1.11modifypkgsrc/pkgtools/pkglint/files/mklines_varalign_test.go
1.28modifypkgsrc/pkgtools/pkglint/files/mkparser.go
1.28modifypkgsrc/pkgtools/pkglint/files/mkparser_test.go
1.51modifypkgsrc/pkgtools/pkglint/files/package.go
1.44modifypkgsrc/pkgtools/pkglint/files/package_test.go
1.52modifypkgsrc/pkgtools/pkglint/files/pkglint.go
1.39modifypkgsrc/pkgtools/pkglint/files/pkglint_test.go
1.24modifypkgsrc/pkgtools/pkglint/files/pkgsrc.go
1.39modifypkgsrc/pkgtools/pkglint/files/shell.go
1.13modifypkgsrc/pkgtools/pkglint/files/tools.go
1.15modifypkgsrc/pkgtools/pkglint/files/tools_test.go
1.60modifypkgsrc/pkgtools/pkglint/files/vardefs.go