[Python-modules-commits] [notebook] 02/02: Add nocheck and nodoc build profiles

Gordon Ball chronitis-guest at moszumanska.debian.org
Thu Oct 20 16:10:54 UTC 2016


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

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

commit 906b3742b5054b28c3dbffeafa0bea4fa5bdb6d0
Author: Gordon Ball <gordon at chronitis.net>
Date:   Thu Oct 20 16:15:13 2016 +0200

    Add nocheck and nodoc build profiles
---
 debian/control | 19 +++++++++++++++----
 debian/rules   |  5 +++--
 2 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 96891e7..eea1cd7 100644
--- a/debian/control
+++ b/debian/control
@@ -10,10 +10,20 @@ Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/notebook.git
 Build-Depends: debhelper (>= 10),
                dh-python,
                python3-all,
-               python3-sphinx,
-               python3-nose,
-               ipython3 | python3-ipython,
-               python3-sphinx-rtd-theme,
+               python3-nose <!nocheck>,
+               python3-requests <!nocheck>,
+               python3-ipython (>= 4) <!nocheck>,
+               python3-jupyter-core <!nocheck>,
+               python3-jupyter-client <!nocheck>,
+               python3-tornado <!nocheck>,
+               python3-nbformat <!nocheck>,
+               python3-nbconvert <!nocheck>,
+               python3-ipykernel <!nocheck>,
+               python3-terminado <!nocheck>,
+               python3-entrypoints <!nocheck>,
+               python3-zmq <!nocheck>,
+               python3-sphinx <!nodoc>,
+               python3-sphinx-rtd-theme <!nodoc>,
                libjs-backbone (>= 1.2),
                libjs-bootstrap (>= 3.3),
                libjs-bootstrap-tour (>= 0.9),
@@ -77,6 +87,7 @@ Description: Jupyter interactive notebook
  languages, sharing, and interactive widgets.
 
 Package: python3-notebook-doc
+Build-Profiles: <!nodoc>
 Architecture: all
 Section: doc
 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
diff --git a/debian/rules b/debian/rules
index 2dd6dcd..d30c522 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ JSBASE:=/usr/share/javascript
 COMP:=notebook/static/components
 
 export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/notebook/static/components' ; cp -r notebook/static/components '{destdir}/{install_dir}/notebook/static/'
+export LC_ALL=C.UTF-8
 
 %:
 	dh $@ --with=python3,sphinxdoc --buildsystem=pybuild
@@ -97,6 +98,6 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
+ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
 	PYTHONPATH=. http_proxy='127.0.0.9' sphinx-build -N -bhtml docs/source/ build/html
-
-override_dh_auto_test:
+endif

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



More information about the Python-modules-commits mailing list