Accepting request 761646 from home:TheBlackCat:branches:devel:languages:python:numeric

- update to version 1.18.1
  * The cython random extension test was not using a temporary
    directory for building, resulting in a permission violation.
  * Numpy distutils was appending -std=c99 to all C compiler runs,
    leading to changed behavior and compile problems downstream.
    That flag is now only applied when building numpy C code.

OBS-URL: https://build.opensuse.org/request/show/761646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=48
This commit is contained in:
Tomáš Chvátal 2020-01-07 15:36:27 +00:00 committed by Git OBS Bridge
parent a95f1ac5e7
commit 136be57a2c
4 changed files with 15 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9d72d9abaf65628f0f31bbb573b7d9304e43b1e6bbae43149c17737a42764c4
size 5422309

3
numpy-1.18.1.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6ff59cee96b454516e47e7721098e6ceebef435e3e21ac2d6c3b8b02628eb77
size 5430477

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jan 7 15:10:48 UTC 2020 - Todd R <toddrme2178@gmail.com>
- update to version 1.18.1
* The cython random extension test was not using a temporary
directory for building, resulting in a permission violation.
* Numpy distutils was appending -std=c99 to all C compiler runs,
leading to changed behavior and compile problems downstream.
That flag is now only applied when building numpy C code.
-------------------------------------------------------------------
Mon Jan 6 15:34:51 UTC 2020 - Todd R <toddrme2178@gmail.com>

View File

@ -17,7 +17,7 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define _ver 1_18_0
%define _ver 1_18_1
%define pname python-numpy
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
%if "%{flavor}" == ""
@ -70,7 +70,7 @@ ExclusiveArch: do_not_build
%endif
%endif
Name: %{package_name}
Version: 1.18.0
Version: 1.18.1
Release: 0
Summary: NumPy array processing for numbers, strings, records and objects
License: BSD-3-Clause
@ -252,9 +252,6 @@ pushd testing
%pytest_arch -n auto --pyargs numpy
%endif
popd
# These are created during testing
rm -rf %{buildroot}%{python_sitearch}/numpy/random/_examples/cython/*.c
%endif
%files %{python_files}