From: Akinori Hattori Date: Sat, 16 May 2020 13:49:44 +0000 (+0900) Subject: app-i18n/nkf: update to EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=59fb8b4cf6f43a18c90b26df88ffd07aedab823d;p=gentoo.git app-i18n/nkf: update to EAPI 7 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- diff --git a/app-i18n/nkf/nkf-2.1.4.ebuild b/app-i18n/nkf/nkf-2.1.4.ebuild index 25f4cbcc3d49..6f616167fa75 100644 --- a/app-i18n/nkf/nkf-2.1.4.ebuild +++ b/app-i18n/nkf/nkf-2.1.4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="7" PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 perl-module toolchain-funcs vcs-snapshot @@ -19,6 +19,10 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" IUSE="perl python l10n_ja" +src_unpack() { + use python && vcs-snapshot_src_unpack || default +} + src_prepare() { sed -i \ -e "/^CFLAGS/{ s/-g -O2//; s/=/+=/; }" \