tags 547862 + patch thanks Hi!
Please find attached a patch to fix this bug. To test the fix using Python 2.6, however, I needed to patch and build a new python-setuptools. But that shouldn't prevent fixing and uploading this to unstable right away. HTH, and thanks. Kumar
diff -Nru --exclude changelog webhelpers-0.6.4/debian/rules webhelpers-0.6.4/debian/rules --- webhelpers-0.6.4/debian/rules 2009-10-13 22:51:28.000000000 -0500 +++ webhelpers-0.6.4/debian/rules 2009-10-13 22:51:28.000000000 -0500 @@ -6,6 +6,9 @@ PYDEFAULT=$(shell pyversions -d) include /usr/share/dpatch/dpatch.make +include /usr/share/python/python.mk + +SITEDIR = $(call py_sitename, $(PYDEFAULT)) clean: unpatch rm -f build-* @@ -30,8 +33,8 @@ python setup.py install \ --no-compile \ --single-version-externally-managed \ - --root $(CURDIR)/debian/$(package) - rm -f $(CURDIR)/debian/$(package)/usr/lib/$(PYDEFAULT)/site-packages/webhelpers/rails/javascripts/prototype.js + --root $(CURDIR)/debian/$(package) --install-layout=deb + rm -f $(CURDIR)/debian/$(package)/usr/lib/$(PYDEFAULT)/$(SITEDIR)/webhelpers/rails/javascripts/prototype.js binary-indep: build install dh_testdir