[python-pyqtgraph] 01/01: Adding python3 packages

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Wed Aug 20 10:37:09 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 c69244038736716b4bb8cff754ac9670f996c7b7
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Wed Aug 20 12:36:59 2014 +0200

    Adding python3 packages
---
 debian/changelog                          |  6 +++++
 debian/control                            | 37 +++++++++++++++++++++++++++++--
 debian/python3-pyqtgraph-examples.install |  1 +
 debian/python3-pyqtgraph.install          |  1 +
 debian/rules                              |  7 +++++-
 5 files changed, 49 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 80f1b69..8f5b8e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-pyqtgraph (0.9.8-4) UNRELEASED; urgency=medium
+
+  * New python3-pyqtgraph{,examples} packages added.
+
+ -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Wed, 20 Aug 2014 12:36:18 +0200
+
 python-pyqtgraph (0.9.8-3) unstable; urgency=medium
 
   * Add X-Python-Version: to control file.
diff --git a/debian/control b/debian/control
index 2ad4d29..6f384e8 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,9 @@ Uploaders: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
 Section: python
 Priority: optional
 Standards-Version: 3.9.5
-Build-Depends: debhelper (>= 9), python, python-sphinx
-X-Python-Version: >= 2.7
+Build-Depends: debhelper (>= 9), python, python3, 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
@@ -24,6 +25,20 @@ Description: Scientific Graphics and GUI Library for Python
  .
  This is the Python 2 version of the package.
 
+Package: python3-pyqtgraph
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python3-pyside | python3-qt4, python3-scipy, python3-numpy
+Recommends: python3-opengl, python3-qt4-gl
+Suggests: python-pyqtgraph-doc, 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.
+ 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
@@ -56,3 +71,21 @@ Description: Scientific Graphics and GUI Library for Python (examples)
  for fast display.
  .
  This is the Python 2 version of the examples package.
+
+Package: python3-pyqtgraph-examples
+Architecture: all
+Depends: python3-pyqtgraph, ${python3:Depends}, ${misc:Depends},
+ python3-numpy,
+ python3-opengl,
+ python3-pyside,
+ python3-qt4,
+ python3-qt4-gl,
+ python3-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 3 version of the examples package.
diff --git a/debian/python3-pyqtgraph-examples.install b/debian/python3-pyqtgraph-examples.install
new file mode 100644
index 0000000..3341021
--- /dev/null
+++ b/debian/python3-pyqtgraph-examples.install
@@ -0,0 +1 @@
+/usr/lib/python3/dist-packages/pyqtgraph/examples
diff --git a/debian/python3-pyqtgraph.install b/debian/python3-pyqtgraph.install
new file mode 100644
index 0000000..a30d907
--- /dev/null
+++ b/debian/python3-pyqtgraph.install
@@ -0,0 +1 @@
+/usr/lib/python3/dist-packages
diff --git a/debian/rules b/debian/rules
index c35b6ef..c1f9d65 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,21 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python2,sphinxdoc
+	dh $@ --with python2,python3,sphinxdoc
 
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf doc/build
 
 override_dh_auto_build:
+	python  setup.py build
+	python3 setup.py build
 	dh_auto_build
 	cd doc && $(MAKE) html
 
 override_dh_install:
+	python  setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
+	python3 setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
 	dh_install
 	rm -rf debian/python-pyqtgraph/usr/lib/python2.7/dist-packages/pyqtgraph/examples/
+	rm -rf debian/python3-pyqtgraph/usr/lib/python3/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