From cd97d39bb090f893d8187e7fbd62f957478b00de Mon Sep 17 00:00:00 2001 From: wen Date: Thu, 3 Aug 2023 07:13:23 +0000 Subject: [PATCH] Update to 20230701 Upstream changes: ## 2023 07 01 - Issue git #121. Added parameters -xbt, or --extended-block-tightness, and -xbtl=s, or --extended-block-tightness-list=s, to allow certain small code blocks to have internal spacing controlled by -bbt=n rather than -bt=n. The man pages have details. - Issue git #118. A warning will be issued if a duplicate format-skipping starting marker is seen within a format-skipping section. The same applies to duplicate code-skipping starting markers within code-skipping sections. - Issue git #116. A new flag --valign-if-unless, -viu, was added to allow postfix 'unless' terms to align with postfix 'if' terms. The default remains not to do this. - Fixed git #115. In the two most recent CPAN releases, when the Perl::Tidy module was called with the source pointing to a file, but no destination specified, the output went to the standard output instead of to a file with extension ``.tdy``, as it should have. This has been fixed. - Fixed git #110, add missing documentation for new options -cpb and -bfvt=n. These work in version 20230309 but the pod documentation was missing and has been added. - Fixed an undefined reference message when running with --dump-block-summary on a file without any subs or other selected block types. - Add parameter -ipc, or --ignore-perlcritic-comments. Perltidy, by default, will look for side comments beginning with ``## no critic`` and ignore their lengths when making line break decisions, even if the user has not set ``-iscl``. The reason is that an unwanted line break can make these special comments ineffective in controlling ``perlcritic``. The parameter -ipc can be set if, for some reason, this is not wanted. - Some minor issues with continuation indentation have been fixed. Most scripts will remain unchanged. The main change is that block comments which occur just before a closing brace, bracket or paren now have an indentation which is independent of the existance of an optional comma or semicolon. Previously, adding or deleting an optional trailing comma could cause their indentation to jump. Also, indentation of comments within ternary statements has been improved. For additonal details see: https://github.com/perltidy/perltidy/blob/master/docs/ci_update.md - This version was stress-tested for many cpu hours with random input parameters. No failures to converge, internal fault checks, undefined variable references or other irregularities were seen. - This version runs several percent faster than the previous release on large files. --- devel/p5-Perl-Tidy/Makefile | 5 ++--- devel/p5-Perl-Tidy/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/devel/p5-Perl-Tidy/Makefile b/devel/p5-Perl-Tidy/Makefile index 1f6e1b186362..40dbb93989e4 100644 --- a/devel/p5-Perl-Tidy/Makefile +++ b/devel/p5-Perl-Tidy/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.51 2023/07/06 09:39:52 wiz Exp $ +# $NetBSD: Makefile,v 1.52 2023/08/03 07:13:23 wen Exp $ -DISTNAME= Perl-Tidy-20230309 +DISTNAME= Perl-Tidy-20230701 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/} diff --git a/devel/p5-Perl-Tidy/distinfo b/devel/p5-Perl-Tidy/distinfo index 1ca5b1a140a4..7c7491716d3a 100644 --- a/devel/p5-Perl-Tidy/distinfo +++ b/devel/p5-Perl-Tidy/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.32 2023/04/29 22:55:13 wen Exp $ +$NetBSD: distinfo,v 1.33 2023/08/03 07:13:23 wen Exp $ -BLAKE2s (Perl-Tidy-20230309.tar.gz) = a242f3459142ee00a14337f381b6032d4afd8f0a3401f806a3cd3c72d232b68f -SHA512 (Perl-Tidy-20230309.tar.gz) = 5b29b10fe758a59e13126b4b050c2f82c82e925cc99f832c47ba6393014d42b10d963630aa98e590dda5cccfaca4810c8244cbb48ddde975a30781061414b034 -Size (Perl-Tidy-20230309.tar.gz) = 960052 bytes +BLAKE2s (Perl-Tidy-20230701.tar.gz) = 5dbffe2fb3736e1fb815d6e1591f39ca1ac0d2f330370495c4e9c62cdb2c19b4 +SHA512 (Perl-Tidy-20230701.tar.gz) = 29f8607d366644f9d08311f8bc508426a63e6fe8062d5ddbeb9f4ceb53b38a68f46b3f39c58ab0998ea3ce13998be430a7ef57130e0e3964798db9af07cf4a4c +Size (Perl-Tidy-20230701.tar.gz) = 982458 bytes