summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2013-08-03 08:23:27 +0000
committerAkinori Hattori <hattya@gentoo.org>2013-08-03 08:23:27 +0000
commit25a802be2393625f084087b38ea3e8ce02e87ac0 (patch)
tree0b74788a13e7781b65edf938096ad7eebe86cac9 /dev-python/mecab-python/mecab-python-0.996.ebuild
parentVersion bump, drop old (diff)
downloadgentoo-2-25a802be2393625f084087b38ea3e8ce02e87ac0.tar.gz
gentoo-2-25a802be2393625f084087b38ea3e8ce02e87ac0.tar.bz2
gentoo-2-25a802be2393625f084087b38ea3e8ce02e87ac0.zip
fix usage of distutils-r1
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key EC917A6D)
Diffstat (limited to 'dev-python/mecab-python/mecab-python-0.996.ebuild')
-rw-r--r--dev-python/mecab-python/mecab-python-0.996.ebuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/dev-python/mecab-python/mecab-python-0.996.ebuild b/dev-python/mecab-python/mecab-python-0.996.ebuild
index 4a7ab8e4172e..905a11ae04b3 100644
--- a/dev-python/mecab-python/mecab-python-0.996.ebuild
+++ b/dev-python/mecab-python/mecab-python-0.996.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mecab-python/mecab-python-0.996.ebuild,v 1.1 2013/08/03 08:00:27 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mecab-python/mecab-python-0.996.ebuild,v 1.2 2013/08/03 08:23:27 hattya Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
@@ -19,14 +19,6 @@ IUSE=""
DEPEND=">=app-text/mecab-${PV}"
RDEPEND="${DEPEND}"
-DOCS="test.py"
-PYTHON_MODNAME="MeCab.py"
-
-src_prepare() {
- sed -i "/string\./s/string\.split (\(.*\))/\1.split()/" setup.py || die
-}
-
-src_install() {
- distutils_src_install
- dohtml bindings.html
-}
+PATCHES=( "${FILESDIR}/${PN}-py3.diff" )
+DOCS=( test.py )
+HTML_DOCS=( bindings.html )