From cd6c2d5cc00fe55cddb7dac00b98accdb6bb684d Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sat, 21 Oct 2017 16:24:23 +1300 Subject: [PATCH] dev-perl/Encode-HanExtra: EAPI6 + Tests - EAPI6ify - Enable tests Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- .../Encode-HanExtra-0.230.0-r2.ebuild | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r2.ebuild 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 index 000000000000..552d2c20928c --- /dev/null +++ b/dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r2.ebuild @@ -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 +} -- 2.26.2