Comment 18 for bug 347939

Revision history for this message
Michael Vogt (mvo) wrote :

Possible fix:

diff -u zope3-3.4.0/debian/changelog zope3-3.4.0/debian/changelog
--- zope3-3.4.0/debian/changelog
+++ zope3-3.4.0/debian/changelog
@@ -1,3 +1,9 @@
+zope3 (3.4.0-0ubuntu3) jaunty; urgency=low
+
+ * make it installable without pycentral error
+
+ -- Michael Vogt <email address hidden> Wed, 25 Mar 2009 17:59:15 +0100
+
 zope3 (3.4.0-0ubuntu2) jaunty; urgency=low

   * Regenerate the python-zopeinterface pkgconfig file. LP: #332516.
diff -u zope3-3.4.0/debian/rules zope3-3.4.0/debian/rules
--- zope3-3.4.0/debian/rules
+++ zope3-3.4.0/debian/rules
@@ -117,16 +117,16 @@

 install-arch: build-arch build-dbg install-prereq $(PYVERS:%=install-zif-python%) install-zope-dbg
        # Remove not needed stuff
- rm -fr $(d_lib)/usr/lib/python2.[46]/*-packages/twisted/trial/test/scripttest.py \
- $(d_lib)/usr/lib/python2.[46]/*-packages/mechanize \
- $(d_lib)/usr/lib/python2.[46]/*-packages/ClientCookie \
- $(d_lib)/usr/lib/python2.[46]/*-packages/zope/formlib/LICENSE.txt
+ rm -fr $(d_lib)/usr/lib/python2.[4-6]/*-packages/twisted/trial/test/scripttest.py \
+ $(d_lib)/usr/lib/python2.[4-6]/*-packages/mechanize \
+ $(d_lib)/usr/lib/python2.[4-6]/*-packages/ClientCookie \
+ $(d_lib)/usr/lib/python2.[4-6]/*-packages/zope/formlib/LICENSE.txt

        # remove docutils and pytz
- rm -fr $(d_lib)/usr/lib/python2.[46]/*-packages/docutils \
- $(d_lib)/usr/lib/python2.[46]/*-packages/pytz \
- $(d_lib)/usr/lib/python2.[46]/*-packages/ClientForm.py \
- $(d_lib)/usr/lib/python2.[46]/*-packages/pullparser.py
+ rm -fr $(d_lib)/usr/lib/python2.[4-6]/*-packages/docutils \
+ $(d_lib)/usr/lib/python2.[4-6]/*-packages/pytz \
+ $(d_lib)/usr/lib/python2.[4-6]/*-packages/ClientForm.py \
+ $(d_lib)/usr/lib/python2.[4-6]/*-packages/pullparser.py

        # remove files from zope3 also in default zopeinterface package
        ( \