Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= pyface |
4 |
PORTNAME= pyface |
5 |
PORTVERSION= 6.1.1 |
5 |
PORTVERSION= 6.1.2 |
6 |
CATEGORIES= devel python |
6 |
CATEGORIES= devel python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 17-23
Link Here
|
17 |
LICENSE_FILE_LGPL3= ${WRKSRC}/image_LICENSE_OOo.txt |
17 |
LICENSE_FILE_LGPL3= ${WRKSRC}/image_LICENSE_OOo.txt |
18 |
#See file ${WRKSRC}/image_LICENSE.txt for files with non BSD3CLAUSE licenses |
18 |
#See file ${WRKSRC}/image_LICENSE.txt for files with non BSD3CLAUSE licenses |
19 |
|
19 |
|
20 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>=4.5.0:devel/py-traits@${PY_FLAVOR} |
20 |
# The requirements are defined in pyface/__init__.py |
|
|
21 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>0:devel/py-traits@${PY_FLAVOR} |
21 |
|
22 |
|
22 |
USES= python |
23 |
USES= python |
23 |
USE_PYTHON= autoplist distutils |
24 |
USE_PYTHON= autoplist distutils |
Lines 24-27
Link Here
|
24 |
|
25 |
|
25 |
NO_ARCH= yes |
26 |
NO_ARCH= yes |
26 |
|
27 |
|
27 |
.include <bsd.port.mk> |
28 |
OPTIONS_GROUP= TOOLKITS |
|
|
29 |
OPTIONS_GROUP_TOOLKITS= QT5 WXGTK |
30 |
|
31 |
QT5_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} |
32 |
QT5_USES= pyqt:5 |
33 |
QT5_USE= PYQT=core_run |
34 |
|
35 |
.include <bsd.port.pre.mk> |
36 |
|
37 |
# Hide the WXGTK option for Python 3 as the toolkit isn't available for it, yet. |
38 |
.if ${PYTHON_VER} > 2.7 |
39 |
OPTIONS_GROUP_TOOLKITS:= ${OPTIONS_GROUP_TOOLKITS:NWXGTK} |
40 |
COMPLETE_OPTIONS_LIST:= ${COMPLETE_OPTIONS_LIST:NWXGTK} |
41 |
PORT_OPTIONS:= ${PORT_OPTIONS:NWXGTK} |
42 |
.elif ${PORT_OPTIONS:MWXGTK} |
43 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} |
44 |
USE_WX= 3.0+ |
45 |
WX_COMPS= python |
46 |
.endif |
47 |
|
48 |
.include <bsd.port.post.mk> |