Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
python-Whoosh
python-Whoosh.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Whoosh.spec of Package python-Whoosh
# # spec file for package python-Whoosh # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-Whoosh Version: 2.7.4 Release: 0 Url: http://www.turbogears.org Summary: Pure-Python full text indexing, search, and spell checking library License: BSD-2-Clause Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/W/Whoosh/Whoosh-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION the testing dependencies %if %{with test} BuildRequires: %{python_module pytest} %endif # /SECTION BuildArch: noarch %ifpython2 Provides: python-whoosh = %{version} Obsoletes: python-whoosh < %{version} %endif %python_subpackages %description Whoosh is a pure-Python indexing and search library. It can be used to add search functionality to applications and websites. Every part of how Whoosh works can be extended or replaced to meet specific needs. %package -n python-Whoosh-doc Summary: Documentation for %{name} Group: Documentation/Other Provides: %{python_module Whoosh-doc = %{version}} %description -n python-Whoosh-doc Whoosh is a pure-Python indexing and search library. It can be used to add search functionality to applications and websites. Every part of how Whoosh works can be extended or replaced to meet specific needs. This package contains the documentation. %prep %setup -q -n Whoosh-%{version} %build %python_build sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html %install %python_install %if %{with test} %check %python_exec setup.py test %endif %files %{python_files} %defattr(-,root,root,-) %doc LICENSE.txt README.txt %{python_sitelib}/* %files -n python-Whoosh-doc %doc LICENSE.txt docs/build/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor