[theano] 10/22: build with python2-sphinx

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 977e6db5ecf8d70d4a45e11ff335cba342647cc6
Author: Daniel Stender <stender at debian.org>
Date:   Fri Jul 1 18:59:42 2016 +0200

    build with python2-sphinx
---
 debian/changelog | 5 ++++-
 debian/control   | 4 ++--
 debian/rules     | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 94fc39a..e0f412d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,18 +4,21 @@ theano (0.7-2) UNRELEASED; urgency=medium
     + bumped standards to 3.9.8 (no changes needed).
     + add install_requires (numpy and scipy) to build-deps.
     + add rdfind and symlink to build deps.
+    + build against python-sphinx (not yet ready for python3-sphinx),
+      and python-pigments.
     + removed unnecessary comment text.
   * deb/copyright:
     + removed everything but .gitignore from Files-Excluded.
     + updated email address.
   * deb/rules:
+    + add PYTHONPATH 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 17:56:45 +0200
+ -- Daniel Stender <stender at debian.org>  Fri, 01 Jul 2016 18:57:25 +0200
 
 theano (0.7-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 903602f..fff4259 100644
--- a/debian/control
+++ b/debian/control
@@ -15,8 +15,8 @@ Build-Depends:
  python3-numpy,
  python-scipy,
  python3-scipy,
- python3-sphinx,
- python3-pygments,
+ python-sphinx,
+ python-pygments,
  rdfind,
  symlinks
 Standards-Version: 3.9.8
diff --git a/debian/rules b/debian/rules
index 60770ca..ebc499a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ override_dh_auto_test:
 
 override_dh_installdocs:
 	dh_installdocs -A README.txt
-	sphinx-build -N -bhtml doc/ debian/theano-doc/usr/share/doc/theano-doc/html/
+	PYTHONPATH=. 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