[Python-modules-commits] r2888 - in /packages/pyqwt5/trunk/debian: README.Debian changelog control patches/00list rules

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Sat Jul 28 21:38:44 UTC 2007


Author: gudjon-guest
Date: Sat Jul 28 21:38:44 2007
New Revision: 2888

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2888
Log:
Minor fixes

Modified:
    packages/pyqwt5/trunk/debian/README.Debian
    packages/pyqwt5/trunk/debian/changelog
    packages/pyqwt5/trunk/debian/control
    packages/pyqwt5/trunk/debian/patches/00list
    packages/pyqwt5/trunk/debian/rules

Modified: packages/pyqwt5/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/README.Debian?rev=2888&op=diff
==============================================================================
--- packages/pyqwt5/trunk/debian/README.Debian (original)
+++ packages/pyqwt5/trunk/debian/README.Debian Sat Jul 28 21:38:44 2007
@@ -2,8 +2,8 @@
 latex2html
 
 To try out the package, using the examples do the following:
-$ cp -a /usr/share/doc/python-qwt5-qt*/qt*examples .
-$ cd qt*examples
+$ cp -a /usr/share/doc/python-qwt5-doc/qt?examples .
+$ cd qt?examples
 $ python Grab.py
 
  -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sat, 28 Jul 2007 12:57:00 +0200

Modified: packages/pyqwt5/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/changelog?rev=2888&op=diff
==============================================================================
--- packages/pyqwt5/trunk/debian/changelog (original)
+++ packages/pyqwt5/trunk/debian/changelog Sat Jul 28 21:38:44 2007
@@ -1,10 +1,11 @@
 pyqwt5 (5.0.1.dfsg-1) unstable; urgency=low
 
   * New upstream release
-  * Added the examples but to the /usr/share/doc/python-qwt5-qt* directories
-    in the absence of the documentation.
+  * 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 <gudjon at gudjon.org>  Sat, 28 Jul 2007 15:46:34 +0200
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sat, 28 Jul 2007 22:01:03 +0200
 
 pyqwt5 (5.0.0.dfsg-1) unstable; urgency=low
 

Modified: packages/pyqwt5/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/control?rev=2888&op=diff
==============================================================================
--- packages/pyqwt5/trunk/debian/control (original)
+++ packages/pyqwt5/trunk/debian/control Sat Jul 28 21:38:44 2007
@@ -45,3 +45,16 @@
  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 examples for both Qt versions.
+ .
+  Homepage: http://pyqwt.sourceforge.net/

Modified: packages/pyqwt5/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/patches/00list?rev=2888&op=diff
==============================================================================
--- packages/pyqwt5/trunk/debian/patches/00list (original)
+++ packages/pyqwt5/trunk/debian/patches/00list Sat Jul 28 21:38:44 2007
@@ -1,2 +1,1 @@
 01_configure
-02_examples

Modified: packages/pyqwt5/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyqwt5/trunk/debian/rules?rev=2888&op=diff
==============================================================================
--- packages/pyqwt5/trunk/debian/rules (original)
+++ packages/pyqwt5/trunk/debian/rules Sat Jul 28 21:38:44 2007
@@ -9,7 +9,8 @@
 PYTHONS	:= $(shell pyversions -vr)
 QTS=3 4
 
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+#DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+DEB_UPSTREAM_VERSION=5.0.1
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -71,18 +72,26 @@
 			$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install);\
 		done;\
 	done
-	for qtvers in ${QTS};\
-	do\
-		mkdir -p debian/tmp/usr/share/doc/python-qwt5-qt$$qtvers;\
-		cp -a qt$${qtvers}examples debian/tmp/usr/share/doc/python-qwt5-qt$$qtvers;\
-	done;\
+	mkdir -p debian/tmp/usr/share/doc/python-qwt5-doc
+	cp -a qt?examples 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-5.0.1
+	dh_installchangelogs -a CHANGES-$(DEB_UPSTREAM_VERSION)
 	dh_installdocs -a
 	dh_install -a --sourcedir=debian/tmp
 	dh_strip -a




More information about the Python-modules-commits mailing list