Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2015 11:54:52 +0000 (UTC)
From:      Jun Kuriyama <kuriyama@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386521 - in head/devel: . p5-Parse-LocalDistribution
Message-ID:  <201505161154.t4GBsqwE024466@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kuriyama
Date: Sat May 16 11:54:51 2015
New Revision: 386521
URL: https://svnweb.freebsd.org/changeset/ports/386521

Log:
  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/

Added:
  head/devel/p5-Parse-LocalDistribution/
  head/devel/p5-Parse-LocalDistribution/Makefile   (contents, props changed)
  head/devel/p5-Parse-LocalDistribution/distinfo   (contents, props changed)
  head/devel/p5-Parse-LocalDistribution/pkg-descr   (contents, props changed)
  head/devel/p5-Parse-LocalDistribution/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat May 16 11:48:18 2015	(r386520)
+++ head/devel/Makefile	Sat May 16 11:54:51 2015	(r386521)
@@ -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

Added: head/devel/p5-Parse-LocalDistribution/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Parse-LocalDistribution/Makefile	Sat May 16 11:54:51 2015	(r386521)
@@ -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>

Added: head/devel/p5-Parse-LocalDistribution/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Parse-LocalDistribution/distinfo	Sat May 16 11:54:51 2015	(r386521)
@@ -0,0 +1,2 @@
+SHA256 (Parse-LocalDistribution-0.15.tar.gz) = 8b0f5bf64c6f45bb9706bd526ec2a91a58fc874ef8d2f5df6236980a03ccc68a
+SIZE (Parse-LocalDistribution-0.15.tar.gz) = 8204

Added: head/devel/p5-Parse-LocalDistribution/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Parse-LocalDistribution/pkg-descr	Sat May 16 11:54:51 2015	(r386521)
@@ -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/

Added: head/devel/p5-Parse-LocalDistribution/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Parse-LocalDistribution/pkg-plist	Sat May 16 11:54:51 2015	(r386521)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Parse/LocalDistribution.pm
+%%PERL5_MAN3%%/Parse::LocalDistribution.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505161154.t4GBsqwE024466>