Package: python-visual
Version: 1:5.12-1.4
Severity: serious
Tags: patch
Control: block 685812 by -1

Dear Maintainer,

python-visual uses the NPY_CHAR and PyArray_CHAR enums which are affected by an
ABI breakage in python-numpy (see #685812). It must therefore be rebuilt.

Unfortunately a binNMU is not enough because this wouldn't produce the right
versioned dependency on python-numpy (and we want to support partial upgrades).
I am therefore attaching a patch for a sourceful upload.

For Jessie you might want to automatically generate the right versioned
dependencies on python-numpy, as explained in
/usr/share/doc/python-numpy/README.DebianMaints. This would avoid the need for
sourceful uploads in such situations.

Cheers,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594
diff -u python-visual-5.12/debian/control.in python-visual-5.12/debian/control.in
--- python-visual-5.12/debian/control.in
+++ python-visual-5.12/debian/control.in
@@ -11,7 +11,8 @@
 
 Package: python-visual
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${cdbs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${cdbs:Depends},
+         python-numpy (>= 1:1.6.1), python-numpy-abi9
 Suggests: ${cdbs:Suggests}
 XB-Python-Version: ${python:Versions}
 Description: VPython 3D scientific visualization library
diff -u python-visual-5.12/debian/control python-visual-5.12/debian/control
--- python-visual-5.12/debian/control
+++ python-visual-5.12/debian/control
@@ -11,7 +11,8 @@
 
 Package: python-visual
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${cdbs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${cdbs:Depends},
+         python-numpy (>= 1:1.6.1), python-numpy-abi9
 Suggests: ${cdbs:Suggests}
 XB-Python-Version: ${python:Versions}
 Description: VPython 3D scientific visualization library
diff -u python-visual-5.12/debian/changelog python-visual-5.12/debian/changelog
--- python-visual-5.12/debian/changelog
+++ python-visual-5.12/debian/changelog
@@ -1,3 +1,13 @@
+python-visual (1:5.12-1.5) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Rebuild against python-numpy >= 1:1.6.1 because of ABI change (see
+    #685812), and add Depends on python-numpy (>= 1:1.6.1) and
+    python-numpy-abi9 in order to support partial upgrades.
+    (Closes: #XXXXXX)
+
+ -- Sébastien Villemot <sebast...@debian.org>  Sun, 13 Jan 2013 11:29:27 +0100
+
 python-visual (1:5.12-1.4) unstable; urgency=low
 
   * Non-maintainer upload.

Attachment: signature.asc
Description: Digital signature

Reply via email to