Bug#543230: zope.testing: FTBFS with python 2.6

Michael Bienia geser at ubuntu.com
Sun Aug 23 11:48:46 UTC 2009


Package: zope.testing
Version: 3.7.4-4
Severity: wishlist
Tags: patch

Hello,

here is a patch (based on the same changes to zope.interface) to let
zope.testing build with python2.6.

Michael
-------------- next part --------------
diff -u zope.testing-3.7.4/debian/changelog zope.testing-3.7.4/debian/changelog
--- zope.testing-3.7.4/debian/changelog
+++ zope.testing-3.7.4/debian/changelog
@@ -1,3 +1,10 @@
+zope.testing (3.7.4-5) unstable; urgency=low
+
+  * debian/rules:
+    Determine the correct library path for python 2.5 and python 2.6.
+
+ -- Michael Bienia <geser at ubuntu.com>  Mon, 20 Jul 2009 16:35:21 +0200
+
 zope.testing (3.7.4-4) unstable; urgency=low
 
   * Port revision 101026 from upstream: add a zope-testrunner binary.
diff -u zope.testing-3.7.4/debian/rules zope.testing-3.7.4/debian/rules
--- zope.testing-3.7.4/debian/rules
+++ zope.testing-3.7.4/debian/rules
@@ -3,8 +3,8 @@
 include /usr/share/python-van.pydeb/rules_templates/rules.1.mk
 
 dependencies-python%:
-	(echo -n 'setuptools:Depends=' && van-pydeb depends --egg-info debian/$(package)/usr/lib/python$*/site-packages/$(py_package).egg-info --exclude-extra zope_tracebacks) >> debian/$(package).substvars
-	(echo -n 'setuptools:Recommends=' && van-pydeb depends --egg-info debian/$(package)/usr/lib/python$*/site-packages/$(py_package).egg-info --extra zope_tracebacks) >> debian/$(package).substvars
+	(echo -n 'setuptools:Depends=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --exclude-extra zope_tracebacks) >> debian/$(package).substvars
+	(echo -n 'setuptools:Recommends=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --extra zope_tracebacks) >> debian/$(package).substvars
 
 post-install-python%:
 	mv debian/$(package)/usr/bin/zope-testrunner debian/$(package)/usr/bin/zope-testrunner$*


More information about the pkg-zope-developers mailing list