forked from pool/python-numpy
Accepting request 719304 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to version 1.17.0 Highlights * A new extensible random module along with four selectable random number generators and improved seeding designed for use in parallel processes has been added. The currently available bit generators are MT19937, PCG64, Philox, and SFC64. * NumPy's FFT implementation was changed from fftpack to pocketfft, resulting in faster, more accurate transforms and better handling of datasets of prime length. * New radix sort and timsort sorting methods. It is currently not possible to choose which will be used, but they are hardwired to the datatype and used when either ``stable`` or ``mergesort`` is passed as the method. * Overriding numpy functions is now possible by default. - Python 2 support has been dropped - Rebase numpy-buildfix.patch OBS-URL: https://build.opensuse.org/request/show/719304 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=30
This commit is contained in:
committed by
Git OBS Bridge
parent
58be9ab6dc
commit
90605da46c
@@ -3,21 +3,21 @@
|
||||
@@ -49,7 +49,7 @@
|
||||
"""Return True if the C compiler is GCC 4.x."""
|
||||
cmd._check_compiler()
|
||||
body = """
|
||||
-int
|
||||
+void
|
||||
main()
|
||||
{
|
||||
#if (! defined __GNUC__) || (__GNUC__ < 4)
|
||||
body = textwrap.dedent("""
|
||||
- int
|
||||
+ void
|
||||
main()
|
||||
{
|
||||
#if (! defined __GNUC__) || (__GNUC__ < 4)
|
||||
|
||||
--- a/numpy/distutils/command/install.py
|
||||
+++ b/numpy/distutils/command/install.py
|
||||
@@ -69,7 +69,7 @@
|
||||
need_rewrite = False
|
||||
for l in f:
|
||||
l = l.rstrip()
|
||||
- if ' ' in l:
|
||||
+ if ' ' in l and '%dir ' not in l:
|
||||
need_rewrite = True
|
||||
l = '"%s"' % (l)
|
||||
lines.append(l)
|
||||
need_rewrite = False
|
||||
for l in f:
|
||||
l = l.rstrip()
|
||||
- if ' ' in l:
|
||||
+ if ' ' in l and '%dir ' not in l:
|
||||
need_rewrite = True
|
||||
l = '"%s"' % (l)
|
||||
lines.append(l)
|
||||
|
Reference in New Issue
Block a user