From 520a5b56dff7c24c9d42eafec142cb78b44f8e3e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Jul 2018 18:59:32 +0100 Subject: gentoo resync : 21.07.2018 --- dev-python/mecab-python/Manifest | 6 +++--- dev-python/mecab-python/files/mecab-python-py3.diff | 11 ----------- dev-python/mecab-python/files/mecab-python-python3.patch | 11 +++++++++++ dev-python/mecab-python/mecab-python-0.996.ebuild | 14 +++++++------- dev-python/mecab-python/metadata.xml | 1 + 5 files changed, 22 insertions(+), 21 deletions(-) delete mode 100644 dev-python/mecab-python/files/mecab-python-py3.diff create mode 100644 dev-python/mecab-python/files/mecab-python-python3.patch (limited to 'dev-python/mecab-python') diff --git a/dev-python/mecab-python/Manifest b/dev-python/mecab-python/Manifest index 99728d1343e0..06ec4128de62 100644 --- a/dev-python/mecab-python/Manifest +++ b/dev-python/mecab-python/Manifest @@ -1,4 +1,4 @@ -AUX mecab-python-py3.diff 253 BLAKE2B 979ef7ea020bfb405faa366a2b87a42d5c5e03e6b49b04ffc4ac0586e4e09912e6afe333072a47d676c4c3e7829ae336e61c402da280b6fffca80fc89323c00f SHA512 7937766e44c014149c64a3ad4226110f83868df330e5c0b22b65ce4624d3e6b710db972e18d446e535a76e0b0c763b2245d50280567e1ceebed15bd20c351695 +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.ebuild 545 BLAKE2B ec5e164d09064280ed5cffc816c515c60b34674cce1504c06ff8503e2daca29af25fd39fa539312f206d77783227042a3bb8ca717956d7eb9861621e403b9594 SHA512 58c52b80c70c647e9a0c4063e2310c7131f6fe976939a96bece742e3d32d49ed652c9989b3c7a2d0817b23298d0faa70b893072f8ca858486956175b5813be0c -MISC metadata.xml 359 BLAKE2B de31f469c45b9e95fd1cb0ae1d255977d78a8c96ca3bdea624eac82653e390f89972f2e680ea27a46d49909e185da8f70b51f7471974c7ad3f2947a425481da7 SHA512 26564a01d9ab28904670979d1961ab53dff53842e73ddb00f7d28f40c63ee0550daa6d48e44ea7e8a9ba04fe6852f61fae99612f111c0aef96d7422b21818c87 +EBUILD mecab-python-0.996.ebuild 619 BLAKE2B c6961b5f06cc629f160e13638ec7ff3af7972414456b41d12ecc32140f37566589f4f7383301c07333a7d02227f209350f5ae24a4af8fa7d6b57320813c05916 SHA512 0414df4ba70f8632179d7a37a8d1cc1735c84b1a42e89fa319b9bc11cbddea0315fb113feacb2a5e551cd7249d1caf627910e9331fa9633fe74c2fa4eb322ebc +MISC metadata.xml 412 BLAKE2B ca6440887d39a7ded3f9d000ec965344164f69dfdf0e98bd070cdc531804d7c94d74fe9a6a3ead7876fd9bf39eacbe5649b3e5357b1083f30d78ac51fd0a7afa SHA512 78feb6a8557ee197f02071540a3c6836cebec69cffc3d32a22f8563008614da66a6b26fafa0dae24b0c21cb7492e203c096f67c5482d1ffe617098b0db0670e0 diff --git a/dev-python/mecab-python/files/mecab-python-py3.diff b/dev-python/mecab-python/files/mecab-python-py3.diff deleted file mode 100644 index 33c8d97ebb2b..000000000000 --- a/dev-python/mecab-python/files/mecab-python-py3.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/files/mecab-python-python3.patch b/dev-python/mecab-python/files/mecab-python-python3.patch new file mode 100644 index 000000000000..33c8d97ebb2b --- /dev/null +++ b/dev-python/mecab-python/files/mecab-python-python3.patch @@ -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 index 6e9a28c9f18a..00f94ba5cc75 100644 --- a/dev-python/mecab-python/mecab-python-0.996.ebuild +++ b/dev-python/mecab-python/mecab-python-0.996.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 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} ) +EAPI="6" +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) inherit distutils-r1 DESCRIPTION="Python binding for MeCab" -HOMEPAGE="http://mecab.sourceforge.net/" -SRC_URI="https://mecab.googlecode.com/files/${P}.tar.gz" +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" @@ -18,6 +18,6 @@ IUSE="" DEPEND="~app-text/mecab-${PV}" RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${PN}-py3.diff" ) -DOCS=( test.py ) +PATCHES=( "${FILESDIR}"/${PN}-python3.patch ) +DOCS=( AUTHORS README test.py ) HTML_DOCS=( bindings.html ) diff --git a/dev-python/mecab-python/metadata.xml b/dev-python/mecab-python/metadata.xml index 367494a8fef2..82adca0f7b81 100644 --- a/dev-python/mecab-python/metadata.xml +++ b/dev-python/mecab-python/metadata.xml @@ -6,6 +6,7 @@ Cjk + taku910/mecab mecab mecab -- cgit v1.2.3