15
0

Accepting request 1280512 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1280512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-expiringdict?expand=0&rev=6
This commit is contained in:
2025-05-27 16:43:16 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 27 10:22:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue Feb 13 13:07:40 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-expiringdict
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -17,8 +17,6 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-expiringdict
Version: 1.2.2
Release: 0
@@ -28,7 +26,9 @@ URL: https://www.mailgun.com/
Source: https://github.com/mailgun/expiringdict/archive/refs/tags/v%{version}.tar.gz#/expiringdict-%{version}.tar.gz
Patch0: remove-nose.patch
BuildRequires: %{python_module dill}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-dill
@@ -51,10 +51,10 @@ max_len elements - the oldest will be deleted.
%autopatch -p1
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check