commit: 59fb8b4cf6f43a18c90b26df88ffd07aedab823d
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 13:49:44 2020 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat May 16 14:47:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59fb8b4c
app-i18n/nkf: update to EAPI 7
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
app-i18n/nkf/nkf-2.1.4.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/app-i18n/nkf/nkf-2.1.4.ebuild b/app-i18n/nkf/nkf-2.1.4.ebuild
index 25f4cbcc3d4..6f616167fa7 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/=/+=/; }" \