tags 625135 + patch
thanks

Dear maintainer,

I've prepared an NMU for necpp (versioned as 1.5.0+cvs20101003-2.1). The diff
is attached to this message.

Regards.
diff -u necpp-1.5.0+cvs20101003/Python/PyNEC/setup.py necpp-1.5.0+cvs20101003/Python/PyNEC/setup.py
--- necpp-1.5.0+cvs20101003/Python/PyNEC/setup.py
+++ necpp-1.5.0+cvs20101003/Python/PyNEC/setup.py
@@ -88,7 +88,8 @@
 			api_path = os.path.join(sys.prefix, 'include','numarray')
 		else :
 #			api_path = os.path.join(sys.prefix, 'include', 'python'+python_version, 'numarray')
-			api_path = os.path.join(sys.prefix, 'share','pyshared','numpy','numarray','numpy')
+#			api_path = os.path.join(sys.prefix, 'share','pyshared','numpy','numarray','numpy')
+			api_path = os.path.join(sys.prefix, 'share','pyshared','numpy','numarray','include','numpy')
 		test_api_path(api_path)
 		return api_path
 	except:
diff -u necpp-1.5.0+cvs20101003/debian/control necpp-1.5.0+cvs20101003/debian/control
--- necpp-1.5.0+cvs20101003/debian/control
+++ necpp-1.5.0+cvs20101003/debian/control
@@ -32,7 +32,7 @@
 Package: python-necpp
 Section: python
 Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-numpy
 Provides: ${python:Provides}
 XB-Python-Version: ${python:Versions}
 Description: Python module for using NEC2++
diff -u necpp-1.5.0+cvs20101003/debian/changelog necpp-1.5.0+cvs20101003/debian/changelog
--- necpp-1.5.0+cvs20101003/debian/changelog
+++ necpp-1.5.0+cvs20101003/debian/changelog
@@ -1,3 +1,14 @@
+necpp (1.5.0+cvs20101003-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Python/PyNEC/setup.py
+    - fix a FTBFS with python2.7 updating location of libnumarray.h; patches
+      from ubuntu; Closes: #625135
+  * debian/control
+    - added python-numpy to Depends of python-necpp
+
+ -- Sandro Tosi <mo...@debian.org>  Sun, 05 Jun 2011 12:51:28 +0200
+
 necpp (1.5.0+cvs20101003-2) unstable; urgency=low
 
   [ Emmanuel QUEMENER ]

Reply via email to