17
0

2 Commits

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