[med-svn] [python-mne] 06/15: debian/rules + changelog: - fake http_proxy settings to forbid network access - HOME=build/ to avoid trying to deal with / as HOME
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 18 22:17:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to branch master
in repository python-mne.
commit 62dfc4c83f45b053565c2a0dc48f044f39ef55f4
Author: Yaroslav Halchenko <debian at onerussian.com>
Date: Tue Oct 11 08:20:42 2016 -0400
debian/rules + changelog: - fake http_proxy settings to forbid network access - HOME=build/ to avoid trying to deal with / as HOME
---
debian/changelog | 4 ++++
debian/rules | 5 +++++
2 files changed, 9 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 24936c8..7d75267 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ python-mne (0.13+dfsg-1) unstable; urgency=medium
* Fresh upstream release
* debian/patches
- dropped changeset_*
+ - added a changeset (upstreamed) to skip few tests if no usable mayavi2
+ * debian/rules
+ - fake http_proxy settings to forbid network access
+ - HOME=build/ to avoid trying to deal with / as HOME
-- Yaroslav Halchenko <debian at onerussian.com> Wed, 28 Sep 2016 20:38:09 -0400
diff --git a/debian/rules b/debian/rules
index 3ee1261..fa02162 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ NOSETESTS=nosetests
# to avoid cannot set toolkit to qt4 because it has already been set to wx
export ETS_TOOLKIT=qt4
+export http_proxy=http://127.0.0.1:9/
+export https_proxy=http://127.0.0.1:9/
+
%:
dh $@ --with python2 --buildsystem python_distutils
@@ -19,6 +22,8 @@ override_dh_auto_build:
echo -e "\n" >> $(CURDIR)/mne/html/bootstrap.min.js
override_dh_auto_test:
+ mkdir -p build
+ HOME=$(CURDIR)/build \
MNE_DONTWRITE_HOME=true MNE_SKIP_SAMPLE_DATASET_TESTS=true MNE_FORCE_SERIAL=true MNE_SKIP_NETWORK_TESTS=1 \
xvfb-run --auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" \
$(NOSETESTS) mne
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git
More information about the debian-med-commit
mailing list