[python-xrayutilities] 04/05: Added python-sphinx-rtd-theme as a build dependency

Eugen Wintersberger eugenwintersberger-guest at moszumanska.debian.org
Sat Apr 25 17:39:21 UTC 2015


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

eugenwintersberger-guest pushed a commit to branch master
in repository python-xrayutilities.

commit 37f72db3babc3636c4409c7f19e7e319e99d361d
Author: Eugen Wintersberger <eugen.wintersberger at gmail.com>
Date:   Sat Apr 25 13:04:38 2015 +0200

    Added python-sphinx-rtd-theme as a build dependency
    
    Added patches for the documentation build. The version of the theme shipped with
    Jessie does not support the "logo_only" option.
---
 debian/control                                      |  3 ++-
 ...e-logo_only-option-from-the-documentation-.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 64fbba8..34413d0 100644
--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,8 @@ Build-Depends: debhelper (>= 9),
                python3-sphinx (>= 1.0.7+dfsg),
                python3-tables,
                python3-tk,
-               rst2pdf
+               rst2pdf,
+               python-sphinx-rtd-theme
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/python-xrayutilities.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/python-xrayutilities.git
diff --git a/debian/patches/0001-Removed-the-logo_only-option-from-the-documentation-.patch b/debian/patches/0001-Removed-the-logo_only-option-from-the-documentation-.patch
new file mode 100644
index 0000000..3bd58dc
--- /dev/null
+++ b/debian/patches/0001-Removed-the-logo_only-option-from-the-documentation-.patch
@@ -0,0 +1,21 @@
+From: Eugen Wintersberger <eugen.wintersberger at gmail.com>
+Date: Sat, 25 Apr 2015 13:18:32 +0200
+Subject: Removed the logo_only option from the documentation build
+
+---
+ doc/source/conf.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/source/conf.py b/doc/source/conf.py
+index f71467c..6c68735 100644
+--- a/doc/source/conf.py
++++ b/doc/source/conf.py
+@@ -110,7 +110,7 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further.  For a list of options available for each theme, see the
+ # documentation.
+-html_theme_options = {'logo_only': True}
++#html_theme_options = {'logo_only': True}
+ 
+ # Add any paths that contain custom themes here, relative to this directory.
+ # html_theme_path = []
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c491fa1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Removed-the-logo_only-option-from-the-documentation-.patch

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



More information about the debian-science-commits mailing list