diff -Nru libtest-checkmanifest-perl-1.22/Changes libtest-checkmanifest-perl-1.24/Changes --- libtest-checkmanifest-perl-1.22/Changes 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/Changes 2011-04-09 06:50:09.000000000 +0000 @@ -1,5 +1,17 @@ Revision history for Perl extension Test::CheckManifest. +1.24 Sat Apr 09 2011 + + MANIFEST spec allows whitespaces in filenames (when enclosed in single quotes) + this was not parsed correctly (see [#67334]). Fixed now - Thanks to JWEIGEL + +1.23 Mon Mar 28 2011 + + CPAN toolchain now creates MYMETA.yml and META.json. These files are in + the list of recognized files now. + + clarify license of this module (In README the Perl license was mentioned where + in all other files Artistic 2.0 was mentioned) + + switched to Dist::Zilla + + removed tests that are created by Dist::Zilla + 1.22 Thu Jul 29 2010 + fix a bug that appears when there is no MANIFEST.SKIP @@ -11,22 +23,22 @@ + added support for MANIFEST.SKIP + small code improvements -1.1 Sun Nov 22 13:18:12 2009 +1.1 Sun Nov 22 2009 - CHECK as a label is not allowed in Perl > 5.11.x, so replace it + switched license to Artistic 2.0 + bugfix in 01_selftest.t -1.01 Sat Dec 29 00:28:13 2007 +1.01 Sat Dec 29 2007 - fixes in test scripts - require 5.006001 - allow more characters in path + added license to Makefile.PL + changed META.yml -1.0 Wed Dec 27 12:15:39 2006 +1.0 Wed Dec 27 2006 - bugfix: ok_manifest excludes files created by Module::Build -0.9 Mon Nov 27 09:35:26 2006 +0.9 Mon Nov 27 2006 - bugfix: ok_manifest files without blib (http://rt.cpan.org/Public/Bug/Display.html?id=23580) - bugfix: Test-CheckManifest.t -- added ':' in character group (untaint $home) - bugfix: 99_pod_coverage.t -- removed all_modules and now T::P::C 1.08 or higher is required @@ -35,33 +47,33 @@ (http://rt.cpan.org/Public/Bug/Display.html?id=23529) + added: 00_load.t -0.8 Fri Nov 24 09:17:10 2006 +0.8 Fri Nov 24 2006 + added: T::CM now tests also on files that are not part of the distro but named in the MANIFEST -0.7 Thu Nov 23 12:58:54 2006 +0.7 Thu Nov 23 2006 + added: "filter" to exclude files that match on specific regexp from test (http://rt.cpan.org/Public/Bug/Display.html?id=23529) + added: "bool" to combine "filter" and "exclude" + added: boilerplate.t -0.6 Tue Nov 21 22:22:22 2006 +0.6 Tue Nov 21 2006 Test scripts improved -0.5 Sat Nov 18 18:00:00 +0.5 Sat Nov 18 2006 - bugfix: T::CM now works under taint mode (http://rt.cpan.org/Public/Bug/Display.html?id=22927) + added : ok_manifest accepts hashref where specific dirs can be excluded from test -0.4 Thu Oct 19 10:47:27 +0.4 Thu Oct 19 2006 - bugfix: handles different newlines (mac, win, *nix) -0.3 Wed Oct 18 21:36:32 +0.3 Wed Oct 18 2006 - bugfix: CheckManifest works under Solaris now 0.2 - bugfix: some files excluded from test -0.1 Fri Sep 29 09:18:09 2006 +0.1 Fri Sep 29 2006 - original version; created by h2xs 1.23 with options -XA -n Test::CheckManifest + added tests for Pod coverage, Pod, Manifest diff -Nru libtest-checkmanifest-perl-1.22/debian/changelog libtest-checkmanifest-perl-1.24/debian/changelog --- libtest-checkmanifest-perl-1.22/debian/changelog 2010-07-31 06:32:31.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/debian/changelog 2011-04-10 12:34:46.000000000 +0000 @@ -1,3 +1,30 @@ +libtest-checkmanifest-perl (1.24-1) unstable; urgency=low + + * New upstream release + * Refreshed patches + * Added debian/clean + + -- Nicholas Bamber Sun, 10 Apr 2011 11:42:51 +0100 + +libtest-checkmanifest-perl (1.23-1) unstable; urgency=low + + [ Ansgar Burchardt ] + * Email change: Ansgar Burchardt -> ansgar@debian.org + + [ Nicholas Bamber ] + * Added myself to Uploaders + * New upstream release + * Updated copyright + * Rewrote tests patch to be more robust + * Added patch for mangled POD + + [ gregor herrmann ] + * Email change: Ryan Niebur -> ryan@debian.org + * Remove libtest-pod-coverage-perl, libtest-pod-perl from + Build-Depends-Indep, the respective tests aren't run anymore. + + -- Nicholas Bamber Mon, 28 Mar 2011 22:39:00 +0100 + libtest-checkmanifest-perl (1.22-1) unstable; urgency=low * New upstream release. diff -Nru libtest-checkmanifest-perl-1.22/debian/clean libtest-checkmanifest-perl-1.24/debian/clean --- libtest-checkmanifest-perl-1.22/debian/clean 1970-01-01 00:00:00.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/debian/clean 2011-04-10 12:34:46.000000000 +0000 @@ -0,0 +1,2 @@ +Makefile +Makefile.old diff -Nru libtest-checkmanifest-perl-1.22/debian/control libtest-checkmanifest-perl-1.24/debian/control --- libtest-checkmanifest-perl-1.22/debian/control 2010-07-31 06:32:31.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/debian/control 2011-03-30 16:31:02.000000000 +0000 @@ -2,10 +2,10 @@ Section: perl Priority: optional Build-Depends: debhelper (>= 7) -Build-Depends-Indep: perl, libtest-pod-coverage-perl, libtest-pod-perl +Build-Depends-Indep: perl Maintainer: Debian Perl Group Uploaders: Ryan Niebur , Jonathan Yu , - Ansgar Burchardt + Ansgar Burchardt , Nicholas Bamber Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/Test-CheckManifest/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-checkmanifest-perl/ diff -Nru libtest-checkmanifest-perl-1.22/debian/copyright libtest-checkmanifest-perl-1.24/debian/copyright --- libtest-checkmanifest-perl-1.22/debian/copyright 2010-07-31 06:32:31.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/debian/copyright 2011-03-30 16:28:14.000000000 +0000 @@ -4,12 +4,14 @@ Name: Test-CheckManifest Files: * -Copyright: 2006-2009, Renee Baecker +Copyright: 2011, Renee Baecker License: Artistic-2.0 Files: debian/* -Copyright: 2010, Jonathan Yu - 2009, Ryan Niebur +Copyright: 2009, Ryan Niebur + 2010, Ansgar Burchardt + 2010, Jonathan Yu + 2011, Nicholas Bamber License: Artistic-2.0 License: Artistic-2.0 diff -Nru libtest-checkmanifest-perl-1.22/debian/patches/fix-tests libtest-checkmanifest-perl-1.24/debian/patches/fix-tests --- libtest-checkmanifest-perl-1.22/debian/patches/fix-tests 2010-07-31 06:32:31.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/debian/patches/fix-tests 1970-01-01 00:00:00.000000000 +0000 @@ -1,25 +0,0 @@ -Description: add debian/ files to MANIFEST to ensure tests pass -Author: Ryan Niebur -Origin: vendor -Forwarded: no ---- libtest-checkmanifest-perl.orig/MANIFEST -+++ libtest-checkmanifest-perl/MANIFEST -@@ -11,3 +11,18 @@ - lib/Test/CheckManifest.pm - - META.yml -+debian/changelog -+debian/rules -+debian/watch -+debian/libtest-checkmanifest-perl.debhelper.log -+debian/copyright -+debian/compat -+debian/control -+debian/patches/series -+debian/patches/fix-tests -+debian/source/format -+.pc/.version -+.pc/applied-patches -+.pc/fix-tests/MANIFEST -+.pc/.quilt_patches -+.pc/.quilt_series diff -Nru libtest-checkmanifest-perl-1.22/debian/patches/fix-tests.patch libtest-checkmanifest-perl-1.24/debian/patches/fix-tests.patch --- libtest-checkmanifest-perl-1.22/debian/patches/fix-tests.patch 1970-01-01 00:00:00.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/debian/patches/fix-tests.patch 2011-03-29 14:56:48.000000000 +0000 @@ -0,0 +1,32 @@ +Description: added .pc and debian to exclude/filter clauses +Author: Nicholas Bamber +Origin: vendor +Forwarded: no +Last-Update: 2011-03-28 +--- a/t/01_selftest.t ++++ b/t/01_selftest.t +@@ -33,7 +33,7 @@ + open $fh ,'>',$file2 and close $fh; + + Test::CheckManifest::_not_ok_manifest('expected: Manifest not ok'); +-ok_manifest({filter => [qr/\.(?:svn|git)/]},'Filter: \.(?:svn|git)'); ++ok_manifest({filter => [qr/\.(?:svn|git|pc)/,qr/debian/]},'Filter: \.(?:svn|git)'); + Test::CheckManifest::_not_ok_manifest({exclude => ['/.git/']},'expected: Manifest not ok (Exclude /.git/)'); + + mkdir $dir2; +@@ -44,12 +44,12 @@ + Test::CheckManifest::_not_ok_manifest({filter => [qr/\.git/], + bool => 'and', + exclude => ['/t/test']}, 'filter AND exclude'); +-ok_manifest({filter => [qr/\.git/], +- exclude => ['/t/test']}, 'filter OR exclude'); ++ok_manifest({filter => [qr/\.(?:git|svn)/], ++ exclude => ['/t/test','/debian','/.pc']}, 'filter OR exclude'); + + unlink $file3; + +-ok_manifest({filter => [qr/\.git/, qr/\.svn/ ]},'Filter \.git or \.svn'); ++ok_manifest({filter => [qr/\.git/, qr/\.svn/, qr/\.pc/, qr/debian/ ]},'Filter \.git or \.svn'); + + unlink $file2, $file1; + rmdir $dir; diff -Nru libtest-checkmanifest-perl-1.22/debian/patches/pod.patch libtest-checkmanifest-perl-1.24/debian/patches/pod.patch --- libtest-checkmanifest-perl-1.22/debian/patches/pod.patch 1970-01-01 00:00:00.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/debian/patches/pod.patch 2011-04-10 12:34:46.000000000 +0000 @@ -0,0 +1,26 @@ +Subject: Two NAME sections, authoritative one lacking a what is +Author: Nicholas Bamber +Forwarded: no +Last-Update: 2011-04-10 +--- a/lib/Test/CheckManifest.pm ++++ b/lib/Test/CheckManifest.pm +@@ -238,7 +238,7 @@ + + =head1 NAME + +-Test::CheckManifest ++Test::CheckManifest - Check if your Manifest matches your distro + + =head1 VERSION + +@@ -257,10 +257,6 @@ + + There is only one method exported: C + +-=head1 NAME +- +-Test::CheckManifest - Check if your Manifest matches your distro +- + =head1 METHODS + + =head2 ok_manifest [{exlude => $arref}][$msg] diff -Nru libtest-checkmanifest-perl-1.22/debian/patches/series libtest-checkmanifest-perl-1.24/debian/patches/series --- libtest-checkmanifest-perl-1.22/debian/patches/series 2010-07-31 06:32:31.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/debian/patches/series 2011-03-29 14:56:48.000000000 +0000 @@ -1 +1,2 @@ -fix-tests +fix-tests.patch +pod.patch diff -Nru libtest-checkmanifest-perl-1.22/dist.ini libtest-checkmanifest-perl-1.24/dist.ini --- libtest-checkmanifest-perl-1.22/dist.ini 1970-01-01 00:00:00.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/dist.ini 2011-04-09 06:50:09.000000000 +0000 @@ -0,0 +1,28 @@ +name = Test-CheckManifest +author = Renee Baecker +license = Artistic_2_0 +copyright_holder = Renee Baecker +copyright_year = 2011 + +[VersionFromModule] + +[PodWeaver] + +[GatherDir] +[MetaYAML] +[MakeMaker] +[Readme] +[License] + +[PodCoverageTests] +[PodSyntaxTests] + +[UploadToCPAN] + +[Prereqs] +Test::Builder = 0 +File::Spec = 0 +File::Basename = 0 +File::Find = 0 +Cwd = 0 +Carp = 0 \ No newline at end of file diff -Nru libtest-checkmanifest-perl-1.22/lib/Test/CheckManifest.pm libtest-checkmanifest-perl-1.24/lib/Test/CheckManifest.pm --- libtest-checkmanifest-perl-1.22/lib/Test/CheckManifest.pm 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/lib/Test/CheckManifest.pm 2011-04-09 06:50:09.000000000 +0000 @@ -10,7 +10,7 @@ use Test::Builder; use File::Find; -our $VERSION = '1.22'; +our $VERSION = '1.24'; my $test = Test::Builder->new(); my $test_bool = 1; @@ -84,13 +84,7 @@ my $files_in_skip = _read_skip( $skip, \$msg, \$bool ); last unless $files_in_skip; - my @files; - while( my $fh_line = <$fh> ){ - if( $fh_line =~ /^\s*([^\s#]\S*)/ and $fh_line !~ /^META\.yml/ ){ - push @files, $1; - } - } - #my @files = grep{!/^\s*$/ and !/^META\.yml/}<$fh>; + my @files = _read_file( $fh ); close $fh; chomp @files; @@ -158,6 +152,32 @@ $test->diag($plus) if scalar @files_plus >= 1 and $test_bool == 1; } +sub _read_file { + my ($fh) = @_; + + my @files; + while( my $fh_line = <$fh> ){ + chomp $fh_line; + + next if $fh_line =~ m{ \A \s* \# }x; + + my ($file); + + if ( ($file) = $fh_line =~ /^'(\\[\\']|.+)+'\s*(.*)/) { + $file =~ s/\\([\\'])/$1/g; + } + else { + ($file) = $fh_line =~ /^(\S+)\s*(.*)/; + } + + next unless $file; + + push @files, $file; + } + + return @files; +} + sub _not_ok_manifest{ $test_bool = 0; ok_manifest(@_); @@ -167,7 +187,7 @@ sub _is_excluded{ my ($file,$dirref,$filter,$bool,$files_in_skip,$home) = @_; my @excluded_files = qw(pm_to_blib Makefile META.yml Build pod2htmd.tmp - pod2htmi.tmp Build.bat .cvsignore); + pod2htmi.tmp Build.bat .cvsignore MYMETA.json); if ( $files_in_skip and 'ARRAY' eq ref $files_in_skip ) { (my $local_file = $file) =~ s{\Q$home\E/?}{}; @@ -205,35 +225,24 @@ return; } else { - while ( my $line = <$skip_fh> ) { - chomp $line; - - next if $line =~ m{ \A \s* \# }x; - - my ($file,$comment); - - if (($file, $comment) = $line =~ /^'(\\[\\']|.+)+'\s*(.*)/) { - $file =~ s/\\([\\'])/$1/g; - } - else { - ($file, $comment) = $line =~ /^(\S+)\s*(.*)/; - } - - next unless $file; - - push @files, $file; - } + @files = _read_file( $skip_fh ); } return \@files; } 1; -__END__ + + +=pod =head1 NAME -Test::CheckManifest - Check if your Manifest matches your distro +Test::CheckManifest + +=head1 VERSION + +version 1.24 =head1 SYNOPSIS @@ -248,6 +257,10 @@ There is only one method exported: C +=head1 NAME + +Test::CheckManifest - Check if your Manifest matches your distro + =head1 METHODS =head2 ok_manifest [{exlude => $arref}][$msg] @@ -330,10 +343,25 @@ =head1 COPYRIGHT AND LICENSE -Copyright (C) 2006 - 2009 by Renee Baecker +Copyright (C) 2006 - 2011 by Renee Baecker This library is free software; you can redistribute it and/or modify it under the same terms as Artistic License 2.0 +=head1 AUTHOR + +Renee Baecker + +=head1 COPYRIGHT AND LICENSE + +This software is Copyright (c) 2011 by Renee Baecker. + +This is free software, licensed under: + + The Artistic License 2.0 =cut + + +__END__ + diff -Nru libtest-checkmanifest-perl-1.22/LICENSE libtest-checkmanifest-perl-1.24/LICENSE --- libtest-checkmanifest-perl-1.22/LICENSE 1970-01-01 00:00:00.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/LICENSE 2011-04-09 06:50:09.000000000 +0000 @@ -0,0 +1,207 @@ +This software is Copyright (c) 2011 by Renee Baecker. + +This is free software, licensed under: + + The Artistic License 2.0 + + The Artistic License 2.0 + + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +Preamble + +This license establishes the terms under which a given free software +Package may be copied, modified, distributed, and/or redistributed. +The intent is that the Copyright Holder maintains some artistic +control over the development of that Package while still keeping the +Package available as open source and free software. + +You are always permitted to make arrangements wholly outside of this +license directly with the Copyright Holder of a given Package. If the +terms of this license do not permit the full use that you propose to +make of the Package, you should contact the Copyright Holder and seek +a different licensing arrangement. + +Definitions + + "Copyright Holder" means the individual(s) or organization(s) + named in the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, + distribute, or modify the Package. + + "Package" means the collection of files distributed by the + Copyright Holder, and derivatives of that collection and/or of + those files. A given Package may consist of either the Standard + Version, or a Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing + this Package or providing support for this Package to another + party. It does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been + modified, or has been modified only in ways explicitly requested + by the Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and + such changes were not explicitly requested by the Copyright + Holder. + + "Original License" means this Artistic License as Distributed with + the Standard Version of the Package, in its current version or as + it may be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, + or any other form resulting from mechanical transformation or + translation of the Source form. + + +Permission for Use and Modification Without Distribution + +(1) You are permitted to use the Standard Version and create and use +Modified Versions for any purpose without restriction, provided that +you do not Distribute the Modified Version. + + +Permissions for Redistribution of the Standard Version + +(2) You may Distribute verbatim copies of the Source form of the +Standard Version of this Package in any medium without restriction, +either gratis or for a Distributor Fee, provided that you duplicate +all of the original copyright notices and associated disclaimers. At +your discretion, such verbatim copies may or may not include a +Compiled form of the Package. + +(3) You may apply any bug fixes, portability changes, and other +modifications made available from the Copyright Holder. The resulting +Package will still be considered the Standard Version, and as such +will be subject to the Original License. + + +Distribution of Modified Versions of the Package as Source + +(4) You may Distribute your Modified Version as Source (either gratis +or for a Distributor Fee, and with or without a Compiled form of the +Modified Version) provided that you clearly document how it differs +from the Standard Version, including, but not limited to, documenting +any non-standard features, executables, or modules, and provided that +you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder + of the Standard Version, under the Original License, so that the + Copyright Holder may include your modifications in the Standard + Version. + + (b) ensure that installation of your Modified Version does not + prevent the user installing or running the Standard Version. In + addition, the Modified Version must bear a name that is different + from the name of the Standard Version. + + (c) allow anyone who receives a copy of the Modified Version to + make the Source form of the Modified Version available to others + under + + (i) the Original License or + + (ii) a license that permits the licensee to freely copy, + modify and redistribute the Modified Version using the same + licensing terms that apply to the copy that the licensee + received, and requires that the Source form of the Modified + Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor + Fees are allowed. + + +Distribution of Compiled Forms of the Standard Version +or Modified Versions without the Source + +(5) You may Distribute Compiled forms of the Standard Version without +the Source, provided that you include complete instructions on how to +get the Source of the Standard Version. Such instructions must be +valid at the time of your distribution. If these instructions, at any +time while you are carrying out such distribution, become invalid, you +must provide new instructions on demand or cease further distribution. +If you provide valid instructions or cease distribution within thirty +days after you become aware that the instructions are invalid, then +you do not forfeit any of your rights under this license. + +(6) You may Distribute a Modified Version in Compiled form without +the Source, provided that you comply with Section 4 with respect to +the Source of the Modified Version. + + +Aggregating or Linking the Package + +(7) You may aggregate the Package (either the Standard Version or +Modified Version) with other packages and Distribute the resulting +aggregation provided that you do not charge a licensing fee for the +Package. Distributor Fees are permitted, and licensing fees for other +components in the aggregation are permitted. The terms of this license +apply to the use and Distribution of the Standard or Modified Versions +as included in the aggregation. + +(8) You are permitted to link Modified and Standard Versions with +other works, to embed the Package in a larger work of your own, or to +build stand-alone binary or bytecode versions of applications that +include the Package, and Distribute the result without restriction, +provided the result does not expose a direct interface to the Package. + + +Items That are Not Considered Part of a Modified Version + +(9) Works (including, but not limited to, modules and scripts) that +merely extend or make use of the Package, do not, by themselves, cause +the Package to be a Modified Version. In addition, such works are not +considered parts of the Package itself, and are not subject to the +terms of this license. + + +General Provisions + +(10) Any use, modification, and distribution of the Standard or +Modified Versions is governed by this Artistic License. By using, +modifying or distributing the Package, you accept this license. Do not +use, modify, or distribute the Package, if you do not accept this +license. + +(11) If your Modified Version has been derived from a Modified +Version made by someone other than you, you are nevertheless required +to ensure that your Modified Version complies with the requirements of +this license. + +(12) This license does not grant you the right to use any trademark, +service mark, tradename, or logo of the Copyright Holder. + +(13) This license includes the non-exclusive, worldwide, +free-of-charge patent license to make, have made, use, offer to sell, +sell, import and otherwise transfer the Package with respect to any +patent claims licensable by the Copyright Holder that are necessarily +infringed by the Package. If you institute patent litigation +(including a cross-claim or counterclaim) against any party alleging +that the Package constitutes direct or contributory patent +infringement, then this Artistic License to you shall terminate on the +date that such litigation is filed. + +(14) Disclaimer of Warranty: +THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS +IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR +NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL +LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff -Nru libtest-checkmanifest-perl-1.22/Makefile.PL libtest-checkmanifest-perl-1.24/Makefile.PL --- libtest-checkmanifest-perl-1.22/Makefile.PL 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/Makefile.PL 2011-04-09 06:50:09.000000000 +0000 @@ -1,22 +1,56 @@ -require 5.006001; -use ExtUtils::MakeMaker; -# See lib/ExtUtils/MakeMaker.pm for details of how to influence -# the contents of the Makefile that is written. -WriteMakefile( - NAME => 'Test::CheckManifest', - VERSION_FROM => 'lib/Test/CheckManifest.pm', # finds $VERSION - PREREQ_PM => { - Test::Builder => 0, - File::Spec => 0, - File::Basename => 0, - File::Find => 0, - Cwd => 0, - Carp => 0, - }, # e.g., Module::Name => 1.1 - ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => 'lib/Test/CheckManifest.pm', # retrieve abstract from module - AUTHOR => 'Renee Baecker ') : ()), - ($ExtUtils::MakeMaker::VERSION >= 6.31 ? - (LICENSE => 'artistic_2') : ()), +use strict; +use warnings; + + + +use ExtUtils::MakeMaker 6.31; + + + +my %WriteMakefileArgs = ( + 'ABSTRACT' => 'Check if your Manifest matches your distro', + 'AUTHOR' => 'Renee Baecker ', + 'BUILD_REQUIRES' => {}, + 'CONFIGURE_REQUIRES' => { + 'ExtUtils::MakeMaker' => '6.31' + }, + 'DISTNAME' => 'Test-CheckManifest', + 'EXE_FILES' => [], + 'LICENSE' => 'artistic_2', + 'NAME' => 'Test::CheckManifest', + 'PREREQ_PM' => { + 'Carp' => '0', + 'Cwd' => '0', + 'File::Basename' => '0', + 'File::Find' => '0', + 'File::Spec' => '0', + 'Test::Builder' => '0' + }, + 'VERSION' => '1.24', + 'test' => { + 'TESTS' => 't/*.t' + } ); + + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { + my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; + my $pp = $WriteMakefileArgs{PREREQ_PM}; + for my $mod ( keys %$br ) { + if ( exists $pp->{$mod} ) { + $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; + } + else { + $pp->{$mod} = $br->{$mod}; + } + } +} + +delete $WriteMakefileArgs{CONFIGURE_REQUIRES} + unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; + +WriteMakefile(%WriteMakefileArgs); + + + diff -Nru libtest-checkmanifest-perl-1.22/MANIFEST libtest-checkmanifest-perl-1.24/MANIFEST --- libtest-checkmanifest-perl-1.22/MANIFEST 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/MANIFEST 2011-04-09 06:50:09.000000000 +0000 @@ -2,12 +2,16 @@ Makefile.PL MANIFEST README +LICENSE t/00_load.t t/01_selftest.t t/98_boilerplate.t -t/99_pod.t -t/99_pod_coverage.t +'t/file with whitespaces.txt' + +xt/release/pod-syntax.t +xt/release/pod-coverage.t + lib/Test/CheckManifest.pm META.yml diff -Nru libtest-checkmanifest-perl-1.22/MANIFEST.SKIP libtest-checkmanifest-perl-1.24/MANIFEST.SKIP --- libtest-checkmanifest-perl-1.22/MANIFEST.SKIP 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/MANIFEST.SKIP 2011-04-09 06:50:09.000000000 +0000 @@ -1,3 +1,4 @@ ^Test.txt$ data/Test2.dat -\.SKIP$ \ No newline at end of file +\.SKIP$ +dist.ini \ No newline at end of file diff -Nru libtest-checkmanifest-perl-1.22/META.yml libtest-checkmanifest-perl-1.24/META.yml --- libtest-checkmanifest-perl-1.22/META.yml 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/META.yml 2011-04-09 06:50:09.000000000 +0000 @@ -1,20 +1,22 @@ ---- #YAML:1.0 -name: Test-CheckManifest -version: 1.22 -abstract: Check if your Manifest matches your distro -license: artistic_2 -generated_by: ExtUtils::MakeMaker version 6.31 -distribution_type: module -requires: - Carp: 0 - Cwd: 0 - File::Basename: 0 - File::Find: 0 - File::Spec: 0 - Test::Builder: 0 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.2.html - version: 1.2 +--- +abstract: 'Check if your Manifest matches your distro' author: - - Renee Baecker - + - 'Renee Baecker ' +build_requires: {} +configure_requires: + ExtUtils::MakeMaker: 6.31 +dynamic_config: 0 +generated_by: 'Dist::Zilla version 4.102340, CPAN::Meta::Converter version 2.102160' +license: artistic_2 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: Test-CheckManifest +requires: + Carp: 0 + Cwd: 0 + File::Basename: 0 + File::Find: 0 + File::Spec: 0 + Test::Builder: 0 +version: 1.24 diff -Nru libtest-checkmanifest-perl-1.22/README libtest-checkmanifest-perl-1.24/README --- libtest-checkmanifest-perl-1.22/README 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/README 2011-04-09 06:50:09.000000000 +0000 @@ -1,31 +1,14 @@ -Test-CheckManifest -================== -The MANIFEST file is one critical point of each module on CPAN. Many programmers -(including myself) add new testscripts or new files to the distribution. But then -these files are not added to the MANIFEST. -This can cause problems during installation process. +This archive contains the distribution Test-CheckManifest, +version 1.24: -This module aims to help the programmer to keep the MANIFEST file up to date. + Check if your Manifest matches your distro -INSTALLATION +This software is Copyright (c) 2011 by Renee Baecker. -To install this module type the following: +This is free software, licensed under: - perl Makefile.PL - make - make test - make install - -COPYRIGHT AND LICENCE - -Put the correct copyright and licence information here. - -Copyright (C) 2006 by Renee Baecker - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself, either Perl version 5.8.6 or, -at your option, any later version of Perl 5 you may have available. + The Artistic License 2.0 diff -Nru libtest-checkmanifest-perl-1.22/t/99_pod_coverage.t libtest-checkmanifest-perl-1.24/t/99_pod_coverage.t --- libtest-checkmanifest-perl-1.22/t/99_pod_coverage.t 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/t/99_pod_coverage.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; -use Test::More; - -eval "use Test::Pod::Coverage 1.08"; -plan skip_all => "Test::Pod::Coverage 1.08 required" if $@; -all_pod_coverage_ok(); diff -Nru libtest-checkmanifest-perl-1.22/t/99_pod.t libtest-checkmanifest-perl-1.24/t/99_pod.t --- libtest-checkmanifest-perl-1.22/t/99_pod.t 2010-07-29 11:44:14.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/t/99_pod.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; -use FindBin (); -use Test::More; - -eval "use Test::Pod 1.00"; -plan skip_all => "Test::Pod 1.00 required" if $@; -all_pod_files_ok(); \ No newline at end of file diff -Nru libtest-checkmanifest-perl-1.22/t/file with whitespaces.txt libtest-checkmanifest-perl-1.24/t/file with whitespaces.txt --- libtest-checkmanifest-perl-1.22/t/file with whitespaces.txt 1970-01-01 00:00:00.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/t/file with whitespaces.txt 2011-04-09 06:50:09.000000000 +0000 @@ -0,0 +1 @@ +This is a file needed to test the error filed in bug #67334 \ No newline at end of file diff -Nru libtest-checkmanifest-perl-1.22/xt/release/pod-coverage.t libtest-checkmanifest-perl-1.24/xt/release/pod-coverage.t --- libtest-checkmanifest-perl-1.22/xt/release/pod-coverage.t 1970-01-01 00:00:00.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/xt/release/pod-coverage.t 2011-04-09 06:50:09.000000000 +0000 @@ -0,0 +1,13 @@ +#!perl + +use Test::More; + +eval "use Test::Pod::Coverage 1.08"; +plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" + if $@; + +eval "use Pod::Coverage::TrustPod"; +plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage" + if $@; + +all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -Nru libtest-checkmanifest-perl-1.22/xt/release/pod-syntax.t libtest-checkmanifest-perl-1.24/xt/release/pod-syntax.t --- libtest-checkmanifest-perl-1.22/xt/release/pod-syntax.t 1970-01-01 00:00:00.000000000 +0000 +++ libtest-checkmanifest-perl-1.24/xt/release/pod-syntax.t 2011-04-09 06:50:09.000000000 +0000 @@ -0,0 +1,7 @@ +#!perl +use Test::More; + +eval "use Test::Pod 1.41"; +plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; + +all_pod_files_ok();