head 1.8; access; symbols pkgsrc-2026Q2:1.8.0.8 pkgsrc-2026Q2-base:1.8 pkgsrc-2026Q1:1.8.0.6 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.4 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.2 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.7.0.6 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.4 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.2 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.6.0.2 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.4.0.6 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.4 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.2 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.3.0.2 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2; locks; strict; comment @# @; 1.8 date 2025.07.04.08.45.25; author wiz; state Exp; branches; next 1.7; commitid vfjLVB0DFyTBfp1G; 1.7 date 2024.11.16.12.03.53; author wiz; state Exp; branches; next 1.6; commitid EcLctWHJOZ20KRxF; 1.6 date 2024.09.08.08.12.09; author wiz; state Exp; branches; next 1.5; commitid P2loOcpXJPYCGYoF; 1.5 date 2024.08.25.06.27.50; author wiz; state Exp; branches; next 1.4; commitid NGsLIILnhk2JyanF; 1.4 date 2023.12.16.09.20.04; author mef; state Exp; branches; next 1.3; commitid 2DMNnxifqpWXDFQE; 1.3 date 2023.07.06.09.38.50; author wiz; state Exp; branches; next 1.2; commitid 6meR4IA6XJRNYIvE; 1.2 date 2023.05.20.06.22.59; author wiz; state Exp; branches; next 1.1; commitid ZddsQjdX6SzKpFpE; 1.1 date 2023.03.30.18.04.35; author wiz; state Exp; branches; next ; commitid AaKKBSayc6c9WajE; desc @@ 1.8 log @*: bump for perl 5.42.0 @ text @# $NetBSD: Makefile,v 1.7 2024/11/16 12:03:53 wiz Exp $ DISTNAME= Commandable-0.14 PKGNAME= p5-${DISTNAME} PKGREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/P/PE/PEVANS/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://metacpan.org/pod/Commandable COMMENT= Perl module for utilities for commandline-based programs LICENSE= ${PERL5_LICENSE} DEPENDS+= p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable TEST_DEPENDS+= p5-Test2-Suite-[0-9]*:../../devel/p5-Test2-Suite TEST_DEPENDS+= p5-Test-NoWarnings-[0-9]*:../../devel/p5-Test-NoWarnings PERL5_PACKLIST= auto/Commandable/.packlist PERL5_MODULE_TYPE= Module::Build .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" @ 1.7 log @*: recursive bump for perl 5.40 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/09/08 08:12:09 wiz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.6 log @p5-Commandable: update to 0.14. 0.14 2024-09-07 [CHANGES] * Support discovering global options as attributes on package scalar variables in the SubAttributes finder 0.13 2024-09-01 [CHANGES] * Added `->add_global_options` method to support global options * Support `=u` (unsigned) and `=f` (float) option types as well as arbitrary regexp match validation [BUGFIXES] * Ensure that hyphens are converted to underscores when setting default values for options * Ensure that mode=bool options always have a defined value, even if false @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/08/25 06:27:50 wiz Exp $ d5 1 @ 1.5 log @p5-Commandable: update to 0.12. 0.12 2024-08-21 [CHANGES] * Moved `->parse_invocation` out of Command into Finder * Optional additional help text generated by the package that implements a given command * Use `meta` instead of `no strict refs` hackery * Avoid Test::NoWarnings @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/12/16 09:20:04 mef Exp $ d3 1 a3 1 DISTNAME= Commandable-0.12 @ 1.4 log @(devel/p5-Commandable) Updated 0.10 to 0.11 0.11 2023-06-08 [CHANGES] * Added `$finder->find_and_invoke_list` convenience * Print information about `[no-]` prefix for negatable options in `help` output * Optionally require that options all come before non-option arguments * Optionally allow bundling of single-letter boolean options * Convert hyphens in option names to underscores when inserting their value into the options hash * Support integer-type checking in options * Added various docs [BUGFIXES] * Ensure that `$cinv->putback_tokens` escapes quotes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/07/06 09:38:50 wiz Exp $ d3 1 a3 1 DISTNAME= Commandable-0.11 @ 1.3 log @*: recursive bump for perl 5.38 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/05/20 06:22:59 wiz Exp $ d3 1 a3 1 DISTNAME= Commandable-0.10 a4 1 PKGREVISION= 1 @ 1.2 log @p5-Commandable: update to 0.10. 0.10 2023-04-29 [CHANGES] * Add more types of option - negatable, incrementable, multi-value (much thanks to ilmari) * Use trailing `=` to indicate option names with values; to match Getopt::Long * Swap all unit tests from `Test::More` to `Test2::V0` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/03/30 18:04:35 wiz Exp $ d5 1 @ 1.1 log @devel/p5-Commandable: import p5-Commandable-0.09 This distribution contains a collection of utilities extracted from various commandline-based programs, in the hope of trying to find a standard base to build these from in future. Note that "commandline" does not necessarily mean "plain-text running in a terminal"; simply that the mode of operation is that the user types a textual representation of some action, and the program parses this text in order to perform it. This could equally apply to a command input text area in a GUI program. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/03/30 17:59:21 wiz Exp $ d3 1 a3 1 DISTNAME= Commandable-0.09 d14 2 a15 2 TEST_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal TEST_DEPENDS+= p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings @