[Python-modules-commits] [python-qtconsole] 01/01: add the jupyter-qtconsole binary package
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Sun Jun 26 09:33:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to branch master
in repository python-qtconsole.
commit d39dcd3915a0106be0e7777ec483c171952cc96a
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date: Sun Jun 26 11:32:56 2016 +0200
add the jupyter-qtconsole binary package
---
debian/control | 21 +++++++++++++++++++--
debian/copyright | 1 +
debian/rules | 18 +++++++++---------
3 files changed, 29 insertions(+), 11 deletions(-)
diff --git a/debian/control b/debian/control
index 650a275..6ca327a 100644
--- a/debian/control
+++ b/debian/control
@@ -40,7 +40,7 @@ Description: transitional dummy package for python-qtconsole
Package: python-qtconsole
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
-Description: enhanced interactive Python shell - Qt console (Python 2)
+Description: Jupyter - Qt console (Python 2)
IPython can be used as a replacement for the standard Python shell,
or it can be used as a complete working environment for scientific
computing (like Matlab or Mathematica) when paired with the standard
@@ -64,7 +64,7 @@ Description: transitional dummy package for python3-qtconsole
Package: python3-qtconsole
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
-Description: enhanced interactive Python shell - Qt console (Python 3)
+Description: Jupyter - Qt console (Python 3)
IPython can be used as a replacement for the standard Python shell,
or it can be used as a complete working environment for scientific
computing (like Matlab or Mathematica) when paired with the standard
@@ -75,3 +75,20 @@ Description: enhanced interactive Python shell - Qt console (Python 3)
and is embeddable in other Python programs.
.
This package contains the qtconsole library for the Python 3 interpreter.
+
+Package: jupyter-qtconsole
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, jupyter-core, python3-qtconsole
+Description: Jupyter - Qt console (binaries)
+ IPython can be used as a replacement for the standard Python shell,
+ or it can be used as a complete working environment for scientific
+ computing (like Matlab or Mathematica) when paired with the standard
+ Python scientific and numerical tools. It supports dynamic object
+ introspections, numbered input/output prompts, a macro system,
+ session logging, session restoring, complete system shell access,
+ verbose and colored traceback reports, auto-parentheses,
+ auto-quoting, and is embeddable in other Python programs.
+ .
+ This package contains the qtconsole binaries for the Python 3
+ interpreter.
+
diff --git a/debian/copyright b/debian/copyright
index 2e77d82..a7d10fb 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,6 +4,7 @@ Upstream-Name: qtconsole
Files: *
Copyright: Copyright (c) 2001-2015, IPython Development Team
Copyright (c) 2015-, Jupyter Development Team
+License: BSD-3-clause
Files: debian/*
Copyright: 2016 Picca Frédéric-Emmanuel <picca at debian.org>
diff --git a/debian/rules b/debian/rules
index 2b24331..ee5fec9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,21 @@
#!/usr/bin/make -f
export PYBUILD_NAME=qtconsole
-export PYBUILD_AFTER_INSTALL_python3=\
- mv {destdir}/usr/bin/jupyter-qtconsole {destdir}/usr/bin/jupyter3-qtconsole
+export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+override_dh_auto_install:
+ dh_auto_install
+
+ # install scripts into jupyter-qtconsole
+ python3 setup.py install_scripts -d debian/jupyter-qtconsole/usr/bin
+
override_dh_install:
dh_install
+
## install the .desktop files
- # python2
- dh_install -p python-qtconsole \
+ dh_install -p jupyter-qtconsole \
examples/jupyter-qtconsole.desktop \
usr/share/applications
- # python3
- mkdir -p debian/python3-qtconsole/usr/share/applications/
- sed -e "s/jupyter/jupyter3/" -e "s/Jupyter/Jupyter3/" \
- debian/python-qtconsole/usr/share/applications/jupyter-qtconsole.desktop > \
- debian/python3-qtconsole/usr/share/applications/jupyter3-qtconsole.desktop
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-qtconsole.git
More information about the Python-modules-commits
mailing list