Bug 215745 - [New port] devel/p5-Module-Extract-Use 1.04
Summary: [New port] devel/p5-Module-Extract-Use 1.04
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks: 215748
  Show dependency treegraph
 
Reported: 2017-01-03 21:36 UTC by Sergei Vyshenski
Modified: 2017-01-04 01:47 UTC (History)
2 users (show)

See Also:


Attachments
shar with a new port (2.37 KB, application/x-shar)
2017-01-03 21:36 UTC, Sergei Vyshenski
no flags Details
shar with a new port (2.43 KB, application/x-shar)
2017-01-03 23:49 UTC, Sergei Vyshenski
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Vyshenski 2017-01-03 21:36:57 UTC
Created attachment 178491 [details]
shar with a new port

Pull out the modules a module explicitly uses:
https://github.com/briandfoy/module-extract-use/tree/master

- This port is needed as a new dependency for existing port 
devel/p5-Test-Prereq starting with coming ver 2.002.

- "portlint -ACN" says: looks fine.

- Tested (with and without buil-in perl tests) at 11.stable-amd64 
with poudriere-3.1.14, perl-5.24.1, and openssl from base.
To activate test from within poudriere, file  
Mk/Uses/perl5.mk was locally augmented with lines:

.if defined(RUN_PERL_TESTS)
BUILD_DEPENDS+= ${TEST_DEPENDS}
pre-install:    test
.endif

All tests say: PASS.
Comment 1 Sergei Vyshenski 2017-01-03 23:49:34 UTC
Created attachment 178493 [details]
shar with a new port
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-01-04 01:45:45 UTC
A commit references this bug:

Author: wen
Date: Wed Jan  4 01:45:08 UTC 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

Changes:
  head/devel/Makefile
  head/devel/p5-Module-Extract-Use/
  head/devel/p5-Module-Extract-Use/Makefile
  head/devel/p5-Module-Extract-Use/distinfo
  head/devel/p5-Module-Extract-Use/pkg-descr
  head/devel/p5-Module-Extract-Use/pkg-plist