summaryrefslogtreecommitdiff
path: root/devel/p5-autodie
AgeCommit message (Collapse)AuthorFilesLines
2013-05-31Bump all packages for perl-5.18, thatwiz1-1/+2
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-13Update to 2.19wen2-7/+6
Upstream changes: 2.19 2013-05-13 10:02:15 Australia/Melbourne * BUGFIX: Loading a file that does not change packages while autodie in effect no longer causes weird behaviour when slurpy built-ins (like open() and unlink()) are called. GH #22 Thanks to Niels Thykier. * TEST: Tests for leak guard failures for slurpy core functions. 2.18 2013-05-12 18:12:14 Australia/Melbourne * TEST: More testing in scope_leak.t. * TEST: More testing around packages in truncate.t. * SPEED / INTERNAL: Significant improvements in load time, especially when autodie is used across multiple files, by caching reuseable subroutines and reducing calls to eval "". Huge thanks to Niels Thykier, who is a hero of the free people, and completely and utterly awesome. (RT #46984) * DOCUMENTATION: Spelling and correction fixes, courtesy David Steinbrunner. * DEVEL: Faster and more robust testing with travis-ci. * DEVEL: Some simple benchmarks bundled in the benchmarks/ directory. 2.17 2013-04-29 01:03:50 Australia/Melbourne * DOCS: Spelling fixes thanks to dsteinbrunner! (RT #84897) * DOCS: Fixed github links to point to 'pjf' rather than 'pfenwick' (GH #18, thanks to Lx!) * INTERNAL: Silence warnings about experimental smart-match on 5.17.11+ (via Brian Fraser and p5p) * TEST / BUILD: Generate .travis.yml files for CI testing via dzil. 2.16 2013-02-23 01:49:16 Australia/Melbourne * BUGFIX: Fix breakages under 5.8.x related to the new autodie::skip feature. * BUILD / BUGFIX: Remove dependency on parent.pm. 2.15 2013-02-22 23:55:22 Australia/Melbourne * BUILD / BUGFIX: Correct meta-info that wanted at least Perl v5.8.40, rather than v5.8.4. Giant thanks to Paul Howarth for spotting this! 2.14 2013-02-22 15:43:33 Australia/Melbourne * FEATURE: Classes which claim they ->DOES('autodie::skip') are now skipped when generating exceptions. This is mainly of use to utility classes. See `perldoc autodie::skip` for more details. (GH Issue #15) * FEATURE / BUGFIX / INCOMPAT: 'chmod' is now in the ':filesys' category (was in ':file'). * BUGFIX: Added support for 'chown' and 'utime', that was previously overlooked. Mad props to RsrchBoy for spotting this. These are all in the ':filesys' category. (GH Pull #13) * BUGFIX: Added support for 'kill'. This is part of the ':ipc' category. * BUGFIX: Fixed bug whereby chmod, chown, kill, unlink and utime would not throw an exception when they didn't change all their files or signal all their processes. * TEST: truncate.t is now skipped on systems that don't have a working File::Temp. * TEST: open.t has a few more tests for exotic modes. * TEST: chown() tests are skipped on Win32, as chown on Windows is a no-op. (Thanks to Mithaldu for spotting this!) * TEST: Author tests now look for the AUTHOR_TESTING env variable (for dzil compliance). * TEST: Better testing for chown, chmod, and unlink. * TEST: Better testing for utime. * TEST: kwalitee.t is now only run when $ENV{RELEASE_TESTING} is set. * BUGFIX: Removed executable bits from some bundled text files. * BUILD: We now use dzil to manage autodie. * BUILD: Only Perl 5.8.4 and above is supported by autodie. Please upgrade your Perl distro if you're using 5.8.3 or below. 2.13 Thu Nov 8 14:22:03 EST 2012 * TEST: Deterministic tests in hints_pod_examples.t . (RT #80412, thanks to demerphq) * INTERNAL: subroutine installs are now done in a deterministic order. (RT #80414, thanks to demerphq)
2012-10-31Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-1/+2
are called p5-*. I hope that's all of them.
2012-07-06Updating package for Perl 5 pragma autodie in devel/p5-autodie fromsno2-7/+6
2.10nb2 to 2.12. Upstream changes: 2.12 Tue Jun 26 14:55:04 PDT 2012 * BUGFIX: autodie now plays nicely with the 'open' pragma (RT #54777, thanks to Schwern). * BUILD: Updated to Module::Install 1.06 * BUILD: Makefile.PL is less redundant. * TEST: t/pod-coverage.t no longer thinks LEXICAL_TAG is a user-visible subroutine. 2.11 Sat Mar 24 01:50:56 AUSEST 2012 * DOCS: Explicitly documented that autodie is context unaware. (Thanks to chromatic.) * TEST: Multi-arg open tests are skipped on VMS. (Thanks to Craig A. Berry.) * TEST BUGFIX recv.t shouldn't assume STDIN is a file handle. (Thanks to Todd Rinaldo) * TEST: Fixed compatibility with Carp 1.25. (Thanks to Olivier Mengué.) * INTERNAL: Exception classes are loaded more safely. (Thanks to Schwern)
2011-08-07Revision bump after updating perl to 5.14.1adam1-2/+2
2010-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
2010-03-03Updating devel/p5-autodie from 2.09 to 2.10sno2-6/+6
Upstream changes: 2.10 Sat Feb 27 14:01:18 AUSEST 2010 * BUGFIX: Fatal and autodie no longer leak Carp functions into the caller's namespace. Thanks to Schwern. * TEST: Multi-arg open tests are really really skipped under Windows now. * DOCUMENTATION: Many more people are properly attributed in the 'AUTHORS' file.
2010-02-23Updating devel/p5-autodie from 2.08 to 2.09sno2-6/+6
Upstream changes: 2.09 Tue Feb 23 00:33:09 EST 2010 * DOCS: Fixed documentation typo. RT #48575 Thanks to David Taylor. * TEST: Tests involved multi-arg open are skipped on Windows (where multi-arg pipe is not implemented).
2010-02-18Updating devel/p5-autodie from 2.06 to 2.08sno2-7/+10
pkgsrc changes: - Adjust module type for installation - Adjust installed file permissions Upstream changes: 2.08 Mon Feb 8 14:24:26 AUSEST 2010 * BUGFIX: Addeds support for chmod. Many thanks to Jonathan Yu for reporting this (RT #50423). * BUGFIX: Multi-arg open is now supported by open. Many thanks to Nick Ncleaton for finding and fix this bug. (RT #52427) * BUILD: Updated to Module::Install 0.93 2.07 Fri Jul 31 16:35:40 BST 2009 * FEATURE: Added ->eval_error to autodie::exception, which stores the contents of $@ at the time autodie throws its own exception. This is useful when dealing with modules such as Text::Balanced which set (but do not throw) $@ on error. * TEST: Checking for flock() support no longer causes test failures on older VMS sysstems. (RT #47812) Thanks to Craig A. Berry for supplying a patch. * TEST: hints.t tests should no longer cause bogus failures relating to File::Copy on VMS and Windows systems prior to Perl 5.10.2.
2009-08-19Importing package for perl5 pragma autodie version 2.06 to satisfysno3-0/+37
PR pkg/41816. The autodie pragma provides a convenient way to replace functions that normally return false on failure with equivalents that throw an exception on failure. The autodie pragma has lexical scope, meaning that functions and subroutines altered with autodie will only change their behaviour until the end of the enclosing block, file, or eval. If system is specified as an argument to autodie, then it uses IPC::System::Simple to do the heavy lifting. See the description of that module for more information.