dev-perl/Encode-HanExtra: EAPI6 + Tests
authorKent Fredric <kentnl@gentoo.org>
Sat, 21 Oct 2017 03:24:23 +0000 (16:24 +1300)
committerKent Fredric <kentnl@gentoo.org>
Sat, 21 Oct 2017 03:24:23 +0000 (16:24 +1300)
- EAPI6ify
- Enable tests

Package-Manager: Portage-2.3.8, Repoman-2.3.3

dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r2.ebuild [new file with mode: 0644]

diff --git a/dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r2.ebuild b/dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r2.ebuild
new file mode 100644 (file)
index 0000000..552d2c2
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=AUDREYT
+DIST_VERSION=0.23
+inherit perl-module
+
+DESCRIPTION="Extra sets of Chinese encodings"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="virtual/perl-Encode"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL ||
+               die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+       perl-module_src_prepare
+}