From owner-svn-ports-head@FreeBSD.ORG Sat May 16 11:54:53 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FDDBBA9; Sat, 16 May 2015 11:54:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 520001D38; Sat, 16 May 2015 11:54:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4GBsr8T024471; Sat, 16 May 2015 11:54:53 GMT (envelope-from kuriyama@FreeBSD.org) Received: (from kuriyama@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4GBsqwE024466; Sat, 16 May 2015 11:54:52 GMT (envelope-from kuriyama@FreeBSD.org) Message-Id: <201505161154.t4GBsqwE024466@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: kuriyama set sender to kuriyama@FreeBSD.org using -f From: Jun Kuriyama Date: Sat, 16 May 2015 11:54:52 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2015 11:54:53 -0000 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 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