Changeset View
Changeset View
Standalone View
Standalone View
devel/py-pyface/Makefile
Show All 32 Lines | |||||
# Note: The port also supports the wxPython toolkit, but this still has to be | # Note: The port also supports the wxPython toolkit, but this still has to be | ||||
# tested. | # tested. | ||||
OPTIONS_DEFINE= QT5 | OPTIONS_DEFINE= QT5 | ||||
OPTIONS_DEFAULT= QT5 | OPTIONS_DEFAULT= QT5 | ||||
QT5_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} | QT5_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} | ||||
QT5_USES= pyqt:5 | QT5_USES= pyqt:5 | ||||
QT5_USE= PYQT=core_run,gui_run,network_test,opengl_test,printsupport_run,svg_run,test_test,webkit_test,webkitwidgets_test,widgets_run | QT5_USE= PYQT=pyqt5_test,pyqt5_run | ||||
# These tests were extracted from etstool.py and adapted to the ports test framework | # These tests were extracted from etstool.py and adapted to the ports test framework | ||||
# Note: The occurences of "qt4" aren't typos | # Note: The occurences of "qt4" aren't typos | ||||
do-test-QT5-on: | do-test-QT5-on: | ||||
@cd ${WRKSRC} && ${SETENV} ETS_TOOLKIT=qt4 QT_API=pyqt5 \ | @cd ${WRKSRC} && ${SETENV} ETS_TOOLKIT=qt4 QT_API=pyqt5 \ | ||||
${PYTHON_CMD} -m nose -v pyface | ${PYTHON_CMD} -m nose -v pyface | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |