Hello community,

here is the log from the commit of package python-idna_ssl for openSUSE:Factory 
checked in at 2019-11-18 20:09:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-idna_ssl (Old)
 and      /work/SRC/openSUSE:Factory/.python-idna_ssl.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-idna_ssl"

Mon Nov 18 20:09:07 2019 rev:5 rq:749177 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-idna_ssl/python-idna_ssl.changes  
2019-03-13 09:14:51.867388998 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-idna_ssl.new.26869/python-idna_ssl.changes   
    2019-11-18 20:09:25.853621373 +0100
@@ -1,0 +2,7 @@
+Sun Nov 17 14:03:27 UTC 2019 - Hans-Peter Jansen <[email protected]>
+
+- Create multibuild in order to cope with the circular dependency
+  of this package with aiohttp
+- Disable failing test
+
+-------------------------------------------------------------------

New:
----
  _multibuild

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-idna_ssl.spec ++++++
--- /var/tmp/diff_new_pack.q11krI/_old  2019-11-18 20:09:26.913620833 +0100
+++ /var/tmp/diff_new_pack.q11krI/_new  2019-11-18 20:09:26.937620820 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-idna_ssl
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,17 @@
 #
 
 
-%define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-idna_ssl
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -%{flavor}
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+%define skip_python2 1
+Name:           python-idna_ssl%{psuffix}
 Version:        1.1.0
 Release:        0
 Summary:        Library that patches sslmatch_hostname for Unicode/IDNA domain 
support
@@ -26,14 +34,18 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/aio-libs/idna_ssl
 Source:         https://github.com/aio-libs/idna-ssl/archive/v%{version}.tar.gz
-BuildRequires:  %{python_module aiohttp}
 BuildRequires:  %{python_module idna >= 2.0}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-idna >= 2.0
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  %{python_module aiohttp}
+BuildRequires:  %{python_module idna_ssl = %{version}}
+BuildRequires:  %{python_module pytest-asyncio}
+BuildRequires:  %{python_module pytest}
+%endif
 %python_subpackages
 
 %description
@@ -50,15 +62,21 @@
 %python_build
 
 %install
+%if ! %{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %check
-%pytest
+%if %{with test}
+%pytest -k "not test_aiohttp_py370"
+%endif
 
+%if ! %{with test}
 %files %{python_files}
 %license LICENSE
 %doc README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to