summaryrefslogtreecommitdiff
path: root/dev-python/mecab-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mecab-python')
-rw-r--r--dev-python/mecab-python/Manifest1
-rw-r--r--dev-python/mecab-python/mecab-python-1.0.7.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/mecab-python/Manifest b/dev-python/mecab-python/Manifest
index 04b6bae25710..119471d30c76 100644
--- a/dev-python/mecab-python/Manifest
+++ b/dev-python/mecab-python/Manifest
@@ -1 +1,2 @@
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/mecab-python-1.0.7.ebuild b/dev-python/mecab-python/mecab-python-1.0.7.ebuild
new file mode 100644
index 000000000000..9f0fb9837b47
--- /dev/null
+++ b/dev-python/mecab-python/mecab-python-1.0.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2025 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_{11..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-python3/
+"
+SRC_URI="https://github.com/SamuraiT/mecab-python3/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}"/${PN}3-${PV}
+
+LICENSE="|| ( BSD LGPL-2.1 GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ppc64 ~x86"
+
+DEPEND=">=app-text/mecab-0.996"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+distutils_enable_tests pytest