%global srcname zeep %global desc Zeep inspects the WSDL document and generates the corresponding\ code to use the services and types in the document. This\ provides an easy to use programmatic interface to a SOAP server. Name: python-%{srcname} Version: 4.3.1 Release: 1%{?dist} Summary: A fast and modern Python SOAP client # Automatically converted from old format: MIT and BSD - review is highly recommended. License: LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD URL: https://github.com/mvantellingen/python-zeep Source0: %pypi_source BuildArch: noarch # Since python-aiohttp excludes s390x we have to exclude it, as well # (because python-aioresponses requires python aiohttp) # See also: # https://src.fedoraproject.org/rpms/python-aiohttp/blob/67855c61bee706fcd99305d1715aad02d898cbfc/f/python-aiohttp.spec#_22 # https://fedoraproject.org/wiki/EPEL/FAQ#RHEL_8.2B_has_binaries_in_the_release.2C_but_is_missing_some_corresponding_-devel_package._How_do_I_build_a_package_that_needs_that_missing_-devel_package.3F %if %{defined el8} ExcludeArch: s390x %endif # required for py3_build macro BuildRequires: python3-devel # NB: the python dependency auto-generator is enabled by default, # we opt-in the build-time dependency generator, cf. below %description %{desc} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{desc} %prep %autosetup -p1 -n %{srcname}-%{version} # disable linting dependencies and exact test dependencies sed -i -e '/isort\|flake\|coverage\[toml\]/d' -e 's/\([a-z]\)[>=]\{2\}[0-9.]\+/\1/' pyproject.toml %generate_buildrequires %pyproject_buildrequires -x xmlsec -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{srcname} %check # skip tests that involve SHA1 since Fedora nowadays disables it, systemwide PYTHONPATH=src %{__python3} -m pytest tests -v -k 'not (SHA1 or test_sign_pw or test_verify_error or (test_signature and not test_signature_binary))' %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md examples %changelog * Sun Oct 27 2024 Georg Sauthoff - 4.3.1-1 - bump to latest upstream release (fixes fedora#2318398) * Sun Sep 08 2024 Georg Sauthoff - 4.2.1-10 - Ship sha1 tests for Fedora 41 (fixes fedora#2301221) * Wed Sep 04 2024 Miroslav Suchý - 4.2.1-9 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 4.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jun 27 2024 Georg Sauthoff - 4.2.1-7 - Fix Python 3.13 compatibility (fixes fedora#2291986) * Thu Jun 20 2024 Python Maint - 4.2.1-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 4.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Python Maint - 4.2.1-2 - Rebuilt for Python 3.12 * Sun Mar 26 2023 Georg Sauthoff - 4.2.1-1 - bump version (fixes fedora#2144333) - migrate to build-time dependency generator as proposed in #2079681#c4 * Fri Jan 20 2023 Fedora Release Engineering - 4.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Nov 05 2022 Georg Sauthoff - 4.2.0-1 - bump version (fixes fedora#2139784) * Fri Jul 22 2022 Fedora Release Engineering - 4.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 4.1.0-4 - Rebuilt for Python 3.11 * Sat Feb 05 2022 Georg Sauthoff - 4.1.0-3 - Adapt tests for pytest_httpx API churn (fixes fedora#2046921) * Fri Jan 21 2022 Fedora Release Engineering - 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Sep 01 2021 Georg Sauthoff - 4.1.0-1 - bump version (fixes fedora#1993701) * Fri Jul 23 2021 Fedora Release Engineering - 4.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 4.0.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 4.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Nov 10 2020 Georg Sauthoff - 4.0.0-1 - bump version * Fri Sep 11 2020 Georg Sauthoff - 3.4.0-8 - add tornado dependency for tests - cleanup dependencies * Thu Sep 10 2020 Georg Sauthoff - 3.4.0-7 - EPEL8: exclude s390x because of aiohttp - activate more tests * Wed Jul 29 2020 Fedora Release Engineering - 3.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Georg Sauthoff - 3.4.0-5 - Be more explicit regarding setuptools depenency, cf. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GCPGM34ZGEOVUHSBGZTRYR5XKHTIJ3T7/ * Tue May 26 2020 Miro Hrončok - 3.4.0-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 3.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Dec 08 2019 Georg Sauthoff - 3.4.0-2 - fix date format * Sun Dec 08 2019 Georg Sauthoff - 3.4.0-1 - bump to latest upstream * Mon Aug 19 2019 Miro Hrončok - 3.3.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 3.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Mar 26 2019 Georg Sauthoff - 3.3.1-1 - initial packaging