svn commit: r430527 - in head/devel: . p5-Module-Extract-Use
Wen Heping
wen at FreeBSD.org
Wed Jan 4 01:45:09 UTC 2017
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 at 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 <svysh.fbsd at gmail.com>
+# $FreeBSD$
+
+PORTNAME= Module-Extract-Use
+PORTVERSION= 1.04
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svysh.fbsd at 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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list