[Python-modules-commits] r8246 - in packages/pyqwt5/trunk/debian (rules)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Mon Apr 13 10:48:05 UTC 2009


    Date: Monday, April 13, 2009 @ 10:48:04
  Author: bzed
Revision: 8246

strip qt version numbers before using them.

Modified:
  packages/pyqwt5/trunk/debian/rules

Modified: packages/pyqwt5/trunk/debian/rules
===================================================================
--- packages/pyqwt5/trunk/debian/rules	2009-04-12 22:10:10 UTC (rev 8245)
+++ packages/pyqwt5/trunk/debian/rules	2009-04-13 10:48:04 UTC (rev 8246)
@@ -9,7 +9,7 @@
 PYTHONS	:= $(shell pyversions -vr)
 QTS=3 4
 
-py_qt_version = $(shell dpkg -s python-qt$(1)-gl | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
+py_qt_version = $(shell dpkg -s python-qt$(strip $(1))-gl | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
 
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+)\.dfsg.*,\1,p')
 CFLAGS = -Wall -g




More information about the Python-modules-commits mailing list