# Created by pyp2rpm-3.3.2 %global pypi_name zeep Name: python-%{pypi_name} Version: 3.2.0 Release: 1%{?dist} Summary: A modern/fast Python SOAP client based on lxml / requests License: MIT URL: http://docs.python-zeep.org Source0: https://files.pythonhosted.org/packages/source/z/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3dist(appdirs) >= 1.4.0 BuildRequires: python3dist(attrs) >= 17.2.0 BuildRequires: python3dist(cached-property) >= 1.3.0 BuildRequires: python3dist(defusedxml) >= 0.4.1 BuildRequires: python3dist(isodate) >= 0.5.4 BuildRequires: python3dist(lxml) >= 3.1.0 BuildRequires: python3dist(requests) >= 2.7.0 BuildRequires: python3dist(requests-toolbelt) >= 0.7.1 BuildRequires: python3dist(six) >= 1.9.0 BuildRequires: python3dist(pytz) %description Zeep: Python SOAP client A fast and modern Python SOAP clientHighlights: * Compatible with Python 2.7, 3.3, 3.4, 3.5, 3.6, 3.7 and PyPy * Build on top of lxml and requests * Support for Soap 1.1, Soap 1.2 and HTTP bindings * Support for WS-Addressing headers * Support for WSSE (UserNameToken / x.509 signing) * Support for tornado async transport via gen.coroutine (Python 2.7+) * Support for... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(appdirs) >= 1.4.0 Requires: python3dist(attrs) >= 17.2.0 Requires: python3dist(cached-property) >= 1.3.0 Requires: python3dist(defusedxml) >= 0.4.1 Requires: python3dist(isodate) >= 0.5.4 Requires: python3dist(lxml) >= 3.1.0 Requires: python3dist(requests) >= 2.7.0 Requires: python3dist(requests-toolbelt) >= 0.7.1 Requires: python3dist(six) >= 1.9.0 Requires: python3dist(pytz) %description -n python3-%{pypi_name} Zeep: Python SOAP client A fast and modern Python SOAP clientHighlights: * Compatible with Python 2.7, 3.3, 3.4, 3.5, 3.6, 3.7 and PyPy * Build on top of lxml and requests * Support for Soap 1.1, Soap 1.2 and HTTP bindings * Support for WS-Addressing headers * Support for WSSE (UserNameToken / x.509 signing) * Support for tornado async transport via gen.coroutine (Python 2.7+) * Support for... %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" \ LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" \ %{__python3} setup.py %{?py_setup_args} build --executable="%{__python3} -s" %install CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" \ LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" \ %{__python3} setup.py %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %check %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Fri Jan 11 2019 Ernestas Kulik - 3.2.0-1 - Initial package.