[python-pyqtgraph] 01/01: Imported Debian patch 0.9.8-3

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Fri Sep 5 12:28:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to annotated tag debian/0.9.8-3
in repository python-pyqtgraph.

commit 44193f7e7ac22f2aec25c6260ed6e11f15a04f42
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Fri Aug 15 12:05:48 2014 +0200

    Imported Debian patch 0.9.8-3
---
 debian/changelog                     | 10 +++++++
 debian/control                       | 52 +++++++++++++++++++++++++++++-------
 debian/python-pyqtgraph-doc.doc-base | 10 +++++++
 debian/python-pyqtgraph-doc.docs     |  1 +
 debian/rules                         | 12 ++++++++-
 5 files changed, 75 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4bc426d..1224a00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-pyqtgraph (0.9.8-3) unstable; urgency=medium
+
+  * Add X-Python-Version: to control file.
+  * Revert back to python-pyside | python-qt4, instead of requesting
+    them both. (Closes: #757645)
+  * Add a new -doc package.
+  * Add a new python3-pyqtgraph python3 compatible package.
+
+ -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Fri, 15 Aug 2014 12:05:48 +0200
+
 python-pyqtgraph (0.9.8-2) unstable; urgency=medium
 
   * Add some requied runtime dependencies
diff --git a/debian/control b/debian/control
index e3e3cf4..6df4d81 100644
--- a/debian/control
+++ b/debian/control
@@ -4,23 +4,57 @@ Uploaders: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
 Section: python
 Priority: optional
 Standards-Version: 3.9.5
-Build-Depends: debhelper (>= 9), python
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools,
+ python-docutils,
+ python-sphinx
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 Homepage: http://luke.campagnola.me/code/pyqtgraph
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/python-pyqtgraph.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/python-pyqtgraph.git
 
 Package: python-pyqtgraph
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends},
- python-numpy,
- python-opengl,
- python-pyside,
- python-qt4,
- python-qt4-gl,
- python-scipy,
-Description: Scientific Graphics and GUI Library for Python
+Depends: ${python:Depends}, ${misc:Depends}, python-pyside | python-qt4, python-scipy, python-numpy
+Recommends: python-opengl, python-qt4-gl
+Suggests: python-pyqtgraph-doc
+Description: Scientific Graphics and GUI Library for Python 2
  PyQtGraph is a pure-python graphics and GUI library built on PyQt4 and numpy.
  It is intended for use in mathematics / scientific / engineering applications.
  Despite being written entirely in Python, the library is very fast due to its
  heavy leverage of numpy for number crunching and Qt's GraphicsView framework
  for fast display.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-pyqtgraph
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python3-pyside | python3-pyqt4, python3-scipy, python3-numpy
+Recommends: python3-opengl
+Suggests: python-pyqtgraph-doc
+Description: Scientific Graphics and GUI Library for Python 3
+ PyQtGraph is a pure-python graphics and GUI library built on PyQt4 and numpy.
+ It is intended for use in mathematics / scientific / engineering applications.
+ Despite being written entirely in Python, the library is very fast due to its
+ heavy leverage of numpy for number crunching and Qt's GraphicsView framework
+ for fast display.
+ .
+ This is the Python 3 version of the package.
+
+Package: python-pyqtgraph-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Scientific Graphics and GUI Library for Python (common documentation)
+ PyQtGraph is a pure-python graphics and GUI library built on PyQt4 and numpy.
+ It is intended for use in mathematics / scientific / engineering applications.
+ Despite being written entirely in Python, the library is very fast due to its
+ heavy leverage of numpy for number crunching and Qt's GraphicsView framework
+ for fast display.
+ .
+ This is the common documentation package.
diff --git a/debian/python-pyqtgraph-doc.doc-base b/debian/python-pyqtgraph-doc.doc-base
new file mode 100644
index 0000000..e4690c5
--- /dev/null
+++ b/debian/python-pyqtgraph-doc.doc-base
@@ -0,0 +1,10 @@
+Document: pyqtgraph
+Title: PyQtGraph Developer Manual
+Author: Luke Campagnola
+Abstract: This manual describes the API of
+ the PyQtGraph Python package.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/python-pyqtgraph-doc/html/index.html
+Files: /usr/share/doc/python-pyqtgraph-doc/html/*
diff --git a/debian/python-pyqtgraph-doc.docs b/debian/python-pyqtgraph-doc.docs
new file mode 100644
index 0000000..8137b04
--- /dev/null
+++ b/debian/python-pyqtgraph-doc.docs
@@ -0,0 +1 @@
+doc/build/html
diff --git a/debian/rules b/debian/rules
index 4647c9c..164d17e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,14 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=pyqtgraph
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_clean:
+	rm -rf doc/build
+	dh_auto_clean
+
+override_dh_auto_build:
+	cd doc && $(MAKE) html
+	dh_auto_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-pyqtgraph.git



More information about the debian-science-commits mailing list