From d3fcf21f5f2ecd64b7603e2a402571b7870c96a8aa7ef312a96b9a45c2751c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 13:04:27 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-wsgi-adapter?expand=0&rev=5 --- python-requests-wsgi-adapter.changes | 5 +++++ python-requests-wsgi-adapter.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-requests-wsgi-adapter.changes b/python-requests-wsgi-adapter.changes index 8782f0e..b95a402 100644 --- a/python-requests-wsgi-adapter.changes +++ b/python-requests-wsgi-adapter.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 13:04:10 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Jun 15 12:49:19 UTC 2023 - Andreas Schneider diff --git a/python-requests-wsgi-adapter.spec b/python-requests-wsgi-adapter.spec index 25752a3..cce7f5d 100644 --- a/python-requests-wsgi-adapter.spec +++ b/python-requests-wsgi-adapter.spec @@ -1,7 +1,7 @@ # # spec file for package python-requests-wsgi-adapter # -# 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 @@ -26,8 +26,10 @@ License: BSD-3-Clause URL: https://github.com/seanbrant/requests-wsgi-adapter # no tests in PyPI sdist, no tags on GitHub Source: https://github.com/seanbrant/requests-wsgi-adapter/archive/%{commit}.tar.gz#/requests-wsgi-adapter-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module requests >= 1.0} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests >= 1.0 @@ -41,10 +43,10 @@ WSGI Transport Adapter for Requests %setup -q -n requests-wsgi-adapter-%{commit} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check