From dba8e1e04b9829fcbe6a783107d8aab72ac99a62 Mon Sep 17 00:00:00 2001 From: sno Date: Thu, 5 Jul 2012 14:42:23 +0000 Subject: [PATCH] Importing package for Perl 5 module Perl::PrereqScanner version 1.013 from CPAN into devel/p5-Perl-PrereqScanner. The scanner will extract loosely your distribution prerequisites from your files. The extraction may not be perfect but tries to do its best. It will currently find the following prereqs: * plain lines beginning with use or require in your perl modules and scripts, including minimum perl version * regular inheritance declared with the base and parent pragmata * Moose inheritance declared with the extends keyword * Moose roles included with the with keyword * OO namespace aliasing using the aliased module --- devel/p5-Perl-PrereqScanner/DESCR | 11 ++++++++++ devel/p5-Perl-PrereqScanner/Makefile | 31 ++++++++++++++++++++++++++++ devel/p5-Perl-PrereqScanner/distinfo | 5 +++++ 3 files changed, 47 insertions(+) create mode 100644 devel/p5-Perl-PrereqScanner/DESCR create mode 100644 devel/p5-Perl-PrereqScanner/Makefile create mode 100644 devel/p5-Perl-PrereqScanner/distinfo diff --git a/devel/p5-Perl-PrereqScanner/DESCR b/devel/p5-Perl-PrereqScanner/DESCR new file mode 100644 index 000000000000..d259741b96ef --- /dev/null +++ b/devel/p5-Perl-PrereqScanner/DESCR @@ -0,0 +1,11 @@ +The scanner will extract loosely your distribution prerequisites from your +files. + +The extraction may not be perfect but tries to do its best. It will +currently find the following prereqs: + * plain lines beginning with use or require in your perl modules and + scripts, including minimum perl version + * regular inheritance declared with the base and parent pragmata + * Moose inheritance declared with the extends keyword + * Moose roles included with the with keyword + * OO namespace aliasing using the aliased module diff --git a/devel/p5-Perl-PrereqScanner/Makefile b/devel/p5-Perl-PrereqScanner/Makefile new file mode 100644 index 000000000000..7a332efe612a --- /dev/null +++ b/devel/p5-Perl-PrereqScanner/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2012/07/05 14:42:23 sno Exp $ +# + +DISTNAME= Perl-PrereqScanner-1.013 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Perl-PrereqScanner/ +COMMENT= Tool to scan your Perl code for its prerequisites +LICENSE= ${PERL5_LICENSE} + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +DEPENDS+= p5-CPAN-Meta-Requirements>=2.120.630:../../devel/p5-CPAN-Meta-Requirements +DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils +DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose +DEPENDS+= p5-PPI>=1.205:../../devel/p5-PPI +DEPENDS+= p5-Params-Util-[0-9]*:../../devel/p5-Params-Util +DEPENDS+= p5-String-RewritePrefix>=0.005:../../textproc/p5-String-RewritePrefix +DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean + +BUILD_DEPENDS+= {perl>=5.14.1,p5-Test-Simple>=0.96}:../../devel/p5-Test-Simple +BUILD_DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny + +PERL5_PACKLIST= auto/Perl/PrereqScanner/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Perl-PrereqScanner/distinfo b/devel/p5-Perl-PrereqScanner/distinfo new file mode 100644 index 000000000000..dd96510e50fc --- /dev/null +++ b/devel/p5-Perl-PrereqScanner/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2012/07/05 14:42:23 sno Exp $ + +SHA1 (Perl-PrereqScanner-1.013.tar.gz) = 477ce09caa07b8b685f0e87ff0b97dc8c5e95093 +RMD160 (Perl-PrereqScanner-1.013.tar.gz) = 6331dfce4291bfc9a38666e21aab4b2987ec8f6b +Size (Perl-PrereqScanner-1.013.tar.gz) = 19328 bytes