pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-strictures Import strictures into devel/p5-st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a4433e65ac3
branches:  trunk
changeset: 595547:8a4433e65ac3
user:      hiramatsu <hiramatsu%pkgsrc.org@localhost>
date:      Mon Nov 21 06:12:25 2011 +0000

description:
Import strictures into devel/p5-strictures, which is required to
update databases/p5-SQL-Translator.

p5-strictures provides "strictures" directive.

  use strictures 1;

is equivalent to

  use strict;
  use warnings FATAL => 'all';

except when called from a file where $0 matches:

  /^x?t\/.*(?:load|compile|coverage|use_ok).*\.t$/

and when either '.git' or '.svn' is present in the current directory.

diffstat:

 devel/p5-strictures/DESCR    |  14 ++++++++++++++
 devel/p5-strictures/Makefile |  20 ++++++++++++++++++++
 devel/p5-strictures/distinfo |   5 +++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r 69994ef00265 -r 8a4433e65ac3 devel/p5-strictures/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-strictures/DESCR Mon Nov 21 06:12:25 2011 +0000
@@ -0,0 +1,14 @@
+p5-strictures provides "strictures" directive.
+
+  use strictures 1;
+
+is equivalent to
+
+  use strict;
+  use warnings FATAL => 'all';
+
+except when called from a file where $0 matches:
+
+  /^x?t\/.*(?:load|compile|coverage|use_ok).*\.t$/
+
+and when either '.git' or '.svn' is present in the current directory
diff -r 69994ef00265 -r 8a4433e65ac3 devel/p5-strictures/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-strictures/Makefile      Mon Nov 21 06:12:25 2011 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/11/21 06:12:25 hiramatsu Exp $
+#
+
+DISTNAME=      strictures-1.002002
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MS/MSTROUT/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/strictures/
+COMMENT=       Turn on strict and make all warnings fatal
+LICENSE=       ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/strictures/.packlist
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 69994ef00265 -r 8a4433e65ac3 devel/p5-strictures/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-strictures/distinfo      Mon Nov 21 06:12:25 2011 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/11/21 06:12:25 hiramatsu Exp $
+
+SHA1 (strictures-1.002002.tar.gz) = cbb8491da9b54a5c9920254716eb21d6e17fc788
+RMD160 (strictures-1.002002.tar.gz) = 89a8bca07545d1c932b656ebd7e13081fdb52348
+Size (strictures-1.002002.tar.gz) = 5252 bytes



Home | Main Index | Thread Index | Old Index