tags 547857 + patch thanks Hi!
Please find attached a patch to fix this bug. HTH, and thanks. Kumar
diff -Nru --exclude changelog python-tz-2009n/debian/rules python-tz-2009n/debian/rules --- python-tz-2009n/debian/rules 2009-10-12 18:39:57.000000000 -0500 +++ python-tz-2009n/debian/rules 2009-10-12 18:39:57.000000000 -0500 @@ -9,6 +9,10 @@ DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \ | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) +# Include for python 2.6 update +include /usr/share/python/python.mk +SITEDIR = $(call py_sitename, $(PYVER)) + build: $(PYVERS:%=build-python%) touch $@ build-python%: @@ -40,9 +44,9 @@ install -D debian/test-pytz debian/$(PACKAGE)/usr/lib/python-tz/test-pytz.py install-python%: - PYTHONPATH=$(CURDIR) python$* setup.py install --no-compile --root=debian/$(PACKAGE) + PYTHONPATH=$(CURDIR) python$* setup.py install --no-compile --root=debian/$(PACKAGE) $(py_setup_install_args) # remove zoneinfo, our patch to pytz makes it use the one from tzdata - rm -rf debian/$(PACKAGE)/usr/lib/python$*/site-packages/pytz/zoneinfo + rm -rf debian/$(PACKAGE)/usr/lib/python$*/$(SITEDIR)/pytz/zoneinfo .PHONY: binary-common binary-common: