r58959 - in /trunk/libmodule-info-perl/debian: changelog control copyright patches/ patches/is-deeply.patch patches/series patches/spelling.patch patches/version-comparison.patch patches/whatis-entry.patch rules source/ source/format
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Sun Jun 6 12:55:28 UTC 2010
Author: ansgar-guest
Date: Sun Jun 6 12:52:27 2010
New Revision: 58959
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=58959
Log:
* Use Build.PL.
* Use source format 3.0 (quilt).
* Compare versions as numbers, not as strings in tests.
+ new patch: version-comparison.patch
* Use is_deeply the right way.
+ new patch: is-deeply.patch
* Fix spelling errors.
+ new patch: spelling.patch
* Add missing whatis entry to B::Module::Info.
+ new patch: whatis-entry.patch
* Bump Standards-Version to 3.8.4.
* Add myself to Uploaders.
Added:
trunk/libmodule-info-perl/debian/patches/
trunk/libmodule-info-perl/debian/patches/is-deeply.patch
trunk/libmodule-info-perl/debian/patches/series
trunk/libmodule-info-perl/debian/patches/spelling.patch
trunk/libmodule-info-perl/debian/patches/version-comparison.patch
trunk/libmodule-info-perl/debian/patches/whatis-entry.patch
trunk/libmodule-info-perl/debian/source/
trunk/libmodule-info-perl/debian/source/format
Modified:
trunk/libmodule-info-perl/debian/changelog
trunk/libmodule-info-perl/debian/control
trunk/libmodule-info-perl/debian/copyright
trunk/libmodule-info-perl/debian/rules
Modified: trunk/libmodule-info-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/changelog?rev=58959&op=diff
==============================================================================
--- trunk/libmodule-info-perl/debian/changelog (original)
+++ trunk/libmodule-info-perl/debian/changelog Sun Jun 6 12:52:27 2010
@@ -1,30 +1,36 @@
-libmodule-info-perl (0.31-2) UNRELEASED; urgency=low
-
- TODO: test failures
+libmodule-info-perl (0.31-2) unstable; urgency=low
[ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza).
* Set Maintainer to Debian Perl Group.
* Use dist-based URL in debian/watch.
- * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
- (source stanza).
* debian/control: Added: ${misc:Depends} to Depends: field.
[ Ansgar Burchardt ]
* debian/watch: Use extended regexp to match upstream releases.
* Refresh rules for debhelper 7.
+ * Use Build.PL.
+ * Use source format 3.0 (quilt).
* Convert debian/copyright to proposed machine-readable format.
- * Bump Standards-Version to 3.8.2.
+ * Do not use embedded copy of Test-Simple during build.
+ * Compare versions as numbers, not as strings in tests.
+ + new patch: version-comparison.patch
+ * Use is_deeply the right way.
+ + new patch: is-deeply.patch
+ * Fix spelling errors.
+ + new patch: spelling.patch
+ * Add missing whatis entry to B::Module::Info.
+ + new patch: whatis-entry.patch
+ * Bump Standards-Version to 3.8.4.
* Add myself to Uploaders.
- * Do not use embedded copy of Test-Simple during build.
[ Salvatore Bonaccorso ]
* debian/control: Changed: Replace versioned (build-)dependency on
perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
permitted by Debian Policy 3.8.3).
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 01 Dec 2007 18:55:09 +0100
+ -- Ansgar Burchardt <ansgar at 43-1.org> Sun, 06 Jun 2010 21:51:52 +0900
libmodule-info-perl (0.31-1) unstable; urgency=low
Modified: trunk/libmodule-info-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/control?rev=58959&op=diff
==============================================================================
--- trunk/libmodule-info-perl/debian/control (original)
+++ trunk/libmodule-info-perl/debian/control Sun Jun 6 12:52:27 2010
@@ -4,10 +4,9 @@
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.0.50)
-Build-Depends-Indep: perl,
- libtest-pod-perl, libtest-pod-coverage-perl
-Standards-Version: 3.8.2
+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
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/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/copyright?rev=58959&op=diff
==============================================================================
--- trunk/libmodule-info-perl/debian/copyright (original)
+++ trunk/libmodule-info-perl/debian/copyright Sun Jun 6 12:52:27 2010
@@ -1,22 +1,20 @@
-Format-Specification:
- http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Mattia Barbon
-Upstream-Source: http://search.cpan.org/dist/Module-Info/
-Upstream-Name: Module-Info
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Mattia Barbon
+Source: http://search.cpan.org/dist/Module-Info/
+Name: Module-Info
Files: *
Copyright:
© 2001-2007, Michael G Schwern <schwern at pobox.com>,
Mattia Barbon <mbarbon at cpan.org>
-License-Alias: Perl
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
X-Comment: Years of copyright taken from `Changes' file, copyright holders from
main *.pm files.
Files: lib/B/BUtils.pm
Copyright:
© 2001-2007, Simon Cozens <simon at cpan.org>
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
X-Comment: Years of copyright guessed from `Changes' file from this module and
B-Utils
X-Fork: embedded code copy/fork of: libb-utils-perl
@@ -25,14 +23,14 @@
Copyright:
© 2001, chromatic <chromatic at wgz.org>
Michael G Schwern <schwern at pobox.com>
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
X-Fork: embedded code copy: libtest-simple-perl
Files: debian/*
Copyright:
© 2003-2007, Jay Bonci <jaybonci at debian.org>
© 2009, Ansgar Burchardt <ansgar at 43-1.org>
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
License: Artistic
This program is free software; you can redistribute it and/or modify
Added: trunk/libmodule-info-perl/debian/patches/is-deeply.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/patches/is-deeply.patch?rev=58959&op=file
==============================================================================
--- trunk/libmodule-info-perl/debian/patches/is-deeply.patch (added)
+++ trunk/libmodule-info-perl/debian/patches/is-deeply.patch Sun Jun 6 12:52:27 2010
@@ -1,0 +1,16 @@
+From: Ansgar Burchardt <ansgar at 43-1.org>
+Date: Sun, 06 Jun 2010 21:40:08 +0900
+Origin: vendor
+Subject: Use is_deeply correctly
+
+--- libmodule-info-perl.orig/t/Module-Info.t
++++ libmodule-info-perl/t/Module-Info.t
+@@ -290,6 +290,6 @@
+ $module = Module::Info->new_from_file('t/lib/Bar.pm');
+ @mods = $module->modules_used;
+ is( @mods, 3, 'modules_used with complex BEGIN block' );
+- is_deeply( sort @mods,
+- (sort qw(Cwd Carp strict)) );
++ is_deeply( [sort @mods],
++ [sort qw(Cwd Carp strict)] );
+ }
Added: trunk/libmodule-info-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/patches/series?rev=58959&op=file
==============================================================================
--- trunk/libmodule-info-perl/debian/patches/series (added)
+++ trunk/libmodule-info-perl/debian/patches/series Sun Jun 6 12:52:27 2010
@@ -1,0 +1,4 @@
+version-comparison.patch
+is-deeply.patch
+spelling.patch
+whatis-entry.patch
Added: trunk/libmodule-info-perl/debian/patches/spelling.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/patches/spelling.patch?rev=58959&op=file
==============================================================================
--- trunk/libmodule-info-perl/debian/patches/spelling.patch (added)
+++ trunk/libmodule-info-perl/debian/patches/spelling.patch Sun Jun 6 12:52:27 2010
@@ -1,0 +1,45 @@
+From: Ansgar Burchardt <ansgar at 43-1.org>
+Date: Sun, 06 Jun 2010 21:44:25 +0900
+Origin: vendor
+Subject: Fix spelling errors
+
+--- libmodule-info-perl.orig/bin/module_info
++++ libmodule-info-perl/bin/module_info
+@@ -2,7 +2,7 @@
+
+ =head1 NAME
+
+-module_info - find informations about modules
++module_info - find information about modules
+
+ =head1 SYNOPSIS
+
+@@ -14,7 +14,7 @@
+ C<Module::Name> or paths in the form C<Foo/Bar.pm> or C<foo/bar.pl>).
+
+ By default only shows module name, version, directory, absolute path
+-and a flag indicating if it is a core module. Additional informations
++and a flag indicating if it is a core module. Additional information
+ can be requested through command line switches.
+
+ =over 4
+--- libmodule-info-perl.orig/lib/Module/Info.pm
++++ libmodule-info-perl/lib/Module/Info.pm
+@@ -318,7 +318,7 @@
+
+ The following methods get their information by compiling the module
+ and examining the opcode tree. The module will be compiled in a
+-seperate process so as not to disturb the current program.
++separate process so as not to disturb the current program.
+
+ They will only work on 5.6.1 and up and requires the B::Utils module.
+
+@@ -732,7 +732,7 @@
+ Code refs in @INC are currently ignored. If this bothers you submit a
+ patch.
+
+-superclasses() is cheating and just loading the module in a seperate
++superclasses() is cheating and just loading the module in a separate
+ process and looking at @ISA. I don't think its worth the trouble to
+ go through and parse the opcode tree as it still requires loading the
+ module and running all the BEGIN blocks. Patches welcome.
Added: trunk/libmodule-info-perl/debian/patches/version-comparison.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/patches/version-comparison.patch?rev=58959&op=file
==============================================================================
--- trunk/libmodule-info-perl/debian/patches/version-comparison.patch (added)
+++ trunk/libmodule-info-perl/debian/patches/version-comparison.patch Sun Jun 6 12:52:27 2010
@@ -1,0 +1,30 @@
+From: Ansgar Burchardt <ansgar at 43-1.org>
+Date: Sun, 06 Jun 2010 21:35:17 +0900
+Origin: vendor
+Subject: Compare versions as numbers, not as strings
+
+--- libmodule-info-perl.orig/t/n3_version.t
++++ libmodule-info-perl/t/n3_version.t
+@@ -20,18 +20,18 @@
+ }
+
+ is( $moo->use_version, 0 );
+-is( $moo->version, '0.12' );
+-is( $boo->version, '1.35', 'proper quoting in complex expression' );
++is( $moo->version, 0.12 );
++is( $boo->version, 1.35, 'proper quoting in complex expression' );
+
+ SKIP: {
+ skip 'version.pm not found', 5 unless $has_version_pm;
+
+ is( $moo_ver->use_version, 1 );
+ isa_ok( $moo_ver->version, 'version' );
+- is( $moo_ver->version, '0.120' );
++ is( $moo_ver->version, 0.120 );
+
+ isa_ok( $foo_ver->version, 'version' );
+- is( $foo_ver->version, '7.254' );
++ is( $foo_ver->version, 7.254 );
+ }
+
+ SKIP: {
Added: trunk/libmodule-info-perl/debian/patches/whatis-entry.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/patches/whatis-entry.patch?rev=58959&op=file
==============================================================================
--- trunk/libmodule-info-perl/debian/patches/whatis-entry.patch (added)
+++ trunk/libmodule-info-perl/debian/patches/whatis-entry.patch Sun Jun 6 12:52:27 2010
@@ -1,0 +1,23 @@
+From: Ansgar Burchardt <ansgar at 43-1.org>
+Date: Sun, 06 Jun 2010 21:47:36 +0900
+Origin: vendor
+Subject: Add missing whatis entry
+
+It might be better to remove the POD from this module, but maybe somebody will
+someday want to read it...
+
+--- libmodule-info-perl.orig/lib/B/Module/Info.pm
++++ libmodule-info-perl/lib/B/Module/Info.pm
+@@ -7,6 +7,12 @@
+ opgrep all_roots);
+ @B::Utils::bad_stashes = qw(); # give us everything.
+
++=head1 NAME
++
++B::Module::Info - information about Perl modules
++
++=cut
++
+ {
+ # From: Roland Walker <walker at ncbi.nlm.nih.gov>
+ # "Syntax OK" may land inside output and render it unusable
Modified: trunk/libmodule-info-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/rules?rev=58959&op=diff
==============================================================================
--- trunk/libmodule-info-perl/debian/rules (original)
+++ trunk/libmodule-info-perl/debian/rules Sun Jun 6 12:52:27 2010
@@ -1,8 +1,8 @@
#!/usr/bin/make -f
%:
- dh $@
+ dh --buildsystem=perl_build $@
override_dh_auto_test:
mv t/lib/Test t/lib/Test.ori
- dh_auto_test
+ dh_auto_test --buildsystem=perl_build
mv t/lib/Test.ori t/lib/Test
Added: trunk/libmodule-info-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-info-perl/debian/source/format?rev=58959&op=file
==============================================================================
--- trunk/libmodule-info-perl/debian/source/format (added)
+++ trunk/libmodule-info-perl/debian/source/format Sun Jun 6 12:52:27 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
More information about the Pkg-perl-cvs-commits
mailing list