[theano] 18/22: run build time tests
Daniel Stender
danstender-guest at moszumanska.debian.org
Fri Jul 1 22:41:56 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 889453413c8c5269b4671c0db2161365ccae9a26
Author: Daniel Stender <stender at debian.org>
Date: Fri Jul 1 21:43:00 2016 +0200
run build time tests
---
debian/changelog | 13 +++++++++----
debian/control | 1 +
debian/rules | 7 +++++--
debian/source.lintian-overrides | 2 +-
4 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0b29eb6..07e69ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,14 @@
theano (0.7-2) UNRELEASED; urgency=medium
+ * Run build time tests (Closes: #824116):
+ * completed dh_auto_test override in deb/rules.
+ * added DEB_BUILD_OPTIONS export for nocheck (disabled by default).
+ * added libopenblas-dev and python{,3}-nose to deb/control.
* deb/control:
+ bumped standards to 3.9.8 (no changes needed).
- + build depend against python{,3}-all-dev packages.
+ + build depend against python{,3}-all-dev packages (needed for tests
+ and docs).
+ add install_requires (numpy and scipy) to build-deps.
- + add python{,3}-nose to build-deps (tests still disabled, though).
+ add rdfind and symlink to build deps.
+ build against python-sphinx (not yet ready for python3-sphinx),
and python-pygments.
@@ -14,8 +18,9 @@ theano (0.7-2) UNRELEASED; urgency=medium
+ removed everything but .gitignore from Files-Excluded.
+ updated email address.
* deb/rules:
+ + added export for THEANO_FLAGS with some needed configs (e.g. compiledir).
+ add override for dh_auto_install containing a custom removal.
- + add PYTHONPATH and THEANO_FLAGS (for compiledir) to sphinx-build.
+ + 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).
@@ -23,7 +28,7 @@ theano (0.7-2) UNRELEASED; urgency=medium
+ improved filenamemangler.
* Added deb/source.lintian-overrides.
- -- Daniel Stender <stender at debian.org> Fri, 01 Jul 2016 20:38:26 +0200
+ -- Daniel Stender <stender at debian.org> Fri, 01 Jul 2016 22:57:19 +0200
theano (0.7-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 32647d1..c5bcaa5 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends:
python3-all-dev,
python-setuptools,
python3-setuptools,
+ libopenblas-dev,
python-numpy,
python3-numpy,
python-scipy,
diff --git a/debian/rules b/debian/rules
index 386b4d7..45be6cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,12 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
export PYBUILD_NAME=theano
export PYBUILD_INSTALL_ARGS=--install-scripts=/usr/share/{package}
+export THEANO_FLAGS='base_compiledir=.pybuild,device=cpu'
+
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
@@ -14,11 +17,11 @@ override_dh_auto_install:
rm -vf debian/python*-theano/usr/lib/python*/dist-packages/theano/misc/check_blas_many.sh
override_dh_auto_test:
- # build-time tests disabled: non-accelerated testing takes veeery long (up to a hour)
+ PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS='PYTHONPATH=. {interpreter} -m nose -v' dh_auto_test || true # a few errors remain
override_dh_installdocs:
dh_installdocs -A README.txt
- PYTHONPATH=. THEANO_FLAGS='base_compiledir=.pybuild' 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
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
index f940ced..ce5fc40 100644
--- a/debian/source.lintian-overrides
+++ b/debian/source.lintian-overrides
@@ -1,2 +1,2 @@
-# needed for docs
+# needed for tests and docs
theano source: build-depends-on-python-dev-with-no-arch-any
\ No newline at end of file
--
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