View | Details | Raw Unified | Return to bug 238469 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/py-traitsui/Makefile (-3 / +39 lines)
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
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}traits>0:devel/py-traits@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}pyface>=6.0.0:devel/py-pyface@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
23
# The requirements are defined in traitsui/__init__.py
21
24
22
USES=		python:2.7
25
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
26
		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
27
		${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \
28
		${PYTHON_PKGNAMEPREFIX}traits>0:devel/py-traits@${PY_FLAVOR} \
29
		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
30
		${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR}
31
py27_TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
32
# Those requirements (except for pip + coverage) were extracted from etstool.py
33
34
USES=		python
23
USE_PYTHON=	autoplist distutils
35
USE_PYTHON=	autoplist distutils
36
24
NO_ARCH=	yes
37
NO_ARCH=	yes
25
38
39
# Support for the wxWidgets toolkit is also available, but only for Python 2.
40
# Python 3 needs wxWidgets 4 which isn't ported, yet. So we use only Qt5 for a
41
# while to make the port useful for Python 2 and 3.
42
OPTIONS_DEFINE=	QT5
43
OPTIONS_DEFAULT=QT5
44
45
QT5_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
46
QT5_USES=		pyqt:5
47
QT5_USE=		PYQT=core_run,gui_run,printsupport_run,svg_run,widgets_run
48
49
# These tests were extracted from etstool.py and adapted to the ports test framework
50
do-test:
51
	@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v traitsui.tests
52
53
# The test "test_wrap_text_narrow_short" fails at the moment and is going to be
54
# fixed with the next release.
55
# See also: https://github.com/enthought/traitsui/issues/643
56
#
57
# Note: The occurences of "qt4" aren't typos
58
do-test-QT5-on:
59
	@cd ${WRKSRC} && ${SETENV} ETS_TOOLKIT=qt4 QT_API=pyqt5 \
60
		${PYTHON_CMD} -m nose -v -e 'test_wrap_text_narrow_short' traitsui.qt4.tests
61
26
.include <bsd.port.mk>
62
.include <bsd.port.mk>
(-)graphics/py-traitsui/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1525439408
1
TIMESTAMP = 1565984705
2
SHA256 (traitsui-6.0.0.tar.gz) = a75f159f001b71213e17b373461d8df619cd2ae30222a3a78c5e61d4a87dfdea
2
SHA256 (traitsui-6.1.2.tar.gz) = 698dd44d6ff6a50502f6ef0ffe545c233f2772e5c37127667302b8c845be9551
3
SIZE (traitsui-6.0.0.tar.gz) = 5063415
3
SIZE (traitsui-6.1.2.tar.gz) = 5125470

Return to bug 238469