r37957 - in /branches/upstream/libmodule-cpants-analyse-perl/current: ./ bin/ lib/Module/CPANTS/ lib/Module/CPANTS/Kwalitee/ t/ t/eg/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Wed Jun 10 19:53:49 UTC 2009
Author: jawnsy-guest
Date: Wed Jun 10 19:53:44 2009
New Revision: 37957
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=37957
Log:
[svn-upgrade] Integrating new upstream version, libmodule-cpants-analyse-perl (0.83)
Added:
branches/upstream/libmodule-cpants-analyse-perl/current/t/eg/Capture-Tiny-0.05.tar.gz (with props)
Modified:
branches/upstream/libmodule-cpants-analyse-perl/current/MANIFEST
branches/upstream/libmodule-cpants-analyse-perl/current/META.yml
branches/upstream/libmodule-cpants-analyse-perl/current/Makefile.PL
branches/upstream/libmodule-cpants-analyse-perl/current/README
branches/upstream/libmodule-cpants-analyse-perl/current/TODO
branches/upstream/libmodule-cpants-analyse-perl/current/bin/cpants_lint.pl
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Analyse.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/BrokenInstaller.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/CpantsErrors.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distname.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distros.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Files.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/FindModules.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/License.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Manifest.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/MetaYML.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/NeedsCompiler.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Pod.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Prereq.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Repackageable.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Uses.pm
branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Version.pm
branches/upstream/libmodule-cpants-analyse-perl/current/t/02_kwalitee.t
branches/upstream/libmodule-cpants-analyse-perl/current/t/10_analyse.t
branches/upstream/libmodule-cpants-analyse-perl/current/t/calc_test_yaml_meta.t
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/MANIFEST?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/MANIFEST (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/MANIFEST Wed Jun 10 19:53:44 2009
@@ -18,7 +18,6 @@
lib/Module/CPANTS/Kwalitee/Repackageable.pm
lib/Module/CPANTS/Kwalitee/Uses.pm
lib/Module/CPANTS/Kwalitee/Version.pm
-Makefile.PL
MANIFEST This list of files
META.yml
README
@@ -41,6 +40,7 @@
t/eg/AFS-2.4.0.tar.gz
t/eg/App-Wack-0.05.tar.gz
t/eg/AxKit-XSP-L10N-0.03.tar.gz
+t/eg/Capture-Tiny-0.05.tar.gz
t/eg/DBIx-SchemaChecksum-0.06.tar.gz
t/eg/Debian_CPANTS.txt
t/eg/Devel-Timer-0.02.tar.gz
@@ -65,3 +65,4 @@
xt/99_critic.t
xt/99_pod.t
xt/99_pod_coverage.t
+Makefile.PL
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/META.yml?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/META.yml (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/META.yml Wed Jun 10 19:53:44 2009
@@ -1,6 +1,6 @@
---
name: Module-CPANTS-Analyse
-version: 0.82
+version: 0.83
author:
- 'Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at'
- |-
@@ -36,7 +36,7 @@
provides:
Module::CPANTS::Analyse:
file: lib/Module/CPANTS/Analyse.pm
- version: 0.82
+ version: 0.83
Module::CPANTS::Kwalitee:
file: lib/Module/CPANTS/Kwalitee.pm
Module::CPANTS::Kwalitee::BrokenInstaller:
@@ -69,7 +69,7 @@
file: lib/Module/CPANTS/Kwalitee/Uses.pm
Module::CPANTS::Kwalitee::Version:
file: lib/Module/CPANTS/Kwalitee/Version.pm
-generated_by: Module::Build version 0.280801
+generated_by: Module::Build version 0.33
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/Makefile.PL?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/Makefile.PL (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/Makefile.PL Wed Jun 10 19:53:44 2009
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.2808_01
+# Note: this file was auto-generated by Module::Build::Compat version 0.33
use ExtUtils::MakeMaker;
WriteMakefile
(
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/README?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/README (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/README Wed Jun 10 19:53:44 2009
@@ -8,6 +8,15 @@
AUTHOR
Thomas Klausner, <domm at cpan.org>
+COPYRIGHT
+
+ Copyright (C) 2003-2009 Thomas Klausner
+ Some files are Copyright (C) 2006-2008 Gabor Szabo
+ Some files are Copyright (C) 2006 Steffen Müller
+
+ The module distributions in the t/eg/ directory are copyright by
+ their respective authors.
+
LICENSE
This code is distributed under the same license as Perl.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/TODO
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/TODO?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/TODO (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/TODO Wed Jun 10 19:53:44 2009
@@ -17,6 +17,10 @@
Moose and MooseX turn on strict, so count Moose[X] as use_strict
+The "ownership of a modules does not seem to get updated"
+e.g. still shows DAGOLDEN even tough it should be ADAMK
+http://cpants.perl.org/dist/external/Perl-Dist-Strawberry
+
#-----------------------------------------------------------------
# New Metrics
#-----------------------------------------------------------------
@@ -32,6 +36,16 @@
- add list of modules that fail the use_warnings to $d->{error}{use_warnings}
- same for use_strict
+
+
+- Allow the Debian and/or the Fedora packagers to "manually" report problems they
+ encounter with certain packages directly from their systems.
+ So if there is a module that cannot automatically packaged (or tested?) because
+ they are interactive (in the wrong way) or they need network access...
+ On the Debian list it was discussed that they might start saving this information
+ from themself and then export this information with the rest of the data about
+ packages.
+
- Signature checking ?
@@ -105,6 +119,16 @@
file only or all the files or what)
- licenses_are_consistent
+Locate places where hard-coded pathes to perl (or other files?)
+are:
+>
+> my @cmd = qw{/usr/bin/perl -Ilib -MPod::HtmlEasy -e};
+actually try to locate places where perl is called instead of $^X
+
+<@Tux> has no open bugs in RT older than 2 months
+<@Tux> and debian shipped last version is only ok is last version is older than 3 months
+
+
#-----------------------------------------------------------------
# Other Stuff
#-----------------------------------------------------------------
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/bin/cpants_lint.pl
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/bin/cpants_lint.pl?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/bin/cpants_lint.pl (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/bin/cpants_lint.pl Wed Jun 10 19:53:44 2009
@@ -20,6 +20,8 @@
my $dist=shift(@ARGV);
pod2usage(-exitstatus => 0, -verbose => 0) unless $dist;
die "Cannot find $dist\n" unless -e $dist;
+
+$ENV{CPANTS_LINT} = 1;
my $mca=Module::CPANTS::Analyse->new({
dist=>$dist,
@@ -53,7 +55,7 @@
my (@core_failure, at opt_failure, at exp_failure);
my ($core_kw,$opt_kw)=(0,0);
my $kwl=$mca->d->{kwalitee};
-
+
my @need_db;
foreach my $ind (@{$mca->mck->get_indicators}) {
if ($ind->{needs_db}) {
@@ -207,7 +209,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 LICENSE
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Analyse.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Analyse.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Analyse.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Analyse.pm Wed Jun 10 19:53:44 2009
@@ -12,7 +12,7 @@
use IO::Capture::Stderr;
use YAML::Syck qw(LoadFile);
-use version; our $VERSION=version->new('0.82');
+use version; our $VERSION=version->new('0.83');
# setup logger
if (! main->can('logger')) {
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee.pm Wed Jun 10 19:53:44 2009
@@ -181,7 +181,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 LICENSE
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/BrokenInstaller.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/BrokenInstaller.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/BrokenInstaller.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/BrokenInstaller.pm Wed Jun 10 19:53:44 2009
@@ -129,7 +129,10 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2009 Thomas Klausner
+Copyright (C) 2006 Steffen Müller
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/CpantsErrors.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/CpantsErrors.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/CpantsErrors.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/CpantsErrors.pm Wed Jun 10 19:53:44 2009
@@ -88,7 +88,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distname.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distname.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distname.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distname.pm Wed Jun 10 19:53:44 2009
@@ -122,7 +122,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distros.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distros.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distros.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Distros.pm Wed Jun 10 19:53:44 2009
@@ -17,6 +17,8 @@
sub analyse {
my $class=shift;
my $me=shift;
+
+ return if $ENV{CPANTS_LINT};
if (not $debian) {
$debian = get_debian_data();
@@ -72,6 +74,8 @@
##################################################################
sub kwalitee_indicators{
+ return [] if $ENV{CPANTS_LINT};
+
return [
{
name=>'distributed_by_debian',
@@ -138,8 +142,10 @@
my $deb = $debian->{ $d->{dist} };
return 1 if $deb && !$deb->{N_patches};
if ($deb) {
- my $error = "Number of patches reported: $deb->{N_patches}.";
- $error .= " See: <a href=http://packages.debian.org/src:$deb->{debian_pkg}>Basic homepage</a>";
+ my $error = qq(Number of patches reported: $deb->{N_patches}.);
+ $error .= qq( See: <a href="http://packages.debian.org/src:$deb->{debian_pkg}">Basic homepage</a>);
+ $error .= sprintf(' <a href="http://svn.debian.org/wsvn/pkg-perl/trunk/%s/debian/patches/">svn</a>',
+ $deb->{debian_pkg});
$d->{error}{ $metric->{name} } = $error;
} else {
#$d->{error}{ $metric->{name} } = 'First get your module in Debian';
@@ -241,7 +247,10 @@
and Gabor Szabo, <gabor at pti.co.il>, http://www.szabgab.com
with the help of MartÃn Ferrari and the Debian Perl packaging team.
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2009 Thomas Klausner
+Copyright (C) 2006-2008 Gabor Szabo
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Files.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Files.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Files.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Files.pm Wed Jun 10 19:53:44 2009
@@ -248,8 +248,8 @@
remedy=>q{Add a directory matching the regex (bin|scripts?|ex|eg|examples?|samples?|demos?) or a file matching the regex /\/(examples?|samples?|demos?)\.p(m|od)$/i to your distribution that includes some scripts showing one or more use-cases of the distribution. },
code=>sub {
my $d=shift;
- return 1 if grep {/^(bin|scripts?|ex|eg|examples?|samples?|demos?)\/\w/i} @{ $d->{files_array} };
- return 1 if grep {/\/(examples?|samples?|demos?)\.p(m|od)$/i} @{ $d->{files_array} };
+ return 1 if grep {/^(bin|scripts?|ex|eg|examples?|samples?|demos?)\/\w/i} ( @{ $d->{files_array} }, @{ $d->{ignored_files_array} } );
+ return 1 if grep {/\/(examples?|samples?|demos?)\.p(m|od)$/i} ( @{ $d->{files_array} }, @{ $d->{ignored_files_array} } );
return 0;
},
},
@@ -391,7 +391,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/FindModules.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/FindModules.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/FindModules.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/FindModules.pm Wed Jun 10 19:53:44 2009
@@ -168,7 +168,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/License.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/License.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/License.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/License.pm Wed Jun 10 19:53:44 2009
@@ -197,7 +197,10 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
and Gabor Szabo, <gabor at pti.co.il>, http://www.szabgab.com
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2009 Thomas Klausner
+Copyright (C) 2006-2008 Gabor Szabo
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Manifest.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Manifest.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Manifest.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Manifest.pm Wed Jun 10 19:53:44 2009
@@ -119,7 +119,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.plix.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/MetaYML.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/MetaYML.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/MetaYML.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/MetaYML.pm Wed Jun 10 19:53:44 2009
@@ -230,7 +230,10 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
and Gabor Szabo, <gabor at pti.co.il>, http://www.szabgab.com
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2009 Thomas Klausner
+Copyright (C) 2006-2008 Gabor Szabo
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/NeedsCompiler.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/NeedsCompiler.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/NeedsCompiler.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/NeedsCompiler.pm Wed Jun 10 19:53:44 2009
@@ -96,7 +96,9 @@
Gabor Szabo <gabor at pti.co.il> http://www.pti.co.il
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2006-2008 Gabor Szabo
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Pod.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Pod.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Pod.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Pod.pm Wed Jun 10 19:53:44 2009
@@ -108,7 +108,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Prereq.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Prereq.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Prereq.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Prereq.pm Wed Jun 10 19:53:44 2009
@@ -186,7 +186,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Repackageable.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Repackageable.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Repackageable.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Repackageable.pm Wed Jun 10 19:53:44 2009
@@ -111,7 +111,10 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
and Gabor Szabo, <gabor at pti.co.il>, http://www.szabgab.com
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2009 Thomas Klausner
+Copyright (C) 2006-2008 Gabor Szabo
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Uses.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Uses.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Uses.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Uses.pm Wed Jun 10 19:53:44 2009
@@ -111,6 +111,7 @@
name=>'has_test_pod',
error=>q{Doesn't include a test for pod correctness (Test::Pod)},
remedy=>q{Add a test using Test::Pod to check for pod correctness.},
+ is_extra=>1,
code=>sub {
my $d=shift;
return 1 if $d->{uses}->{'Test::Pod'};
@@ -121,6 +122,7 @@
name=>'has_test_pod_coverage',
error=>q{Doesn't include a test for pod coverage (Test::Pod::Coverage)},
remedy=>q{Add a test using Test::Pod::Coverage to check for POD coverage.},
+ is_extra=>1,
code=>sub {
my $d=shift;
return 1 if $d->{uses}->{'Test::Pod::Coverage'};
@@ -202,7 +204,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Version.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Version.pm?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Version.pm (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/lib/Module/CPANTS/Kwalitee/Version.pm Wed Jun 10 19:53:44 2009
@@ -159,7 +159,9 @@
Thomas Klausner, <domm at cpan.org>, http://domm.zsi.at
-=head1 COPYRIGHT
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2003-2006, 2009 Thomas Klausner
You may use and distribute this module according to the same terms
that Perl is distributed under.
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/t/02_kwalitee.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/t/02_kwalitee.t?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/t/02_kwalitee.t (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/t/02_kwalitee.t Wed Jun 10 19:53:44 2009
@@ -4,8 +4,8 @@
use Module::CPANTS::Kwalitee;
-my $CORE = 25;
-my $OPTIONAL = 7;
+my $CORE = 23;
+my $OPTIONAL = 9;
my $EXTRA = 16;
my $METRICS = $CORE + $OPTIONAL + $EXTRA;
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/t/10_analyse.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/t/10_analyse.t?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/t/10_analyse.t (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/t/10_analyse.t Wed Jun 10 19:53:44 2009
@@ -70,8 +70,8 @@
},
error => {
'latest_version_distributed_by_debian' =>
- "Seen on CPAN: '0.40'. Reported by Debian: 'not-uploaded' See: <a href=http://packages.debian.org/src:libtext-csv-xs-perl>Basic homepage</a>",
- 'has_no_patches_in_debian' => 'Number of patches reported: 1. See: <a href=http://packages.debian.org/src:libtext-csv-xs-perl>Basic homepage</a>',
+ q{Seen on CPAN: '0.40'. Reported by Debian: 'not-uploaded' See: <a href=http://packages.debian.org/src:libtext-csv-xs-perl>Basic homepage</a>},
+ 'has_no_patches_in_debian' => q{Number of patches reported: 1. See: <a href="http://packages.debian.org/src:libtext-csv-xs-perl">Basic homepage</a> <a href="http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-csv-xs-perl/debian/patches/">svn</a>},
},
},
{
@@ -386,6 +386,59 @@
error => {
},
},
+ {
+ dist => 't/eg/Capture-Tiny-0.05.tar.gz',
+ kwalitee => {
+ 'extracts_nicely' => 1,
+ 'distributed_by_debian' => 0,
+ 'has_buildtool' => 1,
+ 'has_separate_license_file' => 1,
+ 'has_readme' => 1,
+ 'manifest_matches_dist' => 1,
+ 'metayml_declares_perl_version' => 1,
+ 'has_example' => 1,
+ 'has_test_pod_coverage' => 1,
+ 'has_no_patches_in_debian' => 0,
+ 'metayml_is_parsable' => 1,
+ 'proper_libs' => 1,
+ 'has_changelog' => 1,
+ 'no_pod_errors' => 1,
+ 'use_strict' => 1,
+ 'kwalitee' => 40,
+ 'no_stdin_for_prompting' => 1,
+ 'has_license_in_source_file' => 1,
+ 'has_test_pod' => 1,
+ 'easily_repackageable' => 1,
+ 'easily_repackageable_by_fedora' => 1,
+ 'has_tests' => 1,
+ 'easily_repackageable_by_debian' => 1,
+ 'has_manifest' => 1,
+ 'no_symlinks' => 1,
+ 'has_version' => 1,
+ 'extractable' => 1,
+ 'buildtool_not_executable' => 1,
+ 'has_working_buildtool' => 1,
+ 'metayml_has_license' => 1,
+ 'metayml_has_provides' => 1,
+ 'has_humanreadable_license' => 1,
+ 'latest_version_distributed_by_debian' => 0,
+ 'no_generated_files' => 1,
+ 'has_meta_yml' => 1,
+ 'metayml_conforms_spec_current' => 1,
+ 'use_warnings' => 1,
+ 'no_large_files' => 1,
+ 'no_cpants_errors' => 1,
+ 'has_tests_in_t_dir' => 1,
+ 'has_version_in_each_file' => 1,
+ 'has_no_bugs_reported_in_debian' => 0,
+ 'fits_fedora_license' => 1,
+ 'has_proper_version' => 1,
+ 'metayml_conforms_to_known_spec' => 1,
+ 'uses_test_nowarnings'=>0,
+ },
+ error => {
+ },
+ },
);
plan tests => 1 + 3 * @tests;
Modified: branches/upstream/libmodule-cpants-analyse-perl/current/t/calc_test_yaml_meta.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/t/calc_test_yaml_meta.t?rev=37957&op=diff
==============================================================================
--- branches/upstream/libmodule-cpants-analyse-perl/current/t/calc_test_yaml_meta.t (original)
+++ branches/upstream/libmodule-cpants-analyse-perl/current/t/calc_test_yaml_meta.t Wed Jun 10 19:53:44 2009
@@ -24,7 +24,7 @@
'has_buildtool' => 1,
'has_readme' => 1,
'manifest_matches_dist' => 1,
- 'has_example' => 0, # because it's in no_index
+ 'has_example' =>1,
'has_test_pod_coverage' => 1,
'metayml_is_parsable' => 1,
'easily_repackageable' => 1,
@@ -32,7 +32,7 @@
'has_changelog' => 1,
'no_pod_errors' => 1,
'use_strict' => 1,
- 'kwalitee' => 38,
+ 'kwalitee' => 39,
'has_test_pod' => 1,
'has_tests' => 1,
'easily_repackageable_by_debian' => 1,
Added: branches/upstream/libmodule-cpants-analyse-perl/current/t/eg/Capture-Tiny-0.05.tar.gz
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-cpants-analyse-perl/current/t/eg/Capture-Tiny-0.05.tar.gz?rev=37957&op=file
==============================================================================
Binary file - no diff available.
Propchange: branches/upstream/libmodule-cpants-analyse-perl/current/t/eg/Capture-Tiny-0.05.tar.gz
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
More information about the Pkg-perl-cvs-commits
mailing list