summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r1.ebuild4
-rw-r--r--dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r2.ebuild30
-rw-r--r--dev-perl/Class-Data-Accessor/files/Class-Data-Accessor-0.04004-no-dot-inc.patch26
3 files changed, 58 insertions, 2 deletions
diff --git a/dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r1.ebuild b/dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r1.ebuild
index deee5e680634..bde11d523f67 100644
--- a/dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r1.ebuild
+++ b/dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -7,7 +7,7 @@ MODULE_AUTHOR=CLACO
MODULE_VERSION=0.04004
inherit perl-module
-DESCRIPTION="Inheritable, overridable class and instance data accessor creation "
+DESCRIPTION="Inheritable, overridable class and instance data accessor creation"
SLOT="0"
KEYWORDS="~amd64 ~x86"
diff --git a/dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r2.ebuild b/dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r2.ebuild
new file mode 100644
index 000000000000..b2a38b125873
--- /dev/null
+++ b/dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=CLACO
+DIST_VERSION=0.04004
+inherit perl-module
+
+DESCRIPTION="Inheritable, overridable class and instance data accessor creation"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+PATCHES=( "${FILESDIR}/${PN}-0.04004-no-dot-inc.patch" )
+
+RDEPEND="virtual/perl-Carp"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? ( virtual/perl-Test-Simple )
+"
+PERL_RM_FILES=(
+ t/manifest.t
+ t/pod_coverage.t
+ t/pod_spelling.t
+ t/pod_syntax.t
+ t/strict.t
+ t/style_no_tabs.t
+ t/warnings.t
+)
diff --git a/dev-perl/Class-Data-Accessor/files/Class-Data-Accessor-0.04004-no-dot-inc.patch b/dev-perl/Class-Data-Accessor/files/Class-Data-Accessor-0.04004-no-dot-inc.patch
new file mode 100644
index 000000000000..86d3ec05c081
--- /dev/null
+++ b/dev-perl/Class-Data-Accessor/files/Class-Data-Accessor-0.04004-no-dot-inc.patch
@@ -0,0 +1,26 @@
+From e7ac2a52384a77ddcfea148903f252e740a056b3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
+Date: Sat, 17 Jun 2017 00:49:14 +0200
+Subject: Add fix for Perl 5.26 no-dot-in-inc
+
+Bug: https://bugs.gentoo.org/615512
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index f7a745a..8f16089 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,7 +1,7 @@
+ # $Id$
+ use strict;
+ use warnings;
+-use inc::Module::Install 0.65;
++use lib q[.]; use inc::Module::Install 0.65;
+
+ name 'Class-Data-Accessor';
+ license 'perl';
+--
+2.17.0
+