- 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>
--- /dev/null
+# 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"
+)
--- /dev/null
+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
+