From owner-svn-ports-all@freebsd.org Wed Jan 4 01:45:08 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E04FAC9C519; Wed, 4 Jan 2017 01:45:08 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 BAF921AE4; Wed, 4 Jan 2017 01:45:08 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v041j7b8013771; Wed, 4 Jan 2017 01:45:07 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v041j73A013766; Wed, 4 Jan 2017 01:45:07 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201701040145.v041j73A013766@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Wed, 4 Jan 2017 01:45:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430527 - in head/devel: . p5-Module-Extract-Use X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2017 01:45:09 -0000 Author: wen Date: Wed Jan 4 01:45:07 2017 New Revision: 430527 URL: https://svnweb.freebsd.org/changeset/ports/430527 Log: Extract the names of the modules used in a file using a static analysis. Since this module does not run code, it cannot find dynamic uses of modules, such as eval "require $class". It only reports modules that the file loads directly. Modules loaded with parent or base, for instance, will will be in the import list for those pragmas but won't have separate entries in the data this module returns. WWW: http://github.com/briandfoy/module-extract-use/tree/master PR: 215745 Submitted by: svysh.fbsd@gmail.com Added: head/devel/p5-Module-Extract-Use/ head/devel/p5-Module-Extract-Use/Makefile (contents, props changed) head/devel/p5-Module-Extract-Use/distinfo (contents, props changed) head/devel/p5-Module-Extract-Use/pkg-descr (contents, props changed) head/devel/p5-Module-Extract-Use/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Jan 4 01:22:40 2017 (r430526) +++ head/devel/Makefile Wed Jan 4 01:45:07 2017 (r430527) @@ -2741,6 +2741,7 @@ SUBDIR += p5-Module-Dependency SUBDIR += p5-Module-Depends SUBDIR += p5-Module-Extract + SUBDIR += p5-Module-Extract-Use SUBDIR += p5-Module-ExtractUse SUBDIR += p5-Module-Find SUBDIR += p5-Module-Functions Added: head/devel/p5-Module-Extract-Use/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Extract-Use/Makefile Wed Jan 4 01:45:07 2017 (r430527) @@ -0,0 +1,26 @@ +# Created by: Sergei Vyshenski +# $FreeBSD$ + +PORTNAME= Module-Extract-Use +PORTVERSION= 1.04 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= svysh.fbsd@gmail.com +COMMENT= Pull out the modules a module explicitly uses + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Test-Output>0:devel/p5-Test-Output \ + p5-PPI>0:textproc/p5-PPI +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-Pod>0:devel/p5-Test-Pod \ + p5-Test-Pod-Coverage>0:devel/p5-Test-Pod-Coverage + +USES= perl5 +USE_PERL5= configure +NO_ARCH= yes + +.include Added: head/devel/p5-Module-Extract-Use/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Extract-Use/distinfo Wed Jan 4 01:45:07 2017 (r430527) @@ -0,0 +1,3 @@ +TIMESTAMP = 1483298307 +SHA256 (Module-Extract-Use-1.04.tar.gz) = b2dba019d5dfde41217f10cfdc20ebd46c3deee00accef37097f1bf2597f5c9a +SIZE (Module-Extract-Use-1.04.tar.gz) = 7460 Added: head/devel/p5-Module-Extract-Use/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Extract-Use/pkg-descr Wed Jan 4 01:45:07 2017 (r430527) @@ -0,0 +1,8 @@ +Extract the names of the modules used in a file using a static analysis. +Since this module does not run code, it cannot find dynamic uses of +modules, such as eval "require $class". It only reports modules that the +file loads directly. Modules loaded with parent or base, for instance, +will will be in the import list for those pragmas but won't have separate +entries in the data this module returns. + +WWW: http://github.com/briandfoy/module-extract-use/tree/master Added: head/devel/p5-Module-Extract-Use/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Module-Extract-Use/pkg-plist Wed Jan 4 01:45:07 2017 (r430527) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Module/Extract/Use.pm +%%PERL5_MAN3%%/Module::Extract::Use.3.gz