From 8cce8eee1970c92d1aa115c51ca4b49fb81b46b2657c2cc27038ef31779e0300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 11:50:05 +0000 Subject: [PATCH 1/2] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.lru?expand=0&rev=17 --- python-repoze.lru.changes | 5 +++++ python-repoze.lru.spec | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/python-repoze.lru.changes b/python-repoze.lru.changes index 51691e0..17d2db0 100644 --- a/python-repoze.lru.changes +++ b/python-repoze.lru.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 11:47:34 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Jun 9 06:36:50 UTC 2023 - ecsos diff --git a/python-repoze.lru.spec b/python-repoze.lru.spec index ab0ca4f..7e1127b 100644 --- a/python-repoze.lru.spec +++ b/python-repoze.lru.spec @@ -1,7 +1,7 @@ # # spec file for package python-repoze.lru # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -25,7 +25,9 @@ License: SUSE-Repoze Group: Development/Languages/Python URL: http://www.repoze.org Source: https://files.pythonhosted.org/packages/source/r/repoze.lru/repoze.lru-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -40,13 +42,15 @@ Python 2.6, Python 2.7, and Python 3.2. %setup -q -n repoze.lru-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %files %{python_files} %license LICENSE.txt -%{python_sitelib}/* +%dir %{python_sitelib}/repoze +%{python_sitelib}/repoze/lru +%{python_sitelib}/repoze[._]lru-%{version}*-info %changelog From a74583efcf17383339d16b733c89004c1fb4934cf9844456d6eb72f952bd856c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 11:55:13 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.lru?expand=0&rev=18 --- python-repoze.lru.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-repoze.lru.spec b/python-repoze.lru.spec index 7e1127b..29c9ed6 100644 --- a/python-repoze.lru.spec +++ b/python-repoze.lru.spec @@ -52,5 +52,6 @@ Python 2.6, Python 2.7, and Python 3.2. %dir %{python_sitelib}/repoze %{python_sitelib}/repoze/lru %{python_sitelib}/repoze[._]lru-%{version}*-info +%{python_sitelib}/repoze[._]lru-%{version}*nspkg.pth %changelog