./pkgtools/pkglint, Verifier for NetBSD packages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.130nb1, Package name: pkglint-4.130nb1, Maintainer: wiz

pkglint is for pkgsrc packages what lint(1) is for C files. It checks
for various things that the used languages cannot detect, for example
application-specific restrictions on certain variables.

Before importing a new package or making changes to an existing package,
pkglint should be run in the package's directory to check for common
errors.


Required to run:
[pkgtools/p5-pkgsrc-Dewey] [security/p5-Digest-SHA1] [devel/p5-enum]

Required to build:
[devel/p5-Test-Deep] [devel/p5-Test-Trap]

Version history: (Expand)


CVS history: (Expand)


   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
   2013-05-26 20:09:24 by Thomas Klausner | Files touched by this commit (2)
Log message:
rillig clarified:
"u" means "use at runtime", i.e. the variable may not be \ 
available
during preprocessing.
"t" wasn't used at all (my error -- wiz)

Bump version.
   2013-05-07 10:45:07 by Thomas Klausner | Files touched by this commit (1)
Log message:
Add EXTRACT_DIR.
   2013-05-06 04:53:25 by OBATA Akio | Files touched by this commit (2)
Log message:
pkglint-4.129

* explain when desktop-file-utils is required.
* error missing {hicolor,gnome}-icon-theme.
   2013-03-26 16:11:36 by Amitai Schlair | Files touched by this commit (2)
Log message:
Respond to wiz's code review:

* In test, match the "make makesum" warning more loosely.
* In test, find packages to run against in $PKGSRCDIR explicitly.
* Bump version.

This is the last commit in a set developed for my "Rehabilitating
pkglint" talk at pkgsrcCon 2013.

Reviewed-at-pkgsrcCon-and-approved-during-the-freeze-by: wiz
   2013-03-26 16:11:20 by Amitai Schlair | Files touched by this commit (2)
Log message:
Excessive self-grepping causes bugginess. Don't!

This regex almost certainly didn't intend to match an occurrence
of "ARRAY" in PkgLint::Line, but it did match.
   2013-03-26 16:11:05 by Amitai Schlair | Files touched by this commit (1)
Log message:
Mechanically refactor vartype_basic to dispatch table.

Leave the silly self-grep in place, adjusting to also match the
lines that initialize the dispatch table. The underlying code is
better and the tests still pass. (No functional change intended.)
   2013-03-26 16:10:32 by Amitai Schlair | Files touched by this commit (2)
Log message:
Bag-compare all vartypes_basictypes, not just two.

pkglint greps itself (really) to generate this list of types. Test
exhaustively for all types in the list today, so that the tested
code can become more civilized tomorrow. Adds a test-time dependency
on Test::Deep for cmp_bag().