public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/perl-overlay:master commit in: dev-perl/Module-CPANTS-Analyse/files/0.85/, dev-perl/Module-CPANTS-Analyse/
@ 2011-03-12  3:22 Kent Fredric
  0 siblings, 0 replies; only message in thread
From: Kent Fredric @ 2011-03-12  3:22 UTC (permalink / raw
  To: gentoo-commits

commit:     1dda27f8422619ba149269a7db849458b7cd101f
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sat Mar 12 03:16:56 2011 +0000
Commit:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
CommitDate: Sat Mar 12 03:16:56 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=1dda27f8

[patched] Module-CPANTS-Analyse to use Test::CPAN::Meta::YAML

(Portage version: 2.2.0_alpha26/git/Linux x86_64, signed Manifest commit with key 0A0CB301)

---
 dev-perl/Module-CPANTS-Analyse/ChangeLog           |    7 +++
 .../Module-CPANTS-Analyse-0.850.0-r1.ebuild        |   50 +++++++++++++++++
 .../0.85/use_test_cpan_meta_yaml_version.patch     |   57 ++++++++++++++++++++
 3 files changed, 114 insertions(+), 0 deletions(-)

diff --git a/dev-perl/Module-CPANTS-Analyse/ChangeLog b/dev-perl/Module-CPANTS-Analyse/ChangeLog
index da2eef3..8de002a 100644
--- a/dev-perl/Module-CPANTS-Analyse/ChangeLog
+++ b/dev-perl/Module-CPANTS-Analyse/ChangeLog
@@ -2,6 +2,13 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*Module-CPANTS-Analyse-0.850.0-r1 (12 Mar 2011)
+
+  12 Mar 2011; Kent Fredric <kentfredric@gmail.com>
+  +files/0.85/use_test_cpan_meta_yaml_version.patch,
+  +Module-CPANTS-Analyse-0.850.0-r1.ebuild:
+  Add patched version to work with newer Test::YAML changes
+
 *Module-CPANTS-Analyse-0.850.0 (12 Mar 2011)
 
   12 Mar 2011; Kent Fredric <kentfredric@gmail.com>

diff --git a/dev-perl/Module-CPANTS-Analyse/Module-CPANTS-Analyse-0.850.0-r1.ebuild b/dev-perl/Module-CPANTS-Analyse/Module-CPANTS-Analyse-0.850.0-r1.ebuild
new file mode 100644
index 0000000..26ad9c1
--- /dev/null
+++ b/dev-perl/Module-CPANTS-Analyse/Module-CPANTS-Analyse-0.850.0-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+EAPI=3
+MODULE_AUTHOR=CHORNY
+MODULE_VERSION="0.85"
+inherit perl-module
+
+DESCRIPTION="Generate Kwalitee ratings for a distribution"
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+PATCHES=(
+	"${FILESDIR}/${MODULE_VERSION}/use_test_cpan_meta_yaml_version.patch"
+)
+COMMON_DEPEND="
+	>=dev-perl/Class-Accessor-0.19
+	>=dev-perl/Archive-Any-0.06
+	>=virtual/perl-Archive-Tar-1.30
+	>=dev-perl/CPAN-DistnameInfo-0.60.0
+	>=virtual/perl-Pod-Simple-2.02
+	>=dev-perl/YAML-Syck-0.95
+	>=dev-perl/Module-ExtractUse-0.18
+	>=virtual/perl-Module-Pluggable-2.96
+	>=dev-perl/IO-Capture-0.05
+	>=dev-perl/Array-Diff-0.40
+	dev-perl/Test-CPAN-Meta-YAML
+	>=virtual/perl-version-0.73
+	dev-perl/List-MoreUtils
+	dev-perl/File-Find-Rule
+	dev-perl/Readonly
+	>=dev-perl/Software-License-0.003
+	dev-perl/File-Slurp
+	>=dev-perl/Text-CSV_XS-0.45
+	dev-perl/libwww-perl
+"
+DEPEND="
+	${COMMON_DEPEND}
+	virtual/perl-Test-Simple
+	dev-perl/Test-Deep
+	>=dev-perl/Test-Warn-0.11
+	dev-perl/Test-NoWarnings
+	virtual/perl-Module-Build
+"
+RDEPEND="
+	${COMMON_DEPEND}
+"
+SRC_TEST="do"

diff --git a/dev-perl/Module-CPANTS-Analyse/files/0.85/use_test_cpan_meta_yaml_version.patch b/dev-perl/Module-CPANTS-Analyse/files/0.85/use_test_cpan_meta_yaml_version.patch
new file mode 100644
index 0000000..84348b8
--- /dev/null
+++ b/dev-perl/Module-CPANTS-Analyse/files/0.85/use_test_cpan_meta_yaml_version.patch
@@ -0,0 +1,57 @@
+diff -urbaN Module-CPANTS-Analyse-0.85.orig//Build.PL Module-CPANTS-Analyse-0.85/Build.PL
+--- Module-CPANTS-Analyse-0.85.orig//Build.PL	2009-07-06 23:29:45.000000000 +0200
++++ Module-CPANTS-Analyse-0.85/Build.PL	2011-03-11 14:19:52.934875496 +0100
+@@ -15,7 +15,7 @@
+         'Module::Pluggable'         => '2.96',
+         'IO::Capture'               => '0.05',
+         'Array::Diff'               => '0.04',
+-        'Test::YAML::Meta::Version' => '0.11',
++        'Test::CPAN::Meta::YAML::Version' => '0.11',
+         'version'                   => '0.73',
+         'List::MoreUtils'           => '0',
+         'File::Find::Rule'          => '0',
+diff -urbaN Module-CPANTS-Analyse-0.85.orig//lib/Module/CPANTS/Kwalitee/MetaYML.pm Module-CPANTS-Analyse-0.85/lib/Module/CPANTS/Kwalitee/MetaYML.pm
+--- Module-CPANTS-Analyse-0.85.orig//lib/Module/CPANTS/Kwalitee/MetaYML.pm	2009-07-06 23:29:45.000000000 +0200
++++ Module-CPANTS-Analyse-0.85/lib/Module/CPANTS/Kwalitee/MetaYML.pm	2011-03-11 14:19:52.934875496 +0100
+@@ -3,7 +3,7 @@
+ use strict;
+ use File::Spec::Functions qw(catfile);
+ use YAML::Syck qw(Load LoadFile);
+-use Test::YAML::Meta::Version;
++use Test::CPAN::Meta::YAML::Version;
+ 
+ sub order { 20 }
+ 
+@@ -149,7 +149,7 @@
+         }
+     }
+     $hash{spec} = $version;
+-    my $spec = Test::YAML::Meta::Version->new(%hash);
++    my $spec = Test::CPAN::Meta::YAML::Version->new(%hash);
+     if ($spec->parse()) {
+         my $report_version= $version || 'known';
+         my @errors;
+diff -urbaN Module-CPANTS-Analyse-0.85.orig//Makefile.PL Module-CPANTS-Analyse-0.85/Makefile.PL
+--- Module-CPANTS-Analyse-0.85.orig//Makefile.PL	2009-07-11 23:58:36.000000000 +0200
++++ Module-CPANTS-Analyse-0.85/Makefile.PL	2011-03-11 14:19:52.934875496 +0100
+@@ -25,7 +25,7 @@
+                            'Test::More' => '0',
+                            'Test::NoWarnings' => '0',
+                            'Test::Warn' => '0.11',
+-                           'Test::YAML::Meta::Version' => '0.11',
++                           'Test::CPAN::Meta::YAML::Version' => '0.11',
+                            'Text::CSV_XS' => '0.45',
+                            'YAML::Syck' => '0.95',
+                            'version' => '0.73'
+diff -urbaN Module-CPANTS-Analyse-0.85.orig//META.yml Module-CPANTS-Analyse-0.85/META.yml
+--- Module-CPANTS-Analyse-0.85.orig//META.yml	2009-07-11 23:58:37.000000000 +0200
++++ Module-CPANTS-Analyse-0.85/META.yml	2011-03-11 14:19:52.934875496 +0100
+@@ -27,7 +27,7 @@
+   Pod::Simple::Checker: 2.02
+   Readonly: 0
+   Software::License: 0.003
+-  Test::YAML::Meta::Version: 0.11
++  Test::CPAN::Meta::YAML::Version: 0.11
+   Text::CSV_XS: 0.45
+   YAML::Syck: 0.95
+   perl: 5.006



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-12  3:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-12  3:22 [gentoo-commits] proj/perl-overlay:master commit in: dev-perl/Module-CPANTS-Analyse/files/0.85/, dev-perl/Module-CPANTS-Analyse/ Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox