mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
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>
This commit is contained in:
@@ -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"
|
||||
)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user