|
Lines 2-10
Link Here
|
| 2 |
# $FreeBSD: head/science/psychopy/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $ |
2 |
# $FreeBSD: head/science/psychopy/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= psychopy |
4 |
PORTNAME= psychopy |
| 5 |
PORTVERSION= 1.83.01 |
5 |
PORTVERSION= 1.83.03 |
| 6 |
CATEGORIES= science python |
6 |
CATEGORIES= science python |
| 7 |
MASTER_SITES= GH |
|
|
| 8 |
|
7 |
|
| 9 |
MAINTAINER= ports@FreeBSD.org |
8 |
MAINTAINER= ports@FreeBSD.org |
| 10 |
COMMENT= Psychophysics toolkit for Python |
9 |
COMMENT= Psychophysics toolkit for Python |
|
Lines 14-28
Link Here
|
| 14 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ |
13 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ |
| 15 |
${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ |
14 |
${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ |
| 16 |
${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:${PORTSDIR}/math/py-matplotlib \ |
15 |
${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:${PORTSDIR}/math/py-matplotlib \ |
| 17 |
${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:${PORTSDIR}/graphics/py-pyglet \ |
|
|
| 18 |
${PYTHON_PKGNAMEPREFIX}pandas>0:${PORTSDIR}/math/py-pandas \ |
16 |
${PYTHON_PKGNAMEPREFIX}pandas>0:${PORTSDIR}/math/py-pandas \ |
| 19 |
${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:${PORTSDIR}/science/py-scipy \ |
17 |
${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:${PORTSDIR}/science/py-scipy \ |
|
|
18 |
${PYTHON_PKGNAMEPREFIX}openpyxl>0:${PORTSDIR}/textproc/py-openpyxl \ |
| 20 |
dejavu>0:${PORTSDIR}/x11-fonts/dejavu \ |
19 |
dejavu>0:${PORTSDIR}/x11-fonts/dejavu \ |
|
|
20 |
${PYGAME} \ |
| 21 |
${PYNUMPY} |
21 |
${PYNUMPY} |
| 22 |
|
22 |
|
| 23 |
NO_ARCH= yes |
23 |
NO_ARCH= yes |
| 24 |
|
24 |
|
| 25 |
USE_GITHUB= yes |
25 |
USE_GITHUB= yes |
|
|
26 |
|
| 26 |
USES= fortran python |
27 |
USES= fortran python |
| 27 |
USE_PYTHON= autoplist distutils |
28 |
USE_PYTHON= autoplist distutils |
| 28 |
USE_WX= 2.8 |
29 |
USE_WX= 2.8 |
|
Lines 37-47
Link Here
|
| 37 |
"" \ |
38 |
"" \ |
| 38 |
"" |
39 |
"" |
| 39 |
|
40 |
|
|
|
41 |
OPTIONS_DEFINE_i386= PYGLET |
| 42 |
OPTIONS_DEFAULT_i386= PYGLET |
| 43 |
|
| 44 |
PYGLET_DESC= Drawing support via Pyglet |
| 45 |
PYGLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:${PORTSDIR}/graphics/py-pyglet |
| 46 |
|
| 40 |
.include <bsd.port.options.mk> |
47 |
.include <bsd.port.options.mk> |
|
|
48 |
|
| 41 |
post-patch: |
49 |
post-patch: |
| 42 |
# https://github.com/psychopy/psychopy/issues/982 |
50 |
# https://github.com/psychopy/psychopy/issues/982 |
| 43 |
@${REINPLACE_CMD} -e \ |
51 |
@${REINPLACE_CMD} -e \ |
| 44 |
's|str(,id_dict)|str(id.dict)|' \ |
52 |
's|str(,id_dict)|str(id_dict)|' \ |
| 45 |
${WRKSRC}/psychopy/demos/coder/iohub/elotouchscreen/run.py |
53 |
${WRKSRC}/psychopy/demos/coder/iohub/elotouchscreen/run.py |
| 46 |
|
54 |
|
| 47 |
post-build: |
55 |
post-build: |