r26702 - in /branches/upstream/libmodule-scandeps-perl/current: Changes META.yml lib/Module/ScanDeps.pm

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Fri Nov 7 22:32:41 UTC 2008


Author: ansgar-guest
Date: Fri Nov  7 22:32:32 2008
New Revision: 26702

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26702
Log:
[svn-upgrade] Integrating new upstream version, libmodule-scandeps-perl (0.89)

Modified:
    branches/upstream/libmodule-scandeps-perl/current/Changes
    branches/upstream/libmodule-scandeps-perl/current/META.yml
    branches/upstream/libmodule-scandeps-perl/current/lib/Module/ScanDeps.pm

Modified: branches/upstream/libmodule-scandeps-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-scandeps-perl/current/Changes?rev=26702&op=diff
==============================================================================
--- branches/upstream/libmodule-scandeps-perl/current/Changes (original)
+++ branches/upstream/libmodule-scandeps-perl/current/Changes Fri Nov  7 22:32:32 2008
@@ -1,3 +1,12 @@
+
+[Changes for 0.89 - 2008-11-03]
+* Distribution fixes.
+* Do not use base Exporter.
+* Detection of 'asa' and 'only::matching'.
+
+[Changes for 0.88 - 2008-10-28]
+* Add special case for File::HomeDir.
+
 [Changes for 0.87 - 2008-10-28]
 * Add special case for PPI.
 

Modified: branches/upstream/libmodule-scandeps-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-scandeps-perl/current/META.yml?rev=26702&op=diff
==============================================================================
--- branches/upstream/libmodule-scandeps-perl/current/META.yml (original)
+++ branches/upstream/libmodule-scandeps-perl/current/META.yml Fri Nov  7 22:32:32 2008
@@ -1,26 +1,24 @@
----
-abstract: 'Recursively scan Perl code for dependencies'
-author:
-  - 'Audrey Tang <cpan at audreyt.org>'
-build_requires:
+--- 
+abstract: Recursively scan Perl code for dependencies
+author: 
+  - Audrey Tang <cpan at audreyt.org>
+build_requires: 
   Test::More: 0
 distribution_type: module
-generated_by: 'Module::Install version 0.77'
+generated_by: Module::Install version 0.68
 license: perl
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+meta-spec: 
+  url: http://module-build.sourceforge.net/META-spec-v1.3.html
+  version: 1.3
 name: Module-ScanDeps
-no_index:
-  directory:
+no_index: 
+  directory: 
     - inc
     - t
-requires:
+requires: 
   File::Spec: 0
   File::Temp: 0
   Module::Build::ModuleInfo: 0
   perl: 5.6.0
   version: 0
-resources:
-  license: http://dev.perl.org/licenses/
-version: 0.87
+version: 0.83

Modified: branches/upstream/libmodule-scandeps-perl/current/lib/Module/ScanDeps.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-scandeps-perl/current/lib/Module/ScanDeps.pm?rev=26702&op=diff
==============================================================================
--- branches/upstream/libmodule-scandeps-perl/current/lib/Module/ScanDeps.pm (original)
+++ branches/upstream/libmodule-scandeps-perl/current/lib/Module/ScanDeps.pm Fri Nov  7 22:32:32 2008
@@ -2,15 +2,15 @@
 
 use 5.006;
 use strict;
-use vars qw( $VERSION @EXPORT @EXPORT_OK $CurrentPackage @IncludeLibs $ScanFileRE );
-
-$VERSION   = '0.87';
+use vars qw( $VERSION @EXPORT @EXPORT_OK @ISA $CurrentPackage @IncludeLibs $ScanFileRE );
+
+$VERSION   = '0.89';
 @EXPORT    = qw( scan_deps scan_deps_runtime );
 @EXPORT_OK = qw( scan_line scan_chunk add_deps scan_deps_runtime path_to_inc_name );
 
 use Config;
-use Exporter;
-use base 'Exporter';
+require Exporter;
+our @ISA = qw(Exporter);
 use constant dl_ext  => ".$Config{dlext}";
 use constant lib_ext => $Config{lib_ext};
 use constant is_insensitive_fs => (
@@ -274,6 +274,7 @@
         grep /\bMM_/, _glob_in_inc('ExtUtils', 1);
     },
     'File/Basename.pm' => [qw( re.pm )],
+    'File/HomeDir.pm' => 'sub',
     'File/Spec.pm'     => sub {
         require File::Spec;
         map { my $name = $_; $name =~ s!::!/!g; "$name.pm" } @File::Spec::ISA;
@@ -764,7 +765,7 @@
 
         # TODO: There's many more of these "loader" type modules on CPAN!
         # scan for the typical module-loader modules
-        foreach my $loader (qw(base prefork POE encoding maybe)) {
+        foreach my $loader (qw(asa base prefork POE encoding maybe only::matching)) {
           my $retval = _typical_module_loader_chunk($_, $loader);
           return $retval if $retval;
         }




More information about the Pkg-perl-cvs-commits mailing list