Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= traitsui |
4 |
PORTNAME= traitsui |
5 |
PORTVERSION= 6.0.0 |
5 |
PORTVERSION= 6.1.2 |
6 |
CATEGORIES= graphics python |
6 |
CATEGORIES= graphics python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 17-26
Link Here
|
17 |
LICENSE_FILE_EPL= ${WRKSRC}/image_LICENSE_Eclipse.txt |
17 |
LICENSE_FILE_EPL= ${WRKSRC}/image_LICENSE_Eclipse.txt |
18 |
# See ${WRKSRC}/image_LICENSE.txt for per file license information |
18 |
# See ${WRKSRC}/image_LICENSE.txt for per file license information |
19 |
|
19 |
|
20 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}apptools>=4.3.0:devel/py-apptools@${PY_FLAVOR} |
20 |
# The requirements are defined in traitsui/__init__.py |
|
|
21 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>0:devel/py-traits@${PY_FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}pyface>=6.0.0:devel/py-pyface@${PY_FLAVOR} \ |
23 |
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} |
21 |
|
24 |
|
22 |
USES= python:2.7 |
25 |
USES= python |
23 |
USE_PYTHON= autoplist distutils |
26 |
USE_PYTHON= autoplist distutils |
|
|
27 |
|
24 |
NO_ARCH= yes |
28 |
NO_ARCH= yes |
25 |
|
29 |
|
26 |
.include <bsd.port.mk> |
30 |
OPTIONS_DEFINE= DEMO |
|
|
31 |
OPTIONS_GROUP= TOOLKITS |
32 |
OPTIONS_GROUP_TOOLKITS= QT5 WXGTK |
33 |
|
34 |
DEMO_DESC= Installs required dependencies to run demonstration code |
35 |
|
36 |
DEMO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR} |
37 |
QT5_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} |
38 |
QT5_USES= pyqt:5 |
39 |
QT5_USE= PYQT=core_run |
40 |
|
41 |
.include <bsd.port.pre.mk> |
42 |
|
43 |
# Hide the WXGTK option for Python 3 as the toolkit isn't available for it, yet. |
44 |
.if ${PYTHON_VER} > 2.7 |
45 |
OPTIONS_GROUP_TOOLKITS:= ${OPTIONS_GROUP_TOOLKITS:NWXGTK} |
46 |
COMPLETE_OPTIONS_LIST:= ${COMPLETE_OPTIONS_LIST:NWXGTK} |
47 |
PORT_OPTIONS:= ${PORT_OPTIONS:NWXGTK} |
48 |
.elif ${PORT_OPTIONS:MWXGTK} |
49 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} |
50 |
USE_WX= 3.0+ |
51 |
WX_COMPS= python |
52 |
.endif |
53 |
|
54 |
.include <bsd.port.post.mk> |