public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/psychopy/
Date: Sun, 27 Jan 2013 19:25:07 +0000 (UTC)	[thread overview]
Message-ID: <1358548640.00ebb8da95fa7ad68e53db499307ca004b01e93a.jlec@gentoo> (raw)

commit:     00ebb8da95fa7ad68e53db499307ca004b01e93a
Author:     TheChymera <h.chr <AT> mail <DOT> ru>
AuthorDate: Fri Jan 18 22:37:20 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jan 18 22:37:20 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=00ebb8da

Added src_install() script to make a launcher and assign an icon to it.

---
 sci-biology/psychopy/psychopy-1.75.01.ebuild |    9 ++++-----
 sci-biology/psychopy/psychopy-9999.ebuild    |   11 +++++------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/sci-biology/psychopy/psychopy-1.75.01.ebuild b/sci-biology/psychopy/psychopy-1.75.01.ebuild
index f9e02b6..83f6287 100644
--- a/sci-biology/psychopy/psychopy-1.75.01.ebuild
+++ b/sci-biology/psychopy/psychopy-1.75.01.ebuild
@@ -42,9 +42,8 @@ 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')
-	fperms +x "$(python_get_sitedir)/psychopy/app/psychopyApp.py" || die "chmod of psychopyApp.py failed"
+src_install() {
+        distutils-r1_src_install
+        doicon psychopy/monitors/psychopy.ico
+        make_desktop_entry psychopyapp.py PsychoPy psychopy "Science;Biology"
 }

diff --git a/sci-biology/psychopy/psychopy-9999.ebuild b/sci-biology/psychopy/psychopy-9999.ebuild
index 03b74d4..ff224d9 100644
--- a/sci-biology/psychopy/psychopy-9999.ebuild
+++ b/sci-biology/psychopy/psychopy-9999.ebuild
@@ -9,7 +9,7 @@ inherit eutils distutils-r1 git-2
 
 DESCRIPTION="Python experiemntal psychology toolkit"
 HOMEPAGE="http://www.psychopy.org/"
-EGIT_REPO_URI="https://github.com/psychopy/psychopy"
+EGIT_REPO_URI="https://github.com/TheChymera/psychopy.git"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
@@ -28,9 +28,8 @@ RDEPEND="${DEPEND}
 	dev-python/wxpython
 	sci-libs/scipy"
 
-python_install() {
-	distutils-r1_python_install
-	#local EPYTHON=python2.7
-	#die $(sh -c 'echo $EPYTHON')
-	fperms +x "$(python_get_sitedir)/psychopy/app/psychopyApp.py" || die "chmod of psychopyApp.py failed"
+src_install() {
+        distutils-r1_src_install
+        doicon psychopy/monitors/psychopy.ico
+        make_desktop_entry psychopyapp.py PsychoPy psychopy "Science;Biology"
 }


             reply	other threads:[~2013-01-27 19:25 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 19:25 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-27 10:25 [gentoo-commits] proj/sci:master commit in: sci-biology/psychopy/ Horea Christian
2020-09-26  9:56 Horea Christian
2016-12-06 19:45 Christoph Junghans
2016-11-12  9:29 Justin Lecher
2016-10-12  6:30 Marius Brehler
2016-09-07 13:08 Marius Brehler
2016-08-23 20:17 Justin Lecher
2016-07-25 18:52 Justin Lecher
2016-01-18 16:31 Justin Lecher
2016-01-18 16:31 Justin Lecher
2016-01-18 16:31 Justin Lecher
2016-01-18 16:31 Justin Lecher
2016-01-18 16:31 Justin Lecher
2015-04-02 10:34 Justin Lecher
2015-02-18 16:41 Justin Lecher
2014-01-06 19:27 Justin Lecher
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-09-04  5:11 Kacper Kowalik
2013-06-10 11:57 Justin Lecher
2013-06-10 11:25 Justin Lecher
2013-01-28 17:48 Kacper Kowalik
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2013-01-27 19:25 Justin Lecher
2012-11-11  9:50 Reinis Danne
2012-11-11  9:50 Reinis Danne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358548640.00ebb8da95fa7ad68e53db499307ca004b01e93a.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox