dev-perl/Audio-Musepack: -r bump for EAPI7

- EAPI7
- Remove empty variable assignments
- Add license note
- Use patch files instead of sed
- Trim cruft tests

Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2020-04-29 23:08:08 +12:00
parent 8a756304d8
commit 7bc55c9f40
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=DANIEL
inherit perl-module
DESCRIPTION="An OO interface to Musepack file information and APE tag fields"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# License note: says perl 5.8.2 or later
RDEPEND="
>=dev-perl/Audio-Scan-0.850.0
"
BDEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.420.0
"
PATCHES=(
"${FILESDIR}/${PN}-1.0.1-no-dot-inc.patch"
)
PERL_RM_FILES=(
"t/pod.t"
"t/pod-coverage.t"
)

View File

@@ -0,0 +1,21 @@
From 25eb918a143c78de972c4218f9fe5b0aefbe7e3e Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Wed, 29 Apr 2020 23:01:40 +1200
Subject: Include '.' in @INC on 5.28+
---
Makefile.PL | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.PL b/Makefile.PL
index de8142b..5c84f30 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,3 +1,4 @@
+use lib '.';
use inc::Module::Install;
name('Audio-Musepack');
--
2.26.2