17
0

2 Commits

Author SHA256 Message Date
42ff84848e Accepting request 1268272 from devel:languages:python
- Switch to pyproject macros.
- Drop urllib3 BuildRequires due to boto3 disappearing.

OBS-URL: https://build.opensuse.org/request/show/1268272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachelib?expand=0&rev=7
2025-04-10 19:59:22 +00:00
2f4ffe8f6a - Switch to pyproject macros.
- Drop urllib3 BuildRequires due to boto3 disappearing.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachelib?expand=0&rev=15
2025-04-10 04:56:14 +00:00
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 10 04:53:02 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Drop urllib3 BuildRequires due to boto3 disappearing.
-------------------------------------------------------------------
Fri Dec 29 09:54:47 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cachelib
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,14 +22,15 @@ Version: 0.10.2
Release: 0
Summary: A collection of cache libraries in the same API interface
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/pallets-eco/cachelib
Source: https://files.pythonhosted.org/packages/source/c/cachelib/cachelib-%{version}.tar.gz
# PATCH-FIX-UPSTREAM skip-failing-tests.patch gh#pallets-eco/cachelib#228 mcepl@suse.com
# skip failing tests
Patch0: skip-failing-tests.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pylibmc}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: redis
@@ -42,7 +43,6 @@ BuildRequires: %{python_module pyparsing}
BuildRequires: %{python_module pytest-xprocess}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module urllib3 < 2}
BuildRequires: memcached
# /SECTION
%python_subpackages
@@ -54,10 +54,10 @@ A collection of cache libraries in the same API interface.
%autosetup -p1 -n cachelib-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -76,6 +76,6 @@ export PYTEST_ADDOPTS
%license LICENSE.rst
%doc README.rst
%{python_sitelib}/cachelib
%{python_sitelib}/cachelib-%{version}*-info
%{python_sitelib}/cachelib-%{version}.dist-info
%changelog