[Python-modules-commits] r15760 - in packages/python-whoosh/tags (11 files)
aelmahmoudy-guest at users.alioth.debian.org
aelmahmoudy-guest at users.alioth.debian.org
Fri Feb 18 09:31:55 UTC 2011
Date: Friday, February 18, 2011 @ 09:31:45
Author: aelmahmoudy-guest
Revision: 15760
[svn-buildpackage] Tagging python-whoosh 1.7.2-1
Added:
packages/python-whoosh/tags/1.7.2-1/
packages/python-whoosh/tags/1.7.2-1/debian/changelog
(from rev 15759, packages/python-whoosh/trunk/debian/changelog)
packages/python-whoosh/tags/1.7.2-1/debian/control
(from rev 15756, packages/python-whoosh/trunk/debian/control)
packages/python-whoosh/tags/1.7.2-1/debian/patches/fix_methodcaller_import.diff
(from rev 15756, packages/python-whoosh/trunk/debian/patches/fix_methodcaller_import.diff)
packages/python-whoosh/tags/1.7.2-1/debian/patches/fix_test_colonspace.diff
(from rev 15758, packages/python-whoosh/trunk/debian/patches/fix_test_colonspace.diff)
packages/python-whoosh/tags/1.7.2-1/debian/patches/series
(from rev 15758, packages/python-whoosh/trunk/debian/patches/series)
packages/python-whoosh/tags/1.7.2-1/debian/patches/shm_check.diff
(from rev 15757, packages/python-whoosh/trunk/debian/patches/shm_check.diff)
Deleted:
packages/python-whoosh/tags/1.7.2-1/debian/changelog
packages/python-whoosh/tags/1.7.2-1/debian/control
packages/python-whoosh/tags/1.7.2-1/debian/patches/series
packages/python-whoosh/tags/1.7.2-1/debian/patches/shm_check.diff
Deleted: packages/python-whoosh/tags/1.7.2-1/debian/changelog
===================================================================
--- packages/python-whoosh/trunk/debian/changelog 2010-10-29 06:35:09 UTC (rev 14774)
+++ packages/python-whoosh/tags/1.7.2-1/debian/changelog 2011-02-18 09:31:45 UTC (rev 15760)
@@ -1,138 +0,0 @@
-python-whoosh (1.2.3-1) experimental; urgency=low
-
- * New upstream release.
- * Refreshed shm_check.diff patch.
-
- -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Fri, 29 Oct 2010 08:07:24 +0200
-
-python-whoosh (1.1.0-1) experimental; urgency=low
-
- * New upstream release
-
- -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Fri, 22 Oct 2010 14:30:44 +0200
-
-python-whoosh (1.0.0-1) experimental; urgency=low
-
- [ Jakub Wilk ]
- * Use âchmod a-xâ rather than âchmod -xâ in debian/rules.
- * Don't ignore errors while running tests.
- * Respect the ânocheckâ build option.
- * Remove embedded copies of pyparsing for all Python versions.
-
- [ Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) ]
- * New upstream release
- * Bumped compat level to 8.
- * debian/control:
- + Updated my email address.
- + Bumped Standards-Version to 3.9.1 (no changes needed)
- + Dropped python-pyparsing from Depends & Build-Deps, since it is not used
- anymore.
- + Add XS-Python-Version field.
- + Drop python-support from Build-Deps
- + Bumped python-all Build-Dep to (>= 2.6.6-2)
- + Added Breaks: ${python:Breaks}, to avoid getting
- python (<= <UNSUPPORTED VERSION>) in Depends.
- * debian/rules:
- + added --with python2 to dh call.
- + Removed override for dh_pysupport, not needed anymore.
- + Override dh_auto_clean to remove docs/build
- * debian/copyright: updated copyrights.
- * Dropped 01-remove-pyparsing.diff patch, as it is no more needed.
- * Added shm_check.diff patch to check if semaphore locking works, since
- /dev/shm is not mounted as tmpfs in build chroots.
- * Removed debian/pyversions
-
- [ Bernd Zeimetz ]
- * Adding DM-Upload-Allowed: yes for Ø£ØÙ
د اÙÙ
ØÙ
ÙدÙ.
-
- -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Thu, 07 Oct 2010 20:26:14 +0200
-
-python-whoosh (0.3.18-1) unstable; urgency=low
-
- * New upstream release.
- * debian/control:
- + Added python-sphinx to Build-Depends-Indep to build documentation.
- + Added libjs-jquery to Depends.
- + Added python-all to Build-Depends-Indep.
- * debian/rules:
- + Override dh_auto_test to run test suite.
- + Override dh_auto_build to also build documentation.
- + Override dh_compress to avoid compressing Whoosh documentation files.
- + Override dh_installdocs to avoid installing convenience copy of
- jquery.js. Instead, it is symlinked from the libjs-jquery package.
- + Logic added for fixing permission of PKG-INFO file such that it would
- work for both Debian & Ubuntu.
- * Added debian/python-whoosh.docs, debian/python-whoosh.links,
- debian/python-whoosh.doc-base
-
- -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net> Thu, 25 Feb 2010 08:49:55 +0200
-
-python-whoosh (0.3.16-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net> Mon, 15 Feb 2010 11:51:28 +0200
-
-python-whoosh (0.3.15-1) unstable; urgency=low
-
- [ Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) ]
- * New upstream release.
- * debian/rules: Override dh_fixperms to remove executable bit from files in
- /usr/share/pyshared/*.egg-info/
- * Refresh 01-remove-pyparsing.diff patch.
- * Switched to 3.0 (quilt) source format.
- * debian/control:
- + Bumped Standards-Version to 3.8.4
- + Added myself to uploaders
-
- [ Bernd Zeimetz ]
- * Switch Uploaders and Maintainers in debian/control.
-
- -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net> Sun, 31 Jan 2010 13:51:02 +0200
-
-python-whoosh (0.3.2-1) unstable; urgency=low
-
- [ Bernd Zeimetz ]
- * New upstream release.
- * Fix watch file to avoid cluttered versions.
- * Bump versions in build-deps to ensure that dh overrides and
- --with-quilt works
- * Drop tests part from debian/rules completely, there is no test
- in the source anymore.
- * Add debian/README.source.
- * Bump Standards-Version to 3.8.3, no changes needed.
-
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> Thu, 05 Nov 2009 11:09:36 +0100
-
-python-whoosh (0.3.~0b24-1) experimental; urgency=low
-
- [ Bernd Zeimetz ]
- * New upstream release.
- * Whoosh is not compatible with 2.4 thanks to pickling problems,
- drop compat patch and limit versions in debian/pyversions.
- * Update watch file.
- * Disable test for now as they're broken/not existant.
-
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> Fri, 02 Oct 2009 16:51:08 +0200
-
-python-whoosh (0.1.22-1) unstable; urgency=low
-
- * New upstream release.
- * Changed Maintainer to my credativ email address.
- * Refreshed debian/patches/02-python2.4-fixes.diff.
-
- -- Daniel Watkins <daniel.watkins at credativ.co.uk> Sat, 06 Jun 2009 13:38:47 +0100
-
-python-whoosh (0.1.19-2) unstable; urgency=low
-
- * Add debian/patches/01-remove-pyparsing.diff to remove the upstream copy of
- the python-pyparsing library.
- * Add python-pyparsing to Build-Depends-Indep
-
- -- Daniel Watkins <daniel at daniel-watkins.co.uk> Thu, 07 May 2009 16:44:18 +0100
-
-python-whoosh (0.1.19-1) unstable; urgency=low
-
- * Initial release. (Closes: #522934)
-
- -- Daniel Watkins <daniel at daniel-watkins.co.uk> Fri, 01 May 2009 12:27:22 +0100
Copied: packages/python-whoosh/tags/1.7.2-1/debian/changelog (from rev 15759, packages/python-whoosh/trunk/debian/changelog)
===================================================================
--- packages/python-whoosh/tags/1.7.2-1/debian/changelog (rev 0)
+++ packages/python-whoosh/tags/1.7.2-1/debian/changelog 2011-02-18 09:31:45 UTC (rev 15760)
@@ -0,0 +1,172 @@
+python-whoosh (1.7.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Added fix_methodcaller_import.diff patch which fixes import of
+ methodcaller, which was only added in Python 2.6.
+ * Added fix_test_colonspace.diff patch which fixes test_colonspace failure.
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Fri, 18 Feb 2011 10:02:16 +0200
+
+python-whoosh (1.4.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Fri, 10 Dec 2010 10:54:37 +0200
+
+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
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Fri, 05 Nov 2010 09:53:55 +0200
+
+python-whoosh (1.2.5-1) experimental; urgency=low
+
+ * New upstream release.
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Sat, 30 Oct 2010 05:54:31 +0200
+
+python-whoosh (1.2.3-1) experimental; urgency=low
+
+ * New upstream release.
+ * Refreshed shm_check.diff patch.
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Fri, 29 Oct 2010 08:07:24 +0200
+
+python-whoosh (1.1.0-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Fri, 22 Oct 2010 14:30:44 +0200
+
+python-whoosh (1.0.0-1) experimental; urgency=low
+
+ [ Jakub Wilk ]
+ * Use âchmod a-xâ rather than âchmod -xâ in debian/rules.
+ * Don't ignore errors while running tests.
+ * Respect the ânocheckâ build option.
+ * Remove embedded copies of pyparsing for all Python versions.
+
+ [ Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) ]
+ * New upstream release
+ * Bumped compat level to 8.
+ * debian/control:
+ + Updated my email address.
+ + Bumped Standards-Version to 3.9.1 (no changes needed)
+ + Dropped python-pyparsing from Depends & Build-Deps, since it is not used
+ anymore.
+ + Add XS-Python-Version field.
+ + Drop python-support from Build-Deps
+ + Bumped python-all Build-Dep to (>= 2.6.6-2)
+ + Added Breaks: ${python:Breaks}, to avoid getting
+ python (<= <UNSUPPORTED VERSION>) in Depends.
+ * debian/rules:
+ + added --with python2 to dh call.
+ + Removed override for dh_pysupport, not needed anymore.
+ + Override dh_auto_clean to remove docs/build
+ * debian/copyright: updated copyrights.
+ * Dropped 01-remove-pyparsing.diff patch, as it is no more needed.
+ * Added shm_check.diff patch to check if semaphore locking works, since
+ /dev/shm is not mounted as tmpfs in build chroots.
+ * Removed debian/pyversions
+
+ [ Bernd Zeimetz ]
+ * Adding DM-Upload-Allowed: yes for Ø£ØÙ
د اÙÙ
ØÙ
ÙدÙ.
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org> Thu, 07 Oct 2010 20:26:14 +0200
+
+python-whoosh (0.3.18-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control:
+ + Added python-sphinx to Build-Depends-Indep to build documentation.
+ + Added libjs-jquery to Depends.
+ + Added python-all to Build-Depends-Indep.
+ * debian/rules:
+ + Override dh_auto_test to run test suite.
+ + Override dh_auto_build to also build documentation.
+ + Override dh_compress to avoid compressing Whoosh documentation files.
+ + Override dh_installdocs to avoid installing convenience copy of
+ jquery.js. Instead, it is symlinked from the libjs-jquery package.
+ + Logic added for fixing permission of PKG-INFO file such that it would
+ work for both Debian & Ubuntu.
+ * Added debian/python-whoosh.docs, debian/python-whoosh.links,
+ debian/python-whoosh.doc-base
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net> Thu, 25 Feb 2010 08:49:55 +0200
+
+python-whoosh (0.3.16-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net> Mon, 15 Feb 2010 11:51:28 +0200
+
+python-whoosh (0.3.15-1) unstable; urgency=low
+
+ [ Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) ]
+ * New upstream release.
+ * debian/rules: Override dh_fixperms to remove executable bit from files in
+ /usr/share/pyshared/*.egg-info/
+ * Refresh 01-remove-pyparsing.diff patch.
+ * Switched to 3.0 (quilt) source format.
+ * debian/control:
+ + Bumped Standards-Version to 3.8.4
+ + Added myself to uploaders
+
+ [ Bernd Zeimetz ]
+ * Switch Uploaders and Maintainers in debian/control.
+
+ -- Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net> Sun, 31 Jan 2010 13:51:02 +0200
+
+python-whoosh (0.3.2-1) unstable; urgency=low
+
+ [ Bernd Zeimetz ]
+ * New upstream release.
+ * Fix watch file to avoid cluttered versions.
+ * Bump versions in build-deps to ensure that dh overrides and
+ --with-quilt works
+ * Drop tests part from debian/rules completely, there is no test
+ in the source anymore.
+ * Add debian/README.source.
+ * Bump Standards-Version to 3.8.3, no changes needed.
+
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> Thu, 05 Nov 2009 11:09:36 +0100
+
+python-whoosh (0.3.~0b24-1) experimental; urgency=low
+
+ [ Bernd Zeimetz ]
+ * New upstream release.
+ * Whoosh is not compatible with 2.4 thanks to pickling problems,
+ drop compat patch and limit versions in debian/pyversions.
+ * Update watch file.
+ * Disable test for now as they're broken/not existant.
+
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> Fri, 02 Oct 2009 16:51:08 +0200
+
+python-whoosh (0.1.22-1) unstable; urgency=low
+
+ * New upstream release.
+ * Changed Maintainer to my credativ email address.
+ * Refreshed debian/patches/02-python2.4-fixes.diff.
+
+ -- Daniel Watkins <daniel.watkins at credativ.co.uk> Sat, 06 Jun 2009 13:38:47 +0100
+
+python-whoosh (0.1.19-2) unstable; urgency=low
+
+ * Add debian/patches/01-remove-pyparsing.diff to remove the upstream copy of
+ the python-pyparsing library.
+ * Add python-pyparsing to Build-Depends-Indep
+
+ -- Daniel Watkins <daniel at daniel-watkins.co.uk> Thu, 07 May 2009 16:44:18 +0100
+
+python-whoosh (0.1.19-1) unstable; urgency=low
+
+ * Initial release. (Closes: #522934)
+
+ -- Daniel Watkins <daniel at daniel-watkins.co.uk> Fri, 01 May 2009 12:27:22 +0100
Deleted: packages/python-whoosh/tags/1.7.2-1/debian/control
===================================================================
--- packages/python-whoosh/trunk/debian/control 2010-10-29 06:35:09 UTC (rev 14774)
+++ packages/python-whoosh/tags/1.7.2-1/debian/control 2011-02-18 09:31:45 UTC (rev 15760)
@@ -1,26 +0,0 @@
-Source: python-whoosh
-Section: python
-Priority: optional
-Uploaders: Daniel Watkins <daniel.watkins at credativ.co.uk>, Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
-Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 8), python-setuptools
-Build-Depends-Indep: python-sphinx, python-all (>= 2.6.6-2)
-Standards-Version: 3.9.1
-Homepage: http://whoosh.ca/
-XS-Python-Version: >= 2.5
-Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-whoosh/trunk/
-Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-whoosh/trunk/
-DM-Upload-Allowed: yes
-
-Package: python-whoosh
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, libjs-jquery
-Breaks: ${python:Breaks}
-Description: pure-Python full-text indexing, search, and spell checking library
- Whoosh is a fast, pure-Python indexing and search library. Programmers
- can use it to easily add search functionality to their applications and
- websites. As Whoosh is pure Python, you don't have to compile or
- install a binary support library and/or make Python work with a JVM, yet
- indexing and searching is still very fast. Whoosh is designed to be
- modular, so every part can be extended or replaced to meet your needs
- exactly.
Copied: packages/python-whoosh/tags/1.7.2-1/debian/control (from rev 15756, packages/python-whoosh/trunk/debian/control)
===================================================================
--- packages/python-whoosh/tags/1.7.2-1/debian/control (rev 0)
+++ packages/python-whoosh/tags/1.7.2-1/debian/control 2011-02-18 09:31:45 UTC (rev 15760)
@@ -0,0 +1,26 @@
+Source: python-whoosh
+Section: python
+Priority: optional
+Uploaders: Daniel Watkins <daniel.watkins at credativ.co.uk>, Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 8), python-setuptools
+Build-Depends-Indep: python-sphinx, python-all (>= 2.6.6-2)
+Standards-Version: 3.9.1
+Homepage: http://whoosh.ca/
+XS-Python-Version: >= 2.5
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-whoosh/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-whoosh/trunk/
+DM-Upload-Allowed: yes
+
+Package: python-whoosh
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, libjs-jquery
+Breaks: ${python:Breaks}
+Description: pure-Python full-text indexing, search, and spell checking library
+ Whoosh is a fast, pure-Python indexing and search library. Programmers
+ can use it to easily add search functionality to their applications and
+ websites. As Whoosh is pure Python, you don't have to compile or
+ install a binary support library and/or make Python work with a JVM, yet
+ indexing and searching is still very fast. Whoosh is designed to be
+ modular, so every part can be extended or replaced to meet your needs
+ exactly.
Copied: packages/python-whoosh/tags/1.7.2-1/debian/patches/fix_methodcaller_import.diff (from rev 15756, packages/python-whoosh/trunk/debian/patches/fix_methodcaller_import.diff)
===================================================================
--- packages/python-whoosh/tags/1.7.2-1/debian/patches/fix_methodcaller_import.diff (rev 0)
+++ packages/python-whoosh/tags/1.7.2-1/debian/patches/fix_methodcaller_import.diff 2011-02-18 09:31:45 UTC (rev 15760)
@@ -0,0 +1,60 @@
+Description: Fixed import of methodcaller, which was only added in Python 2.6.
+Origin: https://bitbucket.org/mchaput/whoosh/changeset/8a5a6ee1c272
+Author: Matt Chaput <matt at whoosh.ca>
+Bug: https://bitbucket.org/mchaput/whoosh/issue/110
+
+--- a/src/whoosh/query.py
++++ b/src/whoosh/query.py
+@@ -22,7 +22,6 @@
+
+ import copy
+ import fnmatch
+-import operator
+ import re
+ from array import array
+
+@@ -35,7 +34,7 @@
+ from whoosh.reading import TermNotFound
+ from whoosh.support.levenshtein import relative
+ from whoosh.support.times import datetime_to_long
+-from whoosh.util import make_binary_tree
++from whoosh.util import make_binary_tree, methodcaller
+
+
+ # Exceptions
+@@ -176,7 +175,7 @@
+ if self.is_leaf():
+ return copy.copy(self)
+ else:
+- return self.apply(operator.methodcaller("copy"))
++ return self.apply(methodcaller("copy"))
+
+ def replace(self, oldtext, newtext):
+ """Returns a copy of this query with oldtext replaced by newtext (if
+@@ -189,7 +188,7 @@
+ if self.is_leaf():
+ return self.copy()
+ else:
+- return self.apply(operator.methodcaller("replace", oldtext, newtext))
++ return self.apply(methodcaller("replace", oldtext, newtext))
+
+ def all_terms(self, termset=None, phrases=True):
+ """Returns a set of all terms in this query tree.
+--- a/src/whoosh/util.py
++++ b/src/whoosh/util.py
+@@ -60,6 +60,15 @@
+ return
+
+
++try:
++ from operator import methodcaller
++except ImportError:
++ def methodcaller(name, *args, **kwargs):
++ def caller(obj):
++ return getattr(obj, name)(*args, **kwargs)
++ return caller
++
++
+ if sys.platform == 'win32':
+ now = time.clock
+ else:
Copied: packages/python-whoosh/tags/1.7.2-1/debian/patches/fix_test_colonspace.diff (from rev 15758, packages/python-whoosh/trunk/debian/patches/fix_test_colonspace.diff)
===================================================================
--- packages/python-whoosh/tags/1.7.2-1/debian/patches/fix_test_colonspace.diff (rev 0)
+++ packages/python-whoosh/tags/1.7.2-1/debian/patches/fix_test_colonspace.diff 2011-02-18 09:31:45 UTC (rev 15760)
@@ -0,0 +1,28 @@
+Description: The "content" field's analyzer was stripping the punctuation
+Origin: https://bitbucket.org/mchaput/whoosh/changeset/728f7f1f3bf3
+Author: Matt Chaput <matt at whoosh.ca>
+Bug: https://bitbucket.org/mchaput/whoosh/issue/109
+
+--- a/tests/test_parsing.py
++++ b/tests/test_parsing.py
+@@ -54,7 +54,6 @@
+
+ def test_colonspace(self):
+ s = fields.Schema(content=fields.TEXT, url=fields.ID)
+-
+ qp = qparser.QueryParser("content", s)
+ q = qp.parse(u"url:test")
+ self.assertEqual(q.__class__, query.Term)
+@@ -75,9 +74,11 @@
+ self.assertEqual(q.fieldname, "content")
+ self.assertEqual(q.text, "url")
+
++ s = fields.Schema(foo=fields.KEYWORD)
++ qp = qparser.QueryParser("foo", s)
+ q = qp.parse(u"blah:")
+ self.assertEqual(q.__class__, query.Term)
+- self.assertEqual(q.fieldname, "content")
++ self.assertEqual(q.fieldname, "foo")
+ self.assertEqual(q.text, "blah:")
+
+ def test_andor(self):
Deleted: packages/python-whoosh/tags/1.7.2-1/debian/patches/series
===================================================================
--- packages/python-whoosh/trunk/debian/patches/series 2010-10-29 06:35:09 UTC (rev 14774)
+++ packages/python-whoosh/tags/1.7.2-1/debian/patches/series 2011-02-18 09:31:45 UTC (rev 15760)
@@ -1 +0,0 @@
-shm_check.diff
Copied: packages/python-whoosh/tags/1.7.2-1/debian/patches/series (from rev 15758, packages/python-whoosh/trunk/debian/patches/series)
===================================================================
--- packages/python-whoosh/tags/1.7.2-1/debian/patches/series (rev 0)
+++ packages/python-whoosh/tags/1.7.2-1/debian/patches/series 2011-02-18 09:31:45 UTC (rev 15760)
@@ -0,0 +1,3 @@
+shm_check.diff
+fix_methodcaller_import.diff
+fix_test_colonspace.diff
Deleted: packages/python-whoosh/tags/1.7.2-1/debian/patches/shm_check.diff
===================================================================
--- packages/python-whoosh/trunk/debian/patches/shm_check.diff 2010-10-29 06:35:09 UTC (rev 14774)
+++ packages/python-whoosh/tags/1.7.2-1/debian/patches/shm_check.diff 2011-02-18 09:31:45 UTC (rev 15760)
@@ -1,18 +0,0 @@
-Description: Check if semaphore locking works
- /dev/shm is not mounted as tmpfs in build chroots
-Forwarded: http://bitbucket.org/mchaput/whoosh/issue/45/test_multipool-fails-on-build-chroots
-Author: Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
---- a/tests/test_indexing.py
-+++ b/tests/test_indexing.py
-@@ -58,6 +58,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")
Copied: packages/python-whoosh/tags/1.7.2-1/debian/patches/shm_check.diff (from rev 15757, packages/python-whoosh/trunk/debian/patches/shm_check.diff)
===================================================================
--- packages/python-whoosh/tags/1.7.2-1/debian/patches/shm_check.diff (rev 0)
+++ packages/python-whoosh/tags/1.7.2-1/debian/patches/shm_check.diff 2011-02-18 09:31:45 UTC (rev 15760)
@@ -0,0 +1,23 @@
+Description: Check if semaphore locking works
+ /dev/shm is not mounted as tmpfs in build chroots
+Forwarded: http://bitbucket.org/mchaput/whoosh/issue/45/test_multipool-fails-on-build-chroots
+Author: Ø£ØÙ
د اÙÙ
ØÙ
Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
+--- a/tests/test_indexing.py
++++ b/tests/test_indexing.py
+@@ -42,9 +42,15 @@
+
+ def test_multipool(self):
+ try:
+- import multiprocessing
++ import multiprocessing.synchronize
+ 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