debian/0000755000000000000000000000000012161061025007160 5ustar debian/compat0000644000000000000000000000000211744030576010373 0ustar 8 debian/ant.properties0000644000000000000000000000017712161057022012067 0ustar # Ensure that source and target are 1.5 # For backwards compat on Java 7 ant.build.javac.source=1.5 ant.build.javac.target=1.5 debian/source/0000755000000000000000000000000011745255321010473 5ustar debian/source/format0000644000000000000000000000001411745255321011701 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000272212161060552011041 0ustar pylucene (3.5.0-1.2) unstable; urgency=low * Non-maintainer upload. * Compile Java with backwards compatible bytecode. (Closes: #678131) -- Niels Thykier Fri, 21 Jun 2013 16:21:25 +0200 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 Mon, 06 Aug 2012 11:43:34 +0200 pylucene (3.5.0-1) unstable; urgency=low * New maintainer (closes: 670179) * New upstream release * Switch to dpkg-source 3.0 (quilt) format * Switch to machine-readable debian/copyright * Bump debian/compat to 8, drop debian/pycompat * Switch from cdbs to dh * Add watch file * Build for all supported versions of python2 (closes: 581198, 632240) * Rename binary package to python-lucene (closes: 581197) * Add -dbg package -- Dmitry Nezhevenko Mon, 23 Apr 2012 16:43:55 +0300 pylucene (2.3.1-1.1) unstable; urgency=low * Non-maintainer upload. * Adding python-all-dev and python-all to B-D (closes: 496332) * Add a dependency on python 2.5 (closes: 497479) -- Rene Mayorga Sat, 30 Aug 2008 19:55:25 -0600 pylucene (2.3.1-1) unstable; urgency=low * Initial release (closes: 490254) -- Jeff Breidenbach Wed, 16 Apr 2008 10:39:49 -0700 debian/control0000644000000000000000000000254211746023131010572 0ustar Source: pylucene Section: python Priority: optional Maintainer: Dmitry Nezhevenko Build-Depends: debhelper (>= 8), jcc, default-jdk, ant, python-setuptools (>= 0.6b3), python-all-dev (>= 2.6.6-3) Standards-Version: 3.9.3 X-Python-Version: >= 2.6 Homepage: http://lucene.apache.org/pylucene/ Package: python-lucene Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, default-jre-headless Replaces: pylucene (<< 2.3.1-1.1+b1) Breaks: pylucene (<< 2.3.1-1.1+b1) Description: Python extension for accessing Java Lucene PyLucene is a Python extension for accessing Java Lucene. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python. Package: python-lucene-dbg Section: debug Architecture: any Priority: extra Depends: python-lucene (= ${binary:Version}), ${misc:Depends} Description: debugging symbols for python-lucene PyLucene is a Python extension for accessing Java Lucene. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python. . This package contains the debugging symbols for python-lucene. Package: pylucene Section: oldlibs Architecture: any Depends: python-lucene, ${misc:Depends} Description: Python extension for accessing Java Lucene (transitional dummy package) This is a transitional dummy package. It can safely be removed. debian/lintian-overrides0000644000000000000000000000041511745351647012564 0ustar # package uses JNI interface so needs to be linked to JVM python-lucene binary: binary-or-shlib-defines-rpath # false positive: it's just readme.html. Registering it with doc-base looks useless python-lucene binary: possible-documentation-but-no-doc-base-registration debian/patches/0000755000000000000000000000000012007710674010621 5ustar debian/patches/series0000644000000000000000000000002512007711065012026 0ustar unique_classes.patch debian/patches/unique_classes.patch0000644000000000000000000000403712007710674014671 0ustar 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 \ debian/watch0000644000000000000000000000012511745312601010215 0ustar version=3 http://www.apache.org/dist/lucene/pylucene/ pylucene-([0-9\.]+).*\.tar\.gz debian/docs0000644000000000000000000000004611745345766010063 0ustar doc/documentation/readme.html CREDITS debian/README.Debian0000644000000000000000000000210111745351670011232 0ustar pylucene for Debian ------------------- If you are curious if this package is working or not, fire up python and make sure you don't get weird errors from the following commands. >>> import lucene >>> lucene.initVM(lucene.CLASSPATH) This package is built using rpath, which is very unusual. The reason is we need to link against shared libraries shipped with Java. There's also some discussion on the upstream mailing lists, the Debian Java lists, amongst other distributions, and with the Debian ftp master. This seems like the best idea at the time; talk to the maintainer if you have a better one. Here are some references: http://wiki.debian.org/RpathIssue https://bugzilla.redhat.com/show_bug.cgi?id=449456 http://www.mail-archive.com/pylucene-dev@osafoundation.org/msg02279.html http://www.mail-archive.com/pkg-java-maintainers@lists.alioth.debian.org/msg10991.html Including Java Lucene source code in source tarball rather than pulling live from subversion. -- Jeff Breidenbach Wed, 16 Apr 2008 10:39:49 -0700 debian/bugreport.cgi?msg=5;filename=pylucene.diff;att=1;bug=6793650000644000000000000000000000247412161057004021577 0ustar diff -Nru pylucene-3.5.0/debian/ant.properties pylucene-3.5.0/debian/ant.properties --- pylucene-3.5.0/debian/ant.properties 1970-01-01 01:00:00.000000000 +0100 +++ pylucene-3.5.0/debian/ant.properties 2012-06-28 10:15:05.000000000 +0200 @@ -0,0 +1,4 @@ +# Ensure that source and target are 1.5 +# For backwards compat on Java 7 +ant.build.javac.source=1.5 +ant.build.javac.target=1.5 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-06-28 10:17:44.000000000 +0200 @@ -1,3 +1,10 @@ +pylucene (3.5.0-1.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Compile Java with backwards compatible bytecode. + + -- Niels Thykier Thu, 28 Jun 2012 10:12:47 +0200 + pylucene (3.5.0-1) unstable; urgency=low * New maintainer (closes: 670179) diff -Nru pylucene-3.5.0/debian/rules pylucene-3.5.0/debian/rules --- pylucene-3.5.0/debian/rules 2012-04-25 18:08:18.000000000 +0200 +++ pylucene-3.5.0/debian/rules 2012-06-28 10:14:26.000000000 +0200 @@ -1,6 +1,6 @@ #!/usr/bin/make -f -export ANT := ant +export ANT := ant -propertyfile $(CURDIR)/debian/ant.properties export JAVA_HOME := /usr/lib/jvm/default-java # number of cpp files to generate from jar. JCC will split debian/rules0000755000000000000000000000223712161057022010246 0ustar #!/usr/bin/make -f export ANT := ant -propertyfile $(CURDIR)/debian/ant.properties export JAVA_HOME := /usr/lib/jvm/default-java # number of cpp files to generate from jar. JCC will split # generated code to specified number of files and then compile # all of them export NUM_FILES := 16 PYTHON_VERSION=$(shell pyversions -s) %: dh $@ --with python2 override_dh_auto_clean: rm -rf dist lucene.egg-info for inter in $(PYTHON_VERSION); do \ PYTHON=$$inter JCC="$$inter -m jcc" make clean || exit $$? ; \ rm -rf build-$$inter; \ done # temporary no tests override_dh_auto_test: override_dh_auto_build: ls -la /usr/lib/jvm/ for inter in $(PYTHON_VERSION); do \ PYTHON=$$inter JCC="$$inter -m jcc.__main__" \ JCCFLAGS="--output build-$$inter" make || exit $$?; \ done override_dh_auto_install: for inter in ${PYTHON_VERSION}; do \ PYTHON=$$inter JCC="$$inter -m jcc.__main__" \ JCCFLAGS="--use-distutils --output build-$$inter --install-dir debian/python-lucene/usr/lib/$$inter/dist-packages" \ make install || exit $$?; \ done override_dh_strip: dh_strip --dbg-package=python-lucene-dbg #override_dh_installchangelogs: # dh_installchangelogs CHANGES debian/copyright0000644000000000000000000000110311745344710011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pylucene Source: Files: * Copyright: 2004-2008 Open Source Applications Foundation 2009-2012 The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: 2008-2012 Jeff Breidenbach 2012 Dmitry Nezhevenko License: Apache-2.0 License: Apache-2.0 On Debian GNU/Linux system you can find the complete text of the Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.