summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mecab-python/files/mecab-python-py3.diff')
-rw-r--r--dev-python/mecab-python/files/mecab-python-py3.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/mecab-python/files/mecab-python-py3.diff b/dev-python/mecab-python/files/mecab-python-py3.diff
new file mode 100644
index 000000000000..33c8d97ebb2b
--- /dev/null
+++ b/dev-python/mecab-python/files/mecab-python-py3.diff
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -7,7 +7,7 @@
+ return os.popen(str).readlines()[0][:-1]
+
+ def cmd2(str):
+- return string.split (cmd1(str))
++ return cmd1(str).split()
+
+ setup(name = "mecab-python",
+ version = cmd1("mecab-config --version"),