Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package python-couchdb

RC bug fix.

unblock python-couchdb/0.10-1.1
diff -Nru python-couchdb-0.10/debian/changelog python-couchdb-0.10/debian/changelog
--- python-couchdb-0.10/debian/changelog	2014-09-28 12:14:36.000000000 -0400
+++ python-couchdb-0.10/debian/changelog	2014-11-13 01:18:46.000000000 -0500
@@ -1,3 +1,12 @@
+python-couchdb (0.10-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/patches/util3_pycompile.diff to disable unused pyexec and
+    fix install failure during pycompile (Closes: #765086)
+    - Patch thanks to Michael Vogt
+
+ -- Scott Kitterman <sc...@kitterman.com>  Thu, 13 Nov 2014 01:17:25 -0500
+
 python-couchdb (0.10-1) unstable; urgency=medium
 
   * New upstream version
diff -Nru python-couchdb-0.10/debian/patches/series python-couchdb-0.10/debian/patches/series
--- python-couchdb-0.10/debian/patches/series	2014-09-28 12:14:36.000000000 -0400
+++ python-couchdb-0.10/debian/patches/series	2014-11-13 01:10:42.000000000 -0500
@@ -1,2 +1,3 @@
 01-improve_bin_scripts.patch
 03-remove_module_shebang.patch
+util3_pycompile.diff
diff -Nru python-couchdb-0.10/debian/patches/util3_pycompile.diff python-couchdb-0.10/debian/patches/util3_pycompile.diff
--- python-couchdb-0.10/debian/patches/util3_pycompile.diff	1969-12-31 19:00:00.000000000 -0500
+++ python-couchdb-0.10/debian/patches/util3_pycompile.diff	2014-11-13 01:16:34.000000000 -0500
@@ -0,0 +1,26 @@
+Description: Disable pyexec in util3.py to avoid pycompile issue
+ couchdb/util3.py is not used with python (only python3, which is not
+ currently supported by the package), but is still executed by pycompile.
+ Pycompile will attempt to compile all files in the directory on install and
+ the python3 only syntax used in util3.py causes it to fail.  Commenting out
+ the pyexec works around the issue and has no effect since python3 isn't
+ supported.
+ In the long run, this should be fixed properly, but this is a reasonable
+Author: Michael Vogt <m...@debian.org>
+Bug-Debian: http://bugs.debian.org/765086
+Origin: vendor
+Forwarded: no
+Reviewed-By: Scott Kitterman <sc...@kitterman.com>
+Last-Update: 2014-11-13
+
+--- python-couchdb-0.10.orig/couchdb/util3.py
++++ python-couchdb-0.10/couchdb/util3.py
+@@ -14,7 +14,7 @@ from urllib.parse import urlsplit, urlun
+ from urllib.parse import quote as urlquote
+ from urllib.parse import unquote as urlunquote
+ 
+-pyexec = exec
++#pyexec = exec
+ 
+ def funcode(fun):
+     return fun.__code__

Reply via email to