tags 679368 + patch pending
thanks

Dear maintainer,

I've prepared an NMU for pylucene (versioned as 3.5.0-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru pylucene-3.5.0/debian/changelog pylucene-3.5.0/debian/changelog
--- pylucene-3.5.0/debian/changelog	2012-04-24 00:12:29.000000000 +0200
+++ pylucene-3.5.0/debian/changelog	2012-08-06 11:44:58.000000000 +0200
@@ -1,3 +1,12 @@
+pylucene (3.5.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/unique_classes.patch:
+    - Cherry-pick patch from upstream branch_3x SVN (r1240640) to rename
+      classes whose python name would not be unique (Closes: #679368).
+
+ -- Luca Falavigna <dktrkr...@debian.org>  Mon, 06 Aug 2012 11:43:34 +0200
+
 pylucene (3.5.0-1) unstable; urgency=low
 
   * New maintainer (closes: 670179)
diff -Nru pylucene-3.5.0/debian/patches/series pylucene-3.5.0/debian/patches/series
--- pylucene-3.5.0/debian/patches/series	2012-04-23 18:29:49.000000000 +0200
+++ pylucene-3.5.0/debian/patches/series	2012-08-06 11:45:25.000000000 +0200
@@ -0,0 +1 @@
+unique_classes.patch
diff -Nru pylucene-3.5.0/debian/patches/unique_classes.patch pylucene-3.5.0/debian/patches/unique_classes.patch
--- pylucene-3.5.0/debian/patches/unique_classes.patch	1970-01-01 01:00:00.000000000 +0100
+++ pylucene-3.5.0/debian/patches/unique_classes.patch	2012-08-06 11:43:24.000000000 +0200
@@ -0,0 +1,31 @@
+Description: rename classes whose python name would not be unique in lucene module
+Origin: http://svn.apache.org/repos/asf/lucene/pylucene/branches/branch_3x/Makefile
+
+Index: pylucene-3.5.0/Makefile
+===================================================================
+--- pylucene-3.5.0.orig/Makefile	2011-12-09 06:17:55.000000000 +0100
++++ pylucene-3.5.0/Makefile	2012-08-06 11:38:31.042902706 +0200
+@@ -288,6 +288,7 @@
+            --exclude org.apache.lucene.queryParser.TokenMgrError \
+            --exclude org.apache.lucene.queryParser.QueryParserTokenManager \
+            --exclude org.apache.lucene.queryParser.ParseException \
++           --exclude org.apache.lucene.queryParser.CharStream \
+            --exclude org.apache.lucene.search.regex.JakartaRegexpCapabilities \
+            --exclude org.apache.regexp.RegexpTunnel \
+            --exclude org.apache.lucene.analysis.cn.smart.AnalyzerProfile \
+@@ -296,6 +297,15 @@
+            --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' \
+            --sequence java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' \
+            --rename org.apache.lucene.search.highlight.SpanScorer=HighlighterSpanScorer \
++           --rename org.apache.lucene.search.highlight.Scorer=HighlighterScorer \
++           --rename org.apache.lucene.search.spell.Dictionary=SpellDictionary \
++           --rename org.apache.lucene.search.suggest.fst.Sort=SuggestSort \
++           --rename org.apache.lucene.store.DataInput=StoreDataInput \
++           --rename org.apache.lucene.store.DataOutput=StoreDataOutput \
++           --rename org.tartarus.snowball.ext.DutchStemmer=SnowballDutchStemmer \
++           --rename org.tartarus.snowball.ext.FrenchStemmer=SnowballFrenchStemmer \
++           --rename org.tartarus.snowball.ext.GermanStemmer=SnowballGermanStemmer \
++           --rename org.tartarus.snowball.ext.PortugueseStemmer=SnowballPortugueseStemmer \
+            --version $(LUCENE_VER) \
+            --module python/collections.py \
+            --module python/ICUNormalizer2Filter.py \

Reply via email to