[plplot] 01/05: Re-add Python 2 packages
Ole Streicher
olebole at moszumanska.debian.org
Sat Sep 9 11:50:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch master
in repository plplot.
commit 31050b012278eb43c40e42b4619ddc5b16babad9
Author: Ole Streicher <olebole at debian.org>
Date: Fri Sep 1 17:38:50 2017 +0200
Re-add Python 2 packages
---
debian/control | 45 +++++++++++++++++++++++++++++++++++++++++
debian/python-plplot-qt.install | 1 +
debian/python-plplot.examples | 1 +
debian/python-plplot.install | 3 +++
debian/rules | 3 ++-
5 files changed, 52 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 3ac7e70..44b6a47 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,10 @@ Build-Depends: camlidl,
lua5.1,
m4,
ocaml-findlib,
+ python-all-dev (>= 2.6.6-3~),
+ python-numpy (>= 1:1.4.1-4~),
+ python-pyqt5,
+ python-sip-dev,
ocaml-nox,
pkg-config,
pyqt5-dev,
@@ -423,6 +427,47 @@ Description: Scientific plotting library (Qt bindings)
This package provides C++ bindings to allow use of the PLplot API in
Qt applications.
+Package: python-plplot
+Architecture: any
+Section: python
+Depends: ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Provides: ${python:Provides}
+Description: Python 2 support for PLplot, a plotting library
+ PLplot is relatively small, portable, freely distributable, and is rich
+ enough to satisfy most users. It has a wide range of plot types including
+ line (linear, log), contour, 3D, fill, and almost 1000 characters
+ (including Greek and mathematical) in its extended font set. The package
+ is designed to make it easy to quickly get graphical output; only a
+ handful of function calls is typically required. For more advanced use,
+ virtually all aspects of plotting are configurable.
+ .
+ This package contains the library plmodule.so for gluing the PLplot
+ scientific plotting library into Python 2 applications. Examples are also
+ provided.
+
+Package: python-plplot-qt
+Architecture: any
+Section: python
+Depends: plplot-driver-qt (= ${binary:Version}),
+ python3-plplot (= ${binary:Version}),
+ ${misc:Depends},
+ ${python2:Depends},
+ ${shlibs:Depends}
+Provides: ${python2:Provides}
+Description: Scientific plotting library (Python 2 Qt GUI)
+ PLplot is relatively small, portable, freely distributable, and is rich
+ enough to satisfy most users. It has a wide range of plot types including
+ line (linear, log), contour, 3D, fill, and almost 1000 characters
+ (including Greek and mathematical) in its extended font set. The package
+ is designed to make it easy to quickly get graphical output; only a
+ handful of function calls is typically required. For more advanced use,
+ virtually all aspects of plotting are configurable.
+ .
+ This package provides Python 2 bindings to allow use of the PLplot API in
+ qt applications.
+
Package: python3-plplot
Architecture: any
Section: python
diff --git a/debian/python-plplot-qt.install b/debian/python-plplot-qt.install
new file mode 100644
index 0000000..588c188
--- /dev/null
+++ b/debian/python-plplot-qt.install
@@ -0,0 +1 @@
+usr/lib/python2.7/dist-packages/plplot_pyqt*.so
diff --git a/debian/python-plplot.examples b/debian/python-plplot.examples
new file mode 100644
index 0000000..0f9a780
--- /dev/null
+++ b/debian/python-plplot.examples
@@ -0,0 +1 @@
+examples/python/*
diff --git a/debian/python-plplot.install b/debian/python-plplot.install
new file mode 100644
index 0000000..731210a
--- /dev/null
+++ b/debian/python-plplot.install
@@ -0,0 +1,3 @@
+usr/lib/python2.7/dist-packages/*.py
+usr/lib/python2.7/dist-packages/_Pltk_init*.so
+usr/lib/python2.7/dist-packages/_plplotc*.so
diff --git a/debian/rules b/debian/rules
index 24a573b..231a847 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ CONFIGURE_OPTIONS = -DUSE_RPATH=OFF -DPLD_psttf=OFF -DNON_TRANSITIVE=ON \
-DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
%:
- dh $@ -Scmake --with python3
+ dh $@ -Scmake --with python2,python3
override_dh_auto_configure:
xvfb-run dh_auto_configure -- $(CONFIGURE_OPTIONS)
@@ -40,6 +40,7 @@ override_dh_auto_install:
# This will be reverted later, in override_dh_shlibdeps.
# See https://bugs.debian.org/35733#35
chmod ugo+x debian/tmp/usr/lib/*/octave/site/oct/api-*/*/plplot_octave.oct
+ dh_numpy
dh_numpy3
override_dh_shlibdeps:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/plplot.git
More information about the debian-science-commits
mailing list