aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2015-12-15 18:58:47 +0800
committerwen <wen@FreeBSD.org>2015-12-15 18:58:47 +0800
commitec469d63617a4c49d93110f4d21cbb01f1d8f02b (patch)
tree181c3567bf55effd322dec7bfeeff5caed06d5b6 /science
parentb49bd6da312e3af1db39bbe0d6771fb83325dbc3 (diff)
downloadfreebsd-ports-graphics-ec469d63617a4c49d93110f4d21cbb01f1d8f02b.tar.gz
freebsd-ports-graphics-ec469d63617a4c49d93110f4d21cbb01f1d8f02b.tar.zst
freebsd-ports-graphics-ec469d63617a4c49d93110f4d21cbb01f1d8f02b.zip
- Update to 1.83.01 and unbreak
PR: 205219 Submitted by: tkato432@yahoo.com
Diffstat (limited to 'science')
-rw-r--r--science/psychopy/Makefile19
-rw-r--r--science/psychopy/distinfo4
2 files changed, 12 insertions, 11 deletions
diff --git a/science/psychopy/Makefile b/science/psychopy/Makefile
index 18983d0bd73..81eac5cd0d2 100644
--- a/science/psychopy/Makefile
+++ b/science/psychopy/Makefile
@@ -2,17 +2,13 @@
# $FreeBSD$
PORTNAME= psychopy
-PORTVERSION= 1.82.02
-PORTREVISION= 1
+PORTVERSION= 1.83.01
CATEGORIES= science python
-MASTER_SITES= SF/psychpy/PsychoPy
-DISTNAME= PsychoPy-${PORTVERSION}
+MASTER_SITES= GH
MAINTAINER= ports@FreeBSD.org
COMMENT= Psychophysics toolkit for Python
-BROKEN= unfetchable
-
LICENSE= GPLv3 # (or later)
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
@@ -26,11 +22,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
NO_ARCH= yes
-USES= fortran python zip
+USE_GITHUB= yes
+USES= fortran python
USE_PYTHON= autoplist distutils
USE_WX= 2.8
WX_COMPS= python
-WX_UNICODE= yes
PLIST_FILES= bin/psychopy
@@ -42,6 +38,11 @@ DESKTOP_ENTRIES="PsychoPy" \
""
.include <bsd.port.options.mk>
+post-patch:
+# https://github.com/psychopy/psychopy/issues/982
+ @${REINPLACE_CMD} -e \
+ 's|str(,id_dict)|str(id.dict)|' \
+ ${WRKSRC}/psychopy/demos/coder/iohub/elotouchscreen/run.py
post-build:
@${ECHO_CMD} -n > ${WRKDIR}/psychopy
@@ -55,7 +56,7 @@ post-build:
.endif
@${ECHO_CMD} \
>> ${WRKDIR}/psychopy
- @${ECHO_CMD} "${PYTHON_CMD} ${LOCALBASE}/bin/psychopyApp.py" \
+ @${ECHO_CMD} "${PYTHON_CMD} ${PREFIX}/bin/psychopyApp.py" \
>> ${WRKDIR}/psychopy
post-install:
diff --git a/science/psychopy/distinfo b/science/psychopy/distinfo
index 4d9c23f0fa5..3666e2e2ef0 100644
--- a/science/psychopy/distinfo
+++ b/science/psychopy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (PsychoPy-1.82.02.zip) = 100d432aca6df578a7b5a05142adca2fda5eb78e2847d06b83ae273cf7d9e715
-SIZE (PsychoPy-1.82.02.zip) = 11569884
+SHA256 (psychopy-psychopy-1.83.01_GH0.tar.gz) = be4747f6834017ac6da3742e948d4d8a0cac62771fc7569877bdc3a76f71e611
+SIZE (psychopy-psychopy-1.83.01_GH0.tar.gz) = 15172324