[theano] 13/22: deb/rules: put compiledir into .pybuild for sphinx-build

Daniel Stender danstender-guest at moszumanska.debian.org
Fri Jul 1 22:41:55 UTC 2016


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

danstender-guest pushed a commit to branch master
in repository theano.

commit c46959d0302324a8a17f91723db75335e9e5a389
Author: Daniel Stender <stender at debian.org>
Date:   Fri Jul 1 19:47:03 2016 +0200

    deb/rules: put compiledir into .pybuild for sphinx-build
---
 debian/changelog | 4 ++--
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 93d6c80..9bd7a40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,14 +12,14 @@ theano (0.7-2) UNRELEASED; urgency=medium
     + removed everything but .gitignore from Files-Excluded.
     + updated email address.
   * deb/rules:
-    + add PYTHONPATH to sphinx-build.
+    + add PYTHONPATH and THEANO_FLAGS (for compiledir) to sphinx-build.
     + run rdfind and symlinks in dh_installdocs override.
     + add removal for extra-license-file in docs package (dh_sphinxdoc
       override).
   * deb/watch:
     + improved filenamemangler.
 
- -- Daniel Stender <stender at debian.org>  Fri, 01 Jul 2016 19:27:11 +0200
+ -- Daniel Stender <stender at debian.org>  Fri, 01 Jul 2016 19:45:26 +0200
 
 theano (0.7-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index ebc499a..92f0a5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ override_dh_auto_test:
 
 override_dh_installdocs:
 	dh_installdocs -A README.txt
-	PYTHONPATH=. sphinx-build -N -bhtml doc/ debian/theano-doc/usr/share/doc/theano-doc/html/
+	PYTHONPATH=. THEANO_FLAGS='base_compiledir=.pybuild' sphinx-build -N -bhtml doc/ debian/theano-doc/usr/share/doc/theano-doc/html/
 	rdfind -outputname /dev/null -makesymlinks true debian/theano-doc
 	symlinks -r -s -c debian/theano-doc
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/theano.git



More information about the debian-science-commits mailing list