[Python-modules-commits] r33068 - in packages/pyqt5/trunk/debian (5 files)
mitya57 at users.alioth.debian.org
mitya57 at users.alioth.debian.org
Wed Jun 24 09:49:20 UTC 2015
Date: Wednesday, June 24, 2015 @ 09:49:19
Author: mitya57
Revision: 33068
Add a temporary hack to use upstream stylesheet when building the
documentation with Sphinx 1.2.
Added:
packages/pyqt5/trunk/debian/patches/
packages/pyqt5/trunk/debian/patches/old_sphinx.diff
packages/pyqt5/trunk/debian/patches/series
Modified:
packages/pyqt5/trunk/debian/changelog
packages/pyqt5/trunk/debian/rules
Modified: packages/pyqt5/trunk/debian/changelog
===================================================================
--- packages/pyqt5/trunk/debian/changelog 2015-06-24 09:41:34 UTC (rev 33067)
+++ packages/pyqt5/trunk/debian/changelog 2015-06-24 09:49:19 UTC (rev 33068)
@@ -2,6 +2,8 @@
* New upstream release.
* Drop all patches, applied upstream.
+ * Add a temporary hack to use upstream stylesheet when building the
+ documentation with Sphinx 1.2.
-- Dmitry Shachnev <mitya57 at debian.org> Wed, 24 Jun 2015 12:38:29 +0300
Added: packages/pyqt5/trunk/debian/patches/old_sphinx.diff
===================================================================
--- packages/pyqt5/trunk/debian/patches/old_sphinx.diff (rev 0)
+++ packages/pyqt5/trunk/debian/patches/old_sphinx.diff 2015-06-24 09:49:19 UTC (rev 33068)
@@ -0,0 +1,20 @@
+Description: support building with Sphinx 1.2
+ This reverts upstream changeset 1c1cd1eac7ce.
+ .
+ When Sphinx 1.3 reaches unstable, this patch should be removed
+ together with the hack in debian/rules.
+Author: Dmitry Shachnev <mitya57 at debian.org>
+Forwarded: not-needed
+Last-Update: 2015-06-24
+
+--- a/doc/sphinx/conf.py
++++ b/doc/sphinx/conf.py
+@@ -91,7 +91,7 @@
+
+ # The theme to use for HTML and HTML Help pages. Major themes that come with
+ # Sphinx are currently 'default' and 'sphinxdoc'.
+-html_theme = 'classic'
++html_theme = 'default'
+
+ # 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
Added: packages/pyqt5/trunk/debian/patches/series
===================================================================
--- packages/pyqt5/trunk/debian/patches/series (rev 0)
+++ packages/pyqt5/trunk/debian/patches/series 2015-06-24 09:49:19 UTC (rev 33068)
@@ -0,0 +1 @@
+old_sphinx.diff
Modified: packages/pyqt5/trunk/debian/rules
===================================================================
--- packages/pyqt5/trunk/debian/rules 2015-06-24 09:41:34 UTC (rev 33067)
+++ packages/pyqt5/trunk/debian/rules 2015-06-24 09:49:19 UTC (rev 33068)
@@ -260,6 +260,8 @@
ifeq (,$(findstring -a, $(DH_OPTIONS)))
sphinx-build $(CURDIR)/doc/sphinx \
$(CURDIR)/debian/pyqt5-doc/usr/share/doc/pyqt5-doc/html
+ # Temporary hack to use upstream stylesheet with Sphinx 1.2
+ cd $(CURDIR)/debian/pyqt5-doc/usr/share/doc/pyqt5-doc/html/_static && mv classic.css default.css
dh_sphinxdoc
endif
dh_sip
More information about the Python-modules-commits
mailing list