14
0
forked from pool/python-pysolr
Files
python-pysolr/python-pysolr.spec
Dirk Mueller 31cebe4b90 Accepting request 1224127 from home:glaubitz:branches:devel:languages:python
- Update to 3.10.0
  * Fixed: Different JSON and XML behaviour
  * Fix typo
  * Fix SolrCoreAdmin._get_url content-type
  * enable custom requests session
  * add min_rf feature in add method
  * New: Add parameter for a custom encoder
  * Add accepts empty values
  * Show an example of how to use cursor traversal
  * Escape xml in delete() using ElementTree
  * Update README.rst
  * Update README.rst
  * Perform adds with field updates using JSON
  * Use six.assertRegex instead of assertRegexpMatches
    for Python 3.11 compatibility.
  * GitHub Action to run tox
  * Bump certifi from 2021.10.8 to 2022.12.7
  * Make _to_python recursive for lists and tuples
  * Replace flake8 and isort with ruff
  * Replace ''.join after char filtering with regex filter
  * GitHub Actions: Add Pypy v3.10 and remove EOL CPython 3.7
  * Upgrade github/codeql-action
  * Configure GitHub actions to publish packages
  * fix commitWithin for JSON updates w/o boost
  * Declare a runtime dependency on setuptools
  * Enhance gitignore
  * Set wt=json in _select only if the user has not set it
  * Avoid running tests under PyPy on GitHub Actions
  * GitHub Actions: Add Python 3.12 to the testing
  * Keep GitHub Actions up to date with Dependabot

OBS-URL: https://build.opensuse.org/request/show/1224127
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysolr?expand=0&rev=9
2024-11-14 09:35:57 +00:00

66 lines
1.9 KiB
RPMSpec

#
# spec file for package python-pysolr
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-pysolr
Version: 3.10.0
Release: 0
Summary: Lightweight python wrapper for Apache Solr
License: BSD-3-Clause
URL: https://github.com/django-haystack/pysolr/
Source: https://files.pythonhosted.org/packages/source/p/pysolr/pysolr-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests >= 2.9.1
Suggests: python-kazoo >= 2.5.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.9.1}
# /SECTION
%python_subpackages
%description
Lightweight python wrapper for Apache Solr.
%prep
%setup -q -n pysolr-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# TODO, requires solr server to run
%files %{python_files}
%doc AUTHORS CHANGELOG.rst README.rst
%license LICENSE
%{python_sitelib}/__pycache__
%{python_sitelib}/pysolr.py
%{python_sitelib}/pysolr-%{version}.dist-info
%changelog