[Python-modules-commits] r3536 - in /packages/pyqwt/trunk/debian: ./ README.Debian changelog compat control copyright patches/ patches/00list patches/01_example.dpatch pycompat python-qwt4-doc.dirs python-qwt4-doc.install python-qwt4.dirs python-qwt4.install rules

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Sun Nov 4 14:42:34 UTC 2007


Author: gudjon-guest
Date: Sun Nov  4 14:42:34 2007
New Revision: 3536

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3536
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/pyqwt/trunk/debian/   (with props)
    packages/pyqwt/trunk/debian/README.Debian
    packages/pyqwt/trunk/debian/changelog
    packages/pyqwt/trunk/debian/compat
    packages/pyqwt/trunk/debian/control
    packages/pyqwt/trunk/debian/copyright
    packages/pyqwt/trunk/debian/patches/
    packages/pyqwt/trunk/debian/patches/00list
    packages/pyqwt/trunk/debian/patches/01_example.dpatch
    packages/pyqwt/trunk/debian/pycompat
    packages/pyqwt/trunk/debian/python-qwt4-doc.dirs
    packages/pyqwt/trunk/debian/python-qwt4-doc.install
    packages/pyqwt/trunk/debian/python-qwt4.dirs
    packages/pyqwt/trunk/debian/python-qwt4.install
    packages/pyqwt/trunk/debian/rules   (with props)

Propchange: packages/pyqwt/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/pyqwt/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/README.Debian?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/README.Debian (added)
+++ packages/pyqwt/trunk/debian/README.Debian Sun Nov  4 14:42:34 2007
@@ -1,0 +1,12 @@
+PyQwt for Debian
+
+To try out the package, using the examples do the following:
+$ cp -a /usr/share/doc/python-qwt4-doc/qt3examples .
+$ cd qt3examples
+$ python Grab.py
+
+The documentation has been removed since it was created with the non-free 
+latex2html
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sat, 28 Jul 2007 12:57:00 +0200
+

Added: packages/pyqwt/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/changelog?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/changelog (added)
+++ packages/pyqwt/trunk/debian/changelog Sun Nov  4 14:42:34 2007
@@ -1,0 +1,42 @@
+pyqwt (4.2.3.dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed the example patch since it is not necessary
+  * Changed my email address
+  * Removed the documentation to comply with the DFSG
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sat, 28 Jul 2007 21:53:51 +0200
+
+pyqwt (4.2.2-1) unstable; urgency=low
+
+  * A new upstream release.
+  * Dependencies on python-numeric and python-numarray have been dropped, 
+    see Readme.Debian for details (Closes: #412758)
+
+ -- Gudjon I. Gudjonsson <gudjon at mc2.chalmers.se>  Mon, 12 Mar 2007 13:04:51 +0100
+
+pyqwt (4.2.1-4) unstable; urgency=medium
+
+  * Updated the (build-)dependencies on the final numpy 1.0 release.
+
+ -- Gudjon I. Gudjonsson <gudjon at h44n2-vrr-gr1.ias.bredband.telia.com>  Mon, 12 Mar 2007 13:03:17 +0100
+
+pyqwt (4.2.1-3) unstable; urgency=low
+
+  * Package builds from source now. (Closes: #403073)
+
+ -- Gudjon I. Gudjonsson <gudjon at mc2.chalmers.se>  Sun, 17 Dec 2006 16:26:23 +0100
+
+pyqwt (4.2.1-2) unstable; urgency=low
+
+  * Recompiled against numpy version 1.0
+  * Now it depends on python-numarray, numeric and numpy, not just one of them
+
+ -- Gudjon I. Gudjonsson <gudjon at mc2.chalmers.se>  Fri, 4 Aug 2006 12:36:34 +0200
+
+pyqwt (4.2.1-1) unstable; urgency=low
+
+  * Initial Debian release. (Closes: #356085)
+
+ -- Gudjon I. Gudjonsson <gudjon at mc2.chalmers.se>  Thu, 27 Jul 2006 20:48:04 +0200
+

Added: packages/pyqwt/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/compat?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/compat (added)
+++ packages/pyqwt/trunk/debian/compat Sun Nov  4 14:42:34 2007
@@ -1,0 +1,1 @@
+5

Added: packages/pyqwt/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/control?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/control (added)
+++ packages/pyqwt/trunk/debian/control Sun Nov  4 14:42:34 2007
@@ -1,0 +1,39 @@
+Source: pyqwt
+Priority: optional
+Maintainer: Gudjon I. Gudjonsson <gudjon at gudjon.org>
+Uploaders: Marco Presi (Zufus) <zufus at debian.org>, Ramakrishnan Muthukrishnan <rkrishnan at debian.org>
+Build-Depends: debhelper (>= 5.0.42), autotools-dev, python-all-dev (>= 2.4.4-2), python-qt-dev, python-sip4-dev (>=4.5), python-qt3 (>=3.17.2), libqwt-dev (>=4.2.0-4), sip4 (>=4.5), python-central (>= 0.5), python-numpy (>=1.0.3), dpatch
+XS-Python-Version: all
+Standards-Version: 3.7.2
+Section: python
+
+Package: python-qwt4
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-qt3 (>=3.17.2), python-numpy (>=1.0.3 )
+Recommends: libqwt-dev (>=4.2.0-4)
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: Python version of the Qwt 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.
+ .
+  Homepage: http://pyqwt.sourceforge.net/
+
+Package: python-qwt4-doc
+Section: doc
+Architecture: all
+Depends:
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: Documentation for the Python-qwt 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 package contains the example files.
+ .
+  Homepage: http://pyqwt.sourceforge.net/

Added: packages/pyqwt/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/copyright?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/copyright (added)
+++ packages/pyqwt/trunk/debian/copyright Sun Nov  4 14:42:34 2007
@@ -1,0 +1,78 @@
+This package was debianized by Gudjon I. Gudjonsson <gudjon at gudjon.org> on
+Mon, 26 Jun 2006 19:27:47 +0200.
+
+It was downloaded from http://pyqwt.sourceforge.net/download.html
+
+Upstream Author: Gerard Vermeulen
+
+Copyright: 2001-2006 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.
+
+
+The Debian packaging is (C) 2006, Gudjon I. Gudjonsson <gudjon at gudjon.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+Qwt sources are provided in this package although they are not used and Qwt is published
+with 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).

Added: packages/pyqwt/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/patches/00list?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/patches/00list (added)
+++ packages/pyqwt/trunk/debian/patches/00list Sun Nov  4 14:42:34 2007
@@ -1,0 +1,1 @@
+

Added: packages/pyqwt/trunk/debian/patches/01_example.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/patches/01_example.dpatch?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/patches/01_example.dpatch (added)
+++ packages/pyqwt/trunk/debian/patches/01_example.dpatch Sun Nov  4 14:42:34 2007
@@ -1,0 +1,49 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_example.dpatch by  <gudjon at h44n2-vrr-gr1.ias.bredband.telia.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from pyqwt 4.2.2-1 diff.gz
+## DP: Multidemo changed to import only numpy instead of Numeric and Numarray.
+
+ at DPATCH@
+
+--- pyqwt-4.2.2.orig/PyQwt-4.2.2/qt3examples/MultiDemo.py
++++ pyqwt-4.2.2/PyQwt-4.2.2/qt3examples/MultiDemo.py
+@@ -29,13 +29,16 @@
+         grid = QGridLayout(self, 2, 2)
+         
+         # try to create a plot widget for Numeric arrays
++	# Changed to numpy for Debian
+         try:
+-            import Numeric
++            #import Numeric
++	    import numpy
+             # import does_not_exist
+             numeric_plot = QwtPlot('Plot -- Numeric arrays', self)
+             numeric_plot.plotLayout().setCanvasMargin(0)
+             numeric_plot.plotLayout().setAlignCanvasToScales(1)
+-            numeric_x = Numeric.arange(0.0, 10.0, 0.01)
++            #numeric_x = Numeric.arange(0.0, 10.0, 0.01)
++            numeric_x = numpy.arange(0.0, 10.0, 0.01)
+             numeric_y = lorentzian(numeric_x)
+             # insert a curve, make it red and copy the arrays
+             key = numeric_plot.insertCurve('y = lorentzian(x)')
+@@ -74,13 +77,16 @@
+         tuple_plot.replot()
+ 
+         # try to create a plot widget for numarray arrays
++	# Changed to numpy for the Debian package
+         try:
+-            import numarray
++            #import numarray
++            import numeric
+             # import does_not_exist
+             numarray_plot = QwtPlot('Plot -- numarray arrays', self)
+             numarray_plot.plotLayout().setCanvasMargin(0)
+             numarray_plot.plotLayout().setAlignCanvasToScales(1)
+-            numarray_x = numarray.arange(0.0, 10.0, 0.01)
++            #numarray_x = numarray.arange(0.0, 10.0, 0.01)
++            numarray_x = numpy.arange(0.0, 10.0, 0.01)
+             numarray_y = lorentzian(numarray_x)
+             # insert a curve, make it red and copy the arrays
+             key = numarray_plot.insertCurve('y = lorentzian(x)')

Added: packages/pyqwt/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/pycompat?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/pycompat (added)
+++ packages/pyqwt/trunk/debian/pycompat Sun Nov  4 14:42:34 2007
@@ -1,0 +1,1 @@
+2

Added: packages/pyqwt/trunk/debian/python-qwt4-doc.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/python-qwt4-doc.dirs?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/python-qwt4-doc.dirs (added)
+++ packages/pyqwt/trunk/debian/python-qwt4-doc.dirs Sun Nov  4 14:42:34 2007
@@ -1,0 +1,1 @@
+usr/share/doc/python-qwt4-doc

Added: packages/pyqwt/trunk/debian/python-qwt4-doc.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/python-qwt4-doc.install?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/python-qwt4-doc.install (added)
+++ packages/pyqwt/trunk/debian/python-qwt4-doc.install Sun Nov  4 14:42:34 2007
@@ -1,0 +1,1 @@
+usr/share/doc/python-qwt4-doc/*

Added: packages/pyqwt/trunk/debian/python-qwt4.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/python-qwt4.dirs?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/python-qwt4.dirs (added)
+++ packages/pyqwt/trunk/debian/python-qwt4.dirs Sun Nov  4 14:42:34 2007
@@ -1,0 +1,2 @@
+usr/share/sip/qt/Qwt4
+usr/lib

Added: packages/pyqwt/trunk/debian/python-qwt4.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/python-qwt4.install?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/python-qwt4.install (added)
+++ packages/pyqwt/trunk/debian/python-qwt4.install Sun Nov  4 14:42:34 2007
@@ -1,0 +1,2 @@
+usr/share/sip/qt/Qwt4/*
+usr/lib/python*/site-packages/Qwt4/*

Added: packages/pyqwt/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt/trunk/debian/rules?rev=3536&op=file
==============================================================================
--- packages/pyqwt/trunk/debian/rules (added)
+++ packages/pyqwt/trunk/debian/rules Sun Nov  4 14:42:34 2007
@@ -1,0 +1,108 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+#DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+DEB_UPSTREAM_VERSION=4.2.3
+PYTHONS	:= $(shell pyversions -vr debian/control)
+CURDIR:=$(shell pwd)
+export QTDIR=/usr/share/qt3
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	for pyvers in ${PYTHONS};\
+	do\
+		mkdir -p build/py$$pyvers;\
+		cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers;\
+		(cd build/py$$pyvers/configure;\
+		python$$pyvers configure.py -I /usr/include/qwt);\
+	done
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp patch
+	dh_testdir
+
+	for pyvers in ${PYTHONS};\
+	do\
+		(cd build/py$$pyvers/configure;\
+		$(MAKE));\
+	done
+
+	touch $@
+
+clean:  unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	rm -rf build
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	for pyvers in ${PYTHONS};\
+	do\
+		(cd build/py$$pyvers/configure;\
+		$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp);\
+		chmod 755 debian/tmp/usr/lib/python$$pyvers/site-packages/Qwt4/grace.py;\
+	done
+	# Install examples
+	mkdir -p debian/tmp/usr/share/doc/python-qwt4-doc
+	cp -a qt3examples debian/tmp/usr/share/doc/python-qwt4-doc
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i CHANGES-$(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
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a CHANGES-$(DEB_UPSTREAM_VERSION)
+	dh_installdocs -a THANKS README ANNOUNCEMENT-$(DEB_UPSTREAM_VERSION)
+	dh_install -a --sourcedir=debian/tmp
+	dh_strip -a
+	dh_compress -a --exclude=.py --exclude=.resX
+	dh_pycentral -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: packages/pyqwt/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the Python-modules-commits mailing list