[Python-modules-commits] r14876 - in packages/python-whoosh/trunk/debian (2 files)

aelmahmoudy-guest at users.alioth.debian.org aelmahmoudy-guest at users.alioth.debian.org
Thu Nov 11 21:09:35 UTC 2010


    Date: Thursday, November 11, 2010 @ 21:09:34
  Author: aelmahmoudy-guest
Revision: 14876

* debian/patches/shm_check.diff: try importing multiprocessing.synchronize
  to check for ImportError, this is to avoid FTBFS against python 2.7

Modified:
  packages/python-whoosh/trunk/debian/changelog
  packages/python-whoosh/trunk/debian/patches/shm_check.diff

Modified: packages/python-whoosh/trunk/debian/changelog
===================================================================
--- packages/python-whoosh/trunk/debian/changelog	2010-11-11 10:34:14 UTC (rev 14875)
+++ packages/python-whoosh/trunk/debian/changelog	2010-11-11 21:09:34 UTC (rev 14876)
@@ -1,3 +1,10 @@
+python-whoosh (1.2.6-2) unstable; urgency=low
+
+  * debian/patches/shm_check.diff: try importing multiprocessing.synchronize
+    to check for ImportError, this is to avoid FTBFS against python 2.7
+
+ -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>  Thu, 11 Nov 2010 12:46:49 +0200
+
 python-whoosh (1.2.6-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/python-whoosh/trunk/debian/patches/shm_check.diff
===================================================================
--- packages/python-whoosh/trunk/debian/patches/shm_check.diff	2010-11-11 10:34:14 UTC (rev 14875)
+++ packages/python-whoosh/trunk/debian/patches/shm_check.diff	2010-11-11 21:09:34 UTC (rev 14876)
@@ -4,10 +4,15 @@
 Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
 --- a/tests/test_indexing.py
 +++ b/tests/test_indexing.py
-@@ -58,6 +58,11 @@
-             import multiprocessing
+@@ -55,9 +55,15 @@
+     
+     def test_multipool(self):
+         try:
+-            import multiprocessing
++            import multiprocessing.synchronize
          except ImportError:
              return
++
 +        try:
 +          from multiprocessing import Queue
 +          Queue()




More information about the Python-modules-commits mailing list