From ed480ecc60251436db540809e3e4e84aa31a482418af7f0c24124f343e39f3e8 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 16 Jun 2025 06:26:08 +0000 Subject: [PATCH] - Switch to pyroject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-suds?expand=0&rev=11 --- python-suds.changes | 5 +++++ python-suds.spec | 15 +++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/python-suds.changes b/python-suds.changes index 1c87669..117dede 100644 --- a/python-suds.changes +++ b/python-suds.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 16 06:12:25 UTC 2025 - Steve Kowalik + +- Switch to pyroject macros. + ------------------------------------------------------------------- Fri Dec 20 09:22:13 UTC 2024 - Matej Cepl diff --git a/python-suds.spec b/python-suds.spec index a930231..6c62ad2 100644 --- a/python-suds.spec +++ b/python-suds.spec @@ -1,7 +1,7 @@ # # spec file for package python-suds # -# 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 @@ -22,14 +22,15 @@ Version: 1.2.0 Release: 0 Summary: Lightweight SOAP client License: LGPL-3.0-or-later -Group: Development/Languages/Python URL: https://github.com/suds-community/suds Source: https://files.pythonhosted.org/packages/source/s/suds/suds-%{version}.tar.gz BuildRequires: %{python_module devel} # Test requirements BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -54,11 +55,13 @@ package). %autosetup -p1 -n suds-%{version} %build -%python_build +%pyproject_wheel %install -%python_install -%python_expand %fdupes %{buildroot}/%{$python_sitelib}/suds* +%pyproject_install +# remove tests/ dir from global site-packages +%python_expand rm -rf %{buildroot}/%{$python_sitelib}/tests +%python_expand %fdupes %{buildroot}/%{$python_sitelib} %check %pytest @@ -67,6 +70,6 @@ package). %doc README.md %license LICENSE.txt %{python_sitelib}/suds -%{python_sitelib}/suds_community-%{version}-py%{python_version}.egg-info +%{python_sitelib}/suds_community-%{version}.dist-info %changelog