summaryrefslogtreecommitdiff
path: root/app-i18n/nkf/nkf-2.1.5-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/nkf/nkf-2.1.5-r1.ebuild')
-rw-r--r--app-i18n/nkf/nkf-2.1.5-r1.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/app-i18n/nkf/nkf-2.1.5-r1.ebuild b/app-i18n/nkf/nkf-2.1.5-r1.ebuild
index 095d49cf0515..eefdc0f710d5 100644
--- a/app-i18n/nkf/nkf-2.1.5-r1.ebuild
+++ b/app-i18n/nkf/nkf-2.1.5-r1.ebuild
@@ -29,11 +29,6 @@ BDEPEND="python? (
dev-python/setuptools[${PYTHON_USEDEP}]
)"
-PATCHES=(
- "${FILESDIR}"/${P}-python-ssize_t.patch
- "${FILESDIR}"/${PN}-2.1.5-python-ssize_t-deux.patch
-)
-
src_unpack() {
use python && vcs-snapshot_src_unpack || default
}
@@ -46,6 +41,9 @@ src_prepare() {
if use python; then
mv "${WORKDIR}"/${PY_P} NKF.python || die
eapply "${FILESDIR}"/${PN}-python.patch
+ eapply "${FILESDIR}"/${P}-python-ssize_t.patch
+ eapply "${FILESDIR}"/${PN}-2.1.5-python-ssize_t-deux.patch
+
cd NKF.python || die
distutils-r1_src_prepare
cd - >/dev/null || die