[SCM] libcpan-meta-check-perl Debian packaging branch, master, updated. debian/0.004-1-39-g7d96c48

Jonas Smedegaard dr at jones.dk
Wed Apr 24 12:40:43 UTC 2013


The following commit has been merged in the master branch:
commit d8451c5426d89e54c9feab1bd817d2981ec835fd
Merge: 2fc0b6889adc47c079a5946a9c05a7f37de380ce 71184c6dc35ec97d54f8a4cf7641f6fdfd24a14a
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Apr 24 14:16:49 2013 +0200

    Imported Upstream version 0.005

diff --combined Changes
index 72b4f18,172fc48..e14c98e
--- a/Changes
+++ b/Changes
@@@ -1,5 -1,11 +1,9 @@@
  Revision history for CPAN-Meta-Check
  
 -{{$NEXT}}
 -
+ 0.005     2013-04-22 17:27:50 Europe/Amsterdam
+           Converted from Test::Differences to Test::Deep
+           Don't load CPAN::Meta from CPAN::Meta::Check
+ 
  0.004     2012-05-24 21:35:08 Europe/Amsterdam
            Depend on recent enough CPAN::Meta
  
diff --combined MANIFEST
index cf55b24,0000000..884d0b4
mode 100644,000000..100644
--- a/MANIFEST
+++ b/MANIFEST
@@@ -1,15 -1,0 +1,14 @@@
 +Changes
 +INSTALL
 +LICENSE
 +MANIFEST
 +META.json
 +META.yml
 +Makefile.PL
 +README
 +dist.ini
 +lib/CPAN/Meta/Check.pm
 +t/00-compile.t
 +t/10-basics.t
- t/release-kwalitee.t
 +t/release-pod-coverage.t
 +t/release-pod-syntax.t
diff --combined META.json
index bb0397d,0000000..321cb34
mode 100644,000000..100644
--- a/META.json
+++ b/META.json
@@@ -1,56 -1,0 +1,64 @@@
 +{
 +   "abstract" : "Verify requirements in a CPAN::Meta object",
 +   "author" : [
 +      "Leon Timmermans <leont at cpan.org>"
 +   ],
 +   "dynamic_config" : 0,
-    "generated_by" : "Dist::Zilla version 4.300016, CPAN::Meta::Converter version 2.120921",
++   "generated_by" : "Dist::Zilla version 4.300033, CPAN::Meta::Converter version 2.130880",
 +   "license" : [
 +      "perl_5"
 +   ],
 +   "meta-spec" : {
 +      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
 +      "version" : "2"
 +   },
 +   "name" : "CPAN-Meta-Check",
 +   "prereqs" : {
 +      "configure" : {
 +         "requires" : {
 +            "ExtUtils::MakeMaker" : "6.30"
 +         }
 +      },
++      "develop" : {
++         "requires" : {
++            "Pod::Coverage::TrustPod" : "0",
++            "Test::Pod" : "1.41",
++            "Test::Pod::Coverage" : "1.08"
++         }
++      },
 +      "runtime" : {
 +         "requires" : {
 +            "CPAN::Meta" : "2.120920",
 +            "CPAN::Meta::Requirements" : "2.120920",
 +            "Exporter" : "5.57",
 +            "Module::Metadata" : "0",
 +            "perl" : "5.006",
 +            "strict" : "0",
 +            "warnings" : "0"
 +         }
 +      },
 +      "test" : {
 +         "requires" : {
++            "CPAN::Meta" : "2.120920",
 +            "File::Find" : "0",
 +            "File::Temp" : "0",
-             "Test::Differences" : "0",
++            "Test::Deep" : "0",
 +            "Test::More" : "0.88"
 +         }
 +      }
 +   },
 +   "release_status" : "stable",
 +   "resources" : {
 +      "bugtracker" : {
 +         "mailto" : "bug-cpan-meta-check at rt.cpan.org",
 +         "web" : "http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Meta-Check"
 +      },
 +      "repository" : {
 +         "type" : "git",
 +         "url" : "git://github.com/Leont/cpan-meta-check.git",
 +         "web" : "http://github.com/Leont/cpan-meta-check"
 +      }
 +   },
-    "version" : "0.004"
++   "version" : "0.005"
 +}
 +
diff --combined META.yml
index 3a8de12,0000000..76d84ad
mode 100644,000000..100644
--- a/META.yml
+++ b/META.yml
@@@ -1,30 -1,0 +1,31 @@@
 +---
 +abstract: 'Verify requirements in a CPAN::Meta object'
 +author:
 +  - 'Leon Timmermans <leont at cpan.org>'
 +build_requires:
++  CPAN::Meta: 2.120920
 +  File::Find: 0
 +  File::Temp: 0
-   Test::Differences: 0
++  Test::Deep: 0
 +  Test::More: 0.88
 +configure_requires:
 +  ExtUtils::MakeMaker: 6.30
 +dynamic_config: 0
- generated_by: 'Dist::Zilla version 4.300016, CPAN::Meta::Converter version 2.120921'
++generated_by: 'Dist::Zilla version 4.300033, CPAN::Meta::Converter version 2.130880'
 +license: perl
 +meta-spec:
 +  url: http://module-build.sourceforge.net/META-spec-v1.4.html
 +  version: 1.4
 +name: CPAN-Meta-Check
 +requires:
 +  CPAN::Meta: 2.120920
 +  CPAN::Meta::Requirements: 2.120920
 +  Exporter: 5.57
 +  Module::Metadata: 0
 +  perl: 5.006
 +  strict: 0
 +  warnings: 0
 +resources:
 +  bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Meta-Check
 +  repository: git://github.com/Leont/cpan-meta-check.git
- version: 0.004
++version: 0.005
diff --combined Makefile.PL
index 8bd8bcc,0000000..10a4d38
mode 100644,000000..100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@@ -1,61 -1,0 +1,76 @@@
 +
 +use strict;
 +use warnings;
 +
 +use 5.006;
 +
 +use ExtUtils::MakeMaker 6.30;
 +
 +
 +
 +my %WriteMakefileArgs = (
 +  "ABSTRACT" => "Verify requirements in a CPAN::Meta object",
 +  "AUTHOR" => "Leon Timmermans <leont\@cpan.org>",
-   "BUILD_REQUIRES" => {
-     "File::Find" => 0,
-     "File::Temp" => 0,
-     "Test::Differences" => 0,
-     "Test::More" => "0.88"
-   },
++  "BUILD_REQUIRES" => {},
 +  "CONFIGURE_REQUIRES" => {
 +    "ExtUtils::MakeMaker" => "6.30"
 +  },
 +  "DISTNAME" => "CPAN-Meta-Check",
 +  "EXE_FILES" => [],
 +  "LICENSE" => "perl",
 +  "NAME" => "CPAN::Meta::Check",
 +  "PREREQ_PM" => {
 +    "CPAN::Meta" => "2.120920",
 +    "CPAN::Meta::Requirements" => "2.120920",
 +    "Exporter" => "5.57",
 +    "Module::Metadata" => 0,
 +    "strict" => 0,
 +    "warnings" => 0
 +  },
-   "VERSION" => "0.004",
++  "TEST_REQUIRES" => {
++    "CPAN::Meta" => "2.120920",
++    "File::Find" => 0,
++    "File::Temp" => 0,
++    "Test::Deep" => 0,
++    "Test::More" => "0.88"
++  },
++  "VERSION" => "0.005",
 +  "test" => {
 +    "TESTS" => "t/*.t"
 +  }
 +);
 +
 +
++unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
++  my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
++  my $br = $WriteMakefileArgs{BUILD_REQUIRES};
++  for my $mod ( keys %$tr ) {
++    if ( exists $br->{$mod} ) {
++      $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
++    }
++    else {
++      $br->{$mod} = $tr->{$mod};
++    }
++  }
++}
++
 +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 --combined README
index 31bcffa,0000000..7ea7902
mode 100644,000000..100644
--- a/README
+++ b/README
@@@ -1,13 -1,0 +1,13 @@@
 +
 +
 +This archive contains the distribution CPAN-Meta-Check,
- version 0.004:
++version 0.005:
 +
 +  Verify requirements in a CPAN::Meta object
 +
 +This software is copyright (c) 2012 by Leon Timmermans.
 +
 +This is free software; you can redistribute it and/or modify it under
 +the same terms as the Perl 5 programming language system itself.
 +
 +
diff --combined lib/CPAN/Meta/Check.pm
index 06825a2,8e37ae3..75db55a
--- a/lib/CPAN/Meta/Check.pm
+++ b/lib/CPAN/Meta/Check.pm
@@@ -1,7 -1,4 +1,7 @@@
  package CPAN::Meta::Check;
 +{
-   $CPAN::Meta::Check::VERSION = '0.004';
++  $CPAN::Meta::Check::VERSION = '0.005';
 +}
  use strict;
  use warnings;
  
@@@ -10,7 -7,6 +10,6 @@@ our @EXPORT = qw//
  our @EXPORT_OK = qw/check_requirements requirements_for verify_dependencies/;
  our %EXPORT_TAGS = (all => [ @EXPORT, @EXPORT_OK ] );
  
- use CPAN::Meta 2.120920;
  use CPAN::Meta::Requirements 2.120920;
  use Module::Metadata;
  
@@@ -80,17 -76,7 +79,17 @@@ sub verify_dependencies 
  
  #ABSTRACT: Verify requirements in a CPAN::Meta object
  
 -__END__
 +
 +
 +=pod
 +
 +=head1 NAME
 +
 +CPAN::Meta::Check - Verify requirements in a CPAN::Meta object
 +
 +=head1 VERSION
 +
- version 0.004
++version 0.005
  
  =head1 SYNOPSIS
  
@@@ -100,17 -86,15 +99,17 @@@
  
  This module verifies if requirements described in a CPAN::Meta object are present.
  
 -=func check_requirements($reqs, $type)
 +=head1 FUNCTIONS
 +
 +=head2 check_requirements($reqs, $type)
  
  This function checks if all dependencies in C<$reqs> (a L<CPAN::Meta::Requirements|CPAN::Meta::Requirements> object) are met, taking into account that 'conflicts' dependencies have to be checked in reverse. It returns a hash with the modules as values and any problems as keys, the value for a succesfully found module will be undef.
  
 -=func verify_dependencies($meta, $phases, $types, $incdirs)
 +=head2 verify_dependencies($meta, $phases, $types, $incdirs)
  
  Check all requirements in C<$meta> for phases C<$phases> and types C<$types>. Modules are searched for in C<@$incdirs>, defaulting to C<@INC>.
  
 -=func requirements_for($meta, $phases, $types, incdirs)
 +=head2 requirements_for($meta, $phases, $types, incdirs)
  
  This function returns a unified L<CPAN::Meta::Requirements|CPAN::Meta::Requirements> object for all C<$type> requirements for C<$phases>. $phases may be either one (scalar) value or an arrayref of valid values as defined by the L<CPAN::Meta spec|CPAN::Meta::Spec>. C<$type> must be a a relationship as defined by the same spec. Modules are searched for in C<@$incdirs>, defaulting to C<@INC>.
  
@@@ -123,20 -107,3 +122,20 @@@
  =item * L<CPAN::Meta|CPAN::Meta>
  
  =back
 +
 +=head1 AUTHOR
 +
 +Leon Timmermans <leont at cpan.org>
 +
 +=head1 COPYRIGHT AND LICENSE
 +
 +This software is copyright (c) 2012 by Leon Timmermans.
 +
 +This is free software; you can redistribute it and/or modify it under
 +the same terms as the Perl 5 programming language system itself.
 +
 +=cut
 +
 +
 +__END__
 +

-- 
libcpan-meta-check-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list