[Python-modules-commits] r2552 - in /packages/pyqwt3d/trunk/debian: ./ patches/

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Jun 17 10:25:47 UTC 2007


Author: piotr
Date: Sun Jun 17 10:25:47 2007
New Revision: 2552

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

Added:
    packages/pyqwt3d/trunk/debian/   (with props)
    packages/pyqwt3d/trunk/debian/changelog
    packages/pyqwt3d/trunk/debian/compat
    packages/pyqwt3d/trunk/debian/control
    packages/pyqwt3d/trunk/debian/copyright
    packages/pyqwt3d/trunk/debian/patches/
    packages/pyqwt3d/trunk/debian/patches/00list
    packages/pyqwt3d/trunk/debian/patches/01_configure.dpatch   (with props)
    packages/pyqwt3d/trunk/debian/python-qwt3d-doc.dirs
    packages/pyqwt3d/trunk/debian/python-qwt3d-doc.install
    packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.dirs
    packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.install
    packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.dirs
    packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.install
    packages/pyqwt3d/trunk/debian/rules   (with props)
    packages/pyqwt3d/trunk/debian/watch

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

Added: packages/pyqwt3d/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/changelog?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/changelog (added)
+++ packages/pyqwt3d/trunk/debian/changelog Sun Jun 17 10:25:47 2007
@@ -1,0 +1,6 @@
+pyqwt3d (0.1.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #413355)
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Thu, 14 Jun 2007 22:49:54 +0200
+

Added: packages/pyqwt3d/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/compat?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/compat (added)
+++ packages/pyqwt3d/trunk/debian/compat Sun Jun 17 10:25:47 2007
@@ -1,0 +1,1 @@
+5

Added: packages/pyqwt3d/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/control?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/control (added)
+++ packages/pyqwt3d/trunk/debian/control Sun Jun 17 10:25:47 2007
@@ -1,0 +1,51 @@
+Source: pyqwt3d
+Section: python
+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), python-all-dev (>= 2.4.4-2), sip4 ( >=4.6-1 ), python-qt-dev , python-qt4-dev (>=4.2-0), python-sip4-dev ( >=4.2-1 ), python-numpy (>= 1.0.2-2), python-central (>= 0.5.8), python-qt3-gl (>= 3.17.2-1), python-qt4 (>= 4.2-0), python-qt4-gl (>= 4.2-0), libqwtplot3d-qt3-dev (>=0.2.6+svn170-1), libqwtplot3d-qt4-dev (>=0.2.6+svn170-1), dpatch
+XS-Python-Version: all
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyqwt3d/trunk/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/?op=log
+
+Package: python-qwt3d-qt3
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+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
+ 3-dimensional data.
+ .
+ This package contains the Qt4 python bindings
+ .
+  Homepage: http://pyqwt.sourceforge.net/
+
+Package: python-qwt3d-qt4
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+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
+ 3-dimensional data.
+ .
+ This package contains the Qt4 python bindings
+ .
+  Homepage: http://pyqwt.sourceforge.net/
+
+Package: python-qwt3d-doc
+Section: doc
+Architecture: all
+Description: Documentation for the Python-qwt3d library
+ PyQwt3D is a set of Python bindings for the QwtPlot3D C++ class
+ library which extends the Qt framework with widgets to visualize
+ 3-dimensional data. This package contains documentation and
+ examples for both Qt3 and Qt4. The  examples show how easy it is
+ to make a 3D plot and how to save a 3D plot to an image or an
+ (E)PS/PDF file.
+ .
+  Homepage: http://pyqwt.sourceforge.net/

Added: packages/pyqwt3d/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/copyright?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/copyright (added)
+++ packages/pyqwt3d/trunk/debian/copyright Sun Jun 17 10:25:47 2007
@@ -1,0 +1,125 @@
+This package was debianized by Gudjon I. Gudjonsson <gudjon at gudjon.org> on
+Fri, 27 Apr 2007 17:55:13 +0200.
+
+It was downloaded from http://pyqwt.sourceforge.net/
+
+Upstream Author: Gerard Vermeulen <gerard.vermeulen at grenoble.cnrs.fr>
+
+Copyright: (C) 2004-2007 Gerard Vermeulen
+
+License:               PyQwt3D LICENSE
+                     Version 1, Septembre 2006
+
+PyQwt3D 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.
+
+PyQwt3D 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 PyQwt3D; 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 PyQwt3D dynamically with non-free versions of Qt and PyQt,
+and to distribute PyQwt3D 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 PyQwt3D is dynamically linked with non-free versions of Qt and PyQt,
+PyQwt3D becomes a free plug-in for a non-free program.
+
+
+The Debian packaging is (C) 2007, Gudjon I. Gudjonsson <gudjon at gudjon.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+There are sources from three other projects included in the file tree:
+
+QwtPlot3d
+   (C) 1999-2003 Christophe Geuzaine <geuz at geuz.org>
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the author be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+
+
+zlib-1.2.3
+Copyright (C) 1995-2005 Jean-loup Gailly
+Copyright (C) 1995-2004 Mark Adler
+/* zlib.h -- interface of the 'zlib' general purpose compression library
+  version 1.2.3, July 18th, 2005
+
+  Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+
+  Jean-loup Gailly        Mark Adler
+  jloup at gzip.org          madler at alumni.caltech.edu
+
+  The data format used by the zlib library is described by RFCs (Request for
+  Comments) 1950 to 1952 in the files http://www.ietf.org/rfc/rfc1950.txt
+  (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
+*/
+
+gl2ps
+/*
+ * GL2PS, an OpenGL to PostScript Printing Library
+ * Copyright (C) 1999-2003 Christophe Geuzaine <geuz at geuz.org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of either:
+ *
+ * a) the GNU Library General Public License as published by the Free
+ * Software Foundation, either version 2 of the License, or (at your
+ * option) any later version; or
+ *
+ * b) the GL2PS License as published by Christophe Geuzaine, either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This program 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 either
+ * the GNU Library General Public License or the GL2PS License for
+ * more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library in the file named "COPYING.LGPL";
+ * if not, write to the Free Software Foundation, Inc., 
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * You should have received a copy of the GL2PS License with this
+ * library in the file named "COPYING.GL2PS"; if not, I will be glad
+ * to provide one.
+ *
+ * For the latest info about gl2ps, see http://www.geuz.org/gl2ps/.
+ * Please report all bugs and problems to <gl2ps at geuz.org>.
+ */

Added: packages/pyqwt3d/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/patches/00list?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/patches/00list (added)
+++ packages/pyqwt3d/trunk/debian/patches/00list Sun Jun 17 10:25:47 2007
@@ -1,0 +1,1 @@
+01_configure

Added: packages/pyqwt3d/trunk/debian/patches/01_configure.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/patches/01_configure.dpatch?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/patches/01_configure.dpatch (added)
+++ packages/pyqwt3d/trunk/debian/patches/01_configure.dpatch Sun Jun 17 10:25:47 2007
@@ -1,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_configure.dpatch by Gudjon I. Gudjonsson <gudjon at gudjon.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: The Debian QwtPlot3D libraries are named libqwtplot3d-qt{3,4}, 
+## DP: not libqwtplot3d
+
+ at DPATCH@
+
+--- pyqwt3d-0.1.4.orig/configure/configure.py
++++ pyqwt3d-0.1.4/configure/configure.py
+@@ -564,6 +564,9 @@
+     elif 'qwtplot3d' not in options.extra_libs:
+         # no, add 'qwtplot3d' if needed
+         options.extra_libs.append('qwtplot3d')
++    # This line is added by the Debian 
++    while options.extra_libs.count('qwtplot3d'):
++        options.extra_libs.remove('qwtplot3d')
+ 
+     # do we also compile and link the sources of zlib into PyQwt3D?
+     if options.zlib_sources:

Propchange: packages/pyqwt3d/trunk/debian/patches/01_configure.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/pyqwt3d/trunk/debian/python-qwt3d-doc.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/python-qwt3d-doc.dirs?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/python-qwt3d-doc.dirs (added)
+++ packages/pyqwt3d/trunk/debian/python-qwt3d-doc.dirs Sun Jun 17 10:25:47 2007
@@ -1,0 +1,1 @@
+usr/share/doc/python-qwt3d-doc

Added: packages/pyqwt3d/trunk/debian/python-qwt3d-doc.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/python-qwt3d-doc.install?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/python-qwt3d-doc.install (added)
+++ packages/pyqwt3d/trunk/debian/python-qwt3d-doc.install Sun Jun 17 10:25:47 2007
@@ -1,0 +1,1 @@
+usr/share/doc/python-qwt3d-doc/*

Added: packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.dirs?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.dirs (added)
+++ packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.dirs Sun Jun 17 10:25:47 2007
@@ -1,0 +1,1 @@
+usr/share/sip/qt/Qwt3D

Added: packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.install?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.install (added)
+++ packages/pyqwt3d/trunk/debian/python-qwt3d-qt3.install Sun Jun 17 10:25:47 2007
@@ -1,0 +1,2 @@
+usr/lib/python*/site-packages/Qwt3D/*
+usr/share/sip/qt/Qwt3D/*

Added: packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.dirs?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.dirs (added)
+++ packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.dirs Sun Jun 17 10:25:47 2007
@@ -1,0 +1,1 @@
+usr/share/sip/PyQt4/Qwt3D

Added: packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.install?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.install (added)
+++ packages/pyqwt3d/trunk/debian/python-qwt3d-qt4.install Sun Jun 17 10:25:47 2007
@@ -1,0 +1,2 @@
+usr/lib/python*/site-packages/PyQt4/Qwt3D/*
+usr/share/sip/PyQt4/Qwt3D/*

Added: packages/pyqwt3d/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/rules?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/rules (added)
+++ packages/pyqwt3d/trunk/debian/rules Sun Jun 17 10:25:47 2007
@@ -1,0 +1,110 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+PYTHONS	:= $(shell pyversions -vr)
+CURDIR  := $(shell pwd)
+QTS=3 4
+
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+
+configure: configure-stamp
+configure-stamp: patch
+	dh_testdir
+	for pyvers in ${PYTHONS};\
+	do\
+		for qtvers in ${QTS};\
+		do\
+			export QTDIR=/usr/share/qt$$qtvers;\
+			mkdir -p build/py$$pyvers-qt$$qtvers;\
+			cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers-qt$$qtvers;\
+			(cd build/py$$pyvers-qt$$qtvers/configure;\
+			python$$pyvers configure.py -$$qtvers -I /usr/include/qwtplot3d-qt$$qtvers --extra-libs=qwtplot3d-qt$$qtvers  -l z -D GL2PS_HAVE_ZLIB);\
+		done;\
+	done
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	for pyvers in ${PYTHONS};\
+	do\
+		for qtvers in ${QTS};\
+		do\
+			export QTDIR=/usr/share/qt$$qtvers;\
+			(cd build/py$$pyvers-qt$$qtvers/configure;\
+			$(MAKE));\
+		done;\
+	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_installdirs
+	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
+	mkdir -p debian/tmp/usr/share/doc/python-qwt3d-doc/qt3examples
+	cp -a examples/* debian/tmp/usr/share/doc/python-qwt3d-doc/qt3examples
+	cp -a qt4examples debian/tmp/usr/share/doc/python-qwt3d-doc/
+	cp -a Doc/html debian/tmp/usr/share/doc/python-qwt3d-doc/
+
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i CHANGES-$(DEB_UPSTREAM_VERSION).TXT
+	dh_installdocs -i
+	dh_install -i --sourcedir=debian/tmp
+	dh_link -i
+	dh_compress -i --exclude=.py --exclude=.resX
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a CHANGES-$(DEB_UPSTREAM_VERSION).TXT
+	dh_installdocs -a
+	dh_install -a --sourcedir=debian/tmp
+	dh_link -a
+	dh_strip -a
+	dh_compress -a --exclude=.cpp --exclude=.h --exclude=.resX
+	dh_pycentral -a
+	dh_installdeb -a
+	dh_fixperms -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/pyqwt3d/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/pyqwt3d/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt3d/trunk/debian/watch?rev=2552&op=file
==============================================================================
--- packages/pyqwt3d/trunk/debian/watch (added)
+++ packages/pyqwt3d/trunk/debian/watch Sun Jun 17 10:25:47 2007
@@ -1,0 +1,2 @@
+version=3
+http://qa.debian.org/watch/sf.php/pyqwt/PyQwt3D-(.*)\.tar\.gz debian uupdate




More information about the Python-modules-commits mailing list