debian/0000775000000000000000000000000012313267325007174 5ustar debian/patches/0000775000000000000000000000000011623777105010630 5ustar debian/patches/02_examples.patch0000664000000000000000000000147311623274017013767 0ustar MultiDemo is excluded because the Debian package is compiled without support for numarray and numeric --- a/qt4examples/Grab.py +++ b/qt4examples/Grab.py @@ -29,7 +29,7 @@ 'ImagePlotDemo', 'MapDemo', 'MaskedDataDemo', - 'MultiDemo', +# 'MultiDemo', 'PickerDemo', 'RadioDemo', 'ReallySimpleDemo', --- a/qt4examples/BodeDemo.py +++ b/qt4examples/BodeDemo.py @@ -379,9 +379,9 @@ self.connect(self.picker, SIGNAL('moved(const QPoint &)'), self.moved) - self.connect(self.picker, - SIGNAL('selected(const QaPolygon &)'), - self.selected) +# self.connect(self.picker, +# SIGNAL('selected(const QaPolygon &)'), +# self.selected) # __init__() debian/patches/series0000664000000000000000000000004411623777107012045 0ustar 01_confiure.patch 02_examples.patch debian/patches/01_confiure.patch0000664000000000000000000000147211532270122013751 0ustar Remove the extra library added by the configure.py script. Doesn't fit the Debian library naming --- a/configure/configure.py +++ b/configure/configure.py @@ -768,6 +768,9 @@ elif qwt not in options.extra_libs: # no, add the qwt library if needed options.extra_libs.append(qwt) + # Added for the Debian packaging script + while options.extra_libs.count(qwt): + options.extra_libs.remove(qwt) # zap the temporary directory try: @@ -1119,9 +1122,9 @@ if __name__ == '__main__': try: main() - except Die as e: - inform('%s\n' % e.args) - sys.exit(1) + #except Die as e: + # inform('%s\n' % e.args) + # sys.exit(1) except: for entry in traceback.extract_tb(sys.exc_info()[-1]): if 'optparse.py' in entry[0]: debian/README.source0000664000000000000000000000023111526567132011353 0ustar The source can be downloaded with the get-orig-source target in the debian/rules file. The dpatch system is used for applying patches before building. debian/control0000664000000000000000000000334312261625543010604 0ustar Source: pyqwt5 Section: python Priority: optional Maintainer: Gudjon I. Gudjonsson Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 7), python-all-dev (>= 2.6.6-3), python-numpy (>= 1:1.0.2-2), python-sip-dev, libqwt5-qt4-dev (>=5.0.1), python-qt4 (>= 4.8.3-3), python-qt4-dev (>=4.8.3-3) Standards-Version: 3.9.5 X-Python-Version: >= 2.3 Homepage: http://pyqwt.sourceforge.net/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyqwt5/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyqwt5/trunk/ Package: python-qwt5-qt4 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${pythonqt4:Depends}, ${sip:Depends}, ${libqwt5qt4:Depends}, python-numpy Recommends: libqwt-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 the Qt framework with widgets for scientific and engineering applications. It provides a widget to plot 2-dimensional data and various widgets to display and control bounded or unbounded floating point values. . This version is compiled against Qt, version 4. Package: python-qwt5-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Python Qwt5 technical widget library, documentation and examples 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. It provides a widget to plot 2-dimensional data and various widgets to display and control bounded or unbounded floating point values. . This package contains the examples for both Qt versions. debian/copyright0000664000000000000000000000727011526567132011141 0ustar This package was debianized by Gudjon I. Gudjonsson on Sat, 3 Mar 2007 16:06:09 +0100. It was downloaded from http://pyqwt.sourceforge.net/ Upstream Author: Gerard Vermeulen Copyright: © 2001-2007 Gerard Vermeulen © 2000 Mark Colclough License: PyQwt LICENSE Version 3, March 2006 PyQwt is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. PyQwt is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with PyQwt; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. In addition, as a special exception, Gerard Vermeulen gives permission to link PyQwt dynamically with non-free versions of Qt and PyQt, and to distribute PyQwt in this form, provided that equally powerful versions of Qt and PyQt have been released under the terms of the GNU General Public License. If PyQwt is dynamically linked with non-free versions of Qt and PyQt, PyQwt becomes a free plug-in for a non-free program. One of the pyqwt5 examples is PyFontify.py and it contains the following clause: # Based on FontText.py by Mitchell S. Chapman, # which was modified by Zachary Roadhouse, # then un-Tk'd by Just van Rossum. # Many thanks for regular expression debugging & authoring are due to: # Tim (the-incredib-ly y'rs) Peters and Cristian Tismer # So, who owns the copyright? ;-) How about this: # Copyright 1996-2001: # Mitchell S. Chapman, # Zachary Roadhouse, # Tim Peters, # Just van Rossum Note from Gudjon: The PyQwt Licence is equal to the PyQwt3D license. The package contains Qwt http://qwt.sourceforge.net/ Qwt is distributed under the Qwt license. Qwt License Version 1.0, January 1, 2003 The Qwt library and included programs are provided under the terms of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL) with the following exceptions: 1. Widgets that are subclassed from Qwt widgets do not constitute a derivative work. 2. Static linking of applications and widgets to the Qwt library does not constitute a derivative work and does not require the author to provide source code for the application or widget, use the shared Qwt libraries, or link their applications or widgets against a user-supplied version of Qwt. If you link the application or widget to a modified version of Qwt, then the changes to Qwt must be provided under the terms of the LGPL in sections 1, 2, and 4. 3. You do not have to provide a copy of the Qwt license with programs that are linked to the Qwt library, nor do you have to identify the Qwt license in your program or documentation as required by section 6 of the LGPL. However, programs must still identify their use of Qwt. The following example statement can be included in user documentation to satisfy this requirement: [program/widget] is based in part on the work of the Qwt project (http://qwt.sf.net). On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL' The copyright of Qwt is owned by Copyright (C) 1997 Josef Wilgen Copyright (C) 2002 Uwe Rathmann debian/changelog0000664000000000000000000001501612313267325011051 0ustar pyqwt5 (5.2.1~cvs20091107+dfsg-7build1) trusty; urgency=medium * No-change rebuild against sip 4.15.5. -- Dmitry Shachnev Sat, 22 Mar 2014 15:06:40 +0400 pyqwt5 (5.2.1~cvs20091107+dfsg-7) unstable; urgency=low [ Jakub Wilk ] * Add epoch to python-numpy version in Build-Depends. * Use canonical URIs for Vcs-* fields. [ Gudjon I. Gudjonsson ] * Rebuild fixes segmentation fault (Closes: #731437) * Bump standards version to 3.9.5 -- Gudjon I. Gudjonsson Fri, 03 Jan 2014 08:09:25 +0100 pyqwt5 (5.2.1~cvs20091107+dfsg-6) unstable; urgency=low * Bump standards version to 3.9.2 * Add X-Python-Version * Update python dependencies * Change from dh_pysupport to dh_python2 (Closes: #634862) * Change short description in python-qwt5-doc * Comment out QaPolygon from BodePlot demo. All examples do work now. -- Gudjon I. Gudjonsson Fri, 12 Aug 2011 07:43:55 +0200 pyqwt5 (5.2.1~cvs20091107+dfsg-5) unstable; urgency=low * Rebuilding package (Closes: #619500) -- Gudjon I. Gudjonsson Sun, 27 Mar 2011 14:59:43 +0200 pyqwt5 (5.2.1~cvs20091107+dfsg-4) unstable; urgency=low * Remove qt3 support (Closes: #604373) * Switch to dpkg-source 3.0 (quilt) format * Bump standards to 3.9.1 * Patch 03_fix_QwtMemArray removed. Only used for qt3 * Rewrite other patches to quilt format * Remove qt3examples from python-qwt5-doc -- Gudjon I. Gudjonsson Sat, 26 Feb 2011 09:00:52 +0100 pyqwt5 (5.2.1~cvs20091107+dfsg-3) unstable; urgency=low * Upgrade to new sip version (Closes: #567228) * Bump standards version to 3.8.4 * Change from sip4 to sip dependencies * Change dephelper version to 7 * Add misc depends for python-qwt5-doc -- Gudjon I. Gudjonsson Sat, 06 Feb 2010 13:25:49 +0100 pyqwt5 (5.2.1~cvs20091107+dfsg-2) unstable; urgency=low [ Jakub Wilk ] * Fix watch file. [ Gudjon I. Gudjonsson ] * Add fix to rules files that adds binary dependency on libqwt5-qt{3,4} (Closes: #557170) -- Gudjon I. Gudjonsson Fri, 27 Nov 2009 16:45:14 +0100 pyqwt5 (5.2.1~cvs20091107+dfsg-1) unstable; urgency=low * New CVS version * Fixes problems in qt3 port * Rename README.Source to README.source and upgrade content * Add +dfsg to CVS get-orig-source target * Commented out three extra lines from configure.py that the script failed on. -- Gudjon I. Gudjonsson Sat, 07 Nov 2009 19:53:13 +0100 pyqwt5 (5.2.0+dfsg-2) unstable; urgency=low * Change sip4 dependencies to >=4.9 * Add binary dependency on python-sip4 >=4.9 * Bump standards version to 3.8.3, no changes needed -- Gudjon I. Gudjonsson Wed, 04 Nov 2009 22:53:02 +0100 pyqwt5 (5.2.0+dfsg-1) unstable; urgency=low * New upstream release * Remove export QTDIR from rules file * Fix watch file. Upstream path changed * DEB_UPSTREAM_VERSION not hardcoded anymore -- Gudjon I. Gudjonsson Sun, 09 Aug 2009 21:57:55 +0200 pyqwt5 (5.1.1~cvs20090626+dfsg-2) unstable; urgency=low * Qwt has been upgraded to version 5.2, PyQwt needs rebuilding -- Gudjon I. Gudjonsson Thu, 02 Jul 2009 19:20:11 +0200 pyqwt5 (5.1.1~cvs20090626+dfsg-1) unstable; urgency=medium [ Gudjon I. Gudjonsson ] * New CVS version: - Builds from source (Closes: #533950) - python-qwt5-qt4 doesn't segfault (Closes: #532850) - python-qwt5-qt3 fails but this version is still an improvement * Bump standards version to 3.8.2, no changes needed * Hardcode DEB_UPSTREAM_VERSION=5.1.0, will be changed in next release * Upgrade version dependency on python-qt4 and sip4 * Add README.Source file [ Piotr Ożarowski ] * Add get-orig-source rule * Prepare for Python 2.6: dh_install now recognizes files in /usr/local/*/dist-packages/ as well -- Gudjon I. Gudjonsson Fri, 27 Jun 2009 13:16:04 +0200 pyqwt5 (5.1.0.dfsg-2) unstable; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ 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. * Fix build-target dependencies in debian/rules. [ Gudjon I. Gudjonsson ] * Add patch 03_fix_QwtMemArray. Needed for compilation. * Upgrade to python-support system makes the Qwt.so module import correctly (Closes: #525838) -- Gudjon I. Gudjonsson Thu, 07 May 2009 13:11:37 +0200 pyqwt5 (5.1.0.dfsg-1) unstable; urgency=low * New upstream release * Bump standard version to 3.8.0, no changes needed * Add -indep and -arch for build and install in rules file. -- Gudjon I. Gudjonsson Sun, 15 Jun 2008 08:50:11 +0200 pyqwt5 (5.1~20080523cvs.dfsg-1) unstable; urgency=medium [ Gudjon I. Gudjonsson ] * New CVS snapshot that fixes FTBFS. (Closes: #482230) [ Piotr Ożarowski ] * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) * Change sip4 and python-sip4-dev minimum required build versions to (>= 4.7.1-1~) to ease backports * Bump Standards-Version to 3.7.3 (no changes needed) -- Gudjon I. Gudjonsson Fri, 23 May 2008 19:58:11 +0200 pyqwt5 (5.0.1.dfsg-3) unstable; urgency=low [ Piotr Ożarowski ] * Homepage field added * debian/watch file updated (remove ".dfsg" in dversionmangle) [ Gudjon I. Gudjonsson ] * Changed dependency of sip4 and python-sip4-dev to 4.7.1-1 (Closes: #442968) -- Gudjon I. Gudjonsson Wed, 03 Oct 2007 11:21:39 +0200 pyqwt5 (5.0.1.dfsg-2) unstable; urgency=low * python-qt4 has been upgraded to version 4.3 -- Gudjon I. Gudjonsson Sun, 05 Aug 2007 18:36:15 +0200 pyqwt5 (5.0.1.dfsg-1) unstable; urgency=low * New upstream release * Added python-qwt5-doc for the example directories. The documentation will be added later. * Removed patch 2 since multidemo has been fixed. -- Gudjon I. Gudjonsson Sat, 28 Jul 2007 22:01:03 +0200 pyqwt5 (5.0.0.dfsg-1) unstable; urgency=low * Initial release (Closes: #413372) -- Gudjon I. Gudjonsson Mon, 23 Jul 2007 13:21:37 +0200 debian/rules0000775000000000000000000000773012261625543010265 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PYTHONS := $(shell pyversions -vr) QTS=4 py_qt_version = $(shell dpkg -s python-qt$(strip $(1)) | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,') libqwt5_version = $(shell dpkg -s libqwt5-qt$(strip $(1)) | 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 CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif configure: configure-stamp configure-stamp: dh_testdir chmod ugo+x qt4lib/PyQt4/Qwt5/grace.py set -e; for pyvers in ${PYTHONS};\ do\ for qtvers in ${QTS};\ do\ mkdir -p build/py$$pyvers-qt$$qtvers;\ cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers-qt$$qtvers;\ (set -e; cd build/py$$pyvers-qt$$qtvers/configure;\ python$$pyvers configure.py -$$qtvers -I /usr/include/qwt-qt$$qtvers/ --extra-libs=qwt-qt$$qtvers );\ done;\ done touch configure-stamp build: build-arch build-indep build-arch: build-arch-stamp build-arch-stamp: configure-stamp dh_testdir set -e; for pyvers in ${PYTHONS};\ do\ for qtvers in ${QTS};\ do\ (set -e; cd build/py$$pyvers-qt$$qtvers/configure;\ $(MAKE));\ done;\ done touch $@ build-indep: build-indep-stamp build-indep-stamp: configure-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -f sip/qwt5qt4/QwtTypes.sip rm -rf build dh_clean install: install-indep install-arch install-indep: build-indep-stamp dh_testdir dh_testroot dh_clean -k -i dh_installdirs -i mkdir -p debian/tmp/usr/share/doc/python-qwt5-doc cp -a qt4examples debian/tmp/usr/share/doc/python-qwt5-doc install-arch: build-arch-stamp dh_testdir dh_testroot dh_clean -k -s dh_installdirs -s for pyvers in ${PYTHONS};\ do\ for qtvers in ${QTS};\ do\ export QTDIR=/usr/share/qt$$qtvers;\ (cd build/py$$pyvers-qt$$qtvers/configure;\ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install);\ done;\ done binary-indep: install-indep dh_testdir -i dh_testroot -i dh_installchangelogs -i ANNOUNCEMENT-$(DEB_UPSTREAM_VERSION) dh_installdocs -i dh_install -i --sourcedir=debian/tmp dh_compress -i --exclude=.py --exclude=.resX dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary-arch: install-arch dh_testdir -a dh_testroot -a dh_installchangelogs -a ANNOUNCEMENT-$(DEB_UPSTREAM_VERSION) dh_installdocs -a dh_install -a --sourcedir=debian/tmp dh_strip -a dh_compress -a --exclude=.py --exclude=.resX dh_python2 -a dh_sip -a echo 'pythonqt4:Depends=python-qt4 (>= $(call py_qt_version, 4))' >> debian/python-qwt5-qt4.substvars echo 'libqwt5qt4:Depends=libqwt5-qt4 (>= $(call libqwt5_version, 4))' >> debian/python-qwt5-qt4.substvars dh_numpy -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a get-orig-source: REV_DATE=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*cvs([0-9]+).*,\1,p'); \ VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+~]+).*,\1,p'); \ if [ x$$REV_DATE = x ]; then \ uscan --force-download --rename --download-version=$$VER --destdir=. && (\ tar -xz --exclude 'Doc/html' --exclude 'qwt-[0-9\.]*' -f pyqwt5_$$VER.orig.tar.gz && \ tar -czf pyqwt5_$$VER+dfsg.orig.tar.gz PyQwt-$$VER; \ rm -f pyqwt5_$$VER.orig.tar.gz;\ rm -rf PyQwt-$$VER); \ else \ cvs -rQz5 -d:pserver:anonymous@pyqwt.cvs.sourceforge.net:/cvsroot/pyqwt export \ -D $$REV_DATE -d pyqwt5-$$VER~cvs$$REV_DATE+dfsg pyqwt5 && (\ find pyqwt5-$$VER~cvs$$REV_DATE+dfsg -name .cvsignore -type f -delete; \ rm -rf pyqwt5-$$VER~cvs$$REV_DATE+dfsg/Doc/html ;\ tar -zcf ./pyqwt5_$$VER~cvs$$REV_DATE+dfsg.orig.tar.gz pyqwt5-$$VER~cvs$$REV_DATE+dfsg; \ rm -rf pyqwt5-$$VER~cvs$$REV_DATE+dfsg); \ fi binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure debian/python-qwt5-qt4.install0000664000000000000000000000010111526567132013505 0ustar usr/*/python*/*-packages/PyQt4/Qwt5/* usr/share/sip/PyQt4/Qwt5/* debian/python-qwt5-doc.install0000664000000000000000000000003711526567132013552 0ustar usr/share/doc/python-qwt5-doc/*debian/source/0000775000000000000000000000000011532270122010463 5ustar debian/source/format0000664000000000000000000000001411532270122011671 0ustar 3.0 (quilt) debian/python-qwt5-doc.dirs0000664000000000000000000000003511526567132013043 0ustar usr/share/doc/python-qwt5-docdebian/watch0000664000000000000000000000016511526567132010233 0ustar version=3 opts=dversionmangle=s/\+dfsg$// http://qa.debian.org/watch/sf.php/pyqwt/PyQwt-(.*)\.tar\.gz debian uupdate debian/compat0000664000000000000000000000000211526567132010376 0ustar 5 debian/README.Debian0000664000000000000000000000047211526567132011244 0ustar The documentation has been removed since it was created with the non-free latex2html To try out the package, using the examples do the following: $ cp -a /usr/share/doc/python-qwt5-doc/qt?examples . $ cd qt?examples $ python Grab.py -- Gudjon I. Gudjonsson Sat, 28 Jul 2007 12:57:00 +0200 debian/python-qwt5-qt4.dirs0000664000000000000000000000003111526567132013002 0ustar usr/share/sip/PyQt4/Qwt5