[med-svn] [snakemake] 03/04: Add sphinx builddeps and build rule
Kevin Murray
daube-guest at moszumanska.debian.org
Sun Sep 13 14:00:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
daube-guest pushed a commit to branch master
in repository snakemake.
commit c1d59d81d3478736d09f3e48ed73b35d15e1f153
Author: Kevin Murray <spam at kdmurray.id.au>
Date: Sun Sep 13 23:55:24 2015 +1000
Add sphinx builddeps and build rule
---
debian/control | 4 +++-
debian/rules | 9 ++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 81e00bb..9955c6a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,9 @@ Maintainer: Debian Med Packaging <debian-med-packaging at lists.debian.org>
Uploaders: Kevin Murray <spam at kdmurray.id.au>
Build-Depends: debhelper (>= 9),
dh-python,
- python3 (>=3.2)
+ python3 (>=3.2),
+ python3-sphinx,
+ python3-sphinx-bootstrap-theme
Standards-Version: 3.9.6
Homepage: https://bitbucket.org/johanneskoester/snakemake
Vcs-Git: git://anonscm.debian.org/debian-med/snakemake.git
diff --git a/debian/rules b/debian/rules
index fa18f99..793668f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,16 @@
export PYBUILD_NAME=snakemake
export PYBUILD_DESTDIR_python3=debian/snakemake
+# Force the use of python3's sphinx-build.
+export SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build
+
# main packaging script based on dh7 syntax
%:
- dh $@ --with python3 --buildsystem=pybuild --parallel
+ dh $@ --with python3,sphinxdoc --buildsystem=pybuild --parallel
+
+override_dh_auto_build:
+ dh_auto_build
+ cd docs && $(MAKE) html
get-orig-source:
uscan --verbose --force-download --repack --compression xz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/snakemake.git
More information about the debian-med-commit
mailing list