and please pardon in the best traditions forgotten to be attached patch. Now it should be
-- Yaroslav O. Halchenko, Ph.D. http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org Research Scientist, Psychological and Brain Sciences Dept. Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik
diff -Nru python-mne-0.8.4+dfsg/debian/changelog python-mne-0.8.6+dfsg/debian/changelog --- python-mne-0.8.4+dfsg/debian/changelog 2014-09-24 08:22:55.000000000 -0400 +++ python-mne-0.8.6+dfsg/debian/changelog 2014-12-11 17:02:51.000000000 -0500 @@ -1,3 +1,18 @@ +python-mne (0.8.6+dfsg-2) unstable; urgency=medium + + * debian/{rules.patches/changeset_b9d4d*} + Absorb upstream patch and specify not using HOME directory for generated + pre-computed data, but instead use tempdir. (Closes: #768730) + + -- Yaroslav Halchenko <deb...@onerussian.com> Thu, 11 Dec 2014 09:33:18 -0500 + +python-mne (0.8.6+dfsg-1) unstable; urgency=low + + * New upstream version + * remove dependency on d3 + + -- Alexandre Gramfort <alexandre.gramf...@m4x.org> Sat, 25 Oct 2014 16:09:07 -0400 + python-mne (0.8.4+dfsg-1) unstable; urgency=low [ Alexandre Gramfort ] diff -Nru python-mne-0.8.4+dfsg/debian/control python-mne-0.8.6+dfsg/debian/control --- python-mne-0.8.4+dfsg/debian/control 2014-09-24 08:22:55.000000000 -0400 +++ python-mne-0.8.6+dfsg/debian/control 2014-12-11 17:02:51.000000000 -0500 @@ -43,7 +43,6 @@ xauth, libgl1-mesa-dri, help2man, - libjs-d3, libjs-jquery, libjs-jquery-ui, Recommends: python-nose, diff -Nru python-mne-0.8.4+dfsg/debian/patches/changeset_b9d4df78db7aaeda1feb58c18b0071934de2361e.diff python-mne-0.8.6+dfsg/debian/patches/changeset_b9d4df78db7aaeda1feb58c18b0071934de2361e.diff --- python-mne-0.8.4+dfsg/debian/patches/changeset_b9d4df78db7aaeda1feb58c18b0071934de2361e.diff 1969-12-31 19:00:00.000000000 -0500 +++ python-mne-0.8.6+dfsg/debian/patches/changeset_b9d4df78db7aaeda1feb58c18b0071934de2361e.diff 2014-12-11 17:02:51.000000000 -0500 @@ -0,0 +1,46 @@ +commit b9d4df78db7aaeda1feb58c18b0071934de2361e +Author: Eric89GXL <larson.eri...@gmail.com> +Date: Wed Nov 12 10:22:45 2014 -0800 + + ENH: Allow not writing home + +--- a/mne/utils.py ++++ b/mne/utils.py +@@ -24,6 +24,8 @@ from math import log, ceil + import json + import ftplib + import hashlib ++from functools import partial ++import atexit + + import numpy as np + import scipy +@@ -983,8 +985,12 @@ def get_subjects_dir(subjects_dir=None, + return subjects_dir + + ++_temp_home_dir = None ++ ++ + def _get_extra_data_path(home_dir=None): + """Get path to extra data (config, tables, etc.)""" ++ global _temp_home_dir + if home_dir is None: + # this has been checked on OSX64, Linux64, and Win32 + if 'nt' == os.name.lower(): +@@ -996,7 +1002,14 @@ def _get_extra_data_path(home_dir=None): + # of script that isn't launched via the command line (e.g. a script + # launched via Upstart) then the HOME environment variable will + # not be set. +- home_dir = os.path.expanduser('~') ++ if os.getenv('MNE_DONTWRITE_HOME', '') == 'true': ++ if _temp_home_dir is None: ++ _temp_home_dir = tempfile.mkdtemp() ++ atexit.register(partial(shutil.rmtree, _temp_home_dir, ++ ignore_errors=True)) ++ home_dir = _temp_home_dir ++ else: ++ home_dir = os.path.expanduser('~') + + if home_dir is None: + raise ValueError('mne-python config file path could ' diff -Nru python-mne-0.8.4+dfsg/debian/patches/series python-mne-0.8.6+dfsg/debian/patches/series --- python-mne-0.8.4+dfsg/debian/patches/series 2014-09-24 08:22:55.000000000 -0400 +++ python-mne-0.8.6+dfsg/debian/patches/series 2014-12-11 17:02:51.000000000 -0500 @@ -1,2 +1,3 @@ +changeset_b9d4df78db7aaeda1feb58c18b0071934de2361e.diff changeset_9c7ef6d10f1f767b742525ea31e42a65a0469327.diff debian_paths diff -Nru python-mne-0.8.4+dfsg/debian/rules python-mne-0.8.6+dfsg/debian/rules --- python-mne-0.8.4+dfsg/debian/rules 2014-09-24 08:22:55.000000000 -0400 +++ python-mne-0.8.6+dfsg/debian/rules 2014-12-11 17:02:51.000000000 -0500 @@ -15,7 +15,7 @@ yui-compressor debian/JS/bootstrap/bootstrap.js > $(CURDIR)/mne/html/bootstrap.min.js override_dh_auto_test: - MNE_SKIP_SAMPLE_DATASET_TESTS=true MNE_FORCE_SERIAL=true MNE_SKIP_NETWORK_TESTS=1 \ + 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 diff -Nru python-mne-0.8.4+dfsg/doc/source/whats_new.rst python-mne-0.8.6+dfsg/doc/source/whats_new.rst --- python-mne-0.8.4+dfsg/doc/source/whats_new.rst 2014-09-23 06:50:15.000000000 -0400 +++ python-mne-0.8.6+dfsg/doc/source/whats_new.rst 2014-10-16 14:18:25.000000000 -0400 @@ -143,7 +143,7 @@ - Deprecate Epochs.drop_picks in favor of a new method called drop_channels - - Deprecate `labels_from_parc` and `parc_from_labels` in favor of `read_annot` and `write_annot` + - Deprecate `labels_from_parc` and `parc_from_labels` in favor of `read_labels_from_annot` and `write_labels_to_annot` - The default of the new add_dist option of `setup_source_space` to add patch information will change from False to True in MNE-Python 0.9 diff -Nru python-mne-0.8.4+dfsg/MANIFEST.in python-mne-0.8.6+dfsg/MANIFEST.in --- python-mne-0.8.4+dfsg/MANIFEST.in 2014-09-23 06:50:15.000000000 -0400 +++ python-mne-0.8.6+dfsg/MANIFEST.in 2014-10-16 14:18:25.000000000 -0400 @@ -9,7 +9,12 @@ recursive-include mne/data *.fif.gz recursive-include mne/layouts *.lout recursive-include mne/layouts *.lay +recursive-include mne/html *.js +recursive-include mne/html *.css recursive-exclude examples/MNE-sample-data * +recursive-exclude examples/MNE-testing-data * +recursive-exclude examples/MNE-spm-face * +recursive-exclude examples/MNE-somato-data * # recursive-include mne/fiff/tests/data * recursive-exclude mne/fiff/tests/data * recursive-exclude mne/fiff/bti/tests/data * diff -Nru python-mne-0.8.4+dfsg/mne/coreg.py python-mne-0.8.6+dfsg/mne/coreg.py --- python-mne-0.8.4+dfsg/mne/coreg.py 2014-09-23 06:50:15.000000000 -0400 +++ python-mne-0.8.6+dfsg/mne/coreg.py 2014-10-16 14:18:25.000000000 -0400 @@ -1150,6 +1150,7 @@ if add_dist: logger.info("Recomputing distances, this might take a while") - add_source_space_distances(sss, sss[0]['dist_limit'], n_jobs) + dist_limit = np.asscalar(sss[0]['dist_limit']) + add_source_space_distances(sss, dist_limit, n_jobs) write_source_spaces(dst, sss) diff -Nru python-mne-0.8.4+dfsg/mne/__init__.py python-mne-0.8.6+dfsg/mne/__init__.py --- python-mne-0.8.4+dfsg/mne/__init__.py 2014-09-23 06:50:15.000000000 -0400 +++ python-mne-0.8.6+dfsg/mne/__init__.py 2014-10-16 14:18:25.000000000 -0400 @@ -1,7 +1,7 @@ """MNE for MEG and EEG data analysis """ -__version__ = '0.8.4' +__version__ = '0.8.6' # have to import verbose first since it's needed by many things from .utils import (set_log_level, set_log_file, verbose, set_config,
signature.asc
Description: Digital signature