diff options
author | 2014-01-06 20:47:52 +0100 | |
---|---|---|
committer | 2014-01-06 20:47:52 +0100 | |
commit | 7c1a01cccdec773839cb0c3e323ad24d949e3c50 (patch) | |
tree | a302eb61ff01b47ed7cf5a742ffe6f7ef3f83122 /sci-biology/mne-python/mne-python-9999.ebuild | |
parent | Mask sci-biology/mne-python for missing dev-python/scikits-cuda (diff) | |
download | sci-7c1a01cccdec773839cb0c3e323ad24d949e3c50.tar.gz sci-7c1a01cccdec773839cb0c3e323ad24d949e3c50.tar.bz2 sci-7c1a01cccdec773839cb0c3e323ad24d949e3c50.zip |
sci-biology/mne-python: Add missing metadata.xml; drop USE=cuda; fix python deps
Package-Manager: portage-2.2.8
Diffstat (limited to 'sci-biology/mne-python/mne-python-9999.ebuild')
-rw-r--r-- | sci-biology/mne-python/mne-python-9999.ebuild | 56 |
1 files changed, 29 insertions, 27 deletions
diff --git a/sci-biology/mne-python/mne-python-9999.ebuild b/sci-biology/mne-python/mne-python-9999.ebuild index 583621642..2403e2c55 100644 --- a/sci-biology/mne-python/mne-python-9999.ebuild +++ b/sci-biology/mne-python/mne-python-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 git-r3 virtualx @@ -14,40 +14,42 @@ EGIT_REPO_URI="https://github.com/mne-tools/mne-python.git" LICENSE="BSD" SLOT="0" -IUSE="test cuda" +IUSE="test" +#IUSE="cuda test" KEYWORDS="" RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - sci-libs/scikits_learn[${PYTHON_USEDEP}] - dev-python/joblib[${PYTHON_USEDEP}] - sci-libs/nibabel[${PYTHON_USEDEP}] - sci-biology/pysurfer[${PYTHON_USEDEP}] - sci-visualization/mayavi[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - cuda? ( - dev-python/pycuda[${PYTHON_USEDEP}] - dev-python/scikits-cuda[${PYTHON_USEDEP}] - ) -" + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + sci-libs/scikits_learn[${PYTHON_USEDEP}] + dev-python/joblib[${PYTHON_USEDEP}] + sci-libs/nibabel[${PYTHON_USEDEP}] + sci-biology/pysurfer[${PYTHON_USEDEP}] + sci-visualization/mayavi + dev-python/matplotlib[${PYTHON_USEDEP}]" + +# cuda? ( +# dev-python/pycuda[${PYTHON_USEDEP}] +# dev-python/scikits-cuda[${PYTHON_USEDEP}] +# ) +#" DEPEND=" - test? ( dev-python/nose ${RDEPEND} ) + test? ( dev-python/nose ${RDEPEND} ) " run_test() { - PYTHONPATH=. MNE_SKIP_SAMPLE_DATASET_TESTS=1 nosetests -v mne + PYTHONPATH=. MNE_SKIP_SAMPLE_DATASET_TESTS=1 nosetests -v mne } python_test() { - distutils_install_for_testing - esetup.py install --root="${T}/test-${EPYTHON}" --no-compile - # Link to test data that won't be included in the final installation - local TEST_DIR="${T}/test-${EPYTHON}/$(python_get_sitedir)" - cd ${S} || die - find . -type d -name data -exec ln -s ${S}/{} ${TEST_DIR}/{} \; || die - cd ${TEST_DIR} || die - VIRTUALX_COMMAND="run_test" - virtualmake + distutils_install_for_testing + esetup.py install --root="${T}/test-${EPYTHON}" --no-compile + # Link to test data that won't be included in the final installation + local TEST_DIR="${T}/test-${EPYTHON}/$(python_get_sitedir)" + cd "${S}" || die + find . -type d -name data -exec ln -s "${S}"/{} ${TEST_DIR}/{} \; || die + cd ${TEST_DIR} || die + VIRTUALX_COMMAND="run_test" + virtualmake } |