- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-Whoosh
|
|
|
|
#
|
2025-06-13 02:57:12 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-12-04 14:14:21 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-05-02 05:49:21 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
Name: python-Whoosh
|
2025-08-14 09:17:48 +00:00
|
|
|
Version: 2.7.5
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
Release: 0
|
2017-07-10 10:35:02 +00:00
|
|
|
Summary: Pure-Python full text indexing, search, and spell checking library
|
2015-04-24 14:31:52 +00:00
|
|
|
License: BSD-2-Clause
|
2025-08-14 09:17:48 +00:00
|
|
|
URL: https://github.com/Sygil-Dev/whoosh-reloaded
|
|
|
|
Source: https://github.com/Sygil-Dev/whoosh-reloaded/archive/refs/tags/v%{version}.tar.gz
|
2021-06-21 07:57:06 +00:00
|
|
|
# PATCH-FIX-UPSTREAM NullMatcherClass-hashable.patch gh#whoosh-community/whoosh#570 mcepl@suse.com
|
|
|
|
# NullMatcherClass needs __hash__ method as well for Sphinx4 compatiblity.
|
2025-08-14 09:17:48 +00:00
|
|
|
Patch0: NullMatcherClass-hashable.patch
|
|
|
|
BuildRequires: %{python_module cached-property}
|
2025-06-13 02:57:12 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2017-06-26 10:03:55 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-13 02:57:12 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2019-07-18 08:33:45 +00:00
|
|
|
BuildRequires: fdupes
|
2017-06-26 10:03:55 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2019-07-18 08:33:45 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
2025-08-14 09:17:48 +00:00
|
|
|
BuildRequires: python3-sphinx-jsonschema
|
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
|
|
|
Requires: python-cached-property
|
2018-12-04 17:25:52 +00:00
|
|
|
BuildArch: noarch
|
2017-06-26 10:03:55 +00:00
|
|
|
# SECTION the testing dependencies
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
# /SECTION
|
|
|
|
%ifpython2
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
Provides: python-whoosh = %{version}
|
|
|
|
Obsoletes: python-whoosh < %{version}
|
2017-06-26 10:03:55 +00:00
|
|
|
%endif
|
|
|
|
%python_subpackages
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
|
|
|
|
%description
|
2017-07-10 10:35:02 +00:00
|
|
|
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.
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
|
2023-05-03 10:42:14 +00:00
|
|
|
%if 0%{?suse_version} > 1500
|
2017-06-26 10:03:55 +00:00
|
|
|
%package -n python-Whoosh-doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation/Other
|
|
|
|
Provides: %{python_module Whoosh-doc = %{version}}
|
|
|
|
|
|
|
|
%description -n python-Whoosh-doc
|
2017-07-10 10:35:02 +00:00
|
|
|
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.
|
|
|
|
|
2017-06-26 10:03:55 +00:00
|
|
|
This package contains the documentation.
|
2023-05-03 10:42:14 +00:00
|
|
|
%endif
|
2017-06-26 10:03:55 +00:00
|
|
|
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
%prep
|
2025-08-14 09:17:48 +00:00
|
|
|
%autosetup -p1 -n whoosh-reloaded-%{version}
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
|
2023-05-03 10:42:14 +00:00
|
|
|
# Fix CRLF->LF
|
|
|
|
sed -i -e 's/\r$//' docs/source/api/filedb/{filestore,filetables,structfile}.rst
|
|
|
|
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
%build
|
2025-06-13 02:57:12 +00:00
|
|
|
%pyproject_wheel
|
2013-10-07 14:52:33 +00:00
|
|
|
sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
|
|
|
|
%install
|
2025-06-13 02:57:12 +00:00
|
|
|
%pyproject_install
|
2019-07-18 08:33:45 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
|
|
|
|
%check
|
2019-07-18 08:33:45 +00:00
|
|
|
export LANG=en_US.UTF8
|
2025-08-14 09:17:48 +00:00
|
|
|
%pytest
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
|
2017-06-26 10:03:55 +00:00
|
|
|
%files %{python_files}
|
2018-12-04 17:25:52 +00:00
|
|
|
%license LICENSE.txt
|
2025-08-14 09:17:48 +00:00
|
|
|
%doc README.md
|
2025-06-13 02:57:12 +00:00
|
|
|
%{python_sitelib}/whoosh
|
2025-08-14 09:17:48 +00:00
|
|
|
%{python_sitelib}/[Ww]hoosh_[Rr]eloaded-%{version}.dist-info
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
|
2023-04-26 21:19:03 +00:00
|
|
|
%if 0%{?suse_version} > 1500
|
2017-06-26 10:03:55 +00:00
|
|
|
%files -n python-Whoosh-doc
|
2018-12-04 17:25:52 +00:00
|
|
|
%license LICENSE.txt
|
2023-04-26 21:19:03 +00:00
|
|
|
%endif
|
2018-12-04 17:25:52 +00:00
|
|
|
%doc docs/build/html
|
2017-06-26 10:03:55 +00:00
|
|
|
|
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python-Whoosh, obsoletes python-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- update to 2.4.0
- python3 package added
- a lot of spec improvements
- updated to 2.3.2
- make package noarch if possible
- Update to version 2.4.1:
+ Fixes issues #242, #257, #261, #262, #263
- Renamed to python3-Whoosh, obsoletes python3-whoosh
- Install HTML documentation and LICENSE.txt
- Set SPDX-style license
- Run testsuite
- python3 package added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=1
2013-01-30 11:42:07 +00:00
|
|
|
%changelog
|