diff -Nru libpackage-deprecationmanager-perl-0.11/Changes libpackage-deprecationmanager-perl-0.13/Changes --- libpackage-deprecationmanager-perl-0.11/Changes 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/Changes 2012-03-09 14:41:43.000000000 +0000 @@ -1,3 +1,13 @@ +0.13 2012-03-09 + +- Fix dist.ini to not add Test::Spelling as a requirement. (Tomas Doran) + + +0.12 2012-03-04 + +- Fix tests to pass with Carp 1.25. Reported by Andreas Koenig. RT #75520. + + 0.11 2011-06-19 - Allow an empty hash for the -deprecations parameter. diff -Nru libpackage-deprecationmanager-perl-0.11/debian/changelog libpackage-deprecationmanager-perl-0.13/debian/changelog --- libpackage-deprecationmanager-perl-0.11/debian/changelog 2011-06-21 16:50:09.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/debian/changelog 2012-03-19 20:24:28.000000000 +0000 @@ -1,3 +1,18 @@ +libpackage-deprecationmanager-perl (0.13-1) unstable; urgency=low + + [ Ansgar Burchardt ] + * debian/control: Convert Vcs-* fields to Git. + + [ gregor herrmann ] + * New upstream release. + * Update years of upstream and packaging copyright. + * debian/copyright: update to Copyright-Format 1.0. + * Bump Standards-Version to 3.9.3 (no changes). + * Set debhelper compatibility level to 8. + * Improve short description. + + -- gregor herrmann Mon, 19 Mar 2012 21:24:21 +0100 + libpackage-deprecationmanager-perl (0.11-1) unstable; urgency=low * New upstream release. diff -Nru libpackage-deprecationmanager-perl-0.11/debian/compat libpackage-deprecationmanager-perl-0.13/debian/compat --- libpackage-deprecationmanager-perl-0.11/debian/compat 2010-10-12 11:00:19.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/debian/compat 2012-03-19 20:24:28.000000000 +0000 @@ -1 +1 @@ -7 +8 diff -Nru libpackage-deprecationmanager-perl-0.11/debian/control libpackage-deprecationmanager-perl-0.13/debian/control --- libpackage-deprecationmanager-perl-0.11/debian/control 2011-06-21 16:48:36.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/debian/control 2012-03-19 20:24:28.000000000 +0000 @@ -1,22 +1,29 @@ Source: libpackage-deprecationmanager-perl Section: perl Priority: optional -Build-Depends: debhelper (>= 7) -Build-Depends-Indep: liblist-moreutils-perl, libparams-util-perl, - libsub-install-perl, libtest-fatal-perl, libtest-output-perl (>= 0.16), - libtest-requires-perl, perl, perl (>= 5.10.1) | libtest-simple-perl (>= 0.88) +Build-Depends: debhelper (>= 8) +Build-Depends-Indep: perl, + liblist-moreutils-perl, + libparams-util-perl, + libsub-install-perl, + libtest-fatal-perl, + libtest-output-perl (>= 0.16), + libtest-requires-perl, + perl (>= 5.10.1) | libtest-simple-perl (>= 0.88) Maintainer: Debian Perl Group Uploaders: Ansgar Burchardt , gregor herrmann -Standards-Version: 3.9.2 +Standards-Version: 3.9.3 Homepage: http://search.cpan.org/dist/Package-DeprecationManager/ -Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libpackage-deprecationmanager-perl/ -Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libpackage-deprecationmanager-perl/ +Vcs-Git: git://git.debian.org/pkg-perl/packages/libpackage-deprecationmanager-perl.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libpackage-deprecationmanager-perl.git Package: libpackage-deprecationmanager-perl Architecture: all -Depends: ${misc:Depends}, ${perl:Depends}, liblist-moreutils-perl, - libparams-util-perl, libsub-install-perl, perl -Description: Manage deprecation warnings for your distribution +Depends: ${misc:Depends}, ${perl:Depends}, + liblist-moreutils-perl, + libparams-util-perl, + libsub-install-perl +Description: module for managing deprecation warnings for Perl distributions Package::DeprecationManager allows you to manage a set of deprecations for one or more modules. diff -Nru libpackage-deprecationmanager-perl-0.11/debian/copyright libpackage-deprecationmanager-perl-0.13/debian/copyright --- libpackage-deprecationmanager-perl-0.11/debian/copyright 2011-06-21 16:49:12.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/debian/copyright 2012-03-19 20:24:28.000000000 +0000 @@ -1,14 +1,15 @@ -Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 -Maintainer: Dave Rolsky +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Package-DeprecationManager +Upstream-Contact: Dave Rolsky Source: http://search.cpan.org/dist/Package-DeprecationManager/ -Name: Package-DeprecationManager -Copyright: 2011, Dave Rolsky +Files: * +Copyright: 2012, Dave Rolsky License: Artistic-2.0 Files: debian/* Copyright: 2010-2011, Ansgar Burchardt - 2010, gregor herrmann + 2010, 2012, gregor herrmann License: Artistic or Artistic-2.0 or GPL-1+ License: Artistic @@ -217,3 +218,4 @@ . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. + diff -Nru libpackage-deprecationmanager-perl-0.11/dist.ini libpackage-deprecationmanager-perl-0.13/dist.ini --- libpackage-deprecationmanager-perl-0.11/dist.ini 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/dist.ini 2012-03-09 14:41:43.000000000 +0000 @@ -3,7 +3,7 @@ license = Artistic_2_0 copyright_holder = Dave Rolsky -version = 0.11 +version = 0.13 [NextRelease] format = %-8v %{yyyy-MM-dd}d @@ -20,27 +20,21 @@ repository.web = http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Package-DeprecationManager.git;a=summary repository.type = git -[PodWeaver] +[SurgicalPodWeaver] [PkgVersion] -[PodSyntaxTests] -[PodCoverageTests] -[NoTabsTests] [EOLTests] +[NoTabsTests] +[PodCoverageTests] +[PodSyntaxTests] [Test::CPAN::Changes] +[Test::Pod::LinkCheck] +[Test::Pod::No404s] -[CheckChangeLog] +[AutoPrereqs] +skip = ^Test::Spelling$ -[Prereqs] -Carp = 0 -List::MoreUtils = 0 -Params::Util = 0 -Sub::Install = 0 - -[Prereqs / TestRequires] -Test::Fatal = 0 -Test::More = 0.88 -Test::Requires = 0 +[CheckPrereqsIndexed] [@Git] diff -Nru libpackage-deprecationmanager-perl-0.11/lib/Package/DeprecationManager.pm libpackage-deprecationmanager-perl-0.13/lib/Package/DeprecationManager.pm --- libpackage-deprecationmanager-perl-0.11/lib/Package/DeprecationManager.pm 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/lib/Package/DeprecationManager.pm 2012-03-09 14:41:43.000000000 +0000 @@ -1,6 +1,6 @@ package Package::DeprecationManager; -BEGIN { - $Package::DeprecationManager::VERSION = '0.11'; +{ + $Package::DeprecationManager::VERSION = '0.13'; } use strict; @@ -137,7 +137,7 @@ =head1 VERSION -version 0.11 +version 0.13 =head1 SYNOPSIS @@ -178,7 +178,7 @@ My::Class->new()->foo(); # warns My::Class->new()->bar(); # does not warn - My::Class->new()->far(); # does not warn again + My::Class->new()->bar(); # does not warn again =head1 DESCRIPTION @@ -224,8 +224,8 @@ A given deprecation warning is only issued once for a given package. This module tracks this based on both the feature name I the error message -itself. This means that if you provide severaldifferent error messages for the -same feature, all of those errors will appear. +itself. This means that if you provide several different error messages for +the same feature, all of those errors will appear. =head1 BUGS @@ -263,7 +263,7 @@ =head1 COPYRIGHT AND LICENSE -This software is Copyright (c) 2011 by Dave Rolsky. +This software is Copyright (c) 2012 by Dave Rolsky. This is free software, licensed under: diff -Nru libpackage-deprecationmanager-perl-0.11/LICENSE libpackage-deprecationmanager-perl-0.13/LICENSE --- libpackage-deprecationmanager-perl-0.11/LICENSE 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/LICENSE 2012-03-09 14:41:43.000000000 +0000 @@ -1,4 +1,4 @@ -This software is Copyright (c) 2011 by Dave Rolsky. +This software is Copyright (c) 2012 by Dave Rolsky. This is free software, licensed under: diff -Nru libpackage-deprecationmanager-perl-0.11/Makefile.PL libpackage-deprecationmanager-perl-0.13/Makefile.PL --- libpackage-deprecationmanager-perl-0.11/Makefile.PL 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/Makefile.PL 2012-03-09 14:41:43.000000000 +0000 @@ -9,29 +9,31 @@ my %WriteMakefileArgs = ( - 'ABSTRACT' => 'Manage deprecation warnings for your distribution', - 'AUTHOR' => 'Dave Rolsky ', - 'BUILD_REQUIRES' => { - 'Test::Fatal' => '0', - 'Test::More' => '0.88', - 'Test::Requires' => '0' + "ABSTRACT" => "Manage deprecation warnings for your distribution", + "AUTHOR" => "Dave Rolsky ", + "BUILD_REQUIRES" => { + "Test::Fatal" => 0, + "Test::More" => "0.88", + "Test::Requires" => 0 }, - 'CONFIGURE_REQUIRES' => { - 'ExtUtils::MakeMaker' => '6.30' + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.30" }, - 'DISTNAME' => 'Package-DeprecationManager', - 'EXE_FILES' => [], - 'LICENSE' => 'artistic_2', - 'NAME' => 'Package::DeprecationManager', - 'PREREQ_PM' => { - 'Carp' => '0', - 'List::MoreUtils' => '0', - 'Params::Util' => '0', - 'Sub::Install' => '0' + "DISTNAME" => "Package-DeprecationManager", + "EXE_FILES" => [], + "LICENSE" => "artistic_2", + "NAME" => "Package::DeprecationManager", + "PREREQ_PM" => { + "Carp" => 0, + "List::MoreUtils" => 0, + "Params::Util" => 0, + "Sub::Install" => 0, + "strict" => 0, + "warnings" => 0 }, - 'VERSION' => '0.11', - 'test' => { - 'TESTS' => 't/*.t' + "VERSION" => "0.13", + "test" => { + "TESTS" => "t/*.t" } ); diff -Nru libpackage-deprecationmanager-perl-0.11/MANIFEST libpackage-deprecationmanager-perl-0.13/MANIFEST --- libpackage-deprecationmanager-perl-0.11/MANIFEST 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/MANIFEST 2012-03-09 14:41:43.000000000 +0000 @@ -14,4 +14,7 @@ t/release-eol.t t/release-no-tabs.t t/release-pod-coverage.t +t/release-pod-linkcheck.t +t/release-pod-no404s.t +t/release-pod-spell.t t/release-pod-syntax.t diff -Nru libpackage-deprecationmanager-perl-0.11/META.json libpackage-deprecationmanager-perl-0.13/META.json --- libpackage-deprecationmanager-perl-0.11/META.json 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/META.json 2012-03-09 14:41:43.000000000 +0000 @@ -4,7 +4,7 @@ "Dave Rolsky " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930", + "generated_by" : "Dist::Zilla version 4.300009, CPAN::Meta::Converter version 2.120351", "license" : [ "artistic_2" ], @@ -21,17 +21,19 @@ }, "runtime" : { "requires" : { - "Carp" : 0, - "List::MoreUtils" : 0, - "Params::Util" : 0, - "Sub::Install" : 0 + "Carp" : "0", + "List::MoreUtils" : "0", + "Params::Util" : "0", + "Sub::Install" : "0", + "strict" : "0", + "warnings" : "0" } }, "test" : { "requires" : { - "Test::Fatal" : 0, + "Test::Fatal" : "0", "Test::More" : "0.88", - "Test::Requires" : 0 + "Test::Requires" : "0" } } }, @@ -47,6 +49,6 @@ "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Package-DeprecationManager.git;a=summary" } }, - "version" : "0.11" + "version" : "0.13" } diff -Nru libpackage-deprecationmanager-perl-0.11/META.yml libpackage-deprecationmanager-perl-0.13/META.yml --- libpackage-deprecationmanager-perl-0.11/META.yml 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/META.yml 2012-03-09 14:41:43.000000000 +0000 @@ -9,7 +9,7 @@ configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930' +generated_by: 'Dist::Zilla version 4.300009, CPAN::Meta::Converter version 2.120351' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -20,7 +20,9 @@ List::MoreUtils: 0 Params::Util: 0 Sub::Install: 0 + strict: 0 + warnings: 0 resources: bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Package-DeprecationManager repository: git://git.moose.perl.org/Package-DeprecationManager.git -version: 0.11 +version: 0.13 diff -Nru libpackage-deprecationmanager-perl-0.11/README libpackage-deprecationmanager-perl-0.13/README --- libpackage-deprecationmanager-perl-0.11/README 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/README 2012-03-09 14:41:43.000000000 +0000 @@ -1,11 +1,11 @@ This archive contains the distribution Package-DeprecationManager, -version 0.11: +version 0.13: Manage deprecation warnings for your distribution -This software is Copyright (c) 2011 by Dave Rolsky. +This software is Copyright (c) 2012 by Dave Rolsky. This is free software, licensed under: diff -Nru libpackage-deprecationmanager-perl-0.11/t/basic.t libpackage-deprecationmanager-perl-0.13/t/basic.t --- libpackage-deprecationmanager-perl-0.11/t/basic.t 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/t/basic.t 2012-03-09 14:41:43.000000000 +0000 @@ -1,8 +1,8 @@ use strict; use warnings; -use Test::More; use Test::Fatal; +use Test::More 0.88; use Test::Requires { 'Test::Output' => '0.16', @@ -187,7 +187,7 @@ package My::Baz; ::stderr_like{ My::Package2::foo() } - qr/^foo is deprecated at t.basic\.t line \d+\s+My::Baz/, + qr/^foo is deprecated at t.basic\.t line \d+\.?\s+My::Baz/, 'deprecation warning for call to My::Package2::foo() and mentions My::Baz but not My::Package[12]'; ::stderr_is{ My::Package2::foo() } @@ -199,7 +199,7 @@ 'no deprecation warning for call to My::Package1::foo()'; ::stderr_like{ My::Package2::bar() } - qr/^bar is deprecated at t.basic\.t line \d+\s+My::Baz/, + qr/^bar is deprecated at t.basic\.t line \d+\.?\s+My::Baz/, 'deprecation warning for call to My::Package2::foo() and mentions My::Baz but not My::Package[12]'; ::stderr_is{ My::Package2::bar() } @@ -211,7 +211,7 @@ package My::Quux; ::stderr_like{ My::Package1::foo() } - qr/^foo is deprecated at t.basic\.t line \d+\s+My::Quux/, + qr/^foo is deprecated at t.basic\.t line \d+\.?\s+My::Quux/, 'deprecation warning for call to My::Package1::foo() and mentions My::Quux but not My::Package[12]'; ::stderr_is{ My::Package1::foo() } diff -Nru libpackage-deprecationmanager-perl-0.11/t/compile.t libpackage-deprecationmanager-perl-0.13/t/compile.t --- libpackage-deprecationmanager-perl-0.11/t/compile.t 2011-06-20 02:32:49.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/t/compile.t 2012-03-09 14:41:43.000000000 +0000 @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More 0.88; eval "require Package::DeprecationManager"; ok( ! $@, 'no errors loading require Package::DeprecationManager' ); diff -Nru libpackage-deprecationmanager-perl-0.11/t/release-pod-linkcheck.t libpackage-deprecationmanager-perl-0.13/t/release-pod-linkcheck.t --- libpackage-deprecationmanager-perl-0.11/t/release-pod-linkcheck.t 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/t/release-pod-linkcheck.t 2012-03-09 14:41:43.000000000 +0000 @@ -0,0 +1,28 @@ +#!perl + +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for release candidate testing'); + } +} + + +use strict; +use warnings; +use Test::More; + +foreach my $env_skip ( qw( + SKIP_POD_LINKCHECK +) ){ + plan skip_all => "\$ENV{$env_skip} is set, skipping" + if $ENV{$env_skip}; +} + +eval "use Test::Pod::LinkCheck"; +if ( $@ ) { + plan skip_all => 'Test::Pod::LinkCheck required for testing POD'; +} +else { + Test::Pod::LinkCheck->new->all_pod_ok; +} diff -Nru libpackage-deprecationmanager-perl-0.11/t/release-pod-no404s.t libpackage-deprecationmanager-perl-0.13/t/release-pod-no404s.t --- libpackage-deprecationmanager-perl-0.11/t/release-pod-no404s.t 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/t/release-pod-no404s.t 2012-03-09 14:41:43.000000000 +0000 @@ -0,0 +1,29 @@ +#!perl + +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for release candidate testing'); + } +} + + +use strict; +use warnings; +use Test::More; + +foreach my $env_skip ( qw( + SKIP_POD_NO404S + AUTOMATED_TESTING +) ){ + plan skip_all => "\$ENV{$env_skip} is set, skipping" + if $ENV{$env_skip}; +} + +eval "use Test::Pod::No404s"; +if ( $@ ) { + plan skip_all => 'Test::Pod::No404s required for testing POD'; +} +else { + all_pod_files_ok(); +} diff -Nru libpackage-deprecationmanager-perl-0.11/t/release-pod-spell.t libpackage-deprecationmanager-perl-0.13/t/release-pod-spell.t --- libpackage-deprecationmanager-perl-0.11/t/release-pod-spell.t 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.13/t/release-pod-spell.t 2012-03-09 14:41:43.000000000 +0000 @@ -0,0 +1,33 @@ + +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for release candidate testing'); + } +} + +use strict; +use warnings; + +use Test::Spelling; + +my @stopwords; +for () { + chomp; + push @stopwords, $_ + unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace +} + +add_stopwords(@stopwords); +set_spell_cmd('aspell list -l en'); + +# This prevents a weird segfault from the aspell command - see +# https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322 +local $ENV{LC_ALL} = 'C'; +all_pod_files_spelling_ok; + +__DATA__ +Goro +PayPal +Rolsky +api