[Python-modules-commits] r10210 - in packages/mako/trunk/debian (changelog rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon Oct 26 22:02:28 UTC 2009


    Date: Monday, October 26, 2009 @ 22:02:13
  Author: piotr
Revision: 10210

* Add --prefix=/usr to setup.py's install command (fixes FTBFS bug with
  python2.6)
* Remove requires.txt from Python's Egg metadata (dpkg handles dependencies
  way better, closes LP: #461281)

Modified:
  packages/mako/trunk/debian/changelog
  packages/mako/trunk/debian/rules

Modified: packages/mako/trunk/debian/changelog
===================================================================
--- packages/mako/trunk/debian/changelog	2009-10-26 21:15:48 UTC (rev 10209)
+++ packages/mako/trunk/debian/changelog	2009-10-26 22:02:13 UTC (rev 10210)
@@ -1,3 +1,12 @@
+mako (0.2.5-2) unstable; urgency=low
+
+  * Add --prefix=/usr to setup.py's install command (fixes FTBFS bug with
+    python2.6)
+  * Remove requires.txt from Python's Egg metadata (dpkg handles dependencies
+    way better, closes LP: #461281)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 26 Oct 2009 22:20:13 +0100
+
 mako (0.2.5-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/mako/trunk/debian/rules
===================================================================
--- packages/mako/trunk/debian/rules	2009-10-26 21:15:48 UTC (rev 10209)
+++ packages/mako/trunk/debian/rules	2009-10-26 22:02:13 UTC (rev 10210)
@@ -19,11 +19,13 @@
 
 install: $(PYVERS:%=install-python%)
 install-python%:
-	python$* setup.py install \
+	python$* setup.py install --prefix=/usr \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/python-mako
 	# use default Python version in shebang
 	sed -i -e '1s,usr/bin/.*,usr/bin/python,' $(CURDIR)/debian/python-mako/usr/bin/mako-render
+	# dpkg handles dependencies way better than Python
+	find $(CURDIR)/debian/python-mako -name requires.txt -type f -delete
 
 binary-indep: build install
 	dh_testdir -i




More information about the Python-modules-commits mailing list