|
|
|
|
@@ -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
|
|
|
|
|
@@ -16,20 +16,21 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global skip_python2 1
|
|
|
|
|
%{?sle15allpythons}
|
|
|
|
|
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
|
|
|
|
|
|