[Python-modules-commits] [flask-compress] 08/11: Convert markdown to HTML.
Dominik George
natureshadow-guest at moszumanska.debian.org
Thu Sep 29 09:39:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch master
in repository flask-compress.
commit 785bf9ac320e08b0ff760c700aa075b51e4194aa
Author: Dominik George <nik at naturalnet.de>
Date: Thu Sep 29 11:28:13 2016 +0200
Convert markdown to HTML.
---
debian/control | 1 +
debian/rules | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/debian/control b/debian/control
index daa97f1..fb7a281 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Priority: optional
Build-Depends:
debhelper (>= 10),
dh-python,
+ pandoc,
python-all (>= 2.6.6-3),
python-flask,
python-setuptools (>= 0.6b3),
diff --git a/debian/rules b/debian/rules
index 57b73e9..d09f77a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,13 @@
export PYBUILD_NAME=flask-compress
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+
+dh_override_install_docs:
+ # Convert markdown to HTML because this specific markdown
+ # file is close to unreadable
+ pandoc -f markdown_github \
+ -o usr/share/doc/python-flask-compress/README.html \
+ usr/share/doc/python-flask-compress/README.md
+ pandoc -f markdown_github \
+ -o usr/share/doc/python3-flask-compress/README.html \
+ usr/share/doc/python3-flask-compress/README.md
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask-compress.git
More information about the Python-modules-commits
mailing list