Hi!

In addition, you would want to Build-Depend on
python-all-dev (>= 2.5.4-1) to be able to use python.mk present in
/usr/share/python/python.mk.

HTH, and sorry for missing this. Updated patch attached.

Kumar
diff -Nru --exclude changelog python-gnuplot-1.8/debian/control python-gnuplot-1.8/debian/control
--- python-gnuplot-1.8/debian/control	2009-10-18 18:19:35.000000000 -0500
+++ python-gnuplot-1.8/debian/control	2009-10-18 18:19:36.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Matthias Klose <d...@debian.org>
 Build-Depends: debhelper (>= 5.0.37.1)
-Build-Depends-Indep: python-central (>= 0.4.17), python-all-dev (>= 2.3.5-10), python-numpy
+Build-Depends-Indep: python-central (>= 0.4.17), python-all-dev (>= 2.5.4-1), python-numpy
 Standards-Version: 3.8.0
 XS-Python-Version: all
 
diff -Nru --exclude changelog python-gnuplot-1.8/debian/rules python-gnuplot-1.8/debian/rules
--- python-gnuplot-1.8/debian/rules	2009-10-18 18:19:35.000000000 -0500
+++ python-gnuplot-1.8/debian/rules	2009-10-18 18:19:36.000000000 -0500
@@ -4,10 +4,12 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/python/python.mk
+
 p	:= python-gnuplot
 d	:= debian/$(p)
 PV	:= $(shell pyversions -vd)
-pylib	:= usr/lib/python$(PV)/site-packages
+pylib	:= usr/lib/python$(PV)/$(call py_sitename, $(PV))
 
 build:
 	python setup.py build
@@ -24,8 +26,8 @@
 
 	: # install it
 	dh_installdirs -i $(pylib)/Gnuplot usr/share/doc/$(p)
-	python setup.py install --prefix=$(d)/usr
-	-find $(d) -name '*.py[co]' | xargs rm -f
+	python setup.py install --prefix=$(d)/usr $(py_setup_install_args)
+	-find $(d) -name '*.py[co]' find $(d) -name '*.py[co]' | xargs rm -f
 
 	install -m 755 debian/datafile.py $(d)/$(pylib)/.
 	dh_installdocs -i \

Reply via email to