dev-perl/Class-Default: -r bump for EAPI7

- EAPI7
- Parallel tests
- Remove useless tests
- Convert sed hack into patch
- Remove useless Module-Build dep

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2020-06-19 02:35:57 +12:00
parent e5324126c3
commit a6ea2d94e4
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=ADAMK
DIST_VERSION=1.51
inherit perl-module
DESCRIPTION="Static calls apply to a default instantiation"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
>=virtual/perl-Test-Simple-0.470.0
)
"
PATCHES=(
"${FILESDIR}/${PN}-1.51-no-dot-inc.patch"
)
PERL_RM_FILES=(
t/98_pod.t
t/99_pmv.t
)

View File

@@ -0,0 +1,22 @@
From 5c0fe357eddfcbcd1fbe369b8f1aa8b69d8e06f3 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Fri, 19 Jun 2020 02:10:04 +1200
Subject: Include '.' in @INC on perl 5.26+
---
Makefile.PL | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.PL b/Makefile.PL
index 96c3d70..b4c582b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,5 @@
use strict;
+use lib '.';
use inc::Module::Install;
name 'Class-Default';
--
2.27.0