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

aelmahmoudy-guest at users.alioth.debian.org aelmahmoudy-guest at users.alioth.debian.org
Tue Oct 5 20:08:34 UTC 2010


    Date: Tuesday, October 5, 2010 @ 20:08:21
  Author: aelmahmoudy-guest
Revision: 14522

Added shm_check.diff patch to check if semaphore locking works, since
/dev/shm is not mounted as tmpfs in build chroots.

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

Modified: packages/python-whoosh/trunk/debian/changelog
===================================================================
--- packages/python-whoosh/trunk/debian/changelog	2010-10-05 18:25:09 UTC (rev 14521)
+++ packages/python-whoosh/trunk/debian/changelog	2010-10-05 20:08:21 UTC (rev 14522)
@@ -12,8 +12,10 @@
   * debian/control: Bumped Standards-Version to 3.9.1 (no changes needed)
   * Dropped 01-remove-pyparsing.diff patch, as it is no more needed.
   * debian/copyright: updated copyrights.
+  * Added shm_check.diff patch to check if semaphore locking works, since
+    /dev/shm is not mounted as tmpfs in build chroots.
 
- -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>  Tue, 05 Oct 2010 14:17:18 +0200
+ -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>  Tue, 05 Oct 2010 22:07:05 +0200
 
 python-whoosh (0.3.18-1) unstable; urgency=low
 

Added: packages/python-whoosh/trunk/debian/patches/series
===================================================================
--- packages/python-whoosh/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-whoosh/trunk/debian/patches/series	2010-10-05 20:08:21 UTC (rev 14522)
@@ -0,0 +1 @@
+shm_check.diff

Added: packages/python-whoosh/trunk/debian/patches/shm_check.diff
===================================================================
--- packages/python-whoosh/trunk/debian/patches/shm_check.diff	                        (rev 0)
+++ packages/python-whoosh/trunk/debian/patches/shm_check.diff	2010-10-05 20:08:21 UTC (rev 14522)
@@ -0,0 +1,18 @@
+Description: Check if semaphore locking works
+  /dev/shm is not mounted as tmpfs in build chroots
+Forwarded: yes
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
+--- a/tests/test_indexing.py
++++ b/tests/test_indexing.py
+@@ -57,6 +57,11 @@
+             import multiprocessing
+         except ImportError:
+             return
++        try:
++          from multiprocessing import Queue
++          Queue()
++        except OSError:
++          return
+         
+         domain = (u"alfa", u"bravo", u"charlie", u"delta", u"echo", u"foxtrot", u"golf",
+                   u"hotel", u"india", u"juliet", u"kilo", u"lima", u"mike", u"november")




More information about the Python-modules-commits mailing list