commit: 809bbc4d2def6207fb7e7f9e0bd3694d196e26cd
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 15 00:41:13 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Jul 15 00:41:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809bbc4d
dev-perl/Data-AMF: -r bump for EAPI7 + fixes
- EAPI7
- Employ PERL_RM_FILES to remove problematic bundled test-library copies
instead of pre-eapi-6 approach.
- Remove More bundled test libraries in favour of using dependencies.
- Convert Makefile.PL sed hack to "patch"
- Parallel tests
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
dev-perl/Data-AMF/Data-AMF-0.90.0-r2.ebuild | 40 ++++++++++++++++++++++
.../Data-AMF/files/Data-AMF-0.09-no-dot-inc.patch | 21 ++++++++++++
2 files changed, 61 insertions(+)
diff --git a/dev-perl/Data-AMF/Data-AMF-0.90.0-r2.ebuild
b/dev-perl/Data-AMF/Data-AMF-0.90.0-r2.ebuild
new file mode 100644
index 00000000000..40e0eaa95bf
--- /dev/null
+++ b/dev-perl/Data-AMF/Data-AMF-0.90.0-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=TYPESTER
+DIST_VERSION=0.09
+inherit perl-module
+
+DESCRIPTION="(de)serializer perl module for Adobe's AMF (Action Message
Format)"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-perl/DateTime
+ dev-perl/Any-Moose
+ dev-perl/UNIVERSAL-require
+ dev-perl/XML-LibXML"
+
+BDEPEND="${RDEPEND}
+ test? (
+ dev-perl/YAML
+ dev-perl/Spiffy
+ virtual/perl-Test-Simple
+ )
+"
+PERL_RM_FILES=(
+ "inc/YAML.pm"
+ "inc/Spiffy.pm"
+ "inc/Test/More.pm"
+ "inc/Test/Base.pm"
+ "inc/Test/Builder.pm"
+ "inc/Test/Base/Filter.pm"
+ "inc/Test/Builder/Module.pm"
+)
+PATCHES=(
+ "${FILESDIR}/${PN}-0.09-no-dot-inc.patch"
+)
diff --git a/dev-perl/Data-AMF/files/Data-AMF-0.09-no-dot-inc.patch
b/dev-perl/Data-AMF/files/Data-AMF-0.09-no-dot-inc.patch
new file mode 100644
index 00000000000..05b99bedb98
--- /dev/null
+++ b/dev-perl/Data-AMF/files/Data-AMF-0.09-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From fe2c46d29b08accd9f8ab6df352923042065550a Mon Sep 17 00:00:00 2001
+From: Kent Fredric <[email protected]>
+Date: Wed, 15 Jul 2020 12:31:30 +1200
+Subject: Include '.' in @INC for perl 5.26+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index c92df6a..2b78d78 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ name 'Data-AMF';
+ all_from 'lib/Data/AMF.pm';
+--
+2.27.0
+