On Thursday, June 13, 2013 01:32:08 Scott Kitterman wrote:
> Package: pymongo
> Version: 2.5.2-1
> Severity: serious
> Justification: Policy 3.5
> 
> >>From the debc output for pymongo after a local rebuild:
> $ debc pymongo_2.5.2-1_i386.changes |grep 32mu
> -rw-r--r-- root/root     13776 2013-06-13 01:14
> ./usr/lib/python3/dist-packages/pymongo/_cmessage.cpython-32mu.so
> -rw-r--r-- root/root     38528 2013-06-13 01:14
> ./usr/lib/python3/dist-packages/bson/_cbson.cpython-32mu.so
> 
> These files (as well as the python3.3 files) are in python-pymongo-ext andi
> python-bson-ext.
> 
> These should be moved to new python3-pymongo-ext and python3-bson-ext
> binaries and have proper python3 dependencies.  They can also then depend
> properly on the python3-pymongo and python3-bson packages.

NMU diff attached.  I think over two months without maintainer response is 
enough.   Even though new binaries are somewhat invasive for an NMU, that is 
the correct fix for this issue.

Scott K
diff -Nru pymongo-2.5.2/debian/changelog pymongo-2.5.2/debian/changelog
--- pymongo-2.5.2/debian/changelog	2013-06-02 06:13:41.000000000 -0400
+++ pymongo-2.5.2/debian/changelog	2013-08-19 18:56:13.000000000 -0400
@@ -1,3 +1,11 @@
+pymongo (2.5.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Split out python3 extensions python-pymongo-ext and python3-bson-ext so 
+    that they can have proper dependencies (Closes: #712112)
+
+ -- Scott Kitterman <sc...@kitterman.com>  Mon, 19 Aug 2013 18:55:56 -0400
+
 pymongo (2.5.2-1) unstable; urgency=high
 
   * New upstream release. (Closes: #710597)
diff -Nru pymongo-2.5.2/debian/control pymongo-2.5.2/debian/control
--- pymongo-2.5.2/debian/control	2013-06-02 06:13:41.000000000 -0400
+++ pymongo-2.5.2/debian/control	2013-08-19 18:51:04.000000000 -0400
@@ -52,6 +52,17 @@
  Pymongo provides an interface to easily access MongoDB from Python.
  This package contains an extension written in C for higher performance.
 
+Package: python3-pymongo-ext
+Architecture: any-i386 any-ia64 any-amd64
+Depends: python3-bson (= ${binary:Version}), ${shlibs:Depends}
+ , ${python3:Depends}
+ , ${misc:Depends}
+ , python3-pymongo
+Recommends: python3-gridfs (>= ${source:Version})
+Description: C-coded extension to the python3-pymongo package
+ Pymongo provides an interface to easily access MongoDB from Python 3.
+ This package contains an extension written in C for higher performance.
+
 Package: python-pymongo-doc
 Architecture: all
 Depends: ${misc:Depends}, libjs-jquery, libjs-underscore
@@ -109,3 +120,11 @@
  BSON Python module contains all of the Binary JSON encoding and decoding
  logic for MongoDB.
  This package contains an extension written in C for higher performance.
+
+Package: python3-bson-ext
+Architecture: any-i386 any-ia64 any-amd64
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}, python3-bson
+Description: C-coded extension to the python3-bson package
+ BSON Python 3 module contains all of the Binary JSON encoding and decoding
+ logic for MongoDB.
+ This package contains an extension written in C for higher performance.
diff -Nru pymongo-2.5.2/debian/python3-bson-ext.install pymongo-2.5.2/debian/python3-bson-ext.install
--- pymongo-2.5.2/debian/python3-bson-ext.install	1969-12-31 19:00:00.000000000 -0500
+++ pymongo-2.5.2/debian/python3-bson-ext.install	2013-08-19 18:52:15.000000000 -0400
@@ -0,0 +1 @@
+usr/lib/python3*/*-packages/bson*/*.so
diff -Nru pymongo-2.5.2/debian/python3-pymongo-ext.install pymongo-2.5.2/debian/python3-pymongo-ext.install
--- pymongo-2.5.2/debian/python3-pymongo-ext.install	1969-12-31 19:00:00.000000000 -0500
+++ pymongo-2.5.2/debian/python3-pymongo-ext.install	2013-08-19 18:52:53.000000000 -0400
@@ -0,0 +1 @@
+usr/lib/python3*/*-packages/pymongo*/*.so
diff -Nru pymongo-2.5.2/debian/python-bson-ext.install pymongo-2.5.2/debian/python-bson-ext.install
--- pymongo-2.5.2/debian/python-bson-ext.install	2013-06-02 06:13:41.000000000 -0400
+++ pymongo-2.5.2/debian/python-bson-ext.install	2013-08-19 18:52:04.000000000 -0400
@@ -1 +1 @@
-usr/lib/python*/*-packages/bson*/*.so
+usr/lib/python2*/*-packages/bson*/*.so
diff -Nru pymongo-2.5.2/debian/python-pymongo-ext.install pymongo-2.5.2/debian/python-pymongo-ext.install
--- pymongo-2.5.2/debian/python-pymongo-ext.install	2013-06-02 06:13:41.000000000 -0400
+++ pymongo-2.5.2/debian/python-pymongo-ext.install	2013-08-19 18:52:43.000000000 -0400
@@ -1 +1 @@
-usr/lib/python*/*-packages/pymongo*/*.so
+usr/lib/python2*/*-packages/pymongo*/*.so

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to