dev-perl/Email-Address-List: -r bump for EAPI7 + fixes

- EAPI7
- Fix LICENSE
- Migrate sed hack to a patch

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2020-08-08 08:31:33 +12:00
parent b4d57be49e
commit 8b47f084d6
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=BPS
DIST_VERSION=0.06
inherit perl-module
DESCRIPTION="RFC close address list parsing"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-perl/Email-Address"
BDEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
test? (
dev-perl/JSON
virtual/perl-Test-Simple
)
"
PATCHES=(
"${FILESDIR}/${PN}-0.06-no-dot-inc.patch"
)

View File

@@ -0,0 +1,21 @@
From 9dfa071d15c3d84e38eb24f234df1aceb5fa06ba Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Sat, 8 Aug 2020 08:20:54 +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 fe67d0a..286b5ee 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,3 +1,4 @@
+use lib q[.];
use inc::Module::Install;
all_from 'lib/Email/Address/List.pm';
readme_from 'lib/Email/Address/List.pm';
--
2.28.0