pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-autodie Importing package for perl5 pragma au...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d7cd59bffea
branches:  trunk
changeset: 397879:0d7cd59bffea
user:      sno <sno%pkgsrc.org@localhost>
date:      Wed Aug 19 20:17:30 2009 +0000

description:
Importing package for perl5 pragma autodie version 2.06 to satisfy
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.

diffstat:

 devel/p5-autodie/DESCR    |  10 ++++++++++
 devel/p5-autodie/Makefile |  22 ++++++++++++++++++++++
 devel/p5-autodie/distinfo |   5 +++++
 3 files changed, 37 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r b6f36a5bb74b -r 0d7cd59bffea devel/p5-autodie/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-autodie/DESCR    Wed Aug 19 20:17:30 2009 +0000
@@ -0,0 +1,10 @@
+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.
diff -r b6f36a5bb74b -r 0d7cd59bffea devel/p5-autodie/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-autodie/Makefile Wed Aug 19 20:17:30 2009 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/19 20:17:30 sno Exp $
+
+DISTNAME=      autodie-2.06
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=autodie/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/autodie/
+COMMENT=       Replace functions with ones that succeed or die with lexical scope
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-IPC-System-Simple>=0.12:../../devel/p5-IPC-System-Simple
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PERL5_MODULE_TYPE=     Module::Install # better Module::Install::Bundled
+PERL5_PACKLIST=                auto/autodie/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b6f36a5bb74b -r 0d7cd59bffea devel/p5-autodie/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-autodie/distinfo Wed Aug 19 20:17:30 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/19 20:17:30 sno Exp $
+
+SHA1 (autodie-2.06.tar.gz) = 4865c824c275dacb53a38f797bc3add9c7ac1daf
+RMD160 (autodie-2.06.tar.gz) = 367c63d0917b41a40f69be7fcbec56331d68d19e
+Size (autodie-2.06.tar.gz) = 73630 bytes



Home | Main Index | Thread Index | Old Index