[pkg-zope-commits] r269 - in zope-textindexng2/trunk: . converters debian parsers/DumbQueryParser src/python-Levenshtein-0.10 stop_words tests

Jérémy Bobbio lunar-guest at costa.debian.org
Thu Oct 12 22:41:07 UTC 2006


Author: lunar-guest
Date: 2006-10-12 22:41:07 +0000 (Thu, 12 Oct 2006)
New Revision: 269

Added:
   zope-textindexng2/trunk/debian/
   zope-textindexng2/trunk/debian/Kaivo
   zope-textindexng2/trunk/debian/README.Debian
   zope-textindexng2/trunk/debian/changelog
   zope-textindexng2/trunk/debian/compat
   zope-textindexng2/trunk/debian/control
   zope-textindexng2/trunk/debian/copyright
   zope-textindexng2/trunk/debian/dzproduct
   zope-textindexng2/trunk/debian/interactiveDemo
   zope-textindexng2/trunk/debian/pycompat
   zope-textindexng2/trunk/debian/rules
   zope-textindexng2/trunk/debian/separator
   zope-textindexng2/trunk/debian/test_suite
   zope-textindexng2/trunk/debian/zope-textindexng2.dirs
   zope-textindexng2/trunk/debian/zope-textindexng2.examples
   zope-textindexng2/trunk/debian/zope-textindexng2.pth
Removed:
   zope-textindexng2/trunk/stop_words/__init__.pyc
Modified:
   zope-textindexng2/trunk/LICENSE.txt
   zope-textindexng2/trunk/Makefile
   zope-textindexng2/trunk/converters/ppt.py
   zope-textindexng2/trunk/interactiveDemo.py
   zope-textindexng2/trunk/parsers/DumbQueryParser/__init__.py
   zope-textindexng2/trunk/setup.py
   zope-textindexng2/trunk/src/python-Levenshtein-0.10/gendoc.sh
   zope-textindexng2/trunk/tests/testConverters.py
   zope-textindexng2/trunk/tests/testTextIndexNG.py
Log:
Load zope-textindexng2-2.2.0 into zope-textindexng2/trunk.



Property changes on: zope-textindexng2/trunk/LICENSE.txt
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-textindexng2/trunk/Makefile
===================================================================
--- zope-textindexng2/trunk/Makefile	2006-10-12 22:40:08 UTC (rev 268)
+++ zope-textindexng2/trunk/Makefile	2006-10-12 22:41:07 UTC (rev 269)
@@ -3,10 +3,10 @@
 clean:
 	find . -name build | xargs rm -fr 
 	find . -name dist | xargs rm -fr 
-	find . -name \*.pyc |xargs rm
-	find . -name core\* |xargs rm
-	find . -name \*.o |xargs rm
-	find . -name \*.so | xargs rm
+	find . -name \*.pyc |xargs rm -f
+	find . -name core\* |xargs rm -f
+	find . -name \*.o |xargs rm -f
+	find . -name \*.so | xargs rm -f
 
 dist: 
 	tar cfvz /tmp/TextIndexNG-`cat VERSION.txt`.tar.gz *

Modified: zope-textindexng2/trunk/converters/ppt.py
===================================================================
--- zope-textindexng2/trunk/converters/ppt.py	2006-10-12 22:40:08 UTC (rev 268)
+++ zope-textindexng2/trunk/converters/ppt.py	2006-10-12 22:41:07 UTC (rev 269)
@@ -23,7 +23,7 @@
     content_type = ('application/mspowerpoint', 'application/ms-powerpoint', 
                 'application/vnd.ms-powerpoint')
     content_description = "Microsoft PowerPoint"
-    depends_on = 'pptHtml'
+    depends_on = 'ppthtml'
 
     def convert(self, doc):
         """Convert PowerPoint document to raw text"""

Added: zope-textindexng2/trunk/debian/Kaivo
===================================================================
--- zope-textindexng2/trunk/debian/Kaivo	                        (rev 0)
+++ zope-textindexng2/trunk/debian/Kaivo	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,36 @@
+License: Modeled on the standard BSD license.
+
+##################################################################################
+#
+#   Kaivo Public Software License
+#
+#   Copyright (c) 2001, Kaivo, Inc.
+#   All rights reserved.
+#
+#   Redistribution and use in source and binary forms, with or without
+#   modification, are permitted provided that the following conditions are met:
+#
+#       o Redistributions of source code must retain the above copyright notice,
+#         this list of conditions and the following disclaimer.
+#
+#       o Redistributions in binary form must reproduce the above copyright
+#         notice, this list of conditions and the following disclaimer
+#         in the documentation and/or other materials provided with the
+#         distribution.
+#
+#       o Neither Kaivo nor the names of its contributors may be used to endorse
+#         or promote products derived from this software without specific prior
+#         written permission.
+#
+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+#   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+#   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#   ARE DISCLAIMED. IN NO EVENT SHALL KAIVO OR ITS CONTRIBUTORS BE LIABLE FOR 
+#   ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
+#   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+#   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
+#   ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+#   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+##################################################################################

Added: zope-textindexng2/trunk/debian/README.Debian
===================================================================
--- zope-textindexng2/trunk/debian/README.Debian	                        (rev 0)
+++ zope-textindexng2/trunk/debian/README.Debian	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,18 @@
+zope-textindexng2 for Debian
+----------------------------
+
+This package was builded for Debian because it is needed by zope-zms
+but might be valuable for other projects as well.
+
+As a reference you might check the "Zope Book" which is available online
+or as a Debian package (zope-book) chapter 16 "Searching and Categorizing
+Content".
+
+It is known that a new version of this product (2.1.1) is available.  This
+was not packaged for Debian because it depends from Zope version 2.7 which
+is not the default Zope verison in Debian and thus two different TextIndexNG2
+packages would be required.  This effort does not seem to be appropriate
+because the currently packaged version works with both available Zope
+packages (zope and zope2.7)
+
+  -- Andreas Tille <tille at debian.org>  Tue,  28 Oct 2003 10:43:55 +0200

Added: zope-textindexng2/trunk/debian/changelog
===================================================================
--- zope-textindexng2/trunk/debian/changelog	                        (rev 0)
+++ zope-textindexng2/trunk/debian/changelog	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,123 @@
+zope-textindexng2 (1:2.2.0-5) unstable; urgency=low
+
+  * debian/dzproduct: capitalize the name of the product.
+    (Closes: #389388)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Wed,  4 Oct 2006 20:20:51 +0200
+
+zope-textindexng2 (1:2.2.0-4) unstable; urgency=low
+
+  * debian/dzproduct: added the package field. (Closes: #384828)
+  * debian/rules, debian/control: clean-up and changes for the python
+    transition.
+
+ -- Fabio Tranchitella <kobold at debian.org>  Tue, 29 Aug 2006 13:53:42 +0200
+
+zope-textindexng2 (1:2.2.0-3) unstable; urgency=low
+
+  * Fixed broken NMU, TextindexNG does not work with Zope 3
+    Really Closes: #368184
+    Closes: #370775
+  * Removed debian/postinst because zope-common takes over
+    this job
+  * debian/rules: Added dh_installzope and replaced manual
+    copy commands
+  * Added debian/dzhandle
+  * Removed "Suggests: python2.3-optik" that is not available
+    any more
+  * Standards-Version: 3.7.2 (no changes necessary)
+  * Switch to debhelper 5 (debian/compat: 5)
+  * Split into all and any package to enable dh_zope correct
+    handling of architecture independant parts according to
+    discussion on pkg-zope list
+
+ -- Andreas Tille <tille at debian.org>  Mon, 10 Jul 2006 16:42:54 +0200
+
+zope-textindexng2 (1:2.2.0-2.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Update zope dependency to zope3 (Closes: #368184).
+
+ -- Luk Claes <luk at debian.org>  Tue,  6 Jun 2006 20:09:44 +0200
+
+zope-textindexng2 (1:2.2.0-2) unstable; urgency=low
+
+  * Standards-Version: 3.6.2
+  * setup.py: ext_args = ['-O2']
+    Closes: #325562
+
+ -- Andreas Tille <tille at debian.org>  Tue, 30 Aug 2005 13:33:25 +0200
+
+zope-textindexng2 (1:2.2.0-1) unstable; urgency=low
+
+  * New upstream version
+  * Depends: zope2.7
+    --> (Build-)Depends python2.3-* instead of python2.2-*
+  * Standards-Version: 3.6.2.1 (no changes necessary)
+  * Depends: debconf | debconf-2.0, ${misc:Depends}
+  * Uploaders: Debian Zope team <pkg-zope-developers at lists.alioth.debian.org>
+  * debian/install: s/python2.2/python2.3/g
+
+ -- Andreas Tille <tille at debian.org>  Sun,  7 Aug 2005 14:18:44 +0200
+
+zope-textindexng2 (1:2.0.8-5) unstable; urgency=low
+
+  * Use distutils properly to prevent problems on amd64
+    (thanks to Seo Sanghyeon <tinuviel at sparcs.kaist.ac.kr> for the patch)
+    Closes: #294506
+  * Start description sysnopsis with lowercase letter
+
+ -- Andreas Tille <tille at debian.org>  Thu, 10 Feb 2005 11:58:30 +0100
+
+zope-textindexng2 (1:2.0.8-4) unstable; urgency=low
+
+  * Fix typo in xls converter (Thanks to Renaud Duhaut <rd at duhaut.com>)
+    Closes: #286839
+
+ -- Andreas Tille <tille at debian.org>  Fri, 24 Dec 2004 15:03:01 +0100
+
+zope-textindexng2 (1:2.0.8-3) unstable; urgency=low
+
+  * set depends_on='ppthtml' in converters/ppt.py
+    Closes: #280141
+  * Standards-Version: 3.6.1.1
+    (no changes required)
+  * Added comment to README.Debian why the new TextIndexNG2 version
+    is not yet packaged (depends from Zope 2.7)
+
+ -- Andreas Tille <tille at debian.org>  Mon,  8 Nov 2004 10:17:09 +0100
+
+zope-textindexng2 (1:2.0.8-1) unstable; urgency=low
+
+  * New upstream version
+    Closes: #261231
+  * Perform TextCases in postinst scripts if zope-textcase is installed
+
+ -- Andreas Tille <tille at debian.org>  Tue, 10 Aug 2004 14:37:16 +0200
+
+zope-textindexng2 (1:2.0.7-1) unstable; urgency=low
+
+  * New upstream version
+  * Added get-orig-source target to debian/rules
+  * Added lintian.overrides
+  * Fixed description OpenOffice -> OpenOffice.org
+    Closes: #254050
+
+ -- Andreas Tille <tille at debian.org>  Sat, 12 Jun 2004 22:39:08 +0200
+
+zope-textindexng2 (2.05-1) unstable; urgency=low
+
+  * New upstream version
+  * Fixed debian/rules to build binary-arch target instead of
+    binary-indep
+    closes: #229405
+
+ -- Andreas Tille <tille at debian.org>  Sun, 25 Jan 2004 10:09:58 +0100
+
+zope-textindexng2 (2.0.2-1) unstable; urgency=low
+
+  * Initial release
+    closes: #219942 
+
+ -- Andreas Tille <tille at debian.org>  Mon, 10 Nov 2003 12:55:28 +0100
+

Added: zope-textindexng2/trunk/debian/compat
===================================================================
--- zope-textindexng2/trunk/debian/compat	                        (rev 0)
+++ zope-textindexng2/trunk/debian/compat	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1 @@
+5

Added: zope-textindexng2/trunk/debian/control
===================================================================
--- zope-textindexng2/trunk/debian/control	                        (rev 0)
+++ zope-textindexng2/trunk/debian/control	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,43 @@
+Source: zope-textindexng2
+Section: web
+Priority: extra
+Maintainer: Debian/Ubuntu Zope team <pkg-zope-developers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>, Fabio Tranchitella <kobold at debian.org>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python (>= 2.3.5-7), python-central (>= 0.5)
+Build-Depends-Indep: zope-debhelper
+XBCS-URL: http://zope.org/Members/ajung/TextIndexNG/
+XS-Python-Version: all
+
+Package: zope-textindexng2
+Architecture: all
+Depends: ${zope:Depends}, zope-textindexng2-lib (>= ${Source-Version}), zope-textindexng2-lib (<< ${source:Version}.1~), xpdf-utils, gs-common, wv, catdoc, ppthtml, debconf | debconf-2.0
+Description: full text index for Zope
+ This is the new full text index for Zope objects and is the most
+ feature-complete solution for full text indexing under Zope.
+ .
+ TextIndexNG will live happily as pluggable index beneath all other
+ existing Zope indexes for Zcatalog. TextIndexNG is not supposed to be
+ a replacement for the existing TextIndex. It will be an additional index.
+ .
+ Supported Formats: HTML, PDF, Postscript, WinWord, PowerPoint, OpenOffice.org
+ .
+ Homepage: http://zope.org/Members/ajung/TextIndexNG/
+
+Package: zope-textindexng2-lib
+Architecture: any
+Depends: ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: full text index for Zope
+ This is the new full text index for Zope objects and is the most
+ feature-complete solution for full text indexing under Zope.
+ .
+ TextIndexNG will live happily as pluggable index beneath all other
+ existing Zope indexes for Zcatalog. TextIndexNG is not supposed to be
+ a replacement for the existing TextIndex. It will be an additional index.
+ .
+ Supported Formats: HTML, PDF, Postscript, WinWord, PowerPoint, OpenOffice.org
+ .
+ This package contains the binary libraries.
+ .
+ Homepage: http://zope.org/Members/ajung/TextIndexNG/

Added: zope-textindexng2/trunk/debian/copyright
===================================================================
--- zope-textindexng2/trunk/debian/copyright	                        (rev 0)
+++ zope-textindexng2/trunk/debian/copyright	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,44 @@
+This package was debianized by Andreas Tille <tille at debian.org>  on
+Tue,  28 Oct 2003 10:43:55 +0200
+
+Homepage:
+   http://zope.org/Members/ajung/TextIndexNG/
+   
+Download URL:
+
+Upstream Author: 
+   Copyright (c) 2003 Andreas Jung <andreas at andreas-jung.com>
+
+License: 
+         
+TextIndexNG is designed and written by Andreas Jung and published under the
+Zope Public License ZPL (http://www.zope.org/Resources/ZPL)
+(See below in this file.)
+
+The following parts of TextIndexNG are not covered by the ZPL:
+
+  - The PyStemmer and PySimilarity extensions for Python are (C) by Andreas
+    Jung and published under the MIT Public License.
+    (See below in this file.)
+
+  - Some converters are based on code from the DocumentLibrary published under
+    the Kaivo license (Thanks to Casey Duncan).
+    (See below in this file.)
+
+  - The QueryParser is (C) by Sidnei da Silva and published under the GPL.
+    (See /usr/share/common-licenses/GPL.)
+
+  - The Snowball stemmer sources are (C) Dr. Martin Porter and published under
+    the MIT Public License.
+    (See below in this file.)
+
+  - Matt Hamilton contributed code for compressed lists that uses header files
+    (C) by Neil Sherman and Alistair Moffat published under the GPL.
+    (See /usr/share/common-licenses/GPL.)
+
+  - TXNGSplitter uses parts of the "libdict" packages. The package is published
+    under the Berkely License.  Copyright (C) 2001 Farooq Mela. All rights reserved.
+    (See below in this file.)
+
+  - converters/stripogramm is Copyright (c) 2001 Chris Withers
+    (See below in this file.)

Added: zope-textindexng2/trunk/debian/dzproduct
===================================================================
--- zope-textindexng2/trunk/debian/dzproduct	                        (rev 0)
+++ zope-textindexng2/trunk/debian/dzproduct	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,2 @@
+Name: TextIndexNG2
+Package: zope-textindexng2

Added: zope-textindexng2/trunk/debian/interactiveDemo
===================================================================
--- zope-textindexng2/trunk/debian/interactiveDemo	                        (rev 0)
+++ zope-textindexng2/trunk/debian/interactiveDemo	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,16 @@
+#!/bin/sh
+export PYTHONPATH="/usr/lib/python<VERSION>:/usr/lib/zope/lib/python"
+TESTDIR="/usr/share/doc/zope-textindexng2/examples/"
+
+cd /tmp
+for test in `ls ${TESTDIR}/*py*` ; do
+  testname=`basename $test .gz`
+  if `echo $test | grep -q ".gz$"` ; then
+     zcat $test > /tmp/${testname}
+  else
+     cp $test /tmp/${testname}
+  fi
+  echo "${testname} ... "
+  /usr/bin/python<VERSION> /tmp/${testname} -d /tmp
+  rm -f /tmp/${testname}
+done

Added: zope-textindexng2/trunk/debian/pycompat
===================================================================
--- zope-textindexng2/trunk/debian/pycompat	                        (rev 0)
+++ zope-textindexng2/trunk/debian/pycompat	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1 @@
+2

Added: zope-textindexng2/trunk/debian/rules
===================================================================
--- zope-textindexng2/trunk/debian/rules	                        (rev 0)
+++ zope-textindexng2/trunk/debian/rules	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,136 @@
+#!/usr/bin/make -f
+# debian/rules for zope-textindexng2 using dh_installzope
+# Andreas Tille <tille at debian.org>  Tue,  1 Apr 2003 10:43:55 +0200
+# GPL
+VERSION=2.2.0
+
+export DH_PYCENTRAL=nomove
+PYVERS=$(shell pyversions -r debian/control)
+
+upstreamshort=TextIndexNG
+upstreamname=$(upstreamshort)2
+pkg=zope-textindexng2
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	for python in $(PYVERS); do \
+		$$python setup.py install --home build; \
+		mv build/lib/python build/lib/$$python; \
+	done
+	mkdir -p build/tests
+	for tf in `find tests -maxdepth 1 -type f` ; do \
+	    sed "s%LICENSE.txt%/usr/share/doc/$(pkg)/copyright%" $$tf > build/$$tf ; \
+	    touch -r $$tf build/$$tf ; \
+	done
+	for td in `find tests -maxdepth 1 -mindepth 1 -type d` ; do \
+	    cp -a $$td build/$$td ; \
+	done
+	PYVER=`grep python debian/control | sed "s/.*\(python[.0-9]*\).*/\1/" | head -n 1` ; \
+	  for demo in test_suite interactiveDemo ; do \
+	    echo "Adjusting $${demo} to $${PYVER}" ; \
+	    sed "s/python<VERSION>/$${PYVER}/g" debian/$${demo} > build/$${demo} ; \
+	    touch -r debian/$${demo} build/$${demo} ; \
+	    chmod 755 build/$${demo} ; \
+	  done
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	make clean
+	rm -fr build-stamp build
+	dh_clean
+
+install-arch: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k -a
+	dh_installdirs -a
+	for python in $(PYVERS); do \
+		mkdir -p debian/$(pkg)-lib/usr/lib/$$python/site-packages; \
+		cp build/lib/$$python/* debian/$(pkg)-lib/usr/lib/$$python/site-packages; \
+	done
+
+install-indep: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i
+	dh_installdirs -i
+	dh_installzope -p $(pkg) -X debian -X src -X tests -X build -X .bzr .
+
+binary-indep: build install-indep
+	dh_testdir
+	dh_testroot
+	dh_install -i
+	dh_installdocs -i
+	# Add the different licenses to Copyright file
+	cat debian/separator >> debian/$(pkg)/usr/share/doc/$(pkg)/copyright
+	cat src/TXNGSplitter/LICENSE >> debian/$(pkg)/usr/share/doc/$(pkg)/copyright
+	cat debian/separator >> debian/$(pkg)/usr/share/doc/$(pkg)/copyright
+	cat converters/stripogram/license.txt >> debian/$(pkg)/usr/share/doc/$(pkg)/copyright
+	cat debian/separator >> debian/$(pkg)/usr/share/doc/$(pkg)/copyright
+	cat debian/Kaivo >> debian/$(pkg)/usr/share/doc/$(pkg)/copyright
+	find debian/$(pkg) -iname license.txt -exec rm \{\} \;
+	find debian/$(pkg) -iname setup.py -exec rm \{\} \;
+	dh_installchangelogs -i
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_installexamples -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install-arch
+	dh_testdir
+	dh_testroot
+	dh_install -a
+	dh_installdocs -a
+	dh_installchangelogs -a
+	dh_python -a
+	dh_pycentral -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_installexamples -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+get-orig-source:
+	# Sometimes the concrete download location changes - so just obtain the
+	# source tarball manually from http://zope.org/Members/ajung/TextIndexNG/
+	# wget http://zope.org/Members/ajung/$(upstreamname)/$(upstreamname)%20$(VERSION).tar.gz/TextIndexNG2-$(VERSION).tar.gz
+	TGZ=`ls $(upstreamshort)*.tar.gz | sort | tail -n1` ; \
+	VER=`echo $${TGZ} | sed "s/$(upstreamshort)2*[_-]\(.*\)\.tar.gz/\1/"` ; \
+	TAR=$(pkg)_$${VER}.orig.tar.gz ; \
+	DIR=$(pkg)-$${VER} ; \
+	if [ -d $${DIR} ] ; then \
+	    rm -f $${DIR} ; \
+	fi ; \
+	if [ -f $${DIR} ] ; then \
+	    echo "Please remove $${DIR}." ; \
+	    exit ; \
+	fi ; \
+	tar -xzf $${TGZ} ; \
+	mv $(upstreamname) $${DIR} ; \
+	cd $${DIR} ; \
+	rm -rf `find . -type d -name CVS` ; \
+	chmod 644 converters/wvText.xml ; \
+	cd .. ; \
+	GZIP=-9 tar -czf $${TAR} $${DIR} ; \
+	rm -rf $${DIR}
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+


Property changes on: zope-textindexng2/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: zope-textindexng2/trunk/debian/separator
===================================================================
--- zope-textindexng2/trunk/debian/separator	                        (rev 0)
+++ zope-textindexng2/trunk/debian/separator	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,3 @@
+
+-----------------------------------------------------------------------------
+

Added: zope-textindexng2/trunk/debian/test_suite
===================================================================
--- zope-textindexng2/trunk/debian/test_suite	                        (rev 0)
+++ zope-textindexng2/trunk/debian/test_suite	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,20 @@
+#!/bin/sh
+export PYTHONPATH="/usr/lib/python<VERSION>:/usr/lib/zope3/lib/python"
+TESTDIR="/usr/share/doc/zope-textindexng2/examples/tests"
+
+cd /tmp
+for test in `ls ${TESTDIR}/*py*` ; do
+  testname=`basename $test .gz`
+  if `echo $test | grep -q ".gz$"` ; then
+     zcat $test > /tmp/${testname}
+  else
+     cp $test /tmp/${testname}
+  fi
+  echo "Testing ${testname} ... "
+  if `/usr/bin/python<VERSION> /tmp/${testname}` ; then
+     echo "Test of ${testname} succeded."
+  else
+     echo "Test of ${testname} failed."
+  fi
+  rm -f /tmp/${testname}
+done

Added: zope-textindexng2/trunk/debian/zope-textindexng2.dirs
===================================================================
--- zope-textindexng2/trunk/debian/zope-textindexng2.dirs	                        (rev 0)
+++ zope-textindexng2/trunk/debian/zope-textindexng2.dirs	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1 @@
+usr/share/lintian/overrides

Added: zope-textindexng2/trunk/debian/zope-textindexng2.examples
===================================================================
--- zope-textindexng2/trunk/debian/zope-textindexng2.examples	                        (rev 0)
+++ zope-textindexng2/trunk/debian/zope-textindexng2.examples	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1,3 @@
+build/test*
+build/interactiveDemo
+interactiveDemo.py

Added: zope-textindexng2/trunk/debian/zope-textindexng2.pth
===================================================================
--- zope-textindexng2/trunk/debian/zope-textindexng2.pth	                        (rev 0)
+++ zope-textindexng2/trunk/debian/zope-textindexng2.pth	2006-10-12 22:41:07 UTC (rev 269)
@@ -0,0 +1 @@
+zope-textindexng2

Modified: zope-textindexng2/trunk/interactiveDemo.py
===================================================================
--- zope-textindexng2/trunk/interactiveDemo.py	2006-10-12 22:40:08 UTC (rev 268)
+++ zope-textindexng2/trunk/interactiveDemo.py	2006-10-12 22:41:07 UTC (rev 269)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python2.2
-
 ###########################################################################
 #
 # TextIndexNG                The next generation TextIndex for Zope


Property changes on: zope-textindexng2/trunk/interactiveDemo.py
___________________________________________________________________
Name: svn:executable
   - 
   + *

Modified: zope-textindexng2/trunk/parsers/DumbQueryParser/__init__.py
===================================================================
--- zope-textindexng2/trunk/parsers/DumbQueryParser/__init__.py	2006-10-12 22:40:08 UTC (rev 268)
+++ zope-textindexng2/trunk/parsers/DumbQueryParser/__init__.py	2006-10-12 22:41:07 UTC (rev 269)
@@ -1,5 +1,3 @@
-#!/usr/bin/env python2.1
-
 ###########################################################################
 #
 # TextIndexNG                The next generation TextIndex for Zope

Modified: zope-textindexng2/trunk/setup.py
===================================================================
--- zope-textindexng2/trunk/setup.py	2006-10-12 22:40:08 UTC (rev 268)
+++ zope-textindexng2/trunk/setup.py	2006-10-12 22:41:07 UTC (rev 269)
@@ -50,7 +50,7 @@
 
 
 if sys.platform != "win32":
-    ext_args = ['-Wall']
+    ext_args = ['-Wall', '-O2']
 else:
     ext_args = []
 


Property changes on: zope-textindexng2/trunk/src/python-Levenshtein-0.10/gendoc.sh
___________________________________________________________________
Name: svn:executable
   - 
   + *

Deleted: zope-textindexng2/trunk/stop_words/__init__.pyc
===================================================================
(Binary files differ)


Property changes on: zope-textindexng2/trunk/tests/testConverters.py
___________________________________________________________________
Name: svn:executable
   - 
   + *


Property changes on: zope-textindexng2/trunk/tests/testTextIndexNG.py
___________________________________________________________________
Name: svn:executable
   - 
   + *




More information about the pkg-zope-commits mailing list