r1227 - in python-tz/trunk/debian (changelog rules test-pytz)

Fabio Tranchitella kobold at alioth.debian.org
Tue Apr 15 06:48:46 UTC 2008


    Date: Tuesday, April 15, 2008 @ 06:48:45
  Author: kobold
Revision: 1227

* debian/control: really fix dependencies on python, thanks dato.
  (Closes: #450740)

Modified:
  python-tz/trunk/debian/changelog
  python-tz/trunk/debian/rules
  python-tz/trunk/debian/test-pytz

Modified: python-tz/trunk/debian/changelog
===================================================================
--- python-tz/trunk/debian/changelog	2008-04-03 09:26:49 UTC (rev 1226)
+++ python-tz/trunk/debian/changelog	2008-04-15 06:48:45 UTC (rev 1227)
@@ -1,3 +1,10 @@
+python-tz (2008a-2) unstable; urgency=low
+
+  * debian/control: really fix dependencies on python, thanks dato.
+    (Closes: #450740)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Tue, 15 Apr 2008 08:40:51 +0200
+
 python-tz (2008a-1) unstable; urgency=low
 
   * New upstream release.

Modified: python-tz/trunk/debian/rules
===================================================================
--- python-tz/trunk/debian/rules	2008-04-03 09:26:49 UTC (rev 1226)
+++ python-tz/trunk/debian/rules	2008-04-15 06:48:45 UTC (rev 1227)
@@ -36,15 +36,13 @@
 	dh_clean -k
 	dh_installdirs
 	$(MAKE) -f debian/rules $(PYVERS:%=install-python%)
+	# install our testing package
+	install -D debian/test-pytz debian/$(PACKAGE)/usr/lib/python-tz/test-pytz.py
 
 install-python%:
 	python$* setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE)
 	# remove zoneinfo, our patch to pytz makes it use the one from tzdata
 	rm -rf debian/$(PACKAGE)/usr/lib/python$*/site-packages/pytz/zoneinfo
-	# install our testing package
-	install -D debian/test-pytz \
-	   debian/$(PACKAGE)/usr/lib/python-tz/test-pytz$*
-	sed -i 's/@PYVERSION@/$*/' debian/$(PACKAGE)/usr/lib/python-tz/test-pytz$*
 
 .PHONY: binary-common
 binary-common:

Modified: python-tz/trunk/debian/test-pytz
===================================================================
--- python-tz/trunk/debian/test-pytz	2008-04-03 09:26:49 UTC (rev 1226)
+++ python-tz/trunk/debian/test-pytz	2008-04-15 06:48:45 UTC (rev 1227)
@@ -1,4 +1,4 @@
-#!/usr/bin/python at PYVERSION@
+#!/usr/bin/env python
 """Run to test the system python"""
 import doctest
 import pytz




More information about the pkg-zope-commits mailing list