dev-python/mecab-python-0.996-r1 build with python 3.7

mhiretskiy
Ваше Имя 4 years ago
parent df38e09d1c
commit 6378785814

@ -0,0 +1,3 @@
AUX mecab-python-python3.patch 253 BLAKE2B 979ef7ea020bfb405faa366a2b87a42d5c5e03e6b49b04ffc4ac0586e4e09912e6afe333072a47d676c4c3e7829ae336e61c402da280b6fffca80fc89323c00f SHA512 7937766e44c014149c64a3ad4226110f83868df330e5c0b22b65ce4624d3e6b710db972e18d446e535a76e0b0c763b2245d50280567e1ceebed15bd20c351695
DIST mecab-python-0.996.tar.gz 62338 BLAKE2B d2f8749bf4ea0b30b9f7ee68a4210a3af600803296197f48091d1c9fe90f5baaff3eb94ecb3aa04d994771512c1ef5b68a62e0a045da95992bffd1710725e832 SHA512 08954ed801419fd7f65d055244227364bc37b063f8d21babb6ceeb02ca40e0146fa4401d1426255f3656ac1a5e51439bde981414613153dca5972f624289447e
EBUILD mecab-python-0.996-r1.ebuild 604 BLAKE2B 5da8bc027dcb2952999b045822bdbdf3990d90134b7a5618117ba9a8fed616109582c66a6229f7cc2917dfe434fd51b73291c548c34a3ca67be50c85e97c5e9b SHA512 5b154880d9aceba0447ace78179483f0571d37abf64b1073c79b02764dd02ba64fcf16f1d8d9e91730178871d1ba157b73248e0fc2c190d1bdb9791620322f48

@ -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"),

@ -0,0 +1,23 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_7 )
inherit distutils-r1
DESCRIPTION="Python binding for MeCab"
HOMEPAGE="http://taku910.github.io/mecab/"
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN%-*}/${P}.tar.gz"
LICENSE="|| ( BSD LGPL-2.1 GPL-2 )"
SLOT="0"
KEYWORDS="amd64 ~ia64 ppc64 x86"
IUSE=""
DEPEND="~app-text/mecab-${PV}"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-python3.patch )
DOCS=( AUTHORS README test.py )
HTML_DOCS=( bindings.html )
Loading…
Cancel
Save