r63254 - in /trunk/libmodule-info-perl: Changes META.yml debian/changelog debian/control lib/Module/Info.pm t/Module-Info.t t/lib/Boo.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Oct 3 20:28:32 UTC 2010
Author: jawnsy-guest
Date: Sun Oct 3 20:28:18 2010
New Revision: 63254
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63254
Log:
TODO: move to DEP5 copyright format
* New upstream release
* Add myself to Uploaders and Copyright
* Standards-Version 3.9.1 (no changes)
Modified:
trunk/libmodule-info-perl/Changes
trunk/libmodule-info-perl/META.yml
trunk/libmodule-info-perl/debian/changelog
trunk/libmodule-info-perl/debian/control
trunk/libmodule-info-perl/lib/Module/Info.pm
trunk/libmodule-info-perl/t/Module-Info.t
trunk/libmodule-info-perl/t/lib/Boo.pm
Modified: trunk/libmodule-info-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/Changes?rev=63254&op=diff
==============================================================================
--- trunk/libmodule-info-perl/Changes (original)
+++ trunk/libmodule-info-perl/Changes Sun Oct 3 20:28:18 2010
@@ -1,3 +1,10 @@
+0.32 Wed Sep 8 23:15:13 CEST 2010
+ + Add archlib and privlib to the search path for core modules
+ (patch by Jonas B. Nielsen).
+
+0.31_01 Mon Apr 12 23:53:53 CEST 2010
+ * Many test fixes.
+
0.31 Mon May 28 21:40:10 CEST 2007
* Fixed tests in presence of version.pm 0.72 or newer.
- Added -h option to module_info.
Modified: trunk/libmodule-info-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/META.yml?rev=63254&op=diff
==============================================================================
--- trunk/libmodule-info-perl/META.yml (original)
+++ trunk/libmodule-info-perl/META.yml Sun Oct 3 20:28:18 2010
@@ -1,11 +1,11 @@
# http://module-build.sourceforge.net/META-spec.html
name: Module-Info
-version: 0.31
+version: 0.32
version_from: lib/Module/Info.pm
installdirs: site
author: Mattia Barbon <mbarbon at cpan.org>
-abstract: Information about Perl modules
-license: perl
+abstract: Information about Perl modules
+license: perl
requires:
File::Spec: 0.8
#build_requires:
@@ -17,7 +17,7 @@
dynamic_config: 0
distribution_type: module
-generated_by: ExtUtils::MY_Metafile version 0.07, EUMM-6.32.
+generated_by: ExtUtils::MY_Metafile version 0.09, EUMM-6.56.
meta-spec:
- version: 1.2
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
+ version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
Modified: trunk/libmodule-info-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/changelog?rev=63254&op=diff
==============================================================================
--- trunk/libmodule-info-perl/debian/changelog (original)
+++ trunk/libmodule-info-perl/debian/changelog Sun Oct 3 20:28:18 2010
@@ -1,3 +1,13 @@
+libmodule-info-perl (0.32-1) UNRELEASED; urgency=low
+
+ TODO: move to DEP5 copyright format
+
+ * New upstream release
+ * Add myself to Uploaders and Copyright
+ * Standards-Version 3.9.1 (no changes)
+
+ -- Jonathan Yu <jawnsy at cpan.org> Sun, 03 Oct 2010 16:39:25 -0400
+
libmodule-info-perl (0.31-2) unstable; urgency=low
[ gregor herrmann ]
Modified: trunk/libmodule-info-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/control?rev=63254&op=diff
==============================================================================
--- trunk/libmodule-info-perl/debian/control (original)
+++ trunk/libmodule-info-perl/debian/control Sun Oct 3 20:28:18 2010
@@ -1,12 +1,12 @@
Source: libmodule-info-perl
Section: perl
Priority: optional
+Build-Depends: debhelper (>= 7.3.7~), perl (>= 5.10) | libmodule-build-perl
+Build-Depends-Indep: perl, libtest-pod-perl, libtest-pod-coverage-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jay Bonci <jaybonci at debian.org>,
- Ansgar Burchardt <ansgar at 43-1.org>
-Build-Depends: debhelper (>= 7.3.7~), perl (>= 5.10) | libmodule-build-perl
-Build-Depends-Indep: perl, libtest-pod-perl, libtest-pod-coverage-perl
-Standards-Version: 3.8.4
+ Ansgar Burchardt <ansgar at 43-1.org>, Jonathan Yu <jawnsy at cpan.org>
+Standards-Version: 3.9.1
Homepage: http://search.cpan.org/dist/Module-Info/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmodule-info-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmodule-info-perl/
Modified: trunk/libmodule-info-perl/lib/Module/Info.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/lib/Module/Info.pm?rev=63254&op=diff
==============================================================================
--- trunk/libmodule-info-perl/lib/Module/Info.pm (original)
+++ trunk/libmodule-info-perl/lib/Module/Info.pm Sun Oct 3 20:28:18 2010
@@ -10,7 +10,7 @@
use vars qw($VERSION @ISA $AUTOLOAD);
# quotes 'version' for 5.004
-$VERSION = eval 'use version; 1' ? 'version'->new('0.31') : '0.31';
+$VERSION = eval 'use version; 1' ? 'version'->new('0.32') : '0.32';
$VERSION = eval $VERSION;
@@ -307,7 +307,9 @@
return scalar grep $self->{dir} eq File::Spec->canonpath($_),
($Config{installarchlib},
- $Config{installprivlib});
+ $Config{installprivlib},
+ $Config{archlib},
+ $Config{privlib});
}
=back
Modified: trunk/libmodule-info-perl/t/Module-Info.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/t/Module-Info.t?rev=63254&op=diff
==============================================================================
--- trunk/libmodule-info-perl/t/Module-Info.t (original)
+++ trunk/libmodule-info-perl/t/Module-Info.t Sun Oct 3 20:28:18 2010
@@ -6,11 +6,11 @@
my $has_version_pm = eval 'use version; 1';
my $version_pm_VERSION = $has_version_pm ? 'version'->VERSION : 0;
-my $Mod_Info_VERSION = '0.31';
+my $Mod_Info_VERSION = '0.32';
# 0.280 vith version.pm, 0.28 without, except for development versions
-my $Mod_Info_Pack_VERSION = !$has_version_pm ? '0.31' :
- $has_version_pm && $version_pm_VERSION > '0.72' ? '0.31' :
- '0.310';
+my $Mod_Info_Pack_VERSION = !$has_version_pm ? '0.32' : # 0.3101
+ $has_version_pm && $version_pm_VERSION > '0.72' ? '0.32' : # 0.3101
+ '0.32'; # 0.310001
my @old5lib = defined $ENV{PERL5LIB} ? ($ENV{PERL5LIB}) : ();
$ENV{PERL5LIB} = join $Config{path_sep}, 'blib/lib', @old5lib;
@@ -94,9 +94,11 @@
[sort @expected_subs], ' names' );
my @mods = $mod_info->modules_used;
- is( @mods, 7, 'Found all modules used' );
- is_deeply( [sort @mods], [sort qw(strict File::Spec Config
- Carp IPC::Open3 vars Safe)],
+ my @expected = qw(strict File::Spec Config
+ Carp IPC::Open3 vars Safe);
+ push @expected, 'Exporter' if $] < 5.008;
+ is( @mods, @expected, 'Found all modules used' );
+ is_deeply( [sort @mods], [sort @expected],
' the right ones' );
}
@@ -116,18 +118,27 @@
# Grab the core version of Text::Soundex and hope it hasn't been
# deleted.
@core_inc = map { File::Spec->canonpath($_) }
- ($Config{installarchlib}, $Config{installprivlib});
+ ($Config{installarchlib}, $Config{installprivlib},
+ $Config{archlib}, $Config{privlib});
$mod_info = Module::Info->new_from_module('Text::Soundex', @core_inc);
-is( $mod_info->name, 'Text::Soundex', ' name()' );
-
-# dunno what the version will be, 5.004's had none.
-
-ok( grep($mod_info->inc_dir eq $_, @core_inc), ' inc_dir()' );
-is( $mod_info->file,
- File::Spec->catfile( $mod_info->inc_dir, 'Text', 'Soundex.pm' ),
- ' file()');
-ok( $mod_info->is_core, ' core module' );
-
+if( $mod_info ) {
+ is( $mod_info->name, 'Text::Soundex', ' name()' );
+
+ # dunno what the version will be, 5.004's had none.
+
+ ok( grep($mod_info->inc_dir eq $_, @core_inc), ' inc_dir()' );
+ is( $mod_info->file,
+ File::Spec->catfile( $mod_info->inc_dir, 'Text', 'Soundex.pm' ),
+ ' file()');
+ ok( $mod_info->is_core, ' core module' );
+} else {
+ $mod_info = Module::Info->new_from_module('Text::Soundex');
+
+ ok( $mod_info, 'could load Text::Soundex' );
+ ok( $mod_info, 'could load Text::Soundex' );
+ ok( $mod_info, 'could load Text::Soundex' );
+ ok( $mod_info, 'could load Text::Soundex' );
+}
$mod_info = Module::Info->new_from_loaded('Module::Info');
isa_ok($mod_info, 'Module::Info', 'new_from_module');
Modified: trunk/libmodule-info-perl/t/lib/Boo.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/t/lib/Boo.pm?rev=63254&op=diff
==============================================================================
--- trunk/libmodule-info-perl/t/lib/Boo.pm (original)
+++ trunk/libmodule-info-perl/t/lib/Boo.pm Sun Oct 3 20:28:18 2010
@@ -3,6 +3,6 @@
use strict;
use vars qw($VERSION);
-$VERSION = sprintf("%d.%02d", q$Revision: 1.35 $ =~ /(\d+)\.(\d+)/);
+$VERSION = sprintf("%d.%02d", q$Revision: 1.35$ =~ /(\d+)\.(\d+)/);
1;
More information about the Pkg-perl-cvs-commits
mailing list