7 Star 1 Fork 1

src-openEuler/jieba

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jieba.spec 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
wqh17101 提交于 2022-12-12 11:00 . add test
%global _empty_manifest_terminate_build 0
%global common_desc Maybe the best chinese word segmentation software
Name: jieba
Version: 0.42.1
Release: 1
Summary: Chinese word segmentation software
License: MIT
URL: https://github.com/fxsjy/jieba
Source0: https://github.com/fxsjy/jieba/archive/refs/tags/v0.42.1.tar.gz
BuildArch: noarch
%description
Chinese Words Segmentation Utilities
%package -n python3-jieba
Summary: Chinese Words Segmentation Utilities
Provides: jieba
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
%description -n python3-jieba
%{common_desc}
%prep
%autosetup -n jieba-%{version}
%build
%py3_build
%install
%py3_install
%check
pushd test
%{__python3} demo.py
%{__python3} jieba_test.py
%{__python3} test.py
%{__python3} test_bug.py
%{__python3} test_change_dictpath.py
%{__python3} test_cut_for_search.py
%{__python3} test_cutall.py
%{__python3} test_no_hmm.py
%{__python3} test_multithread.py
%{__python3} test_pos.py
%{__python3} test_pos_no_hmm.py
%{__python3} test_tokenize.py
%{__python3} test_tokenize_no_hmm.py
%{__python3} test_userdict.py
popd
%files -n python3-jieba
%{python3_sitelib}/jieba/
%{python3_sitelib}/jieba-0.42.1-*.egg-info/
%changelog
* Tue Dec 6 2022 wqh17101 <597935261@qq.com> - 0.42.1-1
- Package Spec generate
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/jieba.git
git@gitee.com:src-openeuler/jieba.git
src-openeuler
jieba
jieba
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385