31 lines
614 B
Bash
31 lines
614 B
Bash
|
# Copyright 1999-2016 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Id$
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||
|
|
||
|
inherit distutils-r1
|
||
|
|
||
|
DESCRIPTION="Neuroimaging tools for Python"
|
||
|
HOMEPAGE="http://nipy.org/"
|
||
|
SRC_URI="https://github.com/lukaszbanasiak/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
LICENSE="BSD"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||
|
IUSE="test"
|
||
|
|
||
|
RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
|
||
|
DEPEND="
|
||
|
test? (
|
||
|
${RDEPEND}
|
||
|
dev-python/unittest2[${PYTHON_USEDEP}]
|
||
|
)
|
||
|
"
|
||
|
|
||
|
python_test() {
|
||
|
${EPYTHON} -m unittest discover || die
|
||
|
}
|