1- diff -x build -x '*.pyc' -x '*.swp' -Naur numpy-1.7.1.orig/numpy/core/src/multiarray/numpyos.c numpy-1.7.1/numpy/core/src/multiarray/numpyos.c
2- --- numpy-1.7.1.orig/numpy/core/src/multiarray/numpyos.c 2013-04-07 07:04:05.000000000 +0200
3- +++ numpy-1.7.1/numpy/core/src/multiarray/numpyos.c 2013-05-03 10:57:35.812501674 +0200
4- @@ -170,8 +170,7 @@
1+ diff --git a/numpy/core/src/multiarray/numpyos.c b/numpy/core/src/multiarray/numpyos.c
2+ index 44b32f4..378e199 100644
3+ --- a/numpy/core/src/multiarray/numpyos.c
4+ +++ b/numpy/core/src/multiarray/numpyos.c
5+ @@ -165,8 +165,7 @@ ensure_decimal_point(char* buffer, size_t buf_size)
56 static void
6- _change_decimal_from_locale_to_dot (char* buffer)
7+ change_decimal_from_locale_to_dot (char* buffer)
78 {
89- struct lconv *locale_data = localeconv();
910- const char *decimal_point = locale_data->decimal_point;
1011+ const char *decimal_point = ".";
1112
1213 if (decimal_point[0] != '.' || decimal_point[1] != 0) {
1314 size_t decimal_point_len = strlen(decimal_point);
14- @@ -455 ,8 +454 ,7 @@
15+ @@ -448 ,8 +447 ,7 @@ NumPyOS_ascii_strtod_plain(const char *s, char** endptr)
1516 NPY_NO_EXPORT double
1617 NumPyOS_ascii_strtod(const char *s, char** endptr)
1718 {
@@ -21,40 +22,41 @@ diff -x build -x '*.pyc' -x '*.swp' -Naur numpy-1.7.1.orig/numpy/core/src/multia
2122 size_t decimal_point_len = strlen(decimal_point);
2223
2324 char buffer[FLOAT_FORMATBUFLEN+1];
24- diff -x build -x '*.pyc' -x '*.swp' -Naur numpy-1.7.1.orig /numpy/core/src/private/npy_config.h numpy-1.7.1 /numpy/core/src/private/npy_config.h
25- --- numpy-1.7.1.orig/numpy/core/src/private/npy_config.h 2013-04-07 07:04:05.000000000 +0200
26- +++ numpy-1.7.1 /numpy/core/src/private/npy_config.h 2013-05-03 10:57:35.812501674 +0200
27- @@ -41,4 +41,12 @@
28- #define SIZEOF_PY_INTPTR_T 4
29- #endif
25+ diff --git a /numpy/core/src/private/npy_config.h b /numpy/core/src/private/npy_config.h
26+ index f768c90..4e5d168 100644
27+ --- a /numpy/core/src/private/npy_config.h
28+ +++ b/numpy/core/src/private/npy_config.h
29+ @@ -41,4 +41,10 @@
30+ #undef HAVE_ATAN2
3031 #endif
31- +
32- + /* Android only
33- + */
32+
33+ + /* Android only */
3434+ #ifdef ANDROID
3535+ #undef HAVE_LDEXPL
3636+ #undef HAVE_FREXPL
3737+ #endif
3838+
3939 #endif
40- diff -x build -x '*.pyc' -x '*.swp' -Naur numpy-1.7.1.orig/numpy/testing/__init__.py numpy-1.7.1/numpy/testing/__init__.py
41- --- numpy-1.7.1.orig/numpy/testing/__init__.py 2013-04-07 07:04:05.000000000 +0200
42- +++ numpy-1.7.1/numpy/testing/__init__.py 2013-05-03 11:09:29.316488099 +0200
43- @@ -1,15 +1,7 @@
40+ diff --git a/numpy/testing/__init__.py b/numpy/testing/__init__.py
41+ index 258cbe9..ce4e0eb 100644
42+ --- a/numpy/testing/__init__.py
43+ +++ b/numpy/testing/__init__.py
44+ @@ -1,16 +1,7 @@
4445- """Common test support for all numpy test scripts.
4546-
4647- This single module should provide all the common functionality for numpy tests
4748- in a single location, so that test scripts can just import it and work right
4849- away.
50+ -
4951- """
52+ - from __future__ import division, absolute_import, print_function
5053-
5154- from unittest import TestCase
5255-
53- - import decorators as dec
54- - from utils import *
55- - from numpytest import *
56- - from nosetester import NoseTester as Tester
57- - from nosetester import run_module_suite
56+ - from . import decorators as dec
57+ - from .utils import *
58+ - from .nosetester import NoseTester as Tester
59+ - from .nosetester import run_module_suite
5860+ # fake tester, android don't have unittest
5961+ class Tester(object):
6062+ def test(self, *args, **kwargs):
0 commit comments