pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-indirect Adding package for CPAN distribution...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b3f2f64ee108
branches: trunk
changeset: 620911:b3f2f64ee108
user: sno <sno%pkgsrc.org@localhost>
date: Wed Jul 03 08:52:50 2013 +0000
description:
Adding package for CPAN distribution indirect version 0.30 into
devel/p5-indirect.
When enabled, this pragma warns about indirect method calls that are
present in your code.
This pragma currently does not warn for core functions (print, say, exec
or system). This may change in the future, or may be added as optional
features that would be enabled by passing options to unimport.
In http://www.shadowcat.co.uk/blog/matt-s-trout/indirect-but-still-fatal,
Matt S. Trout gives an example of an undesirable indirect method call on
a block that can cause a particularly bewildering error.
diffstat:
devel/p5-indirect/DESCR | 10 ++++++++++
devel/p5-indirect/Makefile | 17 +++++++++++++++++
devel/p5-indirect/distinfo | 5 +++++
3 files changed, 32 insertions(+), 0 deletions(-)
diffs (44 lines):
diff -r 0f99a3d2bba0 -r b3f2f64ee108 devel/p5-indirect/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-indirect/DESCR Wed Jul 03 08:52:50 2013 +0000
@@ -0,0 +1,10 @@
+When enabled, this pragma warns about indirect method calls that are
+present in your code.
+
+This pragma currently does not warn for core functions (print, say, exec
+or system). This may change in the future, or may be added as optional
+features that would be enabled by passing options to unimport.
+
+In http://www.shadowcat.co.uk/blog/matt-s-trout/indirect-but-still-fatal,
+Matt S. Trout gives an example of an undesirable indirect method call on
+a block that can cause a particularly bewildering error.
diff -r 0f99a3d2bba0 -r b3f2f64ee108 devel/p5-indirect/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-indirect/Makefile Wed Jul 03 08:52:50 2013 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2013/07/03 08:52:50 sno Exp $
+
+DISTNAME= indirect-0.30
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/V/VP/VPIT/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/dist/indirect/
+COMMENT= Lexically warn about using the indirect method call syntax
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES= c
+PERL5_PACKLIST= auto/indirect/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0f99a3d2bba0 -r b3f2f64ee108 devel/p5-indirect/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-indirect/distinfo Wed Jul 03 08:52:50 2013 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 08:52:50 sno Exp $
+
+SHA1 (indirect-0.30.tar.gz) = d15b81040216b3a163537359de5661e654ccfbec
+RMD160 (indirect-0.30.tar.gz) = d9ecd00b44e40a780239aed78ac98f67a2fc202a
+Size (indirect-0.30.tar.gz) = 41721 bytes
Home |
Main Index |
Thread Index |
Old Index