1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

This is a sister module of Parse::PMFile. This module parses local

.pm files (and a META file if any) in a specific (current if not
specified) directory, and returns a hash reference that represents
"provides" information (with some extra meta data).  This is almost
the same as Module::Metadata does (which has been in Perl core since
Perl 5.13.9).  The main difference is the most of the code of this
module is directly taken from the PAUSE code as of June 2013.  If you
need better compatibility to PAUSE, try this.  If you need better
performance, safety, or portability in general, Module::Metadata may
be a better and handier option (Parse::PMFile (and thus
Parse::LocalDistribution) actually evaluates code in the $VERSION line
(in a Safe compartment), which may be problematic in some cases).

WWW: http://search.cpan.org/dist/Parse-LocalDistribution/
This commit is contained in:
Jun Kuriyama 2015-05-16 11:54:51 +00:00
parent 8135590177
commit db7c05e4a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386521
5 changed files with 43 additions and 0 deletions

View File

@ -2685,6 +2685,7 @@
SUBDIR += p5-Parse-CPAN-Packages-Fast
SUBDIR += p5-Parse-ErrorString-Perl
SUBDIR += p5-Parse-ExuberantCTags
SUBDIR += p5-Parse-LocalDistribution
SUBDIR += p5-Parse-Method-Signatures
SUBDIR += p5-Parse-PMFile
SUBDIR += p5-Parse-PerlConfig

View File

@ -0,0 +1,24 @@
# $FreeBSD$
PORTNAME= Parse-LocalDistribution
PORTVERSION= 0.15
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension to parses local .pm files as PAUSE does
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
RUN_DEPENDS= \
p5-Parse-PMFile>=0.35:${PORTSDIR}/devel/p5-Parse-PMFile
BUILD_DEPENDS= ${RUN_DEPENDS} \
p5-ExtUtils-MakeMaker-CPANfile>0:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker-CPANfile
USES= perl5
USE_PERL5= configure
NO_ARCH= YES
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Parse-LocalDistribution-0.15.tar.gz) = 8b0f5bf64c6f45bb9706bd526ec2a91a58fc874ef8d2f5df6236980a03ccc68a
SIZE (Parse-LocalDistribution-0.15.tar.gz) = 8204

View File

@ -0,0 +1,14 @@
This is a sister module of Parse::PMFile. This module parses local
.pm files (and a META file if any) in a specific (current if not
specified) directory, and returns a hash reference that represents
"provides" information (with some extra meta data). This is almost
the same as Module::Metadata does (which has been in Perl core since
Perl 5.13.9). The main difference is the most of the code of this
module is directly taken from the PAUSE code as of June 2013. If you
need better compatibility to PAUSE, try this. If you need better
performance, safety, or portability in general, Module::Metadata may
be a better and handier option (Parse::PMFile (and thus
Parse::LocalDistribution) actually evaluates code in the $VERSION line
(in a Safe compartment), which may be problematic in some cases).
WWW: http://search.cpan.org/dist/Parse-LocalDistribution/

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Parse/LocalDistribution.pm
%%PERL5_MAN3%%/Parse::LocalDistribution.3.gz