[Python-modules-commits] r10606 - in packages/pyqwt5/trunk/debian (changelog control rules)

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Fri Nov 27 15:45:53 UTC 2009


    Date: Friday, November 27, 2009 @ 15:45:52
  Author: gudjon-guest
Revision: 10606

Binary dependency on libqwt5 now defined at build time. Version 5.2.1~cvs20091107+dfsg-2 is ready for release

Modified:
  packages/pyqwt5/trunk/debian/changelog
  packages/pyqwt5/trunk/debian/control
  packages/pyqwt5/trunk/debian/rules

Modified: packages/pyqwt5/trunk/debian/changelog
===================================================================
--- packages/pyqwt5/trunk/debian/changelog	2009-11-27 10:21:38 UTC (rev 10605)
+++ packages/pyqwt5/trunk/debian/changelog	2009-11-27 15:45:52 UTC (rev 10606)
@@ -4,9 +4,10 @@
   * Fix watch file.
 
   [ Gudjon I. Gudjonsson ]
-  * Add versioned binary dependency on libqwt5-qt{3,4} (Closes: #557170)
+  * Add fix to rules files that adds binary dependency on 
+    libqwt5-qt{3,4} (Closes: #557170)
 
- -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sun, 22 Nov 2009 23:59:56 +0100
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Fri, 27 Nov 2009 16:45:14 +0100
 
 pyqwt5 (5.2.1~cvs20091107+dfsg-1) unstable; urgency=low
 

Modified: packages/pyqwt5/trunk/debian/control
===================================================================
--- packages/pyqwt5/trunk/debian/control	2009-11-27 10:21:38 UTC (rev 10605)
+++ packages/pyqwt5/trunk/debian/control	2009-11-27 15:45:52 UTC (rev 10606)
@@ -16,7 +16,7 @@
 Section: python
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${pythonqt3:Depends},
- python-numpy, python-sip4 (>= 4.9), libqwt5-qt3 (>= 5.2.0-1)
+ python-numpy, python-sip4 (>= 4.9),  ${libqwt5qt3:Depends}
 Recommends: libqwt5-qt3-dev
 Description: Python version of the Qwt5 technical widget library
  PyQwt is a set of Python bindings for the Qwt C++ class library which extends
@@ -30,7 +30,7 @@
 Section: python
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${pythonqt4:Depends},
- python-numpy, python-sip4 (>= 4.9), libqwt5-qt4 (>= 5.2.0-1)
+ python-numpy, python-sip4 (>= 4.9),  ${libqwt5qt4:Depends}
 Recommends: libqwt5-qt4-dev
 Description: Python version of the Qwt5 technical widget library
  PyQwt is a set of Python bindings for the Qwt C++ class library which extends

Modified: packages/pyqwt5/trunk/debian/rules
===================================================================
--- packages/pyqwt5/trunk/debian/rules	2009-11-27 10:21:38 UTC (rev 10605)
+++ packages/pyqwt5/trunk/debian/rules	2009-11-27 15:45:52 UTC (rev 10606)
@@ -10,6 +10,7 @@
 QTS=3 4
 
 py_qt_version = $(shell dpkg -s python-qt$(strip $(1)) | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
+libqwt5_version = $(shell dpkg -s libqwt5-qt4 | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
 
 #DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+)\+dfsg.*,\1,p')
 DEB_UPSTREAM_VERSION=5.2.0
@@ -111,7 +112,9 @@
 	dh_compress -a --exclude=.py --exclude=.resX
 	dh_pysupport -a
 	echo 'pythonqt3:Depends=python-qt3 (>= $(call py_qt_version, 3))' >> debian/python-qwt5-qt3.substvars
+	echo 'libqwt5qt3:Depends=libqwt5-qt3 (>= $(call libqwt5_version))' >> debian/python-qwt5-qt3.substvars
 	echo 'pythonqt4:Depends=python-qt4 (>= $(call py_qt_version, 4))' >> debian/python-qwt5-qt4.substvars
+	echo 'libqwt5qt4:Depends=libqwt5-qt4 (>= $(call libqwt5_version))' >> debian/python-qwt5-qt4.substvars
 	dh_fixperms -a
 	dh_installdeb -a
 	dh_shlibdeps -a




More information about the Python-modules-commits mailing list