Accepting request 822780 from home:apersaud:branches:devel:languages:python:numeric

update to latest version

OBS-URL: https://build.opensuse.org/request/show/822780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=70
This commit is contained in:
Tomáš Chvátal
2020-07-25 17:27:28 +00:00
committed by Git OBS Bridge
parent 041e7f8298
commit 05975254aa
8 changed files with 49 additions and 57 deletions

View File

@@ -70,7 +70,7 @@ ExclusiveArch: do_not_build
%endif
%endif
Name: %{package_name}
Version: 1.19.0
Version: 1.19.1
Release: 0
Summary: NumPy array processing for numbers, strings, records and objects
License: BSD-3-Clause
@@ -84,9 +84,7 @@ Patch1: numpy-1.9.0-remove-__declspec.patch
# # PATCH-FIX-SLE fix-py34-tests.patch -- python 3.4 support
Patch3: fix-py34-tests.patch
Patch4: s390x.patch
# PATCH-FIX-UPSTREAM fix-test_large_zip-in-i586.patch -- gh#numpy/numpy#16890
Patch5: 0001-Re-raise-MemoryError-exception-in-test_large_zips-process.patch
BuildRequires: %{python_module Cython >= 0.29.17}
BuildRequires: %{python_module Cython >= 0.29.21}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis >= 5.12.0}
BuildRequires: %{python_module pytest >= 5.4.2}
@@ -165,7 +163,6 @@ This package contains files for developing applications using numpy.
# TestF{77,90}ReturnCharacter are broken on all big-endian architectures (#11831)
%patch4 -p1
%endif
%patch5 -p1
# Fix non-executable scripts
sed -i '1s/^#!.*$//' numpy/{compat/setup,random/_examples/cython/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{__init__,auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,f2py2e,f90mod_rules,func2subr,rules,setup,use_rules},ma/{setup,bench},matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py
sed -i '1s/^#!.*$//' numpy/random/_examples/cython/*.pyx