forked from pool/python-zeep
Accepting request 981397 from home:bnavigator:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/981397 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeep?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 8 21:55:35 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Re-enable python310: xmlsec is optional
|
||||
- Disable python2 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 21 09:32:46 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -16,10 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python36 1
|
||||
# python-xmlsec doesn’t support 3.10 gh#mehcode/python-xmlsec#204
|
||||
%define skip_python310 1
|
||||
%define skip_python2 1
|
||||
Name: python-zeep
|
||||
Version: 4.1.0
|
||||
Release: 0
|
||||
@@ -43,7 +40,7 @@ Requires: python-pytz
|
||||
Requires: python-requests >= 2.7.0
|
||||
Requires: python-requests-file >= 1.5.1
|
||||
Requires: python-requests-toolbelt >= 0.7.1
|
||||
Requires: python-xmlsec >= 0.6.1
|
||||
Recommends: python-xmlsec >= 0.6.1
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module platformdirs >= 1.4.0}
|
||||
@@ -63,7 +60,8 @@ BuildRequires: %{python_module requests >= 2.7.0}
|
||||
BuildRequires: %{python_module requests-file >= 1.5.1}
|
||||
BuildRequires: %{python_module requests-mock >= 0.7.0}
|
||||
BuildRequires: %{python_module requests-toolbelt >= 0.7.1}
|
||||
BuildRequires: %{python_module xmlsec >= 0.6.1}
|
||||
# gh#mehcode/python-xmlsec#204
|
||||
BuildRequires: %{python_module xmlsec >= 0.6.1 if %python-base < 3.10}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@@ -83,8 +81,6 @@ Python SOAP client based on python-lxml and python-requests
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
# no working freezegun for python2
|
||||
python2_ignore="--ignore tests/test_cache.py"
|
||||
# broken tests
|
||||
ignorefiles="--ignore tests/test_wsse_signature.py \
|
||||
--ignore tests/test_wsse_username.py \
|
||||
|
||||
Reference in New Issue
Block a user