diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-12-20 19:26:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-12-20 19:26:24 +0000 |
| commit | 68f28569389793d0fc49ca47cb064dc4320905b2 (patch) | |
| tree | cc8ae967b61ed87506d12c1231745788194e1979 /dev-python/mecab-python | |
| parent | beb35ef75b8057c696ea15169fded178d0202402 (diff) | |
| download | baldeagleos-repo-68f28569389793d0fc49ca47cb064dc4320905b2.tar.gz baldeagleos-repo-68f28569389793d0fc49ca47cb064dc4320905b2.tar.xz baldeagleos-repo-68f28569389793d0fc49ca47cb064dc4320905b2.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mecab-python')
| -rw-r--r-- | dev-python/mecab-python/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mecab-python/files/mecab-python-python3.patch | 73 | ||||
| -rw-r--r-- | dev-python/mecab-python/mecab-python-0.996-r1.ebuild | 33 |
3 files changed, 0 insertions, 107 deletions
diff --git a/dev-python/mecab-python/Manifest b/dev-python/mecab-python/Manifest index 119471d30c76..a748f79e603e 100644 --- a/dev-python/mecab-python/Manifest +++ b/dev-python/mecab-python/Manifest @@ -1,2 +1 @@ -DIST mecab-python-0.996.tar.gz 62338 BLAKE2B d2f8749bf4ea0b30b9f7ee68a4210a3af600803296197f48091d1c9fe90f5baaff3eb94ecb3aa04d994771512c1ef5b68a62e0a045da95992bffd1710725e832 SHA512 08954ed801419fd7f65d055244227364bc37b063f8d21babb6ceeb02ca40e0146fa4401d1426255f3656ac1a5e51439bde981414613153dca5972f624289447e DIST mecab-python-1.0.7.gh.tar.gz 74249 BLAKE2B aa97fbd59791ecbcda5e8dd1a1beeec8fd7755f21873a27a816c57d5320bc9013ef029bea62d2f3fbc76645dece38e88dcadd291b109d3cc645e39f82eabe4b9 SHA512 2aba54c7e3c306e7eabe24b6321731b621767a82e8af34ad879a86d1db67a2c94c9793073c758838e83a705cd2423b2e235f0db1b1b61312d1e6790e408d35f4 diff --git a/dev-python/mecab-python/files/mecab-python-python3.patch b/dev-python/mecab-python/files/mecab-python-python3.patch deleted file mode 100644 index d8fa167fff17..000000000000 --- a/dev-python/mecab-python/files/mecab-python-python3.patch +++ /dev/null @@ -1,73 +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"), ---- a/test.py -+++ b/test.py -@@ -9,17 +9,17 @@ - - try: - -- print MeCab.VERSION -+ print(MeCab.VERSION) - - t = MeCab.Tagger (" ".join(sys.argv)) - -- print t.parse(sentence) -+ print(t.parse(sentence)) - - m = t.parseToNode(sentence) - while m: -- print m.surface, "\t", m.feature -- m = m.next -- print "EOS" -+ print(m.surface, "\t", m.feature) -+ m = m.next -+ print("EOS") - - lattice = MeCab.Lattice() - t.parse(lattice) -@@ -29,24 +29,24 @@ - b = lattice.begin_nodes(i) - e = lattice.end_nodes(i) - while b: -- print "B[%d] %s\t%s" % (i, b.surface, b.feature) -+ print("B[%d] %s\t%s" % (i, b.surface, b.feature)) - b = b.bnext - while e: -- print "E[%d] %s\t%s" % (i, e.surface, e.feature) -+ print("E[%d] %s\t%s" % (i, e.surface, e.feature)) - e = e.bnext -- print "EOS"; -+ print("EOS"); - - d = t.dictionary_info() - while d: -- print "filename: %s" % d.filename -- print "charset: %s" % d.charset -- print "size: %d" % d.size -- print "type: %d" % d.type -- print "lsize: %d" % d.lsize -- print "rsize: %d" % d.rsize -- print "version: %d" % d.version -- d = d.next -+ print("filename: %s" % d.filename) -+ print("charset: %s" % d.charset) -+ print("size: %d" % d.size) -+ print("type: %d" % d.type) -+ print("lsize: %d" % d.lsize) -+ print("rsize: %d" % d.rsize) -+ print("version: %d" % d.version) -+ d = d.next - --except RuntimeError, e: -- print "RuntimeError:", e; -+except RuntimeError as e: -+ print("RuntimeError:", e); diff --git a/dev-python/mecab-python/mecab-python-0.996-r1.ebuild b/dev-python/mecab-python/mecab-python-0.996-r1.ebuild deleted file mode 100644 index 2671957ce0b8..000000000000 --- a/dev-python/mecab-python/mecab-python-0.996-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Python binding for MeCab" -HOMEPAGE=" - https://taku910.github.io/mecab/ - https://github.com/taku910/mecab/ - https://pypi.org/project/mecab-python/ -" -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 ppc64 x86" - -DEPEND="~app-text/mecab-${PV}" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-python3.patch ) -DOCS=( AUTHORS README test.py ) -HTML_DOCS=( bindings.html ) - -python_test() { - "${EPYTHON}" test.py || die "Tests failed with ${EPYTHON}" -} |
