Hello community,

here is the log from the commit of package python-zipp for openSUSE:Factory 
checked in at 2019-06-13 22:38:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zipp (Old)
 and      /work/SRC/openSUSE:Factory/.python-zipp.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zipp"

Thu Jun 13 22:38:01 2019 rev:5 rq:708170 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zipp/python-zipp.changes  2019-05-20 
10:27:00.501943872 +0200
+++ /work/SRC/openSUSE:Factory/.python-zipp.new.4811/python-zipp.changes        
2019-06-13 22:38:02.320289841 +0200
@@ -1,0 +2,5 @@
+Thu Jun  6 15:51:59 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Switch to mulitbuild to avoid build cycle
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-zipp.spec ++++++
--- /var/tmp/diff_new_pack.dNs1tA/_old  2019-06-13 22:38:02.864289664 +0200
+++ /var/tmp/diff_new_pack.dNs1tA/_new  2019-06-13 22:38:02.868289663 +0200
@@ -12,20 +12,27 @@
 # 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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-zipp
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:           python-zipp%{psuffix}
 Version:        0.5.1
 Release:        0
 Summary:        Pathlib-compatible object wrapper for zip files
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/jaraco/zipp
+URL:            https://github.com/jaraco/zipp
 Source:         
https://files.pythonhosted.org/packages/source/z/zipp/zipp-%{version}.tar.gz
-BuildRequires:  %{python_module pytest >= 3.5}
 BuildRequires:  %{python_module setuptools_scm >= 1.15.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -33,7 +40,9 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  python-unittest2
 BuildArch:      noarch
-
+%if %{with test}
+BuildRequires:  %{python_module pytest >= 3.5}
+%endif
 %python_subpackages
 
 %description
@@ -48,15 +57,21 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix}
+%pytest
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/*
+%endif
 
 %changelog

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

Reply via email to