Source: python-numpy
Version: 1.8.1-1
Severity: normal
Tags: patch upstream

Hi,

The patch provided allows to get this package compiled in OpenRISC/or1k
architecture that Christian and I are creating in Debian.

It would be helpful if you could add the patch soonish, so we do not
have to carry local patches and they build cleanly from the Debian
archives.

After installing python-numpy and python-nose, most of the unit tests
seem to pass, and the ones that do not pass might be due to underlying
problems in blas or others.

-----------------------------------------------------------------------
>>> import numpy
>>> numpy.test('full')
Running unit tests for numpy
NumPy version 1.8.1
NumPy is installed in /usr/lib/python2.7/dist-packages/numpy
Python version 2.7.6 (default, Mar 23 2014, 21:28:58) [GCC 4.8.2]
nose version 1.3.1

[> 95% are dots, a few "S" and "F", stopping them after about 10
 minutes]

Ran 2346 tests in 764.363s

FAILED (KNOWNFAIL=1, SKIP=6, failures=4)
<nose.result.TextTestResult run=2346 errors=0 failures=4>

----------------------------------------------------------------------


This can be used to get more details on what is running and the results:

>>> numpy.test('full', verbose=2)


Cheers.
--
Manuel
diff -Nru python-numpy-1.8.1/debian/changelog python-numpy-1.8.1/debian/changelog
--- python-numpy-1.8.1/debian/changelog	2014-03-27 19:25:19.000000000 +0000
+++ python-numpy-1.8.1/debian/changelog	2014-04-19 10:26:17.000000000 +0100
@@ -1,3 +1,10 @@
+python-numpy (1:1.8.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * or1k port
+
+ -- Manuel A. Fernandez Montecelo <m...@debian.org>  Sat, 19 Apr 2014 10:25:58 +0100
+
 python-numpy (1:1.8.1-1) unstable; urgency=medium
 
   * New upstream bugfix release
diff -Nru python-numpy-1.8.1/debian/patches/or1k-port.patch python-numpy-1.8.1/debian/patches/or1k-port.patch
--- python-numpy-1.8.1/debian/patches/or1k-port.patch	1970-01-01 01:00:00.000000000 +0100
+++ python-numpy-1.8.1/debian/patches/or1k-port.patch	2014-04-19 10:31:14.000000000 +0100
@@ -0,0 +1,21 @@
+--- a/numpy/core/include/numpy/npy_cpu.h
++++ b/numpy/core/include/numpy/npy_cpu.h
+@@ -66,6 +66,8 @@
+     #define NPY_CPU_MIPSEL
+ #elif defined(__MIPSEB__)
+     #define NPY_CPU_MIPSEB
++#elif defined(__or1k__)
++    #define NPY_CPU_OR1K
+ #elif defined(__aarch64__)
+     #define NPY_CPU_AARCH64
+ #elif defined(__mc68000__)
+--- a/numpy/core/include/numpy/npy_endian.h
++++ b/numpy/core/include/numpy/npy_endian.h
+@@ -37,6 +37,7 @@
+             || defined(NPY_CPU_ARMEB)   \
+             || defined(NPY_CPU_SH_BE)   \
+             || defined(NPY_CPU_MIPSEB)  \
++            || defined(NPY_CPU_OR1K)    \
+             || defined(NPY_CPU_M68K)
+         #define NPY_BYTE_ORDER NPY_BIG_ENDIAN
+     #else
diff -Nru python-numpy-1.8.1/debian/patches/series python-numpy-1.8.1/debian/patches/series
--- python-numpy-1.8.1/debian/patches/series	2014-03-27 19:25:19.000000000 +0000
+++ python-numpy-1.8.1/debian/patches/series	2014-04-19 10:27:01.000000000 +0100
@@ -4,3 +4,4 @@
 #05_fix_endianness_detection.patch
 10_use_local_python.org_object.inv_sphinx.diff
 python3-soabi.patch
+or1k-port.patch

Reply via email to