[Python-modules-commits] r2557 - in /packages/pyqwt5/trunk/debian: ./ patches/

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Jun 17 16:03:38 UTC 2007


Author: piotr
Date: Sun Jun 17 16:03:38 2007
New Revision: 2557

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

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

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

Added: packages/pyqwt5/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/changelog?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/changelog (added)
+++ packages/pyqwt5/trunk/debian/changelog Sun Jun 17 16:03:38 2007
@@ -1,0 +1,5 @@
+pyqwt5 (5.0.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #413372)
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Thu, 14 Jun 2007 22:49:54 +0200

Added: packages/pyqwt5/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/compat?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/compat (added)
+++ packages/pyqwt5/trunk/debian/compat Sun Jun 17 16:03:38 2007
@@ -1,0 +1,1 @@
+5

Added: packages/pyqwt5/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/control?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/control (added)
+++ packages/pyqwt5/trunk/debian/control Sun Jun 17 16:03:38 2007
@@ -1,0 +1,55 @@
+Source: pyqwt5
+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, 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), libqwt5-qt4-dev (>=5.0.1), libqwt5-qt3-dev (>=5.0.1), dpatch
+XS-Python-Version: all
+Standards-Version: 3.7.2
+Section: python
+XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyqwt5/trunk/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/?op=log
+
+Package: python-qwt5-qt3
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+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.
+ 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 3.
+ .
+  Homepage: http://pyqwt.sourceforge.net/
+
+Package: python-qwt5-qt4
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+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.
+ 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.
+ .
+  Homepage: http://pyqwt.sourceforge.net/
+
+Package: python-qwt5-doc
+Section: doc
+Architecture: all
+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 package contains the documentation and examples for both Qt versions.
+ .
+  Homepage: http://pyqwt.sourceforge.net/

Added: packages/pyqwt5/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/copyright?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/copyright (added)
+++ packages/pyqwt5/trunk/debian/copyright Sun Jun 17 16:03:38 2007
@@ -1,0 +1,58 @@
+This package was debianized by Gudjon I. Gudjonsson <gudjon at gudjon.org> on
+Sat,  3 Mar 2007 16:06:09 +0100.
+
+It was downloaded from http://pyqwt.sourceforge.net/
+
+Upstream Author: Gerard Vermeulen <gerard.vermeulen at grenoble.cnrs.fr>
+
+Copyright: 	© 2001-2007 Gerard Vermeulen
+		© 2000 Mark Colclough
+
+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'.
+
+
+The package contains Qwt
+http://qwt.sourceforge.net/
+Qwt is distributed under the Qwt license.
+
+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

Added: packages/pyqwt5/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/patches/00list?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/patches/00list (added)
+++ packages/pyqwt5/trunk/debian/patches/00list Sun Jun 17 16:03:38 2007
@@ -1,0 +1,1 @@
+01_configure

Added: packages/pyqwt5/trunk/debian/patches/01_configure.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/patches/01_configure.dpatch?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/patches/01_configure.dpatch (added)
+++ packages/pyqwt5/trunk/debian/patches/01_configure.dpatch Sun Jun 17 16:03:38 2007
@@ -1,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_configure.dpatch by Gudjon I. Gudjonsson <gudjon at gudjon.org>
+##
+## All lines beginning with are a description of the patch.
+## DP: The Debian Qwt libraries are named libqwt-qt{3,4}, not libqwt
+
+ at DPATCH@
+
+--- pyqwt5-5.0.0.orig/configure/configure.py
++++ pyqwt5-5.0.0/configure/configure.py
+@@ -655,6 +655,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:

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

Added: packages/pyqwt5/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/pycompat?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/pycompat (added)
+++ packages/pyqwt5/trunk/debian/pycompat Sun Jun 17 16:03:38 2007
@@ -1,0 +1,1 @@
+2

Added: packages/pyqwt5/trunk/debian/python-qwt5-doc.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/python-qwt5-doc.dirs?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/python-qwt5-doc.dirs (added)
+++ packages/pyqwt5/trunk/debian/python-qwt5-doc.dirs Sun Jun 17 16:03:38 2007
@@ -1,0 +1,1 @@
+usr/share/doc/python-qwt5-doc

Added: packages/pyqwt5/trunk/debian/python-qwt5-doc.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/python-qwt5-doc.install?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/python-qwt5-doc.install (added)
+++ packages/pyqwt5/trunk/debian/python-qwt5-doc.install Sun Jun 17 16:03:38 2007
@@ -1,0 +1,1 @@
+usr/share/doc/python-qwt5-doc/*

Added: packages/pyqwt5/trunk/debian/python-qwt5-qt3.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/python-qwt5-qt3.dirs?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/python-qwt5-qt3.dirs (added)
+++ packages/pyqwt5/trunk/debian/python-qwt5-qt3.dirs Sun Jun 17 16:03:38 2007
@@ -1,0 +1,1 @@
+usr/share/sip/qt/Qwt5

Added: packages/pyqwt5/trunk/debian/python-qwt5-qt3.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/python-qwt5-qt3.install?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/python-qwt5-qt3.install (added)
+++ packages/pyqwt5/trunk/debian/python-qwt5-qt3.install Sun Jun 17 16:03:38 2007
@@ -1,0 +1,2 @@
+usr/lib/python*/site-packages/Qwt5/*
+usr/share/sip/qt/Qwt5/*

Added: packages/pyqwt5/trunk/debian/python-qwt5-qt4.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/python-qwt5-qt4.dirs?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/python-qwt5-qt4.dirs (added)
+++ packages/pyqwt5/trunk/debian/python-qwt5-qt4.dirs Sun Jun 17 16:03:38 2007
@@ -1,0 +1,1 @@
+usr/share/sip/PyQt4/Qwt5

Added: packages/pyqwt5/trunk/debian/python-qwt5-qt4.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/python-qwt5-qt4.install?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/python-qwt5-qt4.install (added)
+++ packages/pyqwt5/trunk/debian/python-qwt5-qt4.install Sun Jun 17 16:03:38 2007
@@ -1,0 +1,2 @@
+usr/lib/python*/site-packages/PyQt4/Qwt5/*
+usr/share/sip/PyQt4/Qwt5/*

Added: packages/pyqwt5/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/rules?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/rules (added)
+++ packages/pyqwt5/trunk/debian/rules Sun Jun 17 16:03:38 2007
@@ -1,0 +1,109 @@
+#!/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)
+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
+	chmod ugo+x qt3lib/Qwt5/grace.py
+	chmod ugo+x qt4lib/PyQt4/Qwt5/grace.py
+	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/qwt-qt$$qtvers/ --extra-libs=qwt-qt$$qtvers );\
+		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 -f sip/qwt5qt3/QwtTypes.sip sip/qwt5qt4/QwtTypes.sip
+	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-qwt5-doc/html
+	cp -a Doc/html/pyqwt/* debian/tmp/usr/share/doc/python-qwt5-doc/html
+	cp -a qt3examples debian/tmp/usr/share/doc/python-qwt5-doc
+	cp -a qt4examples debian/tmp/usr/share/doc/python-qwt5-doc
+
+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
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a CHANGES-$(DEB_UPSTREAM_VERSION)
+	dh_installdocs -a
+	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/pyqwt5/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/pyqwt5/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/watch?rev=2557&op=file
==============================================================================
--- packages/pyqwt5/trunk/debian/watch (added)
+++ packages/pyqwt5/trunk/debian/watch Sun Jun 17 16:03:38 2007
@@ -1,0 +1,2 @@
+version=3
+http://qa.debian.org/watch/sf.php/pyqwt/PyQwt-(.*)\.tar\.gz debian uupdate




More information about the Python-modules-commits mailing list