-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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"
--- /dev/null
+# 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
+)
--- /dev/null
+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
+