dev-perl/Class-Data-Accessor: EAPI6 + fix DESCRIPTION

- 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
This commit is contained in:
Kent Fredric
2018-06-07 18:58:01 +12:00
parent 8ba8af80d1
commit b7ea219b29
3 changed files with 58 additions and 2 deletions

View 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"

View File

@@ -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
)

View File

@@ -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