dev-python/jieba: new package, add 0.42.1

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui authored and jinqiang zhang committed 2026-03-04 17:55:01 +08:00
1 parent d5abab9d73
commit 2fc8e52b2f
3 files changed
+51

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST jieba-0.42.1.tar.gz 19214172 BLAKE2B b583e2208193cf39740e28a49cda54657764d96e86cfcf94cf13208ebe424587a5112536a50d65c6178ad2f39d0ee4b49d3995bf291654f01f61b8407c8bd85c SHA512 a27a0deed177fe9bf1663abc6280e5c19dd80b45641e902ab1239bcf1aa9f1b4c75de033808b30afe5322af77288eaa55d49d7973c48e86a014da0f762a0baf8
+29
View File
@@ -0,0 +1,29 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Chinese text segmentation library"
HOMEPAGE="
https://github.com/fxsjy/jieba
https://pypi.org/project/jieba/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
# Tests are standalone scripts incompatible with pytest, and require
# missing data files (userdict.txt, extra_dict/) not included in sdist
RESTRICT="test"
src_prepare() {
default
# Remove deprecated license classifier
sed -i "/License ::/d" setup.py || die
}
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<upstream>
<remote-id type="github">fxsjy/jieba</remote-id>
<remote-id type="pypi">jieba</remote-id>
</upstream>
<longdescription lang="en">
Jieba is a Chinese text segmentation library for Python. It supports
three segmentation modes: accurate mode, full mode, and search engine
mode. It also supports custom dictionaries and keyword extraction.
</longdescription>
<longdescription lang="zh">
结巴分词是一个Python中文分词库。它支持三种分词模式:精确模式、全模式
和搜索引擎模式。同时支持自定义词典和关键词提取功能。
</longdescription>
</pkgmetadata>