[Python-modules-commits] r31546 - in packages/mutagen/trunk/debian (5 files)

mithrandi at users.alioth.debian.org mithrandi at users.alioth.debian.org
Mon Dec 8 01:05:20 UTC 2014


    Date: Monday, December 8, 2014 @ 01:05:19
  Author: mithrandi
Revision: 31546

Patch to use Debian package of sphinx-rtd-theme.

Added:
  packages/mutagen/trunk/debian/patches/
  packages/mutagen/trunk/debian/patches/series
  packages/mutagen/trunk/debian/patches/use-rtd-package
Modified:
  packages/mutagen/trunk/debian/changelog
  packages/mutagen/trunk/debian/control

Modified: packages/mutagen/trunk/debian/changelog
===================================================================
--- packages/mutagen/trunk/debian/changelog	2014-12-08 00:42:52 UTC (rev 31545)
+++ packages/mutagen/trunk/debian/changelog	2014-12-08 01:05:19 UTC (rev 31546)
@@ -1,4 +1,4 @@
-mutagen (1.27-1) experimental; urgency=medium
+mutagen (1.27-1) experimental; urgency=low
 
   * New upstream release.
 

Modified: packages/mutagen/trunk/debian/control
===================================================================
--- packages/mutagen/trunk/debian/control	2014-12-08 00:42:52 UTC (rev 31545)
+++ packages/mutagen/trunk/debian/control	2014-12-08 01:05:19 UTC (rev 31546)
@@ -16,6 +16,7 @@
  pypy,
  python-docutils,
  python-sphinx (>= 1.0.7+dfsg),
+ python-sphinx-rtd-theme,
  vorbis-tools,
  dh-python
 Standards-Version: 3.9.6

Added: packages/mutagen/trunk/debian/patches/series
===================================================================
--- packages/mutagen/trunk/debian/patches/series	                        (rev 0)
+++ packages/mutagen/trunk/debian/patches/series	2014-12-08 01:05:19 UTC (rev 31546)
@@ -0,0 +1 @@
+use-rtd-package

Added: packages/mutagen/trunk/debian/patches/use-rtd-package
===================================================================
--- packages/mutagen/trunk/debian/patches/use-rtd-package	                        (rev 0)
+++ packages/mutagen/trunk/debian/patches/use-rtd-package	2014-12-08 01:05:19 UTC (rev 31546)
@@ -0,0 +1,45 @@
+Description: Use the Debian package of the sphinx-rtd theme
+Author: Tristan Seligmann <mithrandi at debian.org>
+Forwarded: no
+Last-Update: 2014-12-08
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: mutagen-1.27/docs/Makefile
+===================================================================
+--- mutagen-1.27.orig/docs/Makefile	2014-12-08 02:40:53.143869468 +0200
++++ mutagen-1.27/docs/Makefile	2014-12-08 02:41:05.508058240 +0200
+@@ -1,13 +1,7 @@
+-all: _rtd_theme
+-	sphinx-build -Dhtml_theme=_rtd_theme -Dhtml_theme_path=. -b html -n . _build
++all:
++	sphinx-build -b html -n . _build
+ 
+ clean:
+-	rm -rf _build _rtd_theme
++	rm -rf _build
+ 
+ .PHONY: clean
+-
+-_rtd_theme:
+-	wget https://github.com/snide/sphinx_rtd_theme/archive/master.tar.gz
+-	tar --strip-components=1 -zxvf master.tar.gz sphinx_rtd_theme-master/sphinx_rtd_theme
+-	mv sphinx_rtd_theme _rtd_theme
+-	rm master.tar.gz
+Index: mutagen-1.27/docs/conf.py
+===================================================================
+--- mutagen-1.27.orig/docs/conf.py	2014-11-26 16:48:15.000000000 +0200
++++ mutagen-1.27/docs/conf.py	2014-12-08 02:41:47.108693509 +0200
+@@ -2,6 +2,7 @@
+ 
+ import os
+ import sys
++import sphinx_rtd_theme
+ 
+ dir_ = os.path.dirname(os.path.realpath(__file__))
+ sys.path.insert(0, dir_)
+@@ -21,3 +22,5 @@
+ exclude_patterns = ['_build']
+ bug_url_template = "http://bitbucket.org/lazka/mutagen/issue/%s"
+ pr_url_template = "http://bitbucket.org/lazka/mutagen/pull-request/%s"
++html_theme = "sphinx_rtd_theme"
++html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]




More information about the Python-modules-commits mailing list