Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-contourpy for openSUSE:Factory checked in at 2022-12-29 13:09:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-contourpy (Old) and /work/SRC/openSUSE:Factory/.python-contourpy.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-contourpy" Thu Dec 29 13:09:09 2022 rev:2 rq:1045619 version:1.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-contourpy/python-contourpy.changes 2022-11-01 13:43:13.648106505 +0100 +++ /work/SRC/openSUSE:Factory/.python-contourpy.new.1563/python-contourpy.changes 2022-12-29 13:09:13.204972689 +0100 @@ -1,0 +2,11 @@ +Tue Dec 27 23:10:39 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- explicitly require ourselves in :test flavor + +------------------------------------------------------------------- +Sun Dec 25 12:36:52 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- contourpy is a now a runtime requirement of matplotlib: avoid + buildcycle by _multibuild + +------------------------------------------------------------------- New: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-contourpy.spec ++++++ --- /var/tmp/diff_new_pack.R15eyg/_old 2022-12-29 13:09:13.740975855 +0100 +++ /var/tmp/diff_new_pack.R15eyg/_new 2022-12-29 13:09:13.744975879 +0100 @@ -1,5 +1,5 @@ # -# spec file for package python-contourpy +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -16,7 +16,16 @@ # -Name: python-contourpy +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif + +Name: python-contourpy%{psuffix} Version: 1.0.6 Release: 0 Summary: Python library for calculating contours of 2D quadrilateral grids @@ -33,12 +42,13 @@ BuildRequires: python-rpm-macros Requires: python-numpy >= 1.16 Suggests: python-bokeh -# SECTION test requirements +%if %{with test} BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module contourpy = %{version}} BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module numpy >= 1.16} BuildRequires: %{python_module pytest} -# /SECTION +%endif %python_subpackages %description @@ -54,20 +64,28 @@ %setup -q -n contourpy-%{version} %build +%if !%{with test} export CFLAGS="%{optflags}" %pyproject_wheel +%endif %install +%if !%{with test} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%endif +%if %{with test} %check %pytest_arch +%endif +%if !%{with test} %files %{python_files} %doc README.md %license LICENSE %{python_sitearch}/contourpy %{python_sitearch}/contourpy-%{version}*-info +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>