Package: zope-textindexng2 Version: 1:2.2.0-2 Severity: normal Tags: patch Hi,
Attached is the diff for my zope-textindexng2 1:2.2.0-2.1 NMU. -- Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D Fingerprint: D5AF 25FB 316B 53BB 08E7 F999 E544 DE07 9B7C 328D
diff -u zope-textindexng2-2.2.0/debian/changelog
zope-textindexng2-2.2.0/debian/changelog
--- zope-textindexng2-2.2.0/debian/changelog
+++ zope-textindexng2-2.2.0/debian/changelog
@@ -1,3 +1,10 @@
+zope-textindexng2 (1:2.2.0-2.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Update zope dependency to zope3 (Closes: #368184).
+
+ -- Luk Claes <[EMAIL PROTECTED]> Tue, 6 Jun 2006 20:09:44 +0200
+
zope-textindexng2 (1:2.2.0-2) unstable; urgency=low
* Standards-Version: 3.6.2
diff -u zope-textindexng2-2.2.0/debian/control
zope-textindexng2-2.2.0/debian/control
--- zope-textindexng2-2.2.0/debian/control
+++ zope-textindexng2-2.2.0/debian/control
@@ -9,7 +9,7 @@
Package: zope-textindexng2
Architecture: any
-Depends: zope2.7, xpdf-utils, gs-common, wv, catdoc, ppthtml, debconf |
debconf-2.0, ${misc:Depends}
+Depends: zope3, xpdf-utils, gs-common, wv, catdoc, ppthtml, debconf |
debconf-2.0, ${misc:Depends}
Suggests: python2.3-optik
Description: full text index for Zope
This is the new full text index for Zope objects and is the most
diff -u zope-textindexng2-2.2.0/debian/postinst
zope-textindexng2-2.2.0/debian/postinst
--- zope-textindexng2-2.2.0/debian/postinst
+++ zope-textindexng2-2.2.0/debian/postinst
@@ -9,8 +9,8 @@
# Load confmodule.
. /usr/share/debconf/confmodule
-PYTHON=`dpkg --status zope2.7 | grep "^Depends" | sed
"s/.*\(python[2-3]\.[1-9][.0-9]*\).*/\1/"`
-export SOFTWARE_HOME="/usr/lib/zope2.7/lib/python"
+PYTHON=`dpkg --status zope3 | grep "^Depends" | sed
"s/.*\(python[2-3]\.[1-9][.0-9]*\).*/\1/"`
+export SOFTWARE_HOME="/usr/lib/zope3/lib/python"
export PYTHONPATH="/usr/lib/${PYTHON}:${SOFTWARE_HOME}"
case "$1" in
@@ -19,7 +19,7 @@
db_get "shared/zope/restart" || true
case "$RET" in
configuring)
- invoke-rc.d zope2.7 restart
+ invoke-rc.d zope3 restart
;;
end)
touch /var/run/zope.restart
@@ -27,11 +27,11 @@
esac
if [ -f ${SOFTWARE_HOME}/Testing/ZopeTestCase/ZopeLite.py ] ;
then
cd /usr/share/doc/zope-textindexng2/examples/tests
- if [ -e /usr/lib/zope2.7/utilities/testrunner.py ] ; then
- ${PYTHON} /usr/lib/zope2.7/utilities/testrunner.py -a
+ if [ -e /usr/lib/zope3/utilities/testrunner.py ] ; then
+ ${PYTHON} /usr/lib/zope3/utilities/testrunner.py -a
else
cat <<EOT
-Attention: File /usr/lib/zope2.7/utilities/testrunner.py is missing.
+Attention: File /usr/lib/zope3/utilities/testrunner.py is missing.
This is just a hack to circumvent a working testsuite.
EOT
fi
diff -u zope-textindexng2-2.2.0/debian/rules
zope-textindexng2-2.2.0/debian/rules
--- zope-textindexng2-2.2.0/debian/rules
+++ zope-textindexng2-2.2.0/debian/rules
@@ -6,7 +6,7 @@
upstreamshort=TextIndexNG
upstreamname=$(upstreamshort)2
-ZOPE=zope2.7
+ZOPE=zope3
INSTDIR=usr/lib/$(ZOPE)/lib/python/Products/$(upstreamname)
IMGDIR=share/$(ZOPE)/Products/$(upstreamname)
pkg=`dh_listpackages`
diff -u zope-textindexng2-2.2.0/debian/test_suite
zope-textindexng2-2.2.0/debian/test_suite
--- zope-textindexng2-2.2.0/debian/test_suite
+++ zope-textindexng2-2.2.0/debian/test_suite
@@ -1,5 +1,5 @@
#!/bin/sh
-export PYTHONPATH="/usr/lib/python<VERSION>:/usr/lib/zope2.7/lib/python"
+export PYTHONPATH="/usr/lib/python<VERSION>:/usr/lib/zope3/lib/python"
TESTDIR="/usr/share/doc/zope-textindexng2/examples/tests"
cd /tmp
signature.asc
Description: Digital signature

