[Python-modules-commits] [python-latexcodec] 05/07: added strip-docs.patch

Daniel Stender stender at moszumanska.debian.org
Mon May 9 12:16:00 UTC 2016


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

stender pushed a commit to branch master
in repository python-latexcodec.

commit 2b960ce6767cb544b108d40cb5c8d87cc22efacd
Merge: 514b812 c27ff02
Author: Daniel Stender <stender at debian.org>
Date:   Mon May 9 13:33:59 2016 +0200

    added strip-docs.patch

 debian/.git-dpm                      |  4 ++--
 debian/patches/0001-strip-docs.patch | 39 ++++++++++++++++++++++++++++++++++++
 debian/patches/series                |  1 +
 doc/conf.py                          |  2 +-
 doc/index.rst                        |  2 --
 5 files changed, 43 insertions(+), 5 deletions(-)

diff --cc debian/.git-dpm
index d5e75c3,0000000..d54983a
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- a6e51a952dcdc90f256437b42681120ed0aa4da5
- a6e51a952dcdc90f256437b42681120ed0aa4da5
++c27ff02b99411845fdb696803938599a18473c22
++c27ff02b99411845fdb696803938599a18473c22
 +a6e51a952dcdc90f256437b42681120ed0aa4da5
 +a6e51a952dcdc90f256437b42681120ed0aa4da5
 +python-latexcodec_1.0.3.orig.tar.xz
 +8da6a32e7f50e5b11215351ce4f98aa614995450
 +21380
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/patches/0001-strip-docs.patch
index 0000000,0000000..95f84b6
new file mode 100644
--- /dev/null
+++ b/debian/patches/0001-strip-docs.patch
@@@ -1,0 -1,0 +1,39 @@@
++From c27ff02b99411845fdb696803938599a18473c22 Mon Sep 17 00:00:00 2001
++From: Daniel Stender <stender at debian.org>
++Date: Mon, 9 May 2016 13:33:09 +0200
++Subject: strip-docs
++
++strip changes and license from docs.
++Forwarded: not-needed
++---
++ doc/conf.py   | 2 +-
++ doc/index.rst | 2 --
++ 2 files changed, 1 insertion(+), 3 deletions(-)
++
++diff --git a/doc/conf.py b/doc/conf.py
++index 0f3942f..7ba0ec6 100644
++--- a/doc/conf.py
+++++ b/doc/conf.py
++@@ -18,7 +18,7 @@ copyright = u'2011-2014, Matthias C. M. Troffaes'
++ with open("../VERSION", "rb") as version_file:
++     release = version_file.read().strip()
++ version = '.'.join(release.split('.')[:2])
++-exclude_patterns = ['_build']
+++exclude_patterns = ['_build', 'changes.rst', 'license.rst']
++ pygments_style = 'sphinx'
++ html_theme = 'default'
++ htmlhelp_basename = 'latexcodecdoc'
++diff --git a/doc/index.rst b/doc/index.rst
++index 05bd2cf..6056c6b 100644
++--- a/doc/index.rst
+++++ b/doc/index.rst
++@@ -12,9 +12,7 @@ Contents
++ 
++    quickstart
++    api
++-   changes
++    authors
++-   license
++ 
++ Indices and tables
++ ==================
diff --cc debian/patches/series
index 0000000,0000000..73b687b
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++0001-strip-docs.patch

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



More information about the Python-modules-commits mailing list