aboutsummaryrefslogtreecommitdiff
blob: 6b341f50ba09d01ecf501f30a59672e3cf160ed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="4"

PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
DISTUTILS_SRC_TEST="py.test"

inherit distutils

MY_P="PsychoPy-${PV}"

DESCRIPTION="Python experimental psychology toolkit"
HOMEPAGE="http://www.psychopy.org/"
SRC_URI="http://psychopy.googlecode.com/files/${MY_P}.zip"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND="dev-python/numpy[lapack]
        sci-libs/scipy
        dev-python/matplotlib
        dev-python/pyopengl
        dev-python/imaging
        dev-python/wxpython
        dev-python/setuptools
        dev-python/lxml
        app-admin/eselect
        dev-python/pyglet
        dev-python/pygame"

DEPEND="app-arch/unzip
	dev-python/setuptools
	test? ( ${RDEPEND} )"

RESTRICT="test" # interactive, opens lots of windows

S="${WORKDIR}/${MY_P}"