pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Perl-Tidy
Module Name: pkgsrc
Committed By: wen
Date: Sun Nov 24 08:59:01 UTC 2024
Modified Files:
pkgsrc/devel/p5-Perl-Tidy: Makefile distinfo
Log Message:
Update to 20240903
Upstream changes:
## 2024 09 03
- Add partial support for Syntax::Operator::In and Syntax::Keyword::Match
(see git #162).
- Add --timeout-in-seconds=n, or -tos=n. When the standard input supplies
the input stream, and the input has not been received within n seconds,
perltidy will end with a timeout message. The intention is to catch
a situation where perltidy is accidentally invoked without a file to
process and therefore waits for input from the system standard input
(stdin), which never arrives. The default is n=10.
This check can be turned off with -tos=0.
- Add parameter --closing-side-comment-exclusion-list=string, or
-cscxl=string, where string is a list of block types to exclude
for closing side comment operations. Also, closing side comments
now work for anonymous subs if a --closing-side-comment-list (-cscl)
is not specified, and when 'asub' is requested with -cscl=asub.
Use -cscxl=asub to prevent this.
- Include check for unused constants in --dump-unusual-variables and
--warn-variable-types (new issue type 'c'). Also expand checks to
cover variables introduced with 'use vars'.
- Include signature variables in --dump-unusual-variables and
--warn-variable-types; see git #158.
- Add logical xor operator ^^ available in perl version 5.40, as
noted in git #157.
- Keyword 'state' now has default space before a paren, like 'my'.
Previously there was no space and no control. So the default
is now "state ($x)". This space can be removed with -nsak='state'.
- Add options --add-lone-trailing-commas, -altc and
--delete-lone-trailing-commas, -dltc, to provide control over adding
and deleting the only comma in a list. See discussion in git #143
and the updated manual.
- Add options --dump-mismatched-returns (or -dmr) and
--warn-mismatched-returns (or -wmr). These options report function
calls where the number of values requested may disagree with sub
return statements. The -dump version writes the results for a single
file to standard output and exits:
perltidy -dmr somefile.pl >results.txt
The -warn version formats as normal but reports any issues as warnings in
the error file:
perltidy -wmr somefile.pl
The -warn version may be customized with the following additional
parameters if necessary to avoid needless warnings:
--warn-mismatched-return-types=s (or -wmrt=s),
--warn-mismatched-return-exclusion-list=s (or -wmrxl=s)
where 's' is a control string. These are explained in the manual.
- Updates for issue git #151:
(1) --warn-variable-types=u is now okay if a named file is processed.
(2) --warn-variable-exclusion-list=s now allows leading and/or
trailing * on variable names to allow a wildcard match. For example
-wvxl='*_unused' is okay and would match $var1_unused and $var2_unused.
(3) --dump-unusual-variables now outputs the filename.
- A option was added to filter unimplemented parameters from perltidy
configuration files, suggested in git #146. It works like this: if
a line in the config file begins with three dashes followed by a
parameter name (rather than two dashes), then the line will be removed
if the parameter is unknown. Otherwise, a dash will be removed to make
the line valid.
- Parameters --dump-mismatched-args (or -dma) and
--warn-mismatched-args (or -wma) have been updated to catch more
arg count issues.
- Fixed issue git #143, extend -add-trailing-commas to apply to a list
with just a fat comma.
- The minimum perl version is 5.8.1. Previously it was 5.8.0, which was
not correct because of the use of utf8::is_utf8.
- Fixed issue git #142, test failure installing on perl versions before
version 5.10. The error caused the new parameter
-interbracket-arrow-style=s not to work. Except for this limitation,
Version 20240511 will work on older perl versions.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/devel/p5-Perl-Tidy/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/p5-Perl-Tidy/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/p5-Perl-Tidy/Makefile
diff -u pkgsrc/devel/p5-Perl-Tidy/Makefile:1.55 pkgsrc/devel/p5-Perl-Tidy/Makefile:1.56
--- pkgsrc/devel/p5-Perl-Tidy/Makefile:1.55 Sat Nov 16 12:04:56 2024
+++ pkgsrc/devel/p5-Perl-Tidy/Makefile Sun Nov 24 08:59:01 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2024/11/16 12:04:56 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2024/11/24 08:59:01 wen Exp $
-DISTNAME= Perl-Tidy-20240511
+DISTNAME= Perl-Tidy-20240903
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/}
Index: pkgsrc/devel/p5-Perl-Tidy/distinfo
diff -u pkgsrc/devel/p5-Perl-Tidy/distinfo:1.35 pkgsrc/devel/p5-Perl-Tidy/distinfo:1.36
--- pkgsrc/devel/p5-Perl-Tidy/distinfo:1.35 Tue Jul 30 03:23:51 2024
+++ pkgsrc/devel/p5-Perl-Tidy/distinfo Sun Nov 24 08:59:01 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.35 2024/07/30 03:23:51 wen Exp $
+$NetBSD: distinfo,v 1.36 2024/11/24 08:59:01 wen Exp $
-BLAKE2s (Perl-Tidy-20240511.tar.gz) = ac2edac0ddf9907e6f0d41561d4f4dba0ee4b5dfcf822bcfb510e1fc5d0e8c63
-SHA512 (Perl-Tidy-20240511.tar.gz) = 39bc383d645092d121a623b90d8b6a7981e2f2ef44dbb41a34ec77e4285fa80f1223d4290363b2ab429b101bb080d738b26d0577068600d78a696948a03bc513
-Size (Perl-Tidy-20240511.tar.gz) = 1077858 bytes
+BLAKE2s (Perl-Tidy-20240903.tar.gz) = b55250eb429e436b936d603f8afb299a2f9cb51709d893f99383083341bd75ed
+SHA512 (Perl-Tidy-20240903.tar.gz) = 35508885cc69e7dbebb094aebccac799a45e95b7c07648d709a71881f6a69d61b4971b3362e819942fac7f7644523f658b384ec35187f7893bb4ec08f25e3d6f
+Size (Perl-Tidy-20240903.tar.gz) = 1111605 bytes
Home |
Main Index |
Thread Index |
Old Index