Your message dated Sat, 06 Apr 2013 01:00:22 +0000
with message-id <[email protected]>
and subject line Bug#680376: fixed in pymongo 2.4.2-1
has caused the Debian Bug report #680376,
regarding python-pymongo: python3 support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
680376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680376
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pymongo
Version: 2.2-1
Severity: wishlist
Tags: patch

Hi,

I wrote a patch to build python-pymongo for python3. Please help to see
if this is suitable to merge them as official packages, thanks.

Regards,
ChangZhuo

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pymongo depends on:
ii  python       2.7.3~rc2-1
ii  python-bson  2.2-1
ii  python2.6    2.6.8-0.2
ii  python2.7    2.7.3~rc2-2.1

Versions of packages python-pymongo recommends:
ii  python-gridfs       2.2-1
ii  python-pymongo-ext  2.2-1

python-pymongo suggests no packages.

-- no debconf information
diff -Naur pymongo-2.2.orig/debian/control pymongo-2.2/debian/control
--- pymongo-2.2.orig/debian/control	2012-05-11 04:22:07.000000000 +0800
+++ pymongo-2.2/debian/control	2012-06-22 23:38:54.072341069 +0800
@@ -7,9 +7,12 @@
 Build-Depends: debhelper (>= 8.0.0~),
  python-all-dev (>= 2.6.6-3~),
  python-setuptools (>= 0.6.14),
- python-sphinx
+ python-sphinx,
+ python3-all-dev (>= 3.1),
+ python3-setuptools
 Standards-Version: 3.9.3
 X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.1
 Homepage: http://api.mongodb.org/python/
 Vcs-Git: git://git.debian.org/git/collab-maint/pymongo.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/pymongo.git
@@ -26,6 +29,18 @@
  to easily access it from Python.
  Consider installing the python-pymongo-ext C extension to improve performance.
 
+Package: python3-pymongo
+Architecture: any
+Depends: python3-bson (= ${binary:Version}), ${python3:Depends}, ${misc:Depends}
+Recommends: python3-gridfs (>= ${source:Version})
+ , python-pymongo-ext [any-i386 any-ia64 any-amd64]
+Provides: ${python3:Provides}
+Description: Python interface to the MongoDB document-oriented database
+ MongoDB is a high-performance, open source, schema-free
+ document-oriented data store. Pymongo provides an interface
+ to easily access it from Python.
+ Consider installing the python-pymongo-ext C extension to improve performance.
+
 Package: python-pymongo-ext
 Architecture: any-i386 any-ia64 any-amd64
 Depends: python-bson (= ${binary:Version}), ${shlibs:Depends}
@@ -58,6 +73,15 @@
  The Python gridfs module is an implementation based
  on the pymongo module. It provides a file-like interface.
 
+Package: python3-gridfs
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Provides: ${python3:Provides}
+Description: Python implementation of GridFS for MongoDB
+ GridFS is a storage specification for large objects in MongoDB.
+ The Python gridfs module is an implementation based
+ on the pymongo module. It provides a file-like interface.
+
 Package: python-bson
 Architecture: any
 Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
@@ -66,6 +90,15 @@
 Description: Python implementation of BSON for MongoDB
  BSON Python module contains all of the Binary JSON encoding and decoding
  logic for MongoDB.
+
+Package: python3-bson
+Architecture: any
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Recommends: python-bson-ext [any-i386 any-ia64 any-amd64]
+Provides: ${python3:Provides}
+Description: Python implementation of BSON for MongoDB
+ BSON Python module contains all of the Binary JSON encoding and decoding
+ logic for MongoDB.
 
 Package: python-bson-ext
 Architecture: any-i386 any-ia64 any-amd64
diff -Naur pymongo-2.2.orig/debian/python3-bson.install pymongo-2.2/debian/python3-bson.install
--- pymongo-2.2.orig/debian/python3-bson.install	1970-01-01 08:00:00.000000000 +0800
+++ pymongo-2.2/debian/python3-bson.install	2012-06-22 15:10:09.954730423 +0800
@@ -0,0 +1 @@
+usr/lib/python3*/*-packages/bson*/*.py
diff -Naur pymongo-2.2.orig/debian/python3-gridfs.install pymongo-2.2/debian/python3-gridfs.install
--- pymongo-2.2.orig/debian/python3-gridfs.install	1970-01-01 08:00:00.000000000 +0800
+++ pymongo-2.2/debian/python3-gridfs.install	2012-06-22 15:08:15.834164529 +0800
@@ -0,0 +1 @@
+usr/lib/python3*/*-packages/gridfs*
diff -Naur pymongo-2.2.orig/debian/python3-pymongo.install pymongo-2.2/debian/python3-pymongo.install
--- pymongo-2.2.orig/debian/python3-pymongo.install	1970-01-01 08:00:00.000000000 +0800
+++ pymongo-2.2/debian/python3-pymongo.install	2012-06-22 14:35:29.916416059 +0800
@@ -0,0 +1,2 @@
+usr/lib/python3*/*-packages/pymongo*/*.py
+usr/lib/python3*/*-packages/pymongo*/*.txt
diff -Naur pymongo-2.2.orig/debian/python-bson.install pymongo-2.2/debian/python-bson.install
--- pymongo-2.2.orig/debian/python-bson.install	2012-05-11 04:22:07.000000000 +0800
+++ pymongo-2.2/debian/python-bson.install	2012-06-22 15:10:03.682699325 +0800
@@ -1 +1 @@
-usr/lib/python*/*-packages/bson*/*.py
+usr/lib/python2*/*-packages/bson*/*.py
diff -Naur pymongo-2.2.orig/debian/python-gridfs.install pymongo-2.2/debian/python-gridfs.install
--- pymongo-2.2.orig/debian/python-gridfs.install	2012-05-11 04:22:07.000000000 +0800
+++ pymongo-2.2/debian/python-gridfs.install	2012-06-22 15:08:21.366191964 +0800
@@ -1 +1 @@
-usr/lib/python*/*-packages/gridfs*
+usr/lib/python2*/*-packages/gridfs*
diff -Naur pymongo-2.2.orig/debian/python-pymongo.install pymongo-2.2/debian/python-pymongo.install
--- pymongo-2.2.orig/debian/python-pymongo.install	2012-05-11 04:22:07.000000000 +0800
+++ pymongo-2.2/debian/python-pymongo.install	2012-06-22 14:35:16.776350914 +0800
@@ -1,2 +1,2 @@
-usr/lib/python*/*-packages/pymongo*/*.py
-usr/lib/python*/*-packages/pymongo*/*.txt
+usr/lib/python2*/*-packages/pymongo*/*.py
+usr/lib/python2*/*-packages/pymongo*/*.txt
diff -Naur pymongo-2.2.orig/debian/rules pymongo-2.2/debian/rules
--- pymongo-2.2.orig/debian/rules	2012-05-11 04:22:07.000000000 +0800
+++ pymongo-2.2/debian/rules	2012-06-23 10:50:06.145556318 +0800
@@ -1,16 +1,28 @@
 #!/usr/bin/make -f
 export DH_VERBOSE=1
 
+PY3VERS = $(shell py3versions -r 2>/dev/null)
+ROOT=$(CURDIR)/debian/tmp
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
 
 override_dh_auto_build:
 	dh_auto_build
+	for py3 in $(PY3VERS); do \
+		$$py3 setup.py build --force --build-base=$(ROOT); \
+	done
 	sphinx-build -b html doc debian/html
 	rm -rf debian/html/_sources/
 	rm -f debian/python-pymongo-doc/usr/share/doc/python-pymongo-doc/html/_static/jquery.js
 	rm -rf debian/python-pymongo-doc/usr/share/doc/python-pymongo-doc/html/.doctrees
 
+override_dh_auto_install:
+	dh_auto_install
+	for py3 in $(PY3VERS); do \
+		$$py3 setup.py install --install-layout=deb --force --no-compile -O0 --root=$(ROOT); \
+	done
+
 override_dh_installchangelogs:
 	dh_installchangelogs doc/changelog.rst
 
@@ -18,6 +30,9 @@
 	rm -rf debian/html
 	find doc -name "*.pyc" -exec rm -rf {} +
 	dh_auto_clean
+	for py3 in $(PY3VERS); do \
+		$$py3 setup.py clean --all --build-base=$(ROOT); \
+	done
 
 override_dh_compress:
 	dh_compress -X.html

--- End Message ---
--- Begin Message ---
Source: pymongo
Source-Version: 2.4.2-1

We believe that the bug you reported is fixed in the latest version of
pymongo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Federico Ceratto <[email protected]> (supplier of updated pymongo 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 29 Mar 2013 11:49:18 +0100
Source: pymongo
Binary: python-pymongo python3-pymongo python-pymongo-ext python-pymongo-doc 
python-gridfs python3-gridfs python-bson python3-bson python-bson-ext
Architecture: source amd64 all
Version: 2.4.2-1
Distribution: experimental
Urgency: low
Maintainer: Federico Ceratto <[email protected]>
Changed-By: Federico Ceratto <[email protected]>
Description: 
 python-bson - Python implementation of BSON for MongoDB
 python-bson-ext - C-coded extension to the python-bson package
 python-gridfs - Python implementation of GridFS for MongoDB
 python-pymongo - Python interface to the MongoDB document-oriented database
 python-pymongo-doc - Python interface to the MongoDB document-oriented 
database (docum
 python-pymongo-ext - C-coded extension to the python-pymongo package
 python3-bson - Python3 implementation of BSON for MongoDB
 python3-gridfs - Python3 implementation of GridFS for MongoDB
 python3-pymongo - Python3 interface to the MongoDB document-oriented database
Closes: 680376 680379 703447
Changes: 
 pymongo (2.4.2-1) experimental; urgency=low
 .
   * New upstream release. (Closes: #703447)
   * Python3 support added. (Closes: #680376, #680379)
Checksums-Sha1: 
 4fc0f92053b4cbb35224e5375d466825002359c8 1793 pymongo_2.4.2-1.dsc
 eacc47f8d96a597dc0d5bcbba7367825305d89ba 283269 pymongo_2.4.2.orig.tar.gz
 d1745e6823d611d3866589cd242f6b5d8a377255 4281 pymongo_2.4.2-1.debian.tar.gz
 cd756ada0e274cc481974db82efa93706e054817 98280 python-pymongo_2.4.2-1_amd64.deb
 e6351768290be818a93aeadb462b9fe4b12ed090 95898 
python3-pymongo_2.4.2-1_amd64.deb
 1dc2c1379ba4bf6e4ba79fcc412b33c467f1446b 24712 
python-pymongo-ext_2.4.2-1_amd64.deb
 1917ad5a64799ed743d3b4aea1c242220e643d07 1069528 
python-pymongo-doc_2.4.2-1_all.deb
 5d70fdf17c656fb56c08f0b40e95eb1c993a0093 24194 python-gridfs_2.4.2-1_all.deb
 f88697afe773b4e17ec0e033a121c78ac25bf3e9 23882 python3-gridfs_2.4.2-1_all.deb
 da30c315add8cd87b84d234b01a9e0203ea8ee10 32594 python-bson_2.4.2-1_amd64.deb
 932ffc526a7a0af22973ba4cdeb2545b63569b37 31934 python3-bson_2.4.2-1_amd64.deb
 0802863f053dba5b3a5ab06867db8d3f9c12feb4 66296 
python-bson-ext_2.4.2-1_amd64.deb
Checksums-Sha256: 
 2ffa88d0333939dc63e23a7fb70d1a5ac59948b6162a982d4d911fa5e78e56ce 1793 
pymongo_2.4.2-1.dsc
 6862c85844f1766c261a39022ec7a6b631988cb5528a31f8d20e78181398aa5f 283269 
pymongo_2.4.2.orig.tar.gz
 af0a20b48b56c0a4eaee6f787e73e613078f93ca08ffafd03955e2624e490533 4281 
pymongo_2.4.2-1.debian.tar.gz
 64b30ebeccf0f81016f877907a0e965459ff5cc3713b053b8fd0108c168fb79a 98280 
python-pymongo_2.4.2-1_amd64.deb
 131fcae22dd1095f07316886b12c341c763047cd6202a1988dc86f934d252ed2 95898 
python3-pymongo_2.4.2-1_amd64.deb
 2a755a0f5da09d1f3bcbee0e1450a1434070da1d5f2d65c05f0d539d890c05d4 24712 
python-pymongo-ext_2.4.2-1_amd64.deb
 21f133423adaa3f1506f915644a2831802f770160673721bbb74f2964f1fd528 1069528 
python-pymongo-doc_2.4.2-1_all.deb
 b9b2bf163ff7fbd06ff7fbcd0e88ac236cecb18d0eb4669acf53c4a202e08cf7 24194 
python-gridfs_2.4.2-1_all.deb
 de01ff33bf680acfdd3a2b0178a9aa9f114dec90426c7c38ad8539e3068cd83f 23882 
python3-gridfs_2.4.2-1_all.deb
 59257e90f84638a213c33a4ddaf8de8bcea0d2f66b12bddde5e50168805dcc65 32594 
python-bson_2.4.2-1_amd64.deb
 8b01eadbb29aaa51491d21cf08f1aade24f7876c3d90fbc46160e77deddcbac5 31934 
python3-bson_2.4.2-1_amd64.deb
 c6f407d13afaaeb230570e0c92485ce396f0040a4408186b8a4520a0aaee3d04 66296 
python-bson-ext_2.4.2-1_amd64.deb
Files: 
 8d4839cfa5d7b927ff3fb40556213509 1793 python optional pymongo_2.4.2-1.dsc
 102a00761067d0c0a6b91f33840d811e 283269 python optional 
pymongo_2.4.2.orig.tar.gz
 f4c3ae09ff49f4571256db7fb1a232d3 4281 python optional 
pymongo_2.4.2-1.debian.tar.gz
 a19199f3308db067c4e9575cfcf6925b 98280 python optional 
python-pymongo_2.4.2-1_amd64.deb
 df38333360772ab9541a0809edfbc8a1 95898 python optional 
python3-pymongo_2.4.2-1_amd64.deb
 2432b802ebebb8ad2bc999fe954813d6 24712 python optional 
python-pymongo-ext_2.4.2-1_amd64.deb
 8a969f709764466a29624dbe1e27cfb2 1069528 doc optional 
python-pymongo-doc_2.4.2-1_all.deb
 ce6bf2e89654f425d4bb8651d42ea2cd 24194 python optional 
python-gridfs_2.4.2-1_all.deb
 a1795e98319815b2314158f789d85e58 23882 python optional 
python3-gridfs_2.4.2-1_all.deb
 d0a27b3c3be3d349109026f0abdaf912 32594 python optional 
python-bson_2.4.2-1_amd64.deb
 007774729f954297d890b6c75f1ceea0 31934 python optional 
python3-bson_2.4.2-1_amd64.deb
 e4ffa1436a53471ffe3e97065bb7239c 66296 python optional 
python-bson-ext_2.4.2-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlFVdcwACgkQ5qqQFxOSsXQ0ggCePS+MdcGvdgWae/Lytcf32lgN
NjkAoLuprsNcRZ4ppRZm60dSyzOCwdIl
=EOF5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to