[python-pyqtgraph] 02/04: Adding the -doc package
Gianfranco Costamagna
locutusofborg-guest at moszumanska.debian.org
Mon Aug 18 08:52:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
locutusofborg-guest pushed a commit to branch master
in repository python-pyqtgraph.
commit 9ed47e02f13edcbdc2188a1ac2d1c7eca665cc59
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Mon Aug 18 09:47:53 2014 +0200
Adding the -doc package
---
debian/control | 17 ++++++++++++++++-
debian/python-pyqtgraph-doc.doc-base | 10 ++++++++++
debian/python-pyqtgraph-doc.docs | 1 +
debian/python-pyqtgraph.install | 1 +
debian/rules | 10 +++++++++-
5 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index d71f17d..c1e7359 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ 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), python, python-sphinx
X-Python-Version: >= 2.7
Homepage: http://luke.campagnola.me/code/pyqtgraph
Vcs-Git: git://anonscm.debian.org/debian-science/packages/python-pyqtgraph.git
@@ -25,3 +25,18 @@ Description: Scientific Graphics and GUI Library for Python
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: python-pyqtgraph-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Scientific Graphics and GUI Library (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/python-pyqtgraph.install b/debian/python-pyqtgraph.install
new file mode 100644
index 0000000..01282fe
--- /dev/null
+++ b/debian/python-pyqtgraph.install
@@ -0,0 +1 @@
+/usr/lib/python2.7/dist-packages/pyqtgraph
diff --git a/debian/rules b/debian/rules
index 4647c9c..17431c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,12 @@
#!/usr/bin/make -f
%:
- dh $@ --with python2
+ dh $@ --with python2,sphinxdoc
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf doc/build
+
+override_dh_auto_build:
+ dh_auto_build
+ cd doc && $(MAKE) html
--
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