14
0
forked from pool/python-Whoosh

Accepting request 202506 from home:Nijel:branches:devel:languages:python

Update to version 2.5.4

- build documentation during build
- now uses py.test instead of nose for testing
- Update to version 2.5.4
  + New index format
  + Better API for index creation

OBS-URL: https://build.opensuse.org/request/show/202506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=4
This commit is contained in:
Denisart Benjamin
2013-10-07 14:52:33 +00:00
committed by Git OBS Bridge
parent bfdc1a6384
commit 55a91233a7
4 changed files with 24 additions and 5 deletions

View File

@@ -17,7 +17,7 @@
Name: python-Whoosh
Version: 2.4.1
Version: 2.5.4
Release: 0
Url: http://www.turbogears.org
Summary: Fast, pure-Python full text indexing, search, and spell checking library
@@ -27,7 +27,8 @@ Source: http://pypi.python.org/packages/source/W/Whoosh/Whoosh-%{version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-nose
BuildRequires: python-pytest
BuildRequires: python-Sphinx
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
@@ -49,6 +50,7 @@ or replaced to meet your needs exactly.
%build
python setup.py build
sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}