From b4e2a5f322e04ea378f011eac39a89283ff1c7cab1a4743211e4da88a8716fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 12:47:16 +0000 Subject: [PATCH 1/2] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.who?expand=0&rev=24 --- python-repoze.who.changes | 5 +++++ python-repoze.who.spec | 14 +++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/python-repoze.who.changes b/python-repoze.who.changes index 104ffad..c265f99 100644 --- a/python-repoze.who.changes +++ b/python-repoze.who.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 12:45:29 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Oct 29 08:17:10 UTC 2024 - Dirk Müller diff --git a/python-repoze.who.spec b/python-repoze.who.spec index 7fe439b..c20ec1f 100644 --- a/python-repoze.who.spec +++ b/python-repoze.who.spec @@ -1,7 +1,7 @@ # # spec file for package python-repoze.who # -# Copyright (c) 2024 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 @@ -17,8 +17,8 @@ %global modname repoze.who -%{?sle15_python_module_pythons} %global skip_python313 1 +%{?sle15_python_module_pythons} Name: python-repoze.who Version: 3.0.0 Release: 0 @@ -27,8 +27,10 @@ License: SUSE-Repoze URL: http://www.repoze.org Source: https://files.pythonhosted.org/packages/source/r/repoze.who/%{modname}-%{version}.tar.gz BuildRequires: %{python_module WebOb} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module zope.interface} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,10 +55,10 @@ domain of the WSGI application. %setup -q -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check @@ -65,6 +67,8 @@ domain of the WSGI application. %files %{python_files} %license LICENSE.txt %doc *.txt -%{python_sitelib}/* +%dir %{python_sitelib}/repoze +%{python_sitelib}/repoze/who +%{python_sitelib}/repoze[._]who-%{version}*-info %changelog From 8399a791a149c9f8eb267ab54eaf4473627c7f92bf0838f8bb7732f47d7c3b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 12:51:39 +0000 Subject: [PATCH 2/2] fix files OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.who?expand=0&rev=25 --- python-repoze.who.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-repoze.who.spec b/python-repoze.who.spec index c20ec1f..afa1934 100644 --- a/python-repoze.who.spec +++ b/python-repoze.who.spec @@ -70,5 +70,6 @@ domain of the WSGI application. %dir %{python_sitelib}/repoze %{python_sitelib}/repoze/who %{python_sitelib}/repoze[._]who-%{version}*-info +%{python_sitelib}/repoze[._]who-%{version}*nspkg.pth %changelog