forked from pool/python-suds
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e91bffecc3 | |||
| 479c77fb78 |
@@ -1,13 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,21 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15allpythons}
|
||||
%global skip_python2 1
|
||||
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
|
||||
@@ -55,13 +54,11 @@ package).
|
||||
%autosetup -p1 -n suds-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
# remove tests/ dir from global site-packages
|
||||
%python_expand rm -rf %{buildroot}/%{$python_sitelib}/tests
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}/suds*
|
||||
|
||||
%check
|
||||
%pytest
|
||||
@@ -70,6 +67,6 @@ package).
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/suds
|
||||
%{python_sitelib}/suds_community-%{version}.dist-info
|
||||
%{python_sitelib}/suds_community-%{version}-py%{python_version}.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user