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-27
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 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>0:devel/py-traits@${PY_FLAVOR} |
|
|
21 |
# The requirements are defined in pyface/__init__.py |
21 |
|
22 |
|
|
|
23 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ |
24 |
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ |
25 |
${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ |
26 |
${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \ |
27 |
${PYTHON_PKGNAMEPREFIX}qt5-network>0:net/py-qt5-network@${PY_FLAVOR} \ |
28 |
${PYTHON_PKGNAMEPREFIX}qt5-opengl>0:x11/py-qt5-opengl@${PY_FLAVOR} \ |
29 |
${PYTHON_PKGNAMEPREFIX}qt5-test>0:devel/py-qt5-test@${PY_FLAVOR} \ |
30 |
${PYTHON_PKGNAMEPREFIX}qt5-webkit>0:www/py-qt5-webkit@${PY_FLAVOR} \ |
31 |
${PYTHON_PKGNAMEPREFIX}qt5-webkitwidgets>0:www/py-qt5-webkitwidgets@${PY_FLAVOR} |
32 |
|
22 |
USES= python |
33 |
USES= python |
23 |
USE_PYTHON= autoplist distutils |
34 |
USE_PYTHON= autoplist distutils |
24 |
|
35 |
|
25 |
NO_ARCH= yes |
36 |
NO_ARCH= yes |
26 |
|
37 |
|
|
|
38 |
# Support for the wxPython toolkit is also available, but only for Python 2. |
39 |
# # Python 3 needs wxPython 4 which isn't ported, yet. So we use only Qt5 for a |
40 |
# # while to make the port useful for Python 2 and 3. |
41 |
OPTIONS_DEFINE= QT5 |
42 |
OPTIONS_DEFAULT=QT5 |
43 |
|
44 |
QT5_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} |
45 |
QT5_USES= pyqt:5 |
46 |
QT5_USE= PYQT=core_run,gui_run,printsupport_run,svg_run,widgets_run |
47 |
# Note: network, test, opengl, webkit and webkitwidget are only required for testing |
48 |
|
49 |
# These tests were extracted from etstool.py and adapted to the ports test framework |
50 |
# Note: The occurences of "qt4" aren't typos |
51 |
do-test-QT5-on: |
52 |
@cd ${WRKSRC} && ${SETENV} ETS_TOOLKIT=qt4 QT_API=pyqt5 \ |
53 |
${PYTHON_CMD} -m nose -v pyface |
54 |
|
27 |
.include <bsd.port.mk> |
55 |
.include <bsd.port.mk> |