Package: python-pygame
Version: 1.9.1release+dfsg-7
Severity: serious
Tags: patch
Control: block 685812 by -1

Dear Maintainer,

python-pygame uses the PyArray_CHAR enum which has been affected by an ABI
breakage in python-numpy (see #685812). Note that the version of python-pygame
currently in testing and unstable (1.9.1release+dfsg-7) was built against
python-numpy >= 1:1.6.1 and therefore does not need to be rebuilt.

However, python-pygame does not declare a versioned dependency on python-numpy.
This can break partial upgrades from Squeeze to Wheezy. I am therefore
attaching a patch that fixes the issue.

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 -Nru pygame-1.9.1release+dfsg/debian/changelog pygame-1.9.1release+dfsg/debian/changelog
--- pygame-1.9.1release+dfsg/debian/changelog	2012-09-11 00:10:20.000000000 +0200
+++ pygame-1.9.1release+dfsg/debian/changelog	2013-01-14 20:49:07.000000000 +0100
@@ -1,3 +1,12 @@
+pygame (1.9.1release+dfsg-7.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Following the ABI change in python-numpy >= 1:1.6.1 (see #685812), 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>  Mon, 14 Jan 2013 20:48:08 +0100
+
 pygame (1.9.1release+dfsg-7) unstable; urgency=low
 
   * Add missing licenses and copyright holders in debian/copyright.
diff -Nru pygame-1.9.1release+dfsg/debian/control pygame-1.9.1release+dfsg/debian/control
--- pygame-1.9.1release+dfsg/debian/control	2012-04-20 05:21:47.000000000 +0200
+++ pygame-1.9.1release+dfsg/debian/control	2013-01-14 20:47:55.000000000 +0100
@@ -27,7 +27,8 @@
 Package: python-pygame
 Architecture: any
 Depends:
- python-numpy,
+ python-numpy (>= 1:1.6.1),
+ python-numpy-abi9,
  ttf-freefont,
  ${misc:Depends},
  ${python:Depends},

Attachment: signature.asc
Description: Digital signature

Reply via email to