diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-04-29 21:53:09 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-04-29 21:53:09 +0800 |
commit | 43745dd5154e6bb8ffe294a3d79ae37c279ed24e (patch) | |
tree | a60186ea063977d49a60833c43e808a0ad33fbdb /science | |
parent | 814cdb96f27914cb5af66901ed7e352eefd24aff (diff) | |
download | freebsd-ports-gnome-43745dd5154e6bb8ffe294a3d79ae37c279ed24e.tar.gz freebsd-ports-gnome-43745dd5154e6bb8ffe294a3d79ae37c279ed24e.tar.zst freebsd-ports-gnome-43745dd5154e6bb8ffe294a3d79ae37c279ed24e.zip |
science/psychopy: update to 1.82.01 and overhaul
- Add .desktop file
- Add shortcut under PATH
- Define LICENSE
- Mark NO_ARCH because of no C modules
- Drop unused BUILD_DEPENDS
- Convert to USE_WX
- Replace bundled DejaVu font with slightly newer system copy
Changes: http://www.psychopy.org/changelog.html#psychopy-1-82
PR: 199249
Submitted by: tkato432@yahoo.com
Diffstat (limited to 'science')
-rw-r--r-- | science/psychopy/Makefile | 38 | ||||
-rw-r--r-- | science/psychopy/distinfo | 4 |
2 files changed, 32 insertions, 10 deletions
diff --git a/science/psychopy/Makefile b/science/psychopy/Makefile index 8c3efd0ebae8..7d1b63b6ea23 100644 --- a/science/psychopy/Makefile +++ b/science/psychopy/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= psychopy -PORTVERSION= 1.81.03 +PORTVERSION= 1.82.01 CATEGORIES= science python MASTER_SITES= SF/psychpy/PsychoPy DISTNAME= PsychoPy-${PORTVERSION} @@ -10,15 +10,37 @@ DISTNAME= PsychoPy-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Psychophysics toolkit for Python -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.1.0:${PORTSDIR}/math/py-numpy \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:${PORTSDIR}/science/py-scipy \ +LICENSE= GPLv3 # (or later) + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:${PORTSDIR}/graphics/py-pyglet \ - ${PYTHON_PKGNAMEPREFIX}wxPython28>=2.8.7.1:${PORTSDIR}/x11-toolkits/py-wxPython28 \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:${PORTSDIR}/math/py-matplotlib -RUN_DEPENDS:= ${BUILD_DEPENDS} + ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:${PORTSDIR}/math/py-matplotlib \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:${PORTSDIR}/math/py-pandas \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:${PORTSDIR}/science/py-scipy \ + ${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf:${PORTSDIR}/x11-fonts/dejavu \ + ${PYNUMPY} + +NO_ARCH= yes + +USES= python zip +USE_PYTHON= autoplist distutils +USE_WX= 2.8 +WX_COMPS= python +WX_UNICODE= yes + +PLIST_FILES= bin/psychopy + +DESKTOP_ENTRIES="PsychoPy" \ + "" \ + "${PYTHONPREFIX_SITELIBDIR}/psychopy/app/Resources/psychopy.png" \ + "psychopy" \ + "" \ + "" -USES= python zip -USE_PYTHON= autoplist distutils +post-install: + ${LN} -sf ${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psychopy/app/Resources + ${LN} -sf psychopyApp.py ${STAGEDIR}${PREFIX}/bin/psychopy .include <bsd.port.mk> diff --git a/science/psychopy/distinfo b/science/psychopy/distinfo index d5683563f54c..6935aa19415e 100644 --- a/science/psychopy/distinfo +++ b/science/psychopy/distinfo @@ -1,2 +1,2 @@ -SHA256 (PsychoPy-1.81.03.zip) = 225763b393ab17d86e83b95ac2586b087acda08830a195c888e2f9c8f3961e09 -SIZE (PsychoPy-1.81.03.zip) = 11541813 +SHA256 (PsychoPy-1.82.01.zip) = c8b4ee362b113c502b7abd5284adfb31da20844ea1bee35cd7f9b13fc8e9f3b7 +SIZE (PsychoPy-1.82.01.zip) = 11565042 |