Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2019-03-01 20:28:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-numpy" Fri Mar 1 20:28:20 2019 rev:74 rq:679050 version:1.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2019-02-08 13:48:31.830776805 +0100 +++ /work/SRC/openSUSE:Factory/.python-numpy.new.28833/python-numpy.changes 2019-03-01 20:28:21.698026675 +0100 @@ -1,0 +2,17 @@ +Wed Feb 20 10:43:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Do not bother with standard flavor, just make it default +- Execute the tests only on standard package for now not hpc variants + +------------------------------------------------------------------- +Wed Feb 20 09:28:00 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Add constraints for testsuite to not run out of mem/disk space +- Use %license macro + +------------------------------------------------------------------- +Tue Feb 19 12:52:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Enable testsuite + +------------------------------------------------------------------- New: ---- _constraints ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.FfHS1f/_old 2019-03-01 20:28:22.326026523 +0100 +++ /var/tmp/diff_new_pack.FfHS1f/_new 2019-03-01 20:28:22.326026523 +0100 @@ -27,10 +27,6 @@ %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%flavor" == "" -ExclusiveArch: do_not_build -%endif - -%if "%flavor" == "standard" %bcond_with hpc %if 0%{?sle_version} == 120300 && !0%{?is_opensuse} %bcond_with openblas @@ -119,6 +115,7 @@ %endif BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRequires: unzip @@ -200,7 +197,7 @@ %if %{without hpc} -%python_expand rm -rf %{buildroot}%{$python_sitearch}/numpy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite +#%%python_expand rm -rf %{buildroot}%{$python_sitearch}/numpy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite %else @@ -245,6 +242,14 @@ } %endif +%check +%if %{without hpc} +pushd doc &> /dev/null +export PYTHONDONTWRITEBYTECODE=1 +%python_expand PYTHONPATH="%{buildroot}%{$python_sitearch}" PATH="%{buildroot}%{_bindir}:$PATH" $python -m pytest -v --pyargs numpy +popd &> /dev/null +%endif + %files %{python_files} %defattr(-,root,root) %doc *.txt @@ -270,7 +275,7 @@ %files %{python_files devel} %defattr(-,root,root) -%doc LICENSE.txt +%license LICENSE.txt %{p_python_sitearch}/numpy/*/*/*.c %{p_python_sitearch}/numpy/*/*.h %{p_python_sitearch}/numpy/*/*/*.h ++++++ _constraints ++++++ <constraints> <hardware> <physicalmemory> <size unit="G">5</size> </physicalmemory> <disk> <size unit="G">5</size> </disk> </hardware> </constraints> ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.FfHS1f/_old 2019-03-01 20:28:22.362026515 +0100 +++ /var/tmp/diff_new_pack.FfHS1f/_new 2019-03-01 20:28:22.362026515 +0100 @@ -1,4 +1,3 @@ <multibuild> - <package>standard</package> <package>gnu-hpc</package> </multibuild>