aboutsummaryrefslogtreecommitdiff
blob: 88b339356b409cadcdd1d938778c8f096b589ebc (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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"
PYTHON_COMPAT=( python2_7 )

inherit eutils gnome2-eutils distutils-r1 git-2

DESCRIPTION="Python experiemntal psychology toolkit"
HOMEPAGE="http://www.psychopy.org/"
EGIT_REPO_URI="https://github.com/psychopy/psychopy.git"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

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

python_install_all() {
        distutils-r1_python_install_all
        newicon -s scalable psychopy/monitors/psychopy-icon.svg psychopy.svg
        make_desktop_entry psychopyApp.py PsychoPy psychopy "Science;Biology"
}

pkg_postinst() {
	gnome2_icon_cache_update
}
pkg_postrm() {
	gnome2_icon_cache_update
}