From: Kent Fredric Date: Sat, 21 Oct 2017 03:24:23 +0000 (+1300) Subject: dev-perl/Encode-HanExtra: EAPI6 + Tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd6c2d5cc00fe55cddb7dac00b98accdb6bb684d;p=gentoo.git dev-perl/Encode-HanExtra: EAPI6 + Tests - EAPI6ify - Enable tests Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- 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 +}