summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-05-16 22:49:44 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-05-16 23:47:41 +0900
commit59fb8b4cf6f43a18c90b26df88ffd07aedab823d (patch)
tree5e4c07ac12973635b661e525e07bde40b0d709f9 /app-i18n/nkf/nkf-2.1.4.ebuild
parentapp-misc/ktoblzcheck: add slot-operator to app-text/recode dep (diff)
downloadgentoo-59fb8b4cf6f43a18c90b26df88ffd07aedab823d.tar.gz
gentoo-59fb8b4cf6f43a18c90b26df88ffd07aedab823d.tar.bz2
gentoo-59fb8b4cf6f43a18c90b26df88ffd07aedab823d.zip
app-i18n/nkf: update to EAPI 7
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/nkf/nkf-2.1.4.ebuild')
-rw-r--r--app-i18n/nkf/nkf-2.1.4.ebuild6
1 files changed, 5 insertions, 1 deletions
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/=/+=/; }" \