Hello community, here is the log from the commit of package python-slycot for openSUSE:Factory checked in at 2020-06-27 23:22:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-slycot (Old) and /work/SRC/openSUSE:Factory/.python-slycot.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-slycot" Sat Jun 27 23:22:36 2020 rev:10 rq:817306 version:0.4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-slycot/python-slycot.changes 2020-06-02 14:38:50.959561258 +0200 +++ /work/SRC/openSUSE:Factory/.python-slycot.new.3060/python-slycot.changes 2020-06-27 23:22:37.109829819 +0200 @@ -1,0 +2,8 @@ +Fri Jun 26 15:59:21 UTC 2020 - Benjamin Greiner <[email protected]> + +- break test loop before test matrices are too ill-conditioned for + the ppc architecture +- remove python2 support: there is no python2-scikit-build +- requires cmake >= 3.11 (no leap 15.1) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-slycot.spec ++++++ --- /var/tmp/diff_new_pack.Y5091D/_old 2020-06-27 23:22:39.681838274 +0200 +++ /var/tmp/diff_new_pack.Y5091D/_new 2020-06-27 23:22:39.685838288 +0200 @@ -27,7 +27,7 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%define skip_python2 1 %define eggversion 0.4.0 Name: python-slycot Version: 0.4.0.0 @@ -43,14 +43,11 @@ BuildRequires: %{python_module scikit-build} BuildRequires: %{python_module scipy} BuildRequires: %{python_module setuptools} -BuildRequires: cmake +BuildRequires: cmake >= 3.11 BuildRequires: fdupes BuildRequires: gcc BuildRequires: gcc-fortran BuildRequires: python-rpm-macros -%if %{with python2} -BuildRequires: python2-configparser -%endif %if %{with openblas} BuildRequires: openblas-devel %else @@ -65,6 +62,10 @@ %prep %setup -q -n slycot-%{version} +# break test loop before test matrices are too ill-conditioned for the architecture +%ifarch ppc64 ppc64le + sed -i 's/for t in range(0, 50, 10)/for t in range(0, 20, 10)/' slycot/tests/test_sg03ad.py +%endif %build export CFLAGS="%{optflags}"
