diff options
Diffstat (limited to 'dev-python/mecab-python')
-rw-r--r-- | dev-python/mecab-python/Manifest | 6 | ||||
-rw-r--r-- | dev-python/mecab-python/files/mecab-python-py3.diff | 11 | ||||
-rw-r--r-- | dev-python/mecab-python/mecab-python-0.996.ebuild | 23 | ||||
-rw-r--r-- | dev-python/mecab-python/metadata.xml | 12 |
4 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/mecab-python/Manifest b/dev-python/mecab-python/Manifest new file mode 100644 index 000000000000..ca10b253d1cc --- /dev/null +++ b/dev-python/mecab-python/Manifest @@ -0,0 +1,6 @@ +AUX mecab-python-py3.diff 253 SHA256 0b2c7dc2f680283ed63e5170b8b65789f0453786dc9b4ec1c10cd2b837c8a72f SHA512 7937766e44c014149c64a3ad4226110f83868df330e5c0b22b65ce4624d3e6b710db972e18d446e535a76e0b0c763b2245d50280567e1ceebed15bd20c351695 WHIRLPOOL 4e6b46e9a1abe8a7cce162941586041d1ce2eef25823cd154d63d82e27e92b0b49a3288a935aca02fe33ae9db4e5a335573f3c9ad10227cdf7a029bfbef557f3 +DIST mecab-python-0.996.tar.gz 62338 SHA256 d305c30af9e781e70f7619a0b444ac1101f2faaf3922415a0d6c49da85a63511 SHA512 08954ed801419fd7f65d055244227364bc37b063f8d21babb6ceeb02ca40e0146fa4401d1426255f3656ac1a5e51439bde981414613153dca5972f624289447e WHIRLPOOL bae9a50996fa46bc0cf70b0d76c1d0377b84165a07d3ebeaa4a4731c6eafe8f3a952942c85e38bf6db0f1d56abfc6f85664e1cad5f5259dd2083ce28e08d8ca9 +EBUILD mecab-python-0.996.ebuild 545 SHA256 a62c903e6dd31655687a2e7d958fcfeb392423d7a8da4b42e74f24b7f0e64f19 SHA512 58c52b80c70c647e9a0c4063e2310c7131f6fe976939a96bece742e3d32d49ed652c9989b3c7a2d0817b23298d0faa70b893072f8ca858486956175b5813be0c WHIRLPOOL 36f557617d918c69a6846e4b0e981db05f8cd8df64d3fd4f983db252cf52762e6d17d11e7c8122e5e663b841d63a9d893c167bfb4e4f568db122a83d7fc0ebf3 +MISC ChangeLog 3321 SHA256 7ed56641221dd97524d6e1a545457d1957617c5b58b79c55f043afce486846ee SHA512 ca8e538109a5dd6185087946c1166f4fd519c421c3be68c3df9006d5ed1ed2631b7048ed1333c82542d289119cbc5a55e2491c6c3ecdd7b29d31d1100ecfd194 WHIRLPOOL 988b7d7baef013c3f23e6bf5acee79effdb3a9d737ed2bbe67b5ba32d330af57e3bed7234062e48b62efec388bb4818d3746a7a92294db522a0ec5ddd075e183 +MISC ChangeLog-2015 3812 SHA256 980f8a160d6df1f899ba0fda8ffe01a67e617691538e9f431bb921506f4e0c23 SHA512 308410ccf288e4c8ef75e8428baeec40c76587ee728517810e8af169a97945f7045afa93dbeb0e3c7afb1cc87d047c949394d60df0742dfb23c3c13deee1d4b5 WHIRLPOOL 8d57579a030cd2f6aca4e26b2efe1c540157d3acfcf6104ebd288aa4447c914c92753c99e33430db5da6033eb314aeed379fa2c7fe412689a9803a15ba68fb08 +MISC metadata.xml 359 SHA256 4d36587acbe08a40e836a607cae5579c49e166c1c4d043751f246aaad95a7b86 SHA512 26564a01d9ab28904670979d1961ab53dff53842e73ddb00f7d28f40c63ee0550daa6d48e44ea7e8a9ba04fe6852f61fae99612f111c0aef96d7422b21818c87 WHIRLPOOL ea914aa9d5286f4eeb42a9ab1af6aecfd2bba30ed74f497dd7ca5c3dc13852767044f1d04fece04ad3767a2e3625fbf20f886f08be1adc88dcf7ae23ec208ac7 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"), diff --git a/dev-python/mecab-python/mecab-python-0.996.ebuild b/dev-python/mecab-python/mecab-python-0.996.ebuild new file mode 100644 index 000000000000..6e9a28c9f18a --- /dev/null +++ b/dev-python/mecab-python/mecab-python-0.996.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Python binding for MeCab" +HOMEPAGE="http://mecab.sourceforge.net/" +SRC_URI="https://mecab.googlecode.com/files/${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}-py3.diff" ) +DOCS=( test.py ) +HTML_DOCS=( bindings.html ) diff --git a/dev-python/mecab-python/metadata.xml b/dev-python/mecab-python/metadata.xml new file mode 100644 index 000000000000..367494a8fef2 --- /dev/null +++ b/dev-python/mecab-python/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <upstream> + <remote-id type="google-code">mecab</remote-id> + <remote-id type="sourceforge">mecab</remote-id> + </upstream> +</pkgmetadata> |