It was brought to my notice by Jakub Wilk that my earlier patch was
wrong. So, please find attached an updated patch for fixing this bug.

Thanks.

Kumar
diff -Nru --exclude changelog supervisor-3.0a7/debian/control supervisor-3.0a7/debian/control
--- supervisor-3.0a7/debian/control	2009-10-20 12:11:29.000000000 -0500
+++ supervisor-3.0a7/debian/control	2009-10-20 12:11:30.000000000 -0500
@@ -2,7 +2,7 @@
 Section: admin
 Priority: extra
 Maintainer: Anders Hammarquist <i...@debian.org>
-Build-Depends: debhelper (>= 7), python-setuptools (>= 0.6c7), python-support, python-dev (>= 2.3.5-7), python (>= 2.3.5-7), python2.4-dev, python2.5-dev
+Build-Depends: debhelper (>= 7), python-setuptools (>= 0.6c7), python-support, python-all (>= 2.3.5-7)
 XS-Python-Version: >= 2.3
 Standards-Version: 3.8.3
 Homepage: http://supervisord.org/
diff -Nru --exclude changelog supervisor-3.0a7/debian/rules supervisor-3.0a7/debian/rules
--- supervisor-3.0a7/debian/rules	2009-10-20 12:11:29.000000000 -0500
+++ supervisor-3.0a7/debian/rules	2009-10-20 12:11:30.000000000 -0500
@@ -11,6 +11,8 @@
 PYDEF=$(shell pyversions -d)
 PYVERS=$(shell pyversions -r)
 
+-include /usr/share/python/python.mk
+
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
@@ -56,9 +58,9 @@
 	for python in $(PYVERS); do \
 		pydir=$$python \
 		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
-		$$python setup.py install --single-version-externally-managed --root=debian/tmp --no-compile; \
+		$$python setup.py install --single-version-externally-managed --root=debian/tmp --no-compile $(py_setup_install_args); \
 	done
-	rm -f debian/tmp/usr/lib/python*/site-packages/supervisor*.egg-info/requires.txt
+	rm -f debian/tmp/usr/lib/python*/*-packages/supervisor*.egg-info/requires.txt
 
 	: # Replace all '#!' calls to python with /usr/bin/python
 	: # and make them executable

Reply via email to