summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-07-15 12:41:13 +1200
committerKent Fredric <kentnl@gentoo.org>2020-07-15 12:41:13 +1200
commit809bbc4d2def6207fb7e7f9e0bd3694d196e26cd (patch)
tree062c287af83ac80ed3ec936cc9bdd99b038413d5 /dev-perl
parentdev-perl/Danga-Socket: Bump to version 1.620.0 (diff)
downloadgentoo-809bbc4d2def6207fb7e7f9e0bd3694d196e26cd.tar.gz
gentoo-809bbc4d2def6207fb7e7f9e0bd3694d196e26cd.tar.bz2
gentoo-809bbc4d2def6207fb7e7f9e0bd3694d196e26cd.zip
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@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Data-AMF/Data-AMF-0.90.0-r2.ebuild40
-rw-r--r--dev-perl/Data-AMF/files/Data-AMF-0.09-no-dot-inc.patch21
2 files changed, 61 insertions, 0 deletions
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 000000000000..40e0eaa95bf5
--- /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 000000000000..05b99bedb988
--- /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 <kentnl@gentoo.org>
+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
+