From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 126DC1386EB for ; Sun, 27 Jan 2013 19:25:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E824621C0E2; Sun, 27 Jan 2013 19:25:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E4CE21C0E3 for ; Sun, 27 Jan 2013 19:25:09 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D2B733BEC9 for ; Sun, 27 Jan 2013 19:25:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C415FE4077 for ; Sun, 27 Jan 2013 19:25:06 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1358377326.bed4da031cf15f041d034820d4c83860642f2584.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/psychopy/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/psychopy/psychopy-1.75.01.ebuild X-VCS-Directories: sci-biology/psychopy/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: bed4da031cf15f041d034820d4c83860642f2584 X-VCS-Branch: master Date: Sun, 27 Jan 2013 19:25:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 677c4441-1554-406b-89af-dc0f852242e3 X-Archives-Hash: 3ad255f004e045f90ae9da1ab438e6c7 commit: bed4da031cf15f041d034820d4c83860642f2584 Author: TheChymera mail ru> AuthorDate: Wed Jan 16 23:02:06 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Jan 16 23:02:06 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bed4da03 Added run permissions for the package's executable file Also upgraded to distutils-r1 and made other minor improvements to python-related metadata --- sci-biology/psychopy/psychopy-1.75.01.ebuild | 18 +++++++++++++----- 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 6b341f5..992daa7 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" +}