[Python-modules-commits] [jupyter-console] 03/07: Add debian/

Gordon Ball chronitis-guest at moszumanska.debian.org
Tue Nov 1 15:35:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

chronitis-guest pushed a commit to branch master
in repository jupyter-console.

commit 07c85b4ec12b1eccf7f9063883c361899811d1b1
Author: Gordon Ball <gordon at chronitis.net>
Date:   Tue Nov 1 15:41:31 2016 +0100

    Add debian/
---
 debian/compat                              |  1 +
 debian/control                             | 63 ++++++++++++++++++++++++++++++
 debian/copyright                           | 38 ++++++++++++++++++
 debian/jupyter-console.install             |  1 +
 debian/py3dist-overrides                   |  1 +
 debian/pydist-overrides                    |  1 +
 debian/python-jupyter-console-doc.doc-base |  9 +++++
 debian/python-jupyter-console.install      |  1 +
 debian/python3-jupyter-console.install     |  1 +
 debian/rules                               | 13 ++++++
 debian/watch                               |  2 +
 11 files changed, 131 insertions(+)

diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..57fd162
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,63 @@
+Source: jupyter-console
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Gordon Ball <gordon at chronitis.net>
+Section: python
+Priority: optional
+Standards-Version: 3.9.8
+Homepage: https://github.com/jupyter/jupyter_console
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               ipython,
+               ipython3,
+               python-all,
+               python-pytest,
+               python-setuptools,
+               python-sphinx,
+               python-sphinx-rtd-theme,
+               python3-all,
+               python3-pytest,
+               python3-setuptools
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/jupyter-console.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/jupyter-console.git
+
+Package: python-jupyter-console
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Jupyter terminal client (Python 2)
+ Terminal-based console frontend for Jupyter kernels, like ipython but with
+ support for non-python kernels.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-jupyter-console
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Jupyter terminal client (Python 3)
+ Terminal-based console frontend for Jupyter kernels, like ipython but with
+ support for non-python kernels.
+ .
+ This package installs the library for Python 3.
+
+Package: jupyter-console
+Architecture: all
+Section: utils
+Depends: python3-jupyter-console (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Jupyter terminal client (script)
+ Terminal-based console frontend for Jupyter kernels, like ipython but with
+ support for non-python kernels.
+ .
+ This package installs the jupyter-console script.
+
+Package: python-jupyter-console-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Jupyter terminal client (documentation)
+ Terminal-based console frontend for Jupyter kernels, like ipython but with
+ support for non-python kernels.
+ .
+ This package installs documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9401aba
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: jupyter_console
+
+Files: *
+Copyright: 2001-2016, Jupyter Development Team
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016 Gordon Ball <gordon at chronitis.net>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ Redistributions in binary form must reproduce the above copyright notice, this
+ list of conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+ .
+ Neither the name of the IPython Development Team nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/jupyter-console.install b/debian/jupyter-console.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/jupyter-console.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/py3dist-overrides b/debian/py3dist-overrides
new file mode 100644
index 0000000..b911359
--- /dev/null
+++ b/debian/py3dist-overrides
@@ -0,0 +1 @@
+jupyter_console python3-jupyter-console
diff --git a/debian/pydist-overrides b/debian/pydist-overrides
new file mode 100644
index 0000000..216adda
--- /dev/null
+++ b/debian/pydist-overrides
@@ -0,0 +1 @@
+jupyter_console python-jupyter-console
diff --git a/debian/python-jupyter-console-doc.doc-base b/debian/python-jupyter-console-doc.doc-base
new file mode 100644
index 0000000..fd739ef
--- /dev/null
+++ b/debian/python-jupyter-console-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-jupyter-console-doc
+Title: Jupyter Console Documentation
+Author: Jupyter Development Team
+Abstract: Sphinx documentation for Jupyter Console
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-jupyter-console-doc/html/index.html
+Files: /usr/share/doc/python-jupyter-console-doc/html/*
diff --git a/debian/python-jupyter-console.install b/debian/python-jupyter-console.install
new file mode 100644
index 0000000..b2cc136
--- /dev/null
+++ b/debian/python-jupyter-console.install
@@ -0,0 +1 @@
+usr/lib/python2*
diff --git a/debian/python3-jupyter-console.install b/debian/python3-jupyter-console.install
new file mode 100644
index 0000000..4606faa
--- /dev/null
+++ b/debian/python3-jupyter-console.install
@@ -0,0 +1 @@
+usr/lib/python3*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a0f18bf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export LC_ALL=C.UTF-8
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+	PYTHONPATH=. sphinx-build -b html docs debian/python-jupyter-console-doc/usr/share/doc/python-jupyter-console-doc/html
+	dh_sphinxdoc -O--buildsystem=pybuild
+endif
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..043aeb1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pypi.debian.net/jupyter_console/jupyter_console-(.*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jupyter-console.git



More information about the Python-modules-commits mailing list