Files
python-pysolr/python-pysolr.spec
Dirk Mueller 5a6af8f1d5 - update to 3.11.0:
* GitHub Actions: Add Python 3.13 to the testing
  * [REMOVE] - tests: remove duplicate get_solr method from
    SolrTestCase class.
  * fix: Remove ruff (handled by pre-commit.ci, not a runtime
    dependency)
  * fix: Remove setup.cfg to eliminate Python 2 tag from
    distribution
  * EOL: Drop support for Python 3.9 and below
  * feat: Configure Ruff linter pre-commit to perform write
    operations
  * Format Python code with ruff-format instead of black

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysolr?expand=0&rev=11
2026-01-27 07:36:17 +00:00

66 lines
1.9 KiB
RPMSpec

#
# spec file for package python-pysolr
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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.11.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