[python-pyqtgraph] 03/04: Adding the python-pyqtgraph-examples 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 ea5d39d5c9d98bfff0a1fe0eec4e3d7cb8413d04
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Mon Aug 18 10:40:23 2014 +0200

    Adding the python-pyqtgraph-examples package
---
 debian/control                           | 30 ++++++++++++++++++++++--------
 debian/python-pyqtgraph-examples.install |  1 +
 debian/rules                             |  4 ++++
 3 files changed, 27 insertions(+), 8 deletions(-)

diff --git a/debian/control b/debian/control
index c1e7359..f5febf4 100644
--- a/debian/control
+++ b/debian/control
@@ -12,13 +12,9 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/python-
 
 Package: python-pyqtgraph
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends},
- python-numpy,
- python-opengl,
- python-pyside,
- python-qt4,
- python-qt4-gl,
- python-scipy,
+Depends: ${python:Depends}, ${misc:Depends}, python-qt4 | python-pyside, python-scipy, python-numpy
+Recommends: python-opengl, python-qt4-gl
+Suggests: python-pyqtgraph-examples
 Description: Scientific Graphics and GUI Library for Python
  PyQtGraph is a pure-python graphics and GUI library built on PyQt4 and numpy.
  It is intended for use in mathematics / scientific / engineering applications.
@@ -32,7 +28,7 @@ Package: python-pyqtgraph-doc
 Architecture: all
 Section: doc
 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
-Description: Scientific Graphics and GUI Library (common documentation)
+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
@@ -40,3 +36,21 @@ Description: Scientific Graphics and GUI Library (common documentation)
  for fast display.
  .
  This is the common documentation package.
+
+Package: python-pyqtgraph-examples
+Architecture: all
+Depends: python-pyqtgraph, ${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 (examples)
+ 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 examples package.
diff --git a/debian/python-pyqtgraph-examples.install b/debian/python-pyqtgraph-examples.install
new file mode 100644
index 0000000..afa35f7
--- /dev/null
+++ b/debian/python-pyqtgraph-examples.install
@@ -0,0 +1 @@
+/usr/lib/python2.7/dist-packages/pyqtgraph/examples
diff --git a/debian/rules b/debian/rules
index 17431c2..c35b6ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,3 +10,7 @@ override_dh_auto_clean:
 override_dh_auto_build:
 	dh_auto_build
 	cd doc && $(MAKE) html
+
+override_dh_install:
+	dh_install
+	rm -rf debian/python-pyqtgraph/usr/lib/python2.7/dist-packages/pyqtgraph/examples/

-- 
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