From 75c4160a54cbbe0c4f084694b607fb47b0694e2ea9445fe2495fb7907ab69034 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 20 Jan 2021 04:15:10 +0000 Subject: [PATCH] Accepting request 864439 from home:bnavigator:branches:devel:languages:python - Fix requirement specifications. OBS-URL: https://build.opensuse.org/request/show/864439 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeep?expand=0&rev=4 --- python-zeep.changes | 5 +++++ python-zeep.spec | 17 +++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/python-zeep.changes b/python-zeep.changes index 4b0d336..49319f0 100644 --- a/python-zeep.changes +++ b/python-zeep.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 19 19:57:51 UTC 2021 - Benjamin Greiner + +- Fix requirement specifications. + ------------------------------------------------------------------- Fri Nov 8 07:33:19 UTC 2019 - Tomáš Chvátal diff --git a/python-zeep.spec b/python-zeep.spec index 07b4981..d28521e 100644 --- a/python-zeep.spec +++ b/python-zeep.spec @@ -42,6 +42,9 @@ Requires: python-requests-toolbelt >= 0.7.1 Requires: python-six >= 1.9.0 Requires: python-tornado >= 4.0.2 Requires: python-xmlsec >= 0.6.1 +%if 0%{?python_version_nodots} >= 34 +Requires: python-aiohttp >= 1.0 +%endif BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module appdirs >= 1.4.0} @@ -55,7 +58,6 @@ BuildRequires: %{python_module mock >= 2.0.0} BuildRequires: %{python_module pretend >= 1.0.8} BuildRequires: %{python_module pytest >= 3.1.3} BuildRequires: %{python_module pytest-tornado >= 0.4.5} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests >= 2.7.0} BuildRequires: %{python_module requests-mock >= 0.7.0} @@ -63,12 +65,11 @@ BuildRequires: %{python_module requests-toolbelt >= 0.7.1} BuildRequires: %{python_module six >= 1.9.0} BuildRequires: %{python_module tornado >= 4.0.2} BuildRequires: %{python_module xmlsec >= 0.6.1} -BuildRequires: python3-aiohttp >= 1.0 -BuildRequires: python3-aioresponses >= 0.4.1 +BuildRequires: (python36-aiohttp >= 1.0 if python36-base) +BuildRequires: (python36-aioresponses >= 0.4.1 if python36-base) +BuildRequires: (python38-aiohttp >= 1.0 or (python3-aiohttp >= 0.4.1 and python3-base >= 3.4)) +BuildRequires: (python38-aioresponses >= 0.4.1 or (python3-aioresponses >= 0.4.1 and python3-base >= 3.4)) # /SECTION -%ifpython3 -Requires: python-aiohttp >= 1.0 -%endif %python_subpackages %description @@ -91,12 +92,12 @@ rm tests/test_wsse_utils.py %check export LANG=en_US.UTF-8 -export PYTHONDONTWRITEBYTECODE=1 %pytest tests/ %files %{python_files} %doc CHANGES README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/zeep +%{python_sitelib}/zeep-%{version}*.info %changelog