[Python-modules-commits] r8238 - in packages/pyqwt5/trunk/debian (4 files)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Sun Apr 12 20:57:57 UTC 2009


    Date: Sunday, April 12, 2009 @ 20:57:57
  Author: bzed
Revision: 8238

* Replace python-central by python-support to follow the change in
  python-qt4. This would not be an issue if python-central would
  create namespace packages properly. We should not need to
  change the build-dependency on python-qt4 as python-support should
  handle it for all versions in a sane way.
* Depend on python-qtX larger or equal than the version the package
  was built against.
* Bump Standards-Version to 3.8.1, no changes needed.

Added:
  packages/pyqwt5/trunk/debian/pyversions
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-04-12 20:48:20 UTC (rev 8237)
+++ packages/pyqwt5/trunk/debian/changelog	2009-04-12 20:57:57 UTC (rev 8238)
@@ -1,10 +1,21 @@
 pyqwt5 (5.1.0.dfsg-2) UNRELEASED; urgency=low
 
+  [ Sandro Tosi ]
   * debian/control
     - switch Vcs-Browser field to viewsvn
 
- -- Sandro Tosi <morph at debian.org>  Mon, 03 Nov 2008 22:14:38 +0100
+  [ Bernd Zeimetz ]
+  * Replace python-central by python-support to follow the change in
+    python-qt4. This would not be an issue if python-central would
+    create namespace packages properly. We should not need to
+    change the build-dependency on python-qt4 as python-support should
+    handle it for all versions in a sane way.
+  * Depend on python-qtX larger or equal than the version the package
+    was built against.
+  * Bump Standards-Version to 3.8.1, no changes needed.
 
+ -- Bernd Zeimetz <bzed at debian.org>  Sun, 12 Apr 2009 22:58:45 +0200
+
 pyqwt5 (5.1.0.dfsg-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/pyqwt5/trunk/debian/control
===================================================================
--- packages/pyqwt5/trunk/debian/control	2009-04-12 20:48:20 UTC (rev 8237)
+++ packages/pyqwt5/trunk/debian/control	2009-04-12 20:57:57 UTC (rev 8238)
@@ -3,23 +3,21 @@
 Priority: optional
 Maintainer: Gudjon I. Gudjonsson <gudjon at gudjon.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5), dpatch, python-all-dev (>= 2.4.4-2), python-central (>= 0.5.8),
+Build-Depends: debhelper (>= 5), dpatch, python-all-dev (>= 2.4.4-2), python-support (>= 0.7.1),
  python-numpy (>= 1.0.2-2), sip4 (>= 4.7.1-1~), python-sip4-dev (>= 4.7.1-1~),
  libqwt5-qt4-dev (>=5.0.1), python-qt4, python-qt4-dev (>=4.2),
  libqwt5-qt3-dev (>=5.0.1), python-qt3, python-qt-dev
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
 Homepage: http://pyqwt.sourceforge.net/
-XS-Python-Version: all
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyqwt5/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyqwt5/trunk/
 
 Package: python-qwt5-qt3
 Section: python
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-qt3,
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${python-qt3:Depends},
  python-numpy
 Recommends: libqwt5-qt3-dev
-XB-Python-Version: ${python:Versions}
 Description: Python version of the Qwt5 technical widget library
  PyQwt is a set of Python bindings for the Qwt C++ class library which extends
  the Qt framework with widgets for scientific and engineering applications.
@@ -31,10 +29,9 @@
 Package: python-qwt5-qt4
 Section: python
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-qt4,
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${python-qt4:Depends},
  python-numpy
 Recommends: libqwt5-qt4-dev
-XB-Python-Version: ${python:Versions}
 Description: Python version of the Qwt5 technical widget library
  PyQwt is a set of Python bindings for the Qwt C++ class library which extends
  the Qt framework with widgets for scientific and engineering applications.

Added: packages/pyqwt5/trunk/debian/pyversions
===================================================================
--- packages/pyqwt5/trunk/debian/pyversions	                        (rev 0)
+++ packages/pyqwt5/trunk/debian/pyversions	2009-04-12 20:57:57 UTC (rev 8238)
@@ -0,0 +1 @@
+2.3-

Modified: packages/pyqwt5/trunk/debian/rules
===================================================================
--- packages/pyqwt5/trunk/debian/rules	2009-04-12 20:48:20 UTC (rev 8237)
+++ packages/pyqwt5/trunk/debian/rules	2009-04-12 20:57:57 UTC (rev 8238)
@@ -9,8 +9,9 @@
 PYTHONS	:= $(shell pyversions -vr)
 QTS=3 4
 
-#DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
-DEB_UPSTREAM_VERSION=5.1.0
+py_qt_version = $(shell dpkg -s python-qt$(1)-gl | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
+
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+)\.dfsg.*,\1,p')
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -109,7 +110,9 @@
 	dh_install -a --sourcedir=debian/tmp
 	dh_strip -a
 	dh_compress -a --exclude=.py --exclude=.resX
-	dh_pycentral -a
+	dh_pysupport -a
+echo 'python-qt3:Depends=python-qt3 (>= $(call py_qt_version, 3))' >> debian/python-qwt5-qt3.substvars
+        echo 'python-qt4:Depends=python-qt4 (>= $(call py_qt_version, 4))' >> debian/python-qwt5-qt4.substvars
 	dh_fixperms -a
 	dh_installdeb -a
 	dh_shlibdeps -a




More information about the Python-modules-commits mailing list