Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Module-ScanDeps | Distribution: SUSE Linux Enterprise 15 SP4 |
Version: 1.24 | Vendor: openSUSE |
Release: bp154.1.47 | Build date: Mon May 9 11:04:29 2022 |
Group: Development/Libraries/Perl | Build host: lamb54 |
Size: 122172 | Source RPM: perl-Module-ScanDeps-1.24-bp154.1.47.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/Module-ScanDeps/ | |
Summary: Recursively scan Perl code for dependencies |
This module scans potential modules used by perl programs, and returns a hash reference; its keys are the module names as appears in '%INC' (e.g. 'Test/More.pm'); the values are hash references with this structure: { file => '/usr/local/lib/perl5/5.8.0/Test/More.pm', key => 'Test/More.pm', type => 'module', # or 'autoload', 'data', 'shared' used_by => [ 'Test/Simple.pm', ... ], uses => [ 'Test/Other.pm', ... ], } One function, 'scan_deps', is exported by default. Other functions such as ('scan_line', 'scan_chunk', 'add_deps', 'path_to_inc_name') are exported upon request. Users of *App::Packer* may also use this module as the dependency-checking frontend, by tweaking their _p2e.pl_ like below: use Module::ScanDeps; ... my $packer = App::Packer->new( frontend => 'Module::ScanDeps' ); ... Please see App::Packer::Frontend for detailed explanation on the structure returned by 'get_files'.
Artistic-1.0 or GPL-1.0+
* Sun Jul 02 2017 coolo@suse.com - updated to 1.24 see /usr/share/doc/packages/perl-Module-ScanDeps/Changes 1.24 2017-06-28 - Merge pull request from Salvador FandiƱo (salva), thx! Specio::PartialDump uses unicore - Fix RT#119737: Problems with detecting DateTime::Format::Natural dependencies ... by adding a %Preload rule * Thu Nov 17 2016 coolo@suse.com - updated to 1.23 see /usr/share/doc/packages/perl-Module-ScanDeps/Changes 1.23 2016-11-16 - add %Preload rules for List::SomeUtils and Pod::Simple::Transcode - get rid of Module::Install, use ExtUtils::MakeMaker * Sun Sep 18 2016 coolo@suse.com - updated to 1.22 see /usr/share/doc/packages/perl-Module-ScanDeps/Changes 1.22 2016-09-17 - Fix RT#117887: Not parsing new release of Net::DNS::Resolver add %Preload rule for Net/DNS/Resolver.pm - Move to GitHub. Thanks, OpenFoundry, for years of service. * Thu Apr 07 2016 coolo@suse.com - updated to 1.21 see /usr/share/doc/packages/perl-Module-ScanDeps/Changes 1.21 2016-04-05 - %Preload: add rules for List::MoreUtils and Log::Dispatch - %Preload: make the following modules require the unicore stuff: charnames.pm Unicode/Normalize.pm Unicode/UCD.pm - add helper _glob_in_inc_1() - remove all references to http://par.perl.org/, doesn't exist anymore * Tue Oct 06 2015 coolo@suse.com - updated to 1.20 see /usr/share/doc/packages/perl-Module-ScanDeps/Changes 1.20 2015-10-04 - Fix RT #107304: Newer versions of File::Path cause warning "_Inline for _Inline: No such file or directory at Module/ScanDeps.pm line 1339." - drop the dubious call to rmtree() - Fix RT106142: Preload dependencies for PDL and PDL::NiceSlice - adopted from a patch by Shawn Laffan, thanks Shawn! - Fix RT#106144: Preload dependencies for File::BOM) - adopted from a patch by Shawn Laffan, thanks Shawn! - Revise our stance on utf8.pm: - A line of "use utf8;" just means "this file is encoded in UTF-8" and should _not_ result in scanning utf8.pm which will pull in the whole Unicode shebang (propery tables and what not). Yes, utf8.pm _doesn contain "require utf8_heavy.pl", but only inside an AUTOLOAD() that is _not_ triggered by calling functions like utf8::is_utf8(). - OTOH the innocently looking one-liner perl -ne 'print if /\pN/' implicitly loads utf8.pm and triggers the AUTOLAD(). - So prevent utf8.pm from being scanned and make utf8_heavy.pl the indicator for "I need the Unicode stuff" instead. - Cache the results of _get_preload('utf8_heavy.pl'). - Make %Preload "transitive" so that given my %Preload = ( 'Foo.pm' => [ 'Bar.pm' ], 'Bar.pm' => [ 'Quux.pm' ], ... ); scan_deps_static() register a dependency on Bar.pm _and_ Quux.pm when it saw "use Foo;" - Minor changes: - drop dubious %Preload of utf8.pm for SOAP::Lite and XML::Parser::Expat - drop code for Perl < 5.008 as we require 5.8.1 already - rework the implementation of -x/-c - add add_preload_rule() to dynamically add a %Preload rule - recognize constructs like "open FH, '<:via(Foo)', ..." - upgrade to Module::Install 1.16 * Sun Jun 07 2015 coolo@suse.com - updated to 1.19 see /usr/share/doc/packages/perl-Module-ScanDeps/Changes 1.19 2015-05-27 - add %Preload rule for LWP::MediaTypes: data file LWP/media.types - add %Preload entry for MIME::Types: data file MIME/types.db - add %Preload rule for AnyEvent - always add Encode.pm when fix encountering constructs like decode("klingon", ...) open FH, "<:encoding(klingon)", .. - add license - update OpenFoundry repository URL * Mon Apr 13 2015 coolo@suse.com - updated to 1.18 see /usr/share/doc/packages/perl-Module-ScanDeps/Changes * Sun Feb 09 2014 coolo@suse.com - updated to 1.13 * Fix recognition of (open() arguments) "<:encoding(klingon)", implies modules PerlIO and PerlIO::encoding. * Mon Dec 09 2013 coolo@suse.com - updated to 1.12 * Fix RT #90869: Use of uninitialized value $module in substitution (s///) * Fix RT #87775: typo fixes, thanks dsteinbrunner@pobox.com * new %Preload rule for B::Hooks::EndOfScope * new %Preload rule for Pod::Usage * add a fake %Preload rule that warns if use of Module::Implementation or Module::Runtime is detected (coz' they're doing runtime loading) * change some tests to use Test::Requires instead of homegrown stuff; hence add it to "test_requires" * clean up some uses of Test::More * Fri Oct 04 2013 coolo@suse.com - updated to 1.11 * Fix RT #89000: test broken by indirect base.pm disuse - delete base.pm from list of expected deps, patch by Andrew Main (zefram@fysh.org) * new %Preload rule for Net::HTTPS (e.g. used by LWP::Protocol::https) - look for IO::Socket::SSL or Net::SSL * new %Preload rule for YAML::Any - try to figure out what YAML::Any would have used (using YAML::Any->implementation) - as fallback, include anything below YAML
/usr/bin/scandeps.pl /usr/lib/perl5/vendor_perl/5.26.1/Module /usr/lib/perl5/vendor_perl/5.26.1/Module/ScanDeps /usr/lib/perl5/vendor_perl/5.26.1/Module/ScanDeps.pm /usr/lib/perl5/vendor_perl/5.26.1/Module/ScanDeps/Cache.pm /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Module /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Module/ScanDeps /usr/share/doc/packages/perl-Module-ScanDeps /usr/share/doc/packages/perl-Module-ScanDeps/AUTHORS /usr/share/doc/packages/perl-Module-ScanDeps/Changes /usr/share/doc/packages/perl-Module-ScanDeps/README /usr/share/licenses/perl-Module-ScanDeps /usr/share/licenses/perl-Module-ScanDeps/LICENSE /usr/share/man/man1/scandeps.pl.1.gz /usr/share/man/man3/Module::ScanDeps.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 16:00:25 2024