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

odd_bloke-guest at users.alioth.debian.org odd_bloke-guest at users.alioth.debian.org
Wed May 27 15:10:49 UTC 2009


    Date: Wednesday, May 27, 2009 @ 15:10:48
  Author: odd_bloke-guest
Revision: 8586

Refreshed debian/patches/02-python2.4-fixes.diff.

Modified:
  packages/python-whoosh/trunk/debian/changelog
  packages/python-whoosh/trunk/debian/patches/02-python2.4-fixes.diff

Modified: packages/python-whoosh/trunk/debian/changelog
===================================================================
--- packages/python-whoosh/trunk/debian/changelog	2009-05-27 15:10:43 UTC (rev 8585)
+++ packages/python-whoosh/trunk/debian/changelog	2009-05-27 15:10:48 UTC (rev 8586)
@@ -2,8 +2,9 @@
 
   * 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>  Wed, 27 May 2009 16:04:20 +0100
+ -- Daniel Watkins <daniel.watkins at credativ.co.uk>  Wed, 27 May 2009 16:09:25 +0100
 
 python-whoosh (0.1.19-2) unstable; urgency=low
 

Modified: packages/python-whoosh/trunk/debian/patches/02-python2.4-fixes.diff
===================================================================
--- packages/python-whoosh/trunk/debian/patches/02-python2.4-fixes.diff	2009-05-27 15:10:43 UTC (rev 8585)
+++ packages/python-whoosh/trunk/debian/patches/02-python2.4-fixes.diff	2009-05-27 15:10:48 UTC (rev 8586)
@@ -2,10 +2,10 @@
 ##
 ## Fix uses of Python 2.5 idioms so this package will work with Python 2.4.
 
-Index: Whoosh-0.1.13/src/whoosh/query.py
+Index: python-whoosh-0.1.20/src/whoosh/query.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/query.py	2009-04-14 11:44:30.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/query.py	2009-04-14 12:41:36.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/query.py	2009-04-27 03:30:53.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/query.py	2009-05-27 16:08:13.000000000 +0100
 @@ -24,10 +24,10 @@
  from __future__ import division
  from array import array
@@ -18,10 +18,10 @@
  from whoosh.lang.morph_en import variations
  
  # Utility functions
-Index: Whoosh-0.1.13/src/whoosh/support/bitvector.py
+Index: python-whoosh-0.1.20/src/whoosh/support/bitvector.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/support/bitvector.py	2009-04-14 11:50:01.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/support/bitvector.py	2009-04-14 11:51:54.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/support/bitvector.py	2009-03-18 06:04:40.000000000 +0000
++++ python-whoosh-0.1.20/src/whoosh/support/bitvector.py	2009-05-27 16:08:13.000000000 +0100
 @@ -53,8 +53,13 @@
      
      def __str__(self):
@@ -45,10 +45,10 @@
 -    
 \ No newline at end of file
 +    
-Index: Whoosh-0.1.13/src/whoosh/lang/morph_en.py
+Index: python-whoosh-0.1.20/src/whoosh/lang/morph_en.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/lang/morph_en.py	2009-04-14 11:52:20.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/lang/morph_en.py	2009-04-14 11:53:12.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/lang/morph_en.py	2009-03-18 06:04:37.000000000 +0000
++++ python-whoosh-0.1.20/src/whoosh/lang/morph_en.py	2009-05-27 16:08:13.000000000 +0100
 @@ -900,7 +900,10 @@
              # positional groups are None)
              groups = [g for g in match.groups() if g is not None]
@@ -61,10 +61,10 @@
  
              out = set((word, ))
              results = rules[i * _partition_size + num][1]
-Index: Whoosh-0.1.13/src/whoosh/classify.py
+Index: python-whoosh-0.1.20/src/whoosh/classify.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/classify.py	2009-04-14 12:03:07.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/classify.py	2009-04-14 12:42:34.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/classify.py	2009-03-21 04:27:37.000000000 +0000
++++ python-whoosh-0.1.20/src/whoosh/classify.py	2009-05-27 16:08:13.000000000 +0100
 @@ -17,10 +17,11 @@
  """Classes and functions for classifying and extracting information from documents.
  """
@@ -79,22 +79,19 @@
  
  # Expansion models
  
-Index: Whoosh-0.1.13/src/whoosh/fields.py
+Index: python-whoosh-0.1.20/src/whoosh/fields.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/fields.py	2009-04-14 12:16:13.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/fields.py	2009-04-14 12:47:02.000000000 +0100
-@@ -20,9 +20,8 @@
- 
+--- python-whoosh-0.1.20.orig/src/whoosh/fields.py	2009-05-25 21:22:37.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/fields.py	2009-05-27 16:08:22.000000000 +0100
+@@ -21,7 +21,6 @@
  """
  
+ import re
 -from collections import defaultdict
--
- from whoosh.analysis import unstopped, IDAnalyzer, KeywordAnalyzer, StandardAnalyzer, NgramAnalyzer
-+from whoosh.support.defaultdict import defaultdict
  
- # Exceptions
+ from whoosh.analysis import unstopped, IDAnalyzer, RegexAnalyzer, KeywordAnalyzer, StandardAnalyzer, NgramAnalyzer
  
-@@ -31,6 +30,11 @@
+@@ -32,6 +31,11 @@
  class UnknownFieldError(Exception):
      pass
  
@@ -106,10 +103,10 @@
  # Field Types
  
  class FieldType(object):
-Index: Whoosh-0.1.13/src/whoosh/support/defaultdict.py
+Index: python-whoosh-0.1.20/src/whoosh/support/defaultdict.py
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ Whoosh-0.1.13/src/whoosh/support/defaultdict.py	2009-04-14 12:26:56.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/support/defaultdict.py	2009-05-27 16:08:13.000000000 +0100
 @@ -0,0 +1,37 @@
 +try:
 +    from collections import defaultdict
@@ -148,10 +145,10 @@
 +        def __repr__(self):
 +            return 'defaultdict(%s, %s)' % (self.default_factory,
 +                                            dict.__repr__(self))
-Index: Whoosh-0.1.13/src/whoosh/writing.py
+Index: python-whoosh-0.1.20/src/whoosh/writing.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/writing.py	2009-04-14 12:28:04.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/writing.py	2009-04-14 12:29:16.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/writing.py	2009-05-25 21:22:38.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/writing.py	2009-05-27 16:08:13.000000000 +0100
 @@ -19,11 +19,11 @@
  """
  
@@ -165,10 +162,10 @@
  from whoosh.util import fib
  
  # Exceptions
-Index: Whoosh-0.1.13/src/whoosh/util.py
+Index: python-whoosh-0.1.20/src/whoosh/util.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/util.py	2009-04-14 12:33:53.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/util.py	2009-04-14 12:34:09.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/util.py	2009-05-25 21:22:38.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/util.py	2009-05-27 16:08:13.000000000 +0100
 @@ -18,7 +18,6 @@
  Miscellaneous utility functions and classes.
  """
@@ -177,7 +174,7 @@
  from heapq import heappush, heapreplace
  
  from whoosh.support.bitvector import BitVector
-@@ -171,7 +170,6 @@
+@@ -172,7 +171,6 @@
      have 'is_closed' and '_sync_lock' attributes.
      """
      
@@ -185,10 +182,10 @@
      def wrapper(self, *args, **kwargs):
          if self.is_closed:
              raise Exception("This object has been closed")
-Index: Whoosh-0.1.13/src/whoosh/spelling.py
+Index: python-whoosh-0.1.20/src/whoosh/spelling.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/spelling.py	2009-04-14 12:41:48.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/spelling.py	2009-04-14 12:42:04.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/spelling.py	2009-03-21 04:27:37.000000000 +0000
++++ python-whoosh-0.1.20/src/whoosh/spelling.py	2009-05-27 16:08:13.000000000 +0100
 @@ -18,9 +18,8 @@
  as a backend for a spell-checking engine.
  """
@@ -200,10 +197,10 @@
  from whoosh.support.levenshtein import relative, distance
  
  class SpellChecker(object):
-Index: Whoosh-0.1.13/src/whoosh/highlight.py
+Index: python-whoosh-0.1.20/src/whoosh/highlight.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/highlight.py	2009-04-14 12:47:54.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/highlight.py	2009-04-14 12:48:15.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/highlight.py	2009-03-18 06:04:40.000000000 +0000
++++ python-whoosh-0.1.20/src/whoosh/highlight.py	2009-05-27 16:08:13.000000000 +0100
 @@ -17,6 +17,11 @@
  from __future__ import division
  from heapq import nlargest
@@ -216,11 +213,11 @@
  
  # Fragment object
  
-Index: Whoosh-0.1.13/src/whoosh/index.py
+Index: python-whoosh-0.1.20/src/whoosh/index.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/index.py	2009-04-14 12:47:31.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/index.py	2009-04-14 12:47:49.000000000 +0100
-@@ -26,6 +26,11 @@
+--- python-whoosh-0.1.20.orig/src/whoosh/index.py	2009-05-25 21:22:38.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/index.py	2009-05-27 16:08:13.000000000 +0100
+@@ -28,6 +28,11 @@
  
  from whoosh import fields, store
  
@@ -232,10 +229,10 @@
  
  _DEF_INDEX_NAME = "MAIN"
  _EXTENSIONS = "dci|dcz|tiz|fvz"
-Index: Whoosh-0.1.13/src/whoosh/reading.py
+Index: python-whoosh-0.1.20/src/whoosh/reading.py
 ===================================================================
---- Whoosh-0.1.13.orig/src/whoosh/reading.py	2009-04-14 12:47:09.000000000 +0100
-+++ Whoosh-0.1.13/src/whoosh/reading.py	2009-04-14 12:47:25.000000000 +0100
+--- python-whoosh-0.1.20.orig/src/whoosh/reading.py	2009-05-25 21:22:38.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/reading.py	2009-05-27 16:08:13.000000000 +0100
 @@ -25,6 +25,11 @@
  from whoosh.util import ClosableMixin, protected
  from whoosh.fields import FieldConfigurationError, UnknownFieldError
@@ -248,17 +245,17 @@
  # Exceptions
  
  class TermNotFound(Exception):
-@@ -642,4 +647,4 @@
+@@ -641,4 +646,4 @@
  
      
      
 -    
 \ No newline at end of file
 +    
-Index: Whoosh-0.1.13/src/whoosh/support/any.py
+Index: python-whoosh-0.1.20/src/whoosh/support/any.py
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ Whoosh-0.1.13/src/whoosh/support/any.py	2009-04-14 12:46:45.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/support/any.py	2009-05-27 16:08:13.000000000 +0100
 @@ -0,0 +1,5 @@
 +def any(iterable):
 +    for element in iterable:




More information about the Python-modules-commits mailing list