forked from pool/python-suds
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| cbfed64668 | |||
| 2fabc2a17b | |||
| 847bffff9e | |||
| a57c3e6c4d | |||
| b4caa9249a | |||
| b3020438ad |
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 11:02:54 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Replace %{sle15allpythons} with %{?sle15_python_module_pythons}, the
|
||||
package doesn't build with python < 3.7 so it doesn't make sense to
|
||||
try to build for python3 in SLE 15.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 06:12:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyroject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 09:22:13 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Add %{?sle15allpythons} call
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 10:38:51 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-suds
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,20 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%global skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-suds
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user