diff -Nru libmodule-extractuse-perl-0.343/Build.PL libmodule-extractuse-perl-0.344/Build.PL --- libmodule-extractuse-perl-0.343/Build.PL 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/Build.PL 2021-09-06 11:32:56.000000000 +0000 @@ -18,7 +18,7 @@ open(my $fh,'<',$grammar) || die "cannot read $grammar: $!"; my @content = <$fh>; close $fh; - splice(@content,1,0,'our $VERSION=0.343;'."\n"); + splice(@content,1,0,'our $VERSION=0.344;'."\n"); open(my $out,">",$grammar) || die "cannot write $grammer: $!"; print $out @content; close $out; @@ -55,7 +55,7 @@ 'Kenichi Ishigaki ' ], 'dist_name' => 'Module-ExtractUse', - 'dist_version' => '0.343', + 'dist_version' => '0.344', 'license' => 'perl', 'module_name' => 'Module::ExtractUse', 'module_name' => 'Module::ExtractUse', diff -Nru libmodule-extractuse-perl-0.343/Changes libmodule-extractuse-perl-0.344/Changes --- libmodule-extractuse-perl-0.343/Changes 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/Changes 2021-09-06 11:32:56.000000000 +0000 @@ -2,6 +2,10 @@ # Changes for Module::ExtractUse #----------------------------------------------------------------- +0.344 2021-09-06T13:31:26 + - Fixed some spelling errors in the Pod. (Håkon Hægland) + + 0.343 2018-10-18T15:19:05 - Mention Perl::PrereqScanner modules family (perlancar) diff -Nru libmodule-extractuse-perl-0.343/debian/changelog libmodule-extractuse-perl-0.344/debian/changelog --- libmodule-extractuse-perl-0.343/debian/changelog 2018-11-17 18:12:17.000000000 +0000 +++ libmodule-extractuse-perl-0.344/debian/changelog 2021-09-11 16:09:00.000000000 +0000 @@ -1,3 +1,24 @@ +libmodule-extractuse-perl (0.344-1) unstable; urgency=medium + + [ gregor herrmann ] + * debian/*: replace ADTTMP with AUTOPKGTEST_TMP. + * debian/watch: use uscan version 4. + + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Database, Bug-Submit. + * Remove obsolete fields Contact, Name from debian/upstream/metadata (already + present in machine-readable debian/copyright). + + [ gregor herrmann ] + * Import upstream version 0.344. + * Update years of upstream and packaging copyright. + * Declare compliance with Debian Policy 4.6.0. + * Set Rules-Requires-Root: no. + * Annotate test-only build dependencies with . + * Bump debhelper-compat to 13. + + -- gregor herrmann Sat, 11 Sep 2021 18:09:00 +0200 + libmodule-extractuse-perl (0.343-1) unstable; urgency=medium * Import upstream version 0.343. diff -Nru libmodule-extractuse-perl-0.343/debian/compat libmodule-extractuse-perl-0.344/debian/compat --- libmodule-extractuse-perl-0.343/debian/compat 2018-11-17 18:12:17.000000000 +0000 +++ libmodule-extractuse-perl-0.344/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -10 diff -Nru libmodule-extractuse-perl-0.343/debian/control libmodule-extractuse-perl-0.344/debian/control --- libmodule-extractuse-perl-0.343/debian/control 2018-11-17 18:12:17.000000000 +0000 +++ libmodule-extractuse-perl-0.344/debian/control 2021-09-11 16:09:00.000000000 +0000 @@ -6,20 +6,21 @@ Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 10), +Build-Depends: debhelper-compat (= 13), libmodule-build-perl, perl Build-Depends-Indep: libparse-recdescent-perl, - libpod-strip-perl, - libtest-deep-perl, - libtest-nowarnings-perl, - libtest-pod-coverage-perl, - libtest-pod-perl, - libuniversal-require-perl -Standards-Version: 4.2.1 + libpod-strip-perl , + libtest-deep-perl , + libtest-nowarnings-perl , + libtest-pod-coverage-perl , + libtest-pod-perl , + libuniversal-require-perl +Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmodule-extractuse-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmodule-extractuse-perl.git Homepage: https://metacpan.org/release/Module-ExtractUse +Rules-Requires-Root: no Package: libmodule-extractuse-perl Architecture: all diff -Nru libmodule-extractuse-perl-0.343/debian/copyright libmodule-extractuse-perl-0.344/debian/copyright --- libmodule-extractuse-perl-0.343/debian/copyright 2018-11-17 18:12:17.000000000 +0000 +++ libmodule-extractuse-perl-0.344/debian/copyright 2021-09-11 16:09:00.000000000 +0000 @@ -4,7 +4,7 @@ Source: https://metacpan.org/release/Module-ExtractUse Files: * -Copyright: 2012-2014, Thomas Klausner +Copyright: 2012-2021, Thomas Klausner License: Artistic or GPL-1+ Files: example/extractuse.pl @@ -21,7 +21,7 @@ Files: debian/* Copyright: 2009, Peter Pentchev - 2009-2018, gregor herrmann + 2009-2021, gregor herrmann 2012-2013, Florian Schlichting 2016, Lucas Kanashiro License: Artistic or GPL-1+ diff -Nru libmodule-extractuse-perl-0.343/debian/patches/autopkgtest.patch libmodule-extractuse-perl-0.344/debian/patches/autopkgtest.patch --- libmodule-extractuse-perl-0.343/debian/patches/autopkgtest.patch 2018-11-17 18:12:17.000000000 +0000 +++ libmodule-extractuse-perl-0.344/debian/patches/autopkgtest.patch 2021-09-11 16:09:00.000000000 +0000 @@ -1,5 +1,5 @@ Description: use $Config{vendorlib} when run under autopktest - as discovered by $ENV{ADTTMP} + as discovered by $ENV{AUTOPKGTEST_TMP} Origin: vendor Forwarded: not-needed Author: gregor herrmann @@ -37,7 +37,7 @@ { my $p=Module::ExtractUse->new; - $p->extract_use('lib/Module/ExtractUse.pm'); -+ my $dir = $ENV{ADTTMP} ? $Config{vendorlib} : "lib"; ++ my $dir = $ENV{AUTOPKGTEST_TMP} ? $Config{vendorlib} : "lib"; + $p->extract_use("$dir/Module/ExtractUse.pm"); cmp_deeply($p->arrayref, bag(qw(strict warnings Pod::Strip Parse::RecDescent Module::ExtractUse::Grammar Carp 5.008)), diff -Nru libmodule-extractuse-perl-0.343/debian/upstream/metadata libmodule-extractuse-perl-0.344/debian/upstream/metadata --- libmodule-extractuse-perl-0.343/debian/upstream/metadata 2018-11-17 18:12:17.000000000 +0000 +++ libmodule-extractuse-perl-0.344/debian/upstream/metadata 2021-09-11 16:09:00.000000000 +0000 @@ -1,6 +1,6 @@ --- Archive: CPAN -Contact: Thomas Klausner , Kenichi Ishigaki -Name: Module-ExtractUse +Bug-Database: https://github.com/domm/Module-ExtractUse/issues +Bug-Submit: https://github.com/domm/Module-ExtractUse/issues/new Repository: https://github.com/domm/Module-ExtractUse.git Repository-Browse: https://github.com/domm/Module-ExtractUse diff -Nru libmodule-extractuse-perl-0.343/debian/watch libmodule-extractuse-perl-0.344/debian/watch --- libmodule-extractuse-perl-0.343/debian/watch 2018-11-17 18:12:17.000000000 +0000 +++ libmodule-extractuse-perl-0.344/debian/watch 2021-09-11 16:09:00.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://metacpan.org/release/Module-ExtractUse .*/Module-ExtractUse-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +https://metacpan.org/release/Module-ExtractUse .*/Module-ExtractUse-v?@ANY_VERSION@@ARCHIVE_EXT@$ diff -Nru libmodule-extractuse-perl-0.343/dist.ini libmodule-extractuse-perl-0.344/dist.ini --- libmodule-extractuse-perl-0.343/dist.ini 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/dist.ini 2021-09-06 11:32:56.000000000 +0000 @@ -3,7 +3,7 @@ author = Kenichi Ishigaki license = Perl_5 copyright_holder = Thomas Klausner -copyright_year = 2014 +copyright_year = 2014 - 2021 [GatherDir] [PruneCruft] diff -Nru libmodule-extractuse-perl-0.343/INSTALL libmodule-extractuse-perl-0.344/INSTALL --- libmodule-extractuse-perl-0.343/INSTALL 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/INSTALL 2021-09-06 11:32:56.000000000 +0000 @@ -21,8 +21,11 @@ ## Manual installation -As a last resort, you can manually install it. Download the tarball, untar it, -then build it: +As a last resort, you can manually install it. If you have not already +downloaded the release tarball, you can find the download link on the module's +MetaCPAN page: https://metacpan.org/pod/Module::ExtractUse + +Untar the tarball, install configure prerequisites (see below), then build it: % perl Build.PL % ./Build && ./Build test @@ -31,13 +34,47 @@ % ./Build install +Or the more portable variation: + + % perl Build.PL + % perl Build + % perl Build test + % perl Build install + If your perl is system-managed, you can create a local::lib in your home directory to install modules to. For details, see the local::lib documentation: https://metacpan.org/pod/local::lib +The prerequisites of this distribution will also have to be installed manually. The +prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated +by running the manual build process described above. + +## Configure Prerequisites + +This distribution requires other modules to be installed before this +distribution's installer can be run. They can be found under the +"configure_requires" key of META.yml or the +"{prereqs}{configure}{requires}" key of META.json. + +## Other Prerequisites + +This distribution may require additional modules to be installed after running +Build.PL. +Look for prerequisites in the following phases: + +* to run ./Build, PHASE = build +* to use the module code itself, PHASE = runtime +* to run tests, PHASE = test + +They can all be found in the "PHASE_requires" key of MYMETA.yml or the +"{prereqs}{PHASE}{requires}" key of MYMETA.json. + ## Documentation Module-ExtractUse documentation is available as POD. -You can run perldoc from a shell to read the documentation: +You can run `perldoc` from a shell to read the documentation: % perldoc Module::ExtractUse + +For more information on installing Perl modules via CPAN, please see: +https://www.cpan.org/modules/INSTALL.html diff -Nru libmodule-extractuse-perl-0.343/lib/Module/ExtractUse/Grammar.pm libmodule-extractuse-perl-0.344/lib/Module/ExtractUse/Grammar.pm --- libmodule-extractuse-perl-0.343/lib/Module/ExtractUse/Grammar.pm 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/lib/Module/ExtractUse/Grammar.pm 2021-09-06 11:32:56.000000000 +0000 @@ -12217,7 +12217,7 @@ =head1 VERSION -version 0.343 +version 0.344 =head1 AUTHORS @@ -12235,7 +12235,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Thomas Klausner. +This software is copyright (c) 2014 - 2021 by Thomas Klausner. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -Nru libmodule-extractuse-perl-0.343/lib/Module/ExtractUse.pm libmodule-extractuse-perl-0.344/lib/Module/ExtractUse.pm --- libmodule-extractuse-perl-0.343/lib/Module/ExtractUse.pm 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/lib/Module/ExtractUse.pm 2021-09-06 11:32:56.000000000 +0000 @@ -8,7 +8,7 @@ use Parse::RecDescent 1.967009; use Module::ExtractUse::Grammar; use Carp; -our $VERSION = '0.343'; +our $VERSION = '0.344'; # ABSTRACT: Find out what modules are used @@ -349,7 +349,7 @@ =head1 VERSION -version 0.343 +version 0.344 =head1 SYNOPSIS @@ -371,14 +371,14 @@ my @used=$p->array; my $used=$p->string; - # you can get optional modules, that is use in eval context, in the same style + # you can get optional modules, that is used in eval context, in the same style my $used=$p->used_in_eval; # $used is a HASHREF print $p->used_in_eval('strict') # true if code includes 'use strict' my @used=$p->array_in_eval; my $used=$p->string_in_eval; - # and mandatory modules, that is use out of eval context, in the same style, also. + # and mandatory modules, that is used out of eval context, in the same style, also. my $used=$p->used_out_of_eval; # $used is a HASHREF print $p->used_out_of_eval('strict') # true if code includes 'use strict' @@ -387,7 +387,7 @@ =head1 DESCRIPTION -Module::ExtractUse is basically a L grammar to parse +C is basically a L grammar to parse Perl code. It tries very hard to find all modules (whether pragmas, Core, or from CPAN) used by the parsed code. @@ -401,7 +401,7 @@ Returns a parser object -=head3 extract_use +=head3 extract_use($code_to_parse) $p->extract_use('/path/to/module.pm'); $p->extract_use(\$string_containg_code); @@ -409,9 +409,9 @@ Runs the parser. C<$code_to_parse> can be either a SCALAR, in which case -Module::ExtractUse tries to open the file specified in +C tries to open the file specified in $code_to_parse. Or a reference to a SCALAR, in which case -Module::ExtractUse assumes the referenced scalar contains the source +C assumes the referenced scalar contains the source code. The code will be stripped from POD (using L) and split on ";" @@ -424,7 +424,7 @@ you can examine afterwards. You can call C several times on different files. It will -count how many files where examined and how often each module was used. +count how many files were examined and how often each module was used. =head2 Accessor Methods @@ -439,7 +439,7 @@ my $used=$p->used; # $used is a HASHREF print $p->used('strict') # true if code includes 'use strict' -If called without an argument, returns a reference to an hash of all +If called without an argument, returns a reference to a hash of all used modules. Keys are the names of the modules, values are the number of times they were used. @@ -550,7 +550,7 @@ =over -=item * L implemented support for Module::Runtime and Class::Load while participating in the L +=item * L implemented support for C and C while participating in the L =item * L fixed some documentation errors @@ -576,7 +576,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Thomas Klausner. +This software is copyright (c) 2014 - 2021 by Thomas Klausner. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -Nru libmodule-extractuse-perl-0.343/LICENSE libmodule-extractuse-perl-0.344/LICENSE --- libmodule-extractuse-perl-0.343/LICENSE 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/LICENSE 2021-09-06 11:32:56.000000000 +0000 @@ -1,4 +1,4 @@ -This software is copyright (c) 2014 by Thomas Klausner. +This software is copyright (c) 2014 - 2021 by Thomas Klausner. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2014 by Thomas Klausner. +This software is Copyright (c) 2014 - 2021 by Thomas Klausner. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2014 by Thomas Klausner. +This software is Copyright (c) 2014 - 2021 by Thomas Klausner. This is free software, licensed under: @@ -292,21 +292,21 @@ - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through - textual modification. + textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright - Holder. + Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for - the package. + the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the - computing community at large as a market that must bear the fee.) + computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they - received it. + received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you @@ -373,7 +373,7 @@ 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End diff -Nru libmodule-extractuse-perl-0.343/MANIFEST libmodule-extractuse-perl-0.344/MANIFEST --- libmodule-extractuse-perl-0.343/MANIFEST 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/MANIFEST 2021-09-06 11:32:56.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024. Build.PL Changes INSTALL diff -Nru libmodule-extractuse-perl-0.343/META.json libmodule-extractuse-perl-0.344/META.json --- libmodule-extractuse-perl-0.343/META.json 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/META.json 2021-09-06 11:32:56.000000000 +0000 @@ -5,7 +5,7 @@ "Kenichi Ishigaki " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -57,7 +57,9 @@ "web" : "https://github.com/domm/Module-ExtractUse" } }, - "version" : "0.343", - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225" + "version" : "0.344", + "x_generated_by_perl" : "v5.34.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.26", + "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff -Nru libmodule-extractuse-perl-0.343/META.yml libmodule-extractuse-perl-0.344/META.yml --- libmodule-extractuse-perl-0.343/META.yml 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/META.yml 2021-09-06 11:32:56.000000000 +0000 @@ -11,7 +11,7 @@ configure_requires: Module::Build: '0.28' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,5 +27,7 @@ warnings: '0' resources: repository: git://github.com/domm/Module-ExtractUse.git -version: '0.343' -x_serialization_backend: 'YAML::Tiny version 1.69' +version: '0.344' +x_generated_by_perl: v5.34.0 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff -Nru libmodule-extractuse-perl-0.343/README libmodule-extractuse-perl-0.344/README --- libmodule-extractuse-perl-0.343/README 2018-10-18 13:20:58.000000000 +0000 +++ libmodule-extractuse-perl-0.344/README 2021-09-06 11:32:56.000000000 +0000 @@ -1,15 +1,12 @@ - - This archive contains the distribution Module-ExtractUse, -version 0.343: +version 0.344: Find out what modules are used -This software is copyright (c) 2014 by Thomas Klausner. +This software is copyright (c) 2014 - 2021 by Thomas Klausner. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v6.008. - +This README file was generated by Dist::Zilla::Plugin::Readme v6.024.