114 Star 0 Fork 6

src-openEuler/python-whoosh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-whoosh.spec 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
%global _description \
Whoosh is a fast, featureful full-text indexing and searching library \
implemented in pure Python.Users can use it easily to add search \
functionality to their applications and websites.
Name: python-whoosh
Version: 2.7.4
Release: 16
Summary: A fast, featureful full-text indexing and searching library implemented in pure Python
License: BSD-2-Clause-Views
URL: https://whoosh.readthedocs.io/en/latest/
Source0: https://pypi.python.org/packages/source/W/Whoosh/Whoosh-%{version}.tar.gz
# https://github.com/sphinx-doc/sphinx/blob/master/doc/usage/extensions/intersphinx.rst
Patch0: Adapt-to-intersphinx_mapping-format-due-to-Sphinx-upgrade.patch
BuildArch: noarch
BuildRequires: python3-sphinx
BuildRequires: python3-devel python3-setuptools python3-pytest
%description %_description
%package -n python3-whoosh
Summary: For Python3 full text indexing, search, and spell checking library
%{?python_provide:%python_provide python3-whoosh}
%description -n python3-whoosh %_description
%prep
%autosetup -n Whoosh-%{version} -p1
# pytest 4
sed -i 's/\[pytest\]/\[tool:pytest\]/' setup.cfg
%build
%py3_build
sphinx-build docs/source docs/html
rm -rf docs/html/.buildinfo docs/html/.doctrees
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-whoosh
%doc README.txt LICENSE.txt docs/html/
%{python3_sitelib}/whoosh
%{python3_sitelib}/*.egg-info/
%changelog
* Fri Dec 20 2024 wangkai <13474090681@163.com> - 2.7.4-16
- Fix build failure due to Sphinx upgrade to 8.1.3
* Wed May 11 2022 wulei <wulei80@h-partners.com> - 2.7.4-15
- License compliance rectification
* Wed Oct 21 2020 jinzhimin <jinzhimin2@huawei.com> - 2.7.4-14
- remove python2-whoosh subpackage
* Fri Nov 15 2019 sunguoshuai <sunguoshuai@huawei.com> - 2.7.4-13
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-whoosh.git
git@gitee.com:src-openeuler/python-whoosh.git
src-openeuler
python-whoosh
python-whoosh
master

搜索帮助