- updated to 1.34
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.34 2023-09-24
- Fix issue #19 (AKA rschupp/PAR-Packer#78): invalid paths in zip file
- Restore behaviour from version 1.31 when using "pp --execute ..." or
"scandeps.pl --execute ...".
When using "scan_deps(execute => 1, ...)", %INC as gleaned from
running the script must be sanitized. Contrary to documentation
"The key is the filename you specified (with module names
converted to pathnames)" %INC *may* contain keys that are
*absolute pathnames* (or start with "./relativ/path" when
"relative/path" is in @PATH). Examples are autosplitted modules
(for autosplit.ix and *.al files). pp will pack these absolute
paths into the zip (Archive::Zip doesn't complain) which
results in strange error messages when the packed executable
tries to unpack them under CACHEDIR/inc on Windows.
Add t/19-autosplit.t to test for this.
Add IPC::Run3 to TEST_REQUIRES, used in t/19-autosplit.t
- Add GitHub CI
OBS-URL: https://build.opensuse.org/request/show/1113735
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-ScanDeps?expand=0&rev=56
- updated to 1.32
see /usr/share/doc/packages/perl-Module-ScanDeps/Changes
1.32 2023-07-05
- Ensure $inc gets removed from the start of $File::Find::name
On Windows, if $inc contains backslashes then it won't always get removed
from the start of $File::Find::name because the latter may be canonicalized
to only contain forward slashes.
- Provide dedicated test scripts for some tests instead of using
the test scripts themselves: Test::More draws in all kinds of stuff,
totally unpredictable
- Rewrite test helpers in t/Utils.pm to use Test::More's subtest feature
- Code cleanup; fix detection of 'do STRING' (cf PR #15)
- scandeps.pl: sort items in "used by" column
- Handle spaces after quote operator, e.g. eval qq {Some::Module}
- Fixes#12: share dir not returned when require module is in an eval
- Recognize constructs like "eval qq{require Inline::C}".
- Recognize idioms like "if (eval { require Foo }) { ..."
- Add %preload rules for some Mojo resource files
Fixesrschupp/PAR-Packer#44
- Bump perl dependency to guard against ancient perls without FindBin::again()
- Add tool to trace when (and from where) Perl searches for a module
OBS-URL: https://build.opensuse.org/request/show/1097600
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-ScanDeps?expand=0&rev=52
- update to 1.10:
* add %Preload rule for Params::Validate to detect
its PP and XS implementations
* Fix RT #80276 Module DateTime::Format::ISO8601 generates error
after being packaged
- caused by failing to pack DateTime::Format::Builder::Parser::XXX modules
needed by DateTime::Format::Builder::Parser
- add a corresponding %Preload rule
- update to 1.09:
* teach Module::ScanDeps about "use if ..." constructs
- fixes CPAN Testers failures for PAR::Packer with perl 5.17.1 and up
(Roderich Schupp)
* RT #79003: t/7-check-dynaloader.t failing when /usr/lib != /usr/lib64
- scrap the test for "$entry{file} starts with $expected_prefix" as
its assumptions are flawed (Roderich Schupp)
* Mojo::Base is a loader (Alexandr Ciornii)
* Special case for Class::Load (Alexandr Ciornii)
- update to 1.08:
* RT #73785: scandeps -c fails on modules that depend on Getopt::Euclid
- for "scandeps -c ..." switch from an INIT block to a CHECK block
and call the augmented script with "perl -c" instaed of "perl"
* RT#72954 ":encoding(UTF-8)" doesn't imply a dependency on Encode.pm
- if scan_chunk sees ":encoding(FOO)" or similar, it goes to some
length to find the "external" Encode module to handle FOO; but it
forgets that Encode.pm itself is needed at runtime (esp. if FOO
is an encoding "internally" handled by Encode.pm, e.g. "UTF-8") (forwarded request 147889 from oertel)
OBS-URL: https://build.opensuse.org/request/show/147926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Module-ScanDeps?expand=0&rev=8
- update to 1.10:
* add %Preload rule for Params::Validate to detect
its PP and XS implementations
* Fix RT #80276 Module DateTime::Format::ISO8601 generates error
after being packaged
- caused by failing to pack DateTime::Format::Builder::Parser::XXX modules
needed by DateTime::Format::Builder::Parser
- add a corresponding %Preload rule
- update to 1.09:
* teach Module::ScanDeps about "use if ..." constructs
- fixes CPAN Testers failures for PAR::Packer with perl 5.17.1 and up
(Roderich Schupp)
* RT #79003: t/7-check-dynaloader.t failing when /usr/lib != /usr/lib64
- scrap the test for "$entry{file} starts with $expected_prefix" as
its assumptions are flawed (Roderich Schupp)
* Mojo::Base is a loader (Alexandr Ciornii)
* Special case for Class::Load (Alexandr Ciornii)
- update to 1.08:
* RT #73785: scandeps -c fails on modules that depend on Getopt::Euclid
- for "scandeps -c ..." switch from an INIT block to a CHECK block
and call the augmented script with "perl -c" instaed of "perl"
* RT#72954 ":encoding(UTF-8)" doesn't imply a dependency on Encode.pm
- if scan_chunk sees ":encoding(FOO)" or similar, it goes to some
length to find the "external" Encode module to handle FOO; but it
forgets that Encode.pm itself is needed at runtime (esp. if FOO
is an encoding "internally" handled by Encode.pm, e.g. "UTF-8")
OBS-URL: https://build.opensuse.org/request/show/147889
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-ScanDeps?expand=0&rev=14
- update to 1.05:
* RT#72082: $FindBin::Bin issue on Moduel::ScanDeps 1.04: make FindBin work
(at least with option -c or -x) by spoofing $0 in the temp script generated
for M:SD::DataFeed
* RT #70134: patch suggestions for Module::ScanDeps 1.04: additional preload
rules, used_via_preload attribute; add suggested %Preload rules
* add %Preload rules for MozRepl
* special case for Package::Stash
* special case for Moose
- changes from 1.04:
* brown paper bag bug: fix option -x (execute) (broken by changes for -c)
* honor option -I with -c
- changes from 1.03:
* RT#69213: ScanDeps incompatible with AnyEvent (Perl 5.14, AnyEvent 5.34,
PAR 1.00.2); for option -c (compile) M:SD used to wrap the file in one big
sub and appended an END block where it dumps %INC etc; the outer sub causes
problems with certain contructs; instead we now use an INIT block prepended
to the file
* RT #69471: problem with "eval { require SomeModule }" constructions
Module::ScanDeps::DataFeed now omits %INC pairs with an undefined value
(these may be created by an unsuccessful "require" under certain
conditions); also omit CODE refs from @INC
* simplify Module::ScanDeps::DataFeed somewhat by localizing %INC around
"require Module::ScanDeps::DataFeed" and by using Data::Dumper for the
actual dump
* don't create the tempfiles for DataFeed in the working directory
OBS-URL: https://build.opensuse.org/request/show/90083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Module-ScanDeps?expand=0&rev=4
* RT#72082: $FindBin::Bin issue on Moduel::ScanDeps 1.04: make FindBin work
(at least with option -c or -x) by spoofing $0 in the temp script generated
for M:SD::DataFeed
* RT #70134: patch suggestions for Module::ScanDeps 1.04: additional preload
rules, used_via_preload attribute; add suggested %Preload rules
* add %Preload rules for MozRepl
* special case for Package::Stash
* special case for Moose
- changes from 1.04:
* brown paper bag bug: fix option -x (execute) (broken by changes for -c)
* honor option -I with -c
- changes from 1.03:
* RT#69213: ScanDeps incompatible with AnyEvent (Perl 5.14, AnyEvent 5.34,
PAR 1.00.2); for option -c (compile) M:SD used to wrap the file in one big
sub and appended an END block where it dumps %INC etc; the outer sub causes
problems with certain contructs; instead we now use an INIT block prepended
to the file
* RT #69471: problem with "eval { require SomeModule }" constructions
Module::ScanDeps::DataFeed now omits %INC pairs with an undefined value
(these may be created by an unsuccessful "require" under certain
conditions); also omit CODE refs from @INC
* simplify Module::ScanDeps::DataFeed somewhat by localizing %INC around
"require Module::ScanDeps::DataFeed" and by using Data::Dumper for the
actual dump
* don't create the tempfiles for DataFeed in the working directory
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-ScanDeps?expand=0&rev=8
oid sha256:e5beb3adf55be3dab71f9a1416d4bad57b14e5e05c96370741b9d8f96a51b612
size 59289
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.