aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheChymera <h.chr@mail.ru>2013-01-16 23:02:06 +0000
committerTheChymera <h.chr@mail.ru>2013-01-16 23:02:06 +0000
commitbed4da031cf15f041d034820d4c83860642f2584 (patch)
treee13386e012bf2969bab31e7240ebcf91a7346fd5 /sci-biology/psychopy
parentExecutable priviledges for /app/psychopyApp.py (diff)
downloadsci-bed4da031cf15f041d034820d4c83860642f2584.tar.gz
sci-bed4da031cf15f041d034820d4c83860642f2584.tar.bz2
sci-bed4da031cf15f041d034820d4c83860642f2584.zip
Added run permissions for the package's executable file
Also upgraded to distutils-r1 and made other minor improvements to python-related metadata
Diffstat (limited to 'sci-biology/psychopy')
-rw-r--r--sci-biology/psychopy/psychopy-1.75.01.ebuild18
1 files changed, 13 insertions, 5 deletions
diff --git a/sci-biology/psychopy/psychopy-1.75.01.ebuild b/sci-biology/psychopy/psychopy-1.75.01.ebuild
index 6b341f50b..992daa706 100644
--- a/sci-biology/psychopy/psychopy-1.75.01.ebuild
+++ b/sci-biology/psychopy/psychopy-1.75.01.ebuild
@@ -2,14 +2,15 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="4"
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
DISTUTILS_SRC_TEST="py.test"
-inherit distutils
+inherit distutils-r1 eutils
MY_P="PsychoPy-${PV}"
@@ -24,11 +25,11 @@ IUSE="test"
RDEPEND="dev-python/numpy[lapack]
sci-libs/scipy
dev-python/matplotlib
- dev-python/pyopengl
+ dev-python/pyopengl[${PYTHON_USEDEP}]
dev-python/imaging
dev-python/wxpython
- dev-python/setuptools
- dev-python/lxml
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
app-admin/eselect
dev-python/pyglet
dev-python/pygame"
@@ -40,3 +41,10 @@ DEPEND="app-arch/unzip
RESTRICT="test" # interactive, opens lots of windows
S="${WORKDIR}/${MY_P}"
+
+python_install() {
+ distutils-r1_python_install
+ #local EPYTHON=python2.7
+ #die $(sh -c 'echo $EPYTHON')
+ chmod +x "${D}$(python_get_sitedir)/psychopy/app/psychopyApp.py" || die "chmod of psychopyApp.py failed"
+}