From 35aef9b7f129dbff010de13ff4990bee810f2584c2f88d60fed65ddc03f38df7 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 7 Jul 2025 02:33:05 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=72 --- python-httpretty.changes | 5 +++++ python-httpretty.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-httpretty.changes b/python-httpretty.changes index 4a9a34c..2c06bda 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 7 02:32:42 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed May 28 06:01:26 UTC 2025 - Daniel Garcia diff --git a/python-httpretty.spec b/python-httpretty.spec index 84aaa2d..50a525c 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -51,6 +51,7 @@ BuildRequires: %{python_module eventlet} BuildRequires: %{python_module fakeredis} BuildRequires: %{python_module freezegun} BuildRequires: %{python_module httplib2} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-httpserver} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} @@ -58,6 +59,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sure} BuildRequires: %{python_module tornado} BuildRequires: %{python_module urllib3} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -75,10 +77,10 @@ rm tests/bugfixes/nosetests/test_416_boto3.py %endif %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -96,6 +98,6 @@ donttest="$donttest or test_httpretty_should_handle_paths_starting_with_two_slas %license COPYING %doc README.rst %{python_sitelib}/httpretty -%{python_sitelib}/httpretty-%{version}*-info +%{python_sitelib}/httpretty-%{version}.dist-info %changelog