head 1.24; access; symbols pkgsrc-2023Q4:1.24.0.4 pkgsrc-2023Q4-base:1.24 pkgsrc-2023Q3:1.24.0.2 pkgsrc-2023Q3-base:1.24 pkgsrc-2023Q2:1.23.0.6 pkgsrc-2023Q2-base:1.23 pkgsrc-2023Q1:1.23.0.4 pkgsrc-2023Q1-base:1.23 pkgsrc-2022Q4:1.23.0.2 pkgsrc-2022Q4-base:1.23 pkgsrc-2022Q3:1.22.0.2 pkgsrc-2022Q3-base:1.22 pkgsrc-2022Q2:1.21.0.10 pkgsrc-2022Q2-base:1.21 pkgsrc-2022Q1:1.21.0.8 pkgsrc-2022Q1-base:1.21 pkgsrc-2021Q4:1.21.0.6 pkgsrc-2021Q4-base:1.21 pkgsrc-2021Q3:1.21.0.4 pkgsrc-2021Q3-base:1.21 pkgsrc-2021Q2:1.21.0.2 pkgsrc-2021Q2-base:1.21 pkgsrc-2021Q1:1.20.0.6 pkgsrc-2021Q1-base:1.20 pkgsrc-2020Q4:1.20.0.4 pkgsrc-2020Q4-base:1.20 pkgsrc-2020Q3:1.20.0.2 pkgsrc-2020Q3-base:1.20 pkgsrc-2020Q2:1.18.0.8 pkgsrc-2020Q2-base:1.18 pkgsrc-2020Q1:1.18.0.4 pkgsrc-2020Q1-base:1.18 pkgsrc-2019Q4:1.18.0.6 pkgsrc-2019Q4-base:1.18 pkgsrc-2019Q3:1.18.0.2 pkgsrc-2019Q3-base:1.18 pkgsrc-2019Q2:1.16.0.6 pkgsrc-2019Q2-base:1.16 pkgsrc-2019Q1:1.16.0.4 pkgsrc-2019Q1-base:1.16 pkgsrc-2018Q4:1.16.0.2 pkgsrc-2018Q4-base:1.16 pkgsrc-2018Q3:1.15.0.2 pkgsrc-2018Q3-base:1.15 pkgsrc-2018Q2:1.14.0.10 pkgsrc-2018Q2-base:1.14 pkgsrc-2018Q1:1.14.0.8 pkgsrc-2018Q1-base:1.14 pkgsrc-2017Q4:1.14.0.6 pkgsrc-2017Q4-base:1.14 pkgsrc-2017Q3:1.14.0.4 pkgsrc-2017Q3-base:1.14 pkgsrc-2017Q2:1.13.0.2 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.12.0.8 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.6 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.4 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.2 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.11.0.8 pkgsrc-2016Q1-base:1.11 pkgsrc-2015Q4:1.11.0.6 pkgsrc-2015Q4-base:1.11 pkgsrc-2015Q3:1.11.0.4 pkgsrc-2015Q3-base:1.11 pkgsrc-2015Q2:1.11.0.2 pkgsrc-2015Q2-base:1.11 pkgsrc-2015Q1:1.9.0.2 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.8.0.2 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.7.0.4 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.2 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.5.0.8 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.6 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.4 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.2 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.4.0.2 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.3.0.2 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.1.1.1.0.10 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.8 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.6 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.4 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.2 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-20110816:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.24 date 2023.07.06.09.40.20; author wiz; state Exp; branches; next 1.23; commitid 6meR4IA6XJRNYIvE; 1.23 date 2022.10.01.09.10.03; author wen; state Exp; branches; next 1.22; commitid 3BG0Zq2Ez9gmLZVD; 1.22 date 2022.06.28.11.33.31; author wiz; state Exp; branches; next 1.21; commitid D2UoJrTHpoHEANJD; 1.21 date 2021.05.24.19.51.50; author wiz; state Exp; branches; next 1.20; commitid qokaiStTApGMcrUC; 1.20 date 2020.09.04.13.45.16; author wiz; state Exp; branches; next 1.19; commitid hyGfft8mx6MuCJmC; 1.19 date 2020.08.31.18.09.08; author wiz; state Exp; branches; next 1.18; commitid 7zxRbfOkDOoxbfmC; 1.18 date 2019.08.11.13.20.38; author wiz; state Exp; branches; next 1.17; commitid Ifet9Pg6Qt99ZByB; 1.17 date 2019.06.30.20.15.57; author nia; state Exp; branches; next 1.16; commitid gIe5Iz9xY2MIDftB; 1.16 date 2018.11.25.12.43.40; author wen; state Exp; branches; next 1.15; commitid 60HPreCs9wxe8k1B; 1.15 date 2018.08.22.09.44.51; author wiz; state Exp; branches; next 1.14; commitid YLub8g3ofvFGb6PA; 1.14 date 2017.09.17.13.35.24; author wiz; state Exp; branches; next 1.13; commitid mX2jR3f66vBqny7A; 1.13 date 2017.06.05.14.23.47; author ryoon; state Exp; branches; next 1.12; commitid 54KDUXvefsKDYbUz; 1.12 date 2016.06.08.19.23.41; author wiz; state Exp; branches; next 1.11; commitid 12SLmHS6vHs0hH9z; 1.11 date 2015.06.12.10.49.52; author wiz; state Exp; branches; next 1.10; commitid B4JmCfaVUbiY38py; 1.10 date 2015.04.17.01.37.46; author mef; state Exp; branches; next 1.9; commitid DaTNbyKT6FzoOShy; 1.9 date 2015.02.17.13.20.28; author mef; state Exp; branches; next 1.8; commitid nXloGi6cFSAaBmay; 1.8 date 2014.11.23.14.31.51; author schmonz; state Exp; branches; next 1.7; commitid PS9VHZjoqRswLjZx; 1.7 date 2014.06.09.19.07.04; author schmonz; state Exp; branches; next 1.6; commitid 4XADKUkxPmDKESDx; 1.6 date 2014.05.29.23.36.24; author wiz; state Exp; branches; next 1.5; commitid laryHfkCalgYtuCx; 1.5 date 2013.05.31.12.40.51; author wiz; state Exp; branches; next 1.4; commitid hIeXGcx6VfKHwMRw; 1.4 date 2013.01.19.22.57.06; author schmonz; state Exp; branches; next 1.3; 1.3 date 2012.10.31.11.19.11; author asau; state Exp; branches; next 1.2; 1.2 date 2012.10.03.21.55.46; author wiz; state Exp; branches; next 1.1; 1.1 date 2011.08.16.20.40.16; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.08.16.20.40.16; author wiz; state Exp; branches; next ; desc @@ 1.24 log @*: recursive bump for perl 5.38 @ text @# $NetBSD: Makefile,v 1.23 2022/10/01 09:10:03 wen Exp $ DISTNAME= Test-Trap-v0.3.5 PKGNAME= p5-${DISTNAME:S/v0/0/} PKGREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://metacpan.org/release/Test-Trap COMMENT= Perl extension to trap exit codes, exceptions, output LICENSE= ${PERL5_LICENSE} DEPENDS+= p5-Data-Dump-[0-9]*:../../devel/p5-Data-Dump PERL5_PACKLIST= auto/Test/Trap/.packlist .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" @ 1.23 log @Update to 0.3.5 Upstream changes: 0.3.5 Wed 27 Jul 2022 05:58:02 AM CEST No changes to the libraries, just to the tests. Perl best practices form a moving target. - Stop using bareword filehandles; if it isn't deprecated already, it will be. - RT #143716: Perl pulled the rug from under me on untainting environment variables when it stopped treating an empty string as a safe PATH. Fix by deleting the offending environment variables instead, as suggested by Graham Knop. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2022/06/28 11:33:31 wiz Exp $ d5 1 @ 1.22 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2021/05/24 19:51:50 wiz Exp $ d3 1 a3 1 DISTNAME= Test-Trap-v0.3.4 a4 1 PKGREVISION= 5 @ 1.21 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2020/09/04 13:45:16 wiz Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.20 log @*: remove p5-Test-Simple, part of perl @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2020/08/31 18:09:08 wiz Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.19 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2019/08/11 13:20:38 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 a14 1 DEPENDS+= p5-Test-Simple>=1.001010:../../devel/p5-Test-Simple @ 1.18 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2019/06/30 20:15:57 nia Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.17 log @Update packages using a search.cpan.org HOMEPAGE to metacpan.org. The former now redirects to the latter. This covers the most simple cases where http://search.cpan.org/dist/name can be changed to https://metacpan.org/release/name. Reviewed by hand to hopefully make sure no unwanted changes sneak in. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2018/11/25 12:43:40 wen Exp $ d5 1 @ 1.16 log @Update to 0.3.4 Upstream changes: 0.3.4 Sun Oct 14 20:39:41 CEST 2018 For this release, many thanks go to Todd Rinaldo, who found that my fix for the $^E clobbering wound up clobbering $! in every basic test. - Declared some required and optional dependencies. - RT #127112 is addressed, using the patch from TODDR@@cpan.org augmented wtih a comment. - A regression test has been added for this. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2018/08/22 09:44:51 wiz Exp $ d9 1 a9 1 HOMEPAGE= http://search.cpan.org/dist/Test-Trap/ @ 1.15 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2017/09/17 13:35:24 wiz Exp $ d3 1 a3 1 DISTNAME= Test-Trap-v0.3.3 a4 1 PKGREVISION= 1 @ 1.14 log @p5-Test-Trap: update to 0.3.3. 0.3.3 Tue Aug 22 02:06:09 CEST 2017 For this release, many thanks go to Slaven Rezic, who found that Test::More::is() (or Test2::Formatter::TAP::write()) clobbers $^E on Windows. - RT #105125 is addressed: The tests now use a copy of $^E taken before Test::More gets a chance to touch it. - Further, the Test::Trap test methods might also clobber $^E (via Test::More or other modules), so they now localize $^E before invoking the callback. - Regression tests have been added for this. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2017/06/05 14:23:47 ryoon Exp $ d5 1 @ 1.13 log @Recursive revbump from lang/perl5 5.26.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2016/06/08 19:23:41 wiz Exp $ d3 1 a3 1 DISTNAME= Test-Trap-v0.3.2 a4 1 PKGREVISION= 3 @ 1.12 log @Bump PKGREVISION for perl-5.24. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2015/06/12 10:49:52 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.11 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2015/04/17 01:37:46 mef Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.10 log @(pkgsrc) - Convert DEPENDS from p5-Test-Tester to p5-Test-Simple > 1.001010 (See commit log on devel/p5-Test-Simle) (upstream) - Update 0.3.0 to 0.3.2 --------------------- 0.3.2 Tue Feb 24 00:19:23 CET 2015 The tempfile-preserve strategy was (always) broken on non-perlio perls. Also, some of the tests were (recently) noisy on old perls. Test::Trap::Builder::TempFile: - add a GOTPERLIO guard to each IO_LAYERS block. Tests: - 03-files.pl now avoid "used only once" warnings. 0.3.1 Mon Feb 23 21:43:30 CET 2015 This release doesn't touch library code, but addresses some test issues: - It fixes RT #102271 by checking for the presence of a utf8-layer on the original STDOUT, instead of assuming its absence. - It makes some test code cleaner. - It silences redefine warnings during testing on certain platforms. Library files: No change but version bump. Tests: - 03-files* now use another global to specify the class to require, replacing a quick-and-dirty hack that turned out to be noisy on some platforms, including Cygwin. - {15-tempfile,16-systemsafe}-options.t now check for the presence of utf8-layer on STDOUT, instead of assuming its absence. (Either of the environment variables PERL_UNICODE and PERL5OPT could cause such a layer to be present, and there might be other ways to do it.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2015/02/17 13:20:28 mef Exp $ d5 1 @ 1.9 log @Update 0.2.5 to 0.3.0 --------------------- (From the Changes) 0.3.0 Thu Dec 18 21:57:51 CET 2014 This release, in brief: - improves clarity through nomenclature: * renames "(output layer) backend implementation" to "(capture) strategy", for more standard nomenclature (and less of a mouthful); * renames "pseudo-layer" to "multi-layer" (if so declared) or "non-trapping layer" (neither is a direct analogue to PerlIO pseudo layers, so the nomenclature was misleading); - adds (import) options to the TempFile and SystemSafe capture strategy factories, allowing for different ways to handle PerlIO layers; - using these for two new standard capture strategies, "tempfile-preserve" and "systemsafe-preserve"; and - fixes a bug in SystemSafe. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2014/11/23 14:31:51 schmonz Exp $ d3 1 a3 1 DISTNAME= Test-Trap-v0.3.0 d14 1 a14 1 DEPENDS+= p5-Test-Tester>=0.107:../../devel/p5-Test-Tester @ 1.8 log @Update to 0.2.5. From the changelog: This release localizes $! (ERRNO) for internal operations that change it, as suggested by Felipe Gasper. For the same operations, it also localizes $^E (extended OS error). Library files: - Localize $! and $^E for internal operations that change them. Tests: - Check that bare test blocks leave $!, %!, and $^E unchanged, but that blocks that modify $! and $^E still do so. Also: - Added Module::Build to the configure_requires. - Fix emacs mode line on t/14-leaks.t. - Better comments in lib/Test/Trap/Builder.pm. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2014/06/09 19:07:04 schmonz Exp $ d3 1 a3 1 DISTNAME= Test-Trap-v0.2.5 @ 1.7 log @Update to 0.2.4. From the changelog: This release fixes a memory leak with the default tempfile backend layer implementation for trapping output. The systemsafe alternative backend had the same kind of leak, and has also been fixed. (The perlio alternative backend was not affected.) Thanks go again to Felipe Gasper for discovering this! Test::Trap::Builder: - Add a method ExceptionFunction to make it easier to avoid circular references arising from registered closures. Document and export this method. Test::Trap::Builder::TempFile: - Break a circular reference chain. Test::Trap::Builder::SystemSafe: - Break a similar but slightly more complicated circular reference chain. Tests: - Added t/14-leaks.t to check that the reference count is as expected, at least with trivial code and standard setup for all three output layer backends. - Regression test for the stale references. Library files: - RT #87263: typo fixes, courtesy dsteinbrunner@@pobox.com. - Localize the trap coderef, so that it does not hold on to what it closes over, creating stale references, but lets them go out of scope; thanks go to Felipe Gasper. Documentation: - Some clarification for RT #91687: Wrong exit code after die. Also: - Use ebhanssen@@cpan.org for my email address. - Update copyright years. - Update MANIFEST.SKIP &c for use of git (goodbye subversion). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2014/05/29 23:36:24 wiz Exp $ d3 1 a3 1 DISTNAME= Test-Trap-v0.2.4 @ 1.6 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2013/05/31 12:40:51 wiz Exp $ d3 1 a3 1 DISTNAME= Test-Trap-v0.2.2 a4 1 PKGREVISION= 2 @ 1.5 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2013/01/19 22:57:06 schmonz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.4 log @Update to 0.2.2. From the changelog: Test::Trap::Builder::TempFile & Test::Trap::Builder::SystemSafe: - RT #61776: Remove temporary files at first opportunity; thanks go to Ian Goodacre. Documentation: - RT #61773: return from trap function Document what trap { ... } returns. Tests: - RT #75430: Failing tests in 06-layer.t Convert a number of die_is to die_like, handling cases with and without trailing comma from carp. - Unset another taint-checked environment variable, CDPATH; thanks go to CPAN testers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2012/10/31 11:19:11 asau Exp $ d5 1 @ 1.3 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2012/10/03 21:55:46 wiz Exp $ d3 1 a3 1 DISTNAME= Test-Trap-v0.2.1 a4 1 PKGREVISION= 1 @ 1.2 log @Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2011/08/16 20:40:16 wiz Exp $ a16 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d5 1 @ 1.1.1.1 log @Initial import of p5-Test-Trap-0.2.1. This modules is primarily (but not exclusively) for use in test scripts: A block eval on steroids, configurable and extensible, but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values from boxed blocks of test code. The values collected by the latest trap can then be queried or tested through a special trap object. @ text @@