[Python-modules-commits] [jupyter-sphinx-theme] 04/04: Second packaging attempt

Jerome Benoit calculus-guest at moszumanska.debian.org
Mon Nov 21 02:09:06 UTC 2016


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

calculus-guest pushed a commit to branch master
in repository jupyter-sphinx-theme.

commit 08a8a234f880ba5b0eed5da3f55eb607108d3b4a
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Mon Nov 21 00:01:20 2016 +0000

    Second packaging attempt
---
 debian/changelog                         |  2 +-
 debian/control                           | 54 +++++++++++++++++++-------------
 debian/jupyter-sphinx-theme-common.links |  5 +++
 debian/patches/debianization.patch       | 26 +++++++++++++++
 debian/source/lintian-overrides          |  2 ++
 5 files changed, 67 insertions(+), 22 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4fb6ccc..4382aec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ jupyter-sphinx-theme (0.0.6+ds1-1) experimental; urgency=medium
 
   * Initial release (Closes: #838798).
 
- -- Jerome Benoit <calculus at rezozer.net>  Sun, 20 Nov 2016 04:05:09 +0000
+ -- Jerome Benoit <calculus at rezozer.net>  Sun, 20 Nov 2016 23:58:18 +0000
diff --git a/debian/control b/debian/control
index f2527d2..2052c94 100644
--- a/debian/control
+++ b/debian/control
@@ -4,20 +4,20 @@ Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Jerome Benoit <calculus at rezozer.net>
 Build-Depends:
-Build-Depends-Indep:
- debhelper (>= 10),
- libjs-bootstrap,
- libjs-bootswatch,
- libjs-jquery,
- dh-python,
- python-all,
- python-setuptools,
- python-nbsphinx,
- python-recommonmark,
- python3-all,
- python3-setuptools,
- python3-nbsphinx,
- python3-recommonmark
+Build-Depends-Indep: debhelper (>= 10),
+                     dh-python,
+                     libjs-bootstrap,
+                     libjs-bootswatch,
+                     libjs-jquery,
+                     python-all,
+                     python-nbsphinx,
+                     python-recommonmark,
+                     python-setuptools,
+                     python-sphinx-bootstrap-theme,
+                     python3-all,
+                     python3-nbsphinx,
+                     python3-recommonmark,
+                     python3-setuptools
 Standards-Version: 3.9.8
 X-Python-Version: >= 2.7
 X-Python3-Version: >= 3.2
@@ -27,7 +27,9 @@ Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/jupyter-sphi
 
 Package: python-jupyter-sphinx-theme
 Architecture: all
-Depends: jupyter-sphinx-theme-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
+Depends: jupyter-sphinx-theme-common (= ${binary:Version}),
+         ${misc:Depends},
+         ${python:Depends}
 Suggests: jupyter-sphinx-theme-doc (= ${source:Version})
 Description: Jupyter Sphinx Theme -- Python
  A Jupyter Sphinx theme for narrative documentation.
@@ -41,7 +43,9 @@ Description: Jupyter Sphinx Theme -- Python
 
 Package: python3-jupyter-sphinx-theme
 Architecture: all
-Depends: jupyter-sphinx-theme-common (= ${binary:Version}), ${python3:Depends}, ${misc:Depends}
+Depends: jupyter-sphinx-theme-common (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends}
 Suggests: jupyter-sphinx-theme-doc (= ${source:Version})
 Description: Jupyter Sphinx Theme -- Python 3
  A Jupyter Sphinx theme for narrative documentation.
@@ -55,7 +59,12 @@ Description: Jupyter Sphinx Theme -- Python 3
 
 Package: jupyter-sphinx-theme-common
 Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}
+Depends: libjs-bootstrap,
+         libjs-bootswatch,
+         libjs-jquery,
+         python-sphinx-bootstrap-theme,
+         ${misc:Depends},
+         ${python3:Depends}
 Description: Jupyter Sphinx Theme -- common files
  A Jupyter Sphinx theme for narrative documentation.
  .
@@ -70,10 +79,13 @@ Package: jupyter-sphinx-theme-doc
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
-Recommends:
- python-jupyter-sphinx-theme (= ${binary:Version}), python-entrypoints,
- texlive-fonts-recommended, texlive-generic-extra, texlive-latex-extra, texlive-latex-recommended,
- texinfo
+Recommends: python-entrypoints,
+            python-jupyter-sphinx-theme (= ${binary:Version}),
+            texinfo,
+            texlive-fonts-recommended,
+            texlive-generic-extra,
+            texlive-latex-extra,
+            texlive-latex-recommended
 Description: Jupyter Sphinx Theme -- documentation
  A Jupyter Sphinx theme for narrative documentation.
  .
diff --git a/debian/jupyter-sphinx-theme-common.links b/debian/jupyter-sphinx-theme-common.links
new file mode 100644
index 0000000..39c4888
--- /dev/null
+++ b/debian/jupyter-sphinx-theme-common.links
@@ -0,0 +1,5 @@
+usr/lib/python2.7/dist-packages/sphinx_bootstrap_theme/bootstrap/static/bootstrap-2.3.2  usr/share/jupyter_sphinx_theme/jupyter/static/bootstrap-2
+usr/lib/python2.7/dist-packages/sphinx_bootstrap_theme/bootstrap/static/bootswatch-2.3.2 usr/share/jupyter_sphinx_theme/jupyter/static/bootswatch-2
+usr/share/javascript/bootstrap  usr/share/jupyter_sphinx_theme/jupyter/static/bootstrap-3
+usr/share/javascript/bootswatch usr/share/jupyter_sphinx_theme/jupyter/static/bootswatch-3
+usr/share/javascript/jquery     usr/share/jupyter_sphinx_theme/jupyter/static/js
diff --git a/debian/patches/debianization.patch b/debian/patches/debianization.patch
index 6b87ec9..3ab98c4 100644
--- a/debian/patches/debianization.patch
+++ b/debian/patches/debianization.patch
@@ -37,3 +37,29 @@ Last-Update: 2016-11-20
  
  extensions = [
      'sphinx.ext.autodoc',
+--- a/jupyter_sphinx_theme/jupyter/layout.html
++++ b/jupyter_sphinx_theme/jupyter/layout.html
+@@ -2,10 +2,10 @@
+ 
+ {% set theme_css_files = [] %}
+ {% if theme_bootstrap_version == "3" %}
+-  {% set bootstrap_version, bootstrap_additional_css, navbar_version = "3.3.4", "theme", "" %}
++  {% set bootstrap_version, bootstrap_additional_css, navbar_version = "3", "theme", "" %}
+   {% set bs_span_prefix = "col-md-" %}
+ {% else %}
+-  {% set bootstrap_version, bootstrap_additional_css, navbar_version = "2.3.2", "responsive", "-2" %}
++  {% set bootstrap_version, bootstrap_additional_css, navbar_version = "2", "responsive", "-2" %}
+   {% set bs_span_prefix = "span" %}
+ {% endif %}
+ 
+@@ -49,8 +49,8 @@
+ {% endif %}
+ 
+ {% set script_files = script_files + [
+-    '_static/js/jquery-1.11.0.min.js',
+-    '_static/js/jquery-fix.js',
++    '_static/js/jquery.min.js',
++    '_static/js/jquery.js',
+     '_static/bootstrap-' + bootstrap_version + '/js/bootstrap.min.js',
+     '_static/bootstrap-sphinx.js'
+   ] + theme_custom_js
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..3aa65e7
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# Upstream source downloaded from <https://pypi.debian.net/>
+debian-watch-may-check-gpg-signature

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



More information about the Python-modules-commits mailing list