2014-05-16 12:47:15 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-wstools
|
|
|
|
|
#
|
2024-03-05 06:18:17 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-05-16 12:47:15 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2018-12-04 14:15:04 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-05-16 12:47:15 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-wstools
|
2018-07-09 14:17:27 +00:00
|
|
|
Version: 0.4.8
|
2014-05-16 12:47:15 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: WSDL parsing services package for Web Services for Python
|
|
|
|
|
License: ZPL-2.0
|
2018-07-09 14:17:27 +00:00
|
|
|
URL: https://github.com/pycontribs/wstools
|
|
|
|
|
Source: https://files.pythonhosted.org/packages/8d/d0/0e48ae89e4b2a9aa3a1a088782ae183dc09ca1f3545b29051c46d9efbc0f/wstools-%{version}.tar.gz
|
2022-01-28 12:33:29 +00:00
|
|
|
# https://github.com/pycontribs/wstools/issues/37
|
|
|
|
|
Patch0: python-wstools-python-310.patch
|
2024-03-05 06:18:17 +00:00
|
|
|
Patch1: support-python-312.patch
|
2021-03-12 13:19:04 +00:00
|
|
|
BuildRequires: %{python_module pbr >= 1.10}
|
2024-03-05 06:18:17 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2021-12-08 10:35:14 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2021-03-12 13:19:04 +00:00
|
|
|
BuildRequires: %{python_module setuptools >= 17.1}
|
2021-11-08 10:38:52 +00:00
|
|
|
BuildRequires: %{python_module six}
|
2024-03-05 06:18:17 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-12-20 13:10:30 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2024-03-05 06:18:17 +00:00
|
|
|
Requires: python-pbr
|
|
|
|
|
Requires: python-setuptools
|
2021-11-08 10:38:52 +00:00
|
|
|
Requires: python-six
|
2014-05-16 12:47:15 +00:00
|
|
|
BuildArch: noarch
|
2017-12-20 13:10:30 +00:00
|
|
|
%python_subpackages
|
2014-05-16 12:47:15 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Python module for WSDL parsing services package for Web Services.
|
|
|
|
|
|
|
|
|
|
%prep
|
2024-03-05 06:18:17 +00:00
|
|
|
%autosetup -p1 -n wstools-%{version}
|
2021-12-08 10:35:14 +00:00
|
|
|
# https://github.com/pycontribs/wstools/issues/35
|
|
|
|
|
sed -i 's:.pytest-runner.::' setup.py
|
2014-05-16 12:47:15 +00:00
|
|
|
|
|
|
|
|
%build
|
2024-03-05 06:18:17 +00:00
|
|
|
%pyproject_wheel
|
2014-05-16 12:47:15 +00:00
|
|
|
|
|
|
|
|
%install
|
2024-03-05 06:18:17 +00:00
|
|
|
%pyproject_install
|
2017-12-20 13:10:30 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2014-05-16 12:47:15 +00:00
|
|
|
|
2017-12-20 13:10:30 +00:00
|
|
|
%check
|
2021-08-27 15:21:55 +00:00
|
|
|
%pytest
|
2017-12-20 13:10:30 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
2018-07-09 14:17:27 +00:00
|
|
|
%license LICENSE.txt
|
|
|
|
|
%doc README.rst
|
2024-03-05 06:18:17 +00:00
|
|
|
%{python_sitelib}/wstools
|
|
|
|
|
%{python_sitelib}/wstools-%{version}.dist-info
|
2014-05-16 12:47:15 +00:00
|
|
|
|
|
|
|
|
%changelog
|