commit:     8b47f084d6c53877fa15e020fbbdbaa83271f333
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  7 20:31:33 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Aug  7 20:31:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b47f084

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 <AT> gentoo.org>

 .../Email-Address-List-0.60.0-r1.ebuild            | 26 ++++++++++++++++++++++
 .../files/Email-Address-List-0.06-no-dot-inc.patch | 21 +++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-perl/Email-Address-List/Email-Address-List-0.60.0-r1.ebuild 
b/dev-perl/Email-Address-List/Email-Address-List-0.60.0-r1.ebuild
new file mode 100644
index 00000000000..3692f91eea1
--- /dev/null
+++ b/dev-perl/Email-Address-List/Email-Address-List-0.60.0-r1.ebuild
@@ -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"
+)

diff --git 
a/dev-perl/Email-Address-List/files/Email-Address-List-0.06-no-dot-inc.patch 
b/dev-perl/Email-Address-List/files/Email-Address-List-0.06-no-dot-inc.patch
new file mode 100644
index 00000000000..ae1c3d10bc6
--- /dev/null
+++ b/dev-perl/Email-Address-List/files/Email-Address-List-0.06-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From 9dfa071d15c3d84e38eb24f234df1aceb5fa06ba Mon Sep 17 00:00:00 2001
+From: Kent Fredric <ken...@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
+

Reply via email to