Hello community,

here is the log from the commit of package python-idna_ssl for 
openSUSE:Leap:15.2 checked in at 2020-03-27 16:43:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-idna_ssl (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-idna_ssl.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-idna_ssl"

Fri Mar 27 16:43:36 2020 rev:11 rq:785884 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-idna_ssl/python-idna_ssl.changes        
2020-01-15 15:49:19.419456224 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-idna_ssl.new.3160/python-idna_ssl.changes  
    2020-03-27 16:43:52.867783756 +0100
@@ -1,0 +2,30 @@
+Tue Mar 17 10:39:29 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Skip also test test_aiohttp that fails on Leap due to http error
+  (it tries to resolve stuff that fails)
+
+-------------------------------------------------------------------
+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
+
+-------------------------------------------------------------------
+Tue Mar 12 16:29:47 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.1.0:
+  * No upstream changelog
+- Execute tests
+
+-------------------------------------------------------------------
+Wed Jan  9 22:27:47 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Use noun phrase in descriptions.
+
+-------------------------------------------------------------------
+Tue Dec  4 12:49:13 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------

Old:
----
  idna_ssl-1.0.0.tar.gz

New:
----
  _multibuild
  v1.1.0.tar.gz

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

Other differences:
------------------
++++++ python-idna_ssl.spec ++++++
--- /var/tmp/diff_new_pack.9uv1YZ/_old  2020-03-27 16:43:53.523784141 +0100
+++ /var/tmp/diff_new_pack.9uv1YZ/_new  2020-03-27 16:43:53.527784144 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package python-idna_ssl
+# spec file for package python
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,45 +12,70 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
-%define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-idna_ssl
-Version:        1.0.0
+%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
 License:        MIT
-Summary:        Patch sslmatch_hostname for Unicode(idna) domains support
-Url:            https://github.com/aio-libs/idna_ssl
-Group:          Development/Languages/Python
-Source:         
https://files.pythonhosted.org/packages/source/i/idna_ssl/idna_ssl-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
+URL:            https://github.com/aio-libs/idna_ssl
+Source:         https://github.com/aio-libs/idna-ssl/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module idna >= 2.0}
 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
-Patch ssl.match_hostname for Unicode(idna) domains support
-The ssl.match_hostname issue is fixed (by January 27 2018) in upcoming
-Python 3.7, but IDNA2008 (rfc5895) is still broken.
+This patches ssl.match_hostname for Unicode/IDNA domain support.
+The ssl.match_hostname issue is fixed (as of January 27 2018) in upcoming
+Python 3.7, but IDNA2008 (RFC 5895) is still broken.
 
 %prep
-%setup -q -n idna_ssl-%{version}
+%setup -q -n idna-ssl-%{version}
+# no need for coverage/etc
+sed -i -e '/addopts/d' setup.cfg
 
 %build
 %python_build
 
 %install
+%if ! %{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+
+%check
+%if %{with test}
+%pytest -k "not test_aiohttp_py370 and not test_aiohttp"
+%endif
 
+%if ! %{with test}
 %files %{python_files}
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

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

Reply via email to