[Python-modules-commits] r8236 - in packages/pyqwt3d/trunk/debian (4 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Sun Apr 12 20:18:58 UTC 2009
Date: Sunday, April 12, 2009 @ 20:18:57
Author: bzed
Revision: 8236
* 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-gl larger or equal than the version the package
was built against.
* Bump Standards-Version to 3.8.1, no changes needed.
Added:
packages/pyqwt3d/trunk/debian/pyversions
Modified:
packages/pyqwt3d/trunk/debian/changelog
packages/pyqwt3d/trunk/debian/control
packages/pyqwt3d/trunk/debian/rules
Modified: packages/pyqwt3d/trunk/debian/changelog
===================================================================
--- packages/pyqwt3d/trunk/debian/changelog 2009-04-12 16:13:44 UTC (rev 8235)
+++ packages/pyqwt3d/trunk/debian/changelog 2009-04-12 20:18:57 UTC (rev 8236)
@@ -1,10 +1,21 @@
pyqwt3d (0.1.6-3) 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:37 +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-gl 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:18:07 +0200
+
pyqwt3d (0.1.6-2) unstable; urgency=medium
[ Gudjon I. Gudjonsson ]
Modified: packages/pyqwt3d/trunk/debian/control
===================================================================
--- packages/pyqwt3d/trunk/debian/control 2009-04-12 16:13:44 UTC (rev 8235)
+++ packages/pyqwt3d/trunk/debian/control 2009-04-12 20:18:57 UTC (rev 8236)
@@ -4,22 +4,20 @@
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), python-all-dev (>= 2.4.4-2), dpatch,
- sip4 (>= 4.6), python-sip4-dev (>= 4.7.1), python-numpy (>= 1.0.2), python-central (>= 0.5.8),
+ sip4 (>= 4.6), python-sip4-dev (>= 4.7.1), python-numpy (>= 1.0.2), python-support (>= 0.7.1),
python-qt-dev, python-qt3-gl (>= 3.17.2), libqt4-opengl-dev,
python-qt4-dev (>=4.2), python-qt4 (>= 4.2), python-qt4-gl (>= 4.2),
libqwtplot3d-qt3-dev (>= 0.2.7+svn191), libqwtplot3d-qt4-dev (>= 0.2.7+svn191)
Homepage: http://pyqwt.sourceforge.net/
-XS-Python-Version: all
-Standards-Version: 3.7.3
+Standards-Version: 3.8.1
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyqwt3d/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyqwt3d/trunk/
Package: python-qwt3d-qt3
Section: python
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-qt3-gl
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${python-qt3-gl:Depends}
Recommends: python-numpy
-XB-Python-Version: ${python:Versions}
Description: Python bindings of the QwtPlot3D library
PyQwt3D is a set of Python bindings for the QwtPlot3D C++ class
library which extends the Qt framework with widgets to visualize
@@ -30,9 +28,8 @@
Package: python-qwt3d-qt4
Section: python
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, python-qt4-gl
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${python-qt4-gl:Depends}
Recommends: python-numpy
-XB-Python-Version: ${python:Versions}
Description: Python bindings of the QwtPlot3D library
PyQwt3D is a set of Python bindings for the QwtPlot3D C++ class
library which extends the Qt framework with widgets to visualize
Added: packages/pyqwt3d/trunk/debian/pyversions
===================================================================
--- packages/pyqwt3d/trunk/debian/pyversions (rev 0)
+++ packages/pyqwt3d/trunk/debian/pyversions 2009-04-12 20:18:57 UTC (rev 8236)
@@ -0,0 +1 @@
+2.3-
Modified: packages/pyqwt3d/trunk/debian/rules
===================================================================
--- packages/pyqwt3d/trunk/debian/rules 2009-04-12 16:13:44 UTC (rev 8235)
+++ packages/pyqwt3d/trunk/debian/rules 2009-04-12 20:18:57 UTC (rev 8236)
@@ -10,6 +10,8 @@
CURDIR := $(shell pwd)
QTS=3 4
+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: ([^-]+).*,\1,p')
CFLAGS = -Wall -g
@@ -100,7 +102,9 @@
dh_link -a
dh_strip -a
dh_compress -a --exclude=.cpp --exclude=.h --exclude=.resX
- dh_pycentral -a
+ echo 'python-qt3-gl:Depends=python-qt3-gl (>= $(call py_qt_version, 3))' >> debian/python-qwt3d-qt3.substvars
+ echo 'python-qt4-gl:Depends=python-qt3-gl (>= $(call py_qt_version, 4))' >> debian/python-qwt3d-qt4.substvars
+ dh_pysupport -a
dh_installdeb -a
dh_fixperms -a
dh_shlibdeps -a
More information about the Python-modules-commits
mailing list