dev-perl/Class-Data-Accessor: EAPI6 + fix DESCRIPTION
authorKent Fredric <kentnl@gentoo.org>
Thu, 7 Jun 2018 06:58:01 +0000 (18:58 +1200)
committerKent Fredric <kentnl@gentoo.org>
Thu, 7 Jun 2018 06:58:01 +0000 (18:58 +1200)
- EAPI6ify
- Fix DESCRIPTION whitespace ( gentooqa.levelnine.at )
- Add missing deps
- Prune unwanted tests
- Patchify MI fix

Package-Manager: Portage-2.3.29, Repoman-2.3.9

dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r1.ebuild
dev-perl/Class-Data-Accessor/Class-Data-Accessor-0.40.40-r2.ebuild [new file with mode: 0644]
dev-perl/Class-Data-Accessor/files/Class-Data-Accessor-0.04004-no-dot-inc.patch [new file with mode: 0644]

index deee5e68063481212fb663af805a7f3b030e2a11..bde11d523f678dbfde48c84c5f1d6f98d3fa6b51 100644 (file)
@@ -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 (file)
index 0000000..b2a38b1
--- /dev/null
@@ -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 (file)
index 0000000..86d3ec0
--- /dev/null
@@ -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
+