Public bug reported:

Dear Maintainer,

We are using python-qwt5-qt4 on Debian and Ubuntu and run into troubles
in combination with numpy 1.9+.

numarray and numeric subsystems for numpy have been depricated:
 * http://www.numpy.org/old_array_packages.html
 * http://docs.scipy.org/doc/numpy/reference/routines.numarray.html

pyqwt5 doesn't handle this well, and will generate errors when used.
Luckily this can be easily solved by adding --disable-numeric and 
--disable-numarray
to the configure step:


--- debian/rules.orig    2016-04-11 15:44:33.000000000 +0200
+++ debian/rules    2016-04-11 15:44:24.000000000 +0200
@@ -31,7 +31,7 @@
             mkdir -p build/py$$pyvers-qt$$qtvers;\
             cp -Rl `ls . |grep -v build|grep -v debian` 
build/py$$pyvers-qt$$qtvers;\
             (set -e; cd build/py$$pyvers-qt$$qtvers/configure;\
-            python$$pyvers configure.py -$$qtvers -I 
/usr/include/qwt-qt$$qtvers/ --extra-libs=qwt-qt$$qtvers );\
+            python$$pyvers configure.py -$$qtvers -I 
/usr/include/qwt-qt$$qtvers/ --extra-libs=qwt-qt$$qtvers --disable-numarray 
--disable-numeric );\
         done;\
     done
     touch configure-stamp


greetings,

 - Gijs

** Affects: pyqwt5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1568872

Title:
  problems with numpy 1.9+, should compile with --disable-numarray and
  --disable-numeric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyqwt5/+bug/1568872/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to