Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2020-12-03 18:40:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpy" Thu Dec 3 18:40:42 2020 rev:95 rq:851900 version:1.19.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2020-10-25 18:10:11.971548543 +0100 +++ /work/SRC/openSUSE:Factory/.python-numpy.new.5913/python-numpy.changes 2020-12-03 18:41:52.242113490 +0100 @@ -1,0 +2,7 @@ +Sat Nov 28 16:08:40 UTC 2020 - Benjamin Greiner <c...@bnavigator.de> + +- Support multiple python3 flavors gh#openSUSE/python-rpm-macros#66 + * Fix pytest call expansion + * Fix f2py entry point + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.mqaXlV/_old 2020-12-03 18:41:53.474114266 +0100 +++ /var/tmp/diff_new_pack.mqaXlV/_new 2020-12-03 18:41:53.478114270 +0100 @@ -256,12 +256,17 @@ pushd testing # boo#1148173 gh#numpy/numpy#14438 %ifarch ppc64 ppc64le -%define skiptest -k "not test_generalized_sq" -%pytest_arch -n auto --pyargs numpy %{buildroot}%{python_sitearch}/numpy -k "test_generalized_sq" || true +test_failok="test_generalized_sq" %endif -%pytest_arch -n auto --pyargs numpy %{buildroot}%{python_sitearch}/numpy %{?skiptest} +%{python_expand # for all python3 flavors +export PYTHONPATH=%{buildroot}%{$python_sitearch} +export PYTHONDONTWRITEBYTECODE=1 +testcall="pytest-%{$python_bin_suffix} -n auto %{buildroot}%{$python_sitearch}/numpy" +[ -n "$test_failok" ] && ${testcall} -k "$test_failok" || true +${testcall} ${test_failok:+-k "not ($test_failok)"} +rm -Rf %{buildroot}%{$python_sitearch}/numpy/.pytest_cache +} popd -rm -Rf %{buildroot}%{python_sitearch}/numpy/.pytest_cache %endif %if %{without hpc} @@ -276,7 +281,10 @@ %doc README.md THANKS.txt %if %{without hpc} %python_alternative %{_bindir}/f2py -%python3_only %{_bindir}/f2py3* +%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" +%{_bindir}/f2py3 +%endif +%{_bindir}/f2py%{python_bin_suffix} %{python_sitearch}/numpy/ %{python_sitearch}/numpy-%{version}-py*.egg-info %license %{python_sitearch}/numpy/LICENSE.txt @@ -285,7 +293,11 @@ %exclude %{python_sitearch}/numpy/f2py/src/ %exclude %{python_sitearch}/numpy/core/lib/libnpymath.a %else -%python3_only %{p_bindir}/f2py* +%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" +%{p_bindir}/f2py +%{p_bindir}/f2py3 +%endif +%{p_bindir}/f2py%{python_bin_suffix} %{p_python_sitearch}/numpy/ %{p_python_sitearch}/numpy-%{version}-py*.egg-info %license %{p_python_sitearch}/numpy/LICENSE.txt _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org