Page MenuHomeFreeBSD

D21792.diff
No OneTemporary

D21792.diff

Index: head/devel/py-pyface/Makefile
===================================================================
--- head/devel/py-pyface/Makefile
+++ head/devel/py-pyface/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pyface
-PORTVERSION= 6.1.1
+PORTVERSION= 6.1.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,11 +17,32 @@
LICENSE_FILE_LGPL3= ${WRKSRC}/image_LICENSE_OOo.txt
#See file ${WRKSRC}/image_LICENSE.txt for files with non BSD3CLAUSE licenses
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>=4.5.0:devel/py-traits@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>0:devel/py-traits@${PY_FLAVOR}
+# The requirements are defined in pyface/__init__.py
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
+
+# Note: The port also supports the wxPython toolkit, but this still has to be
+# tested.
+OPTIONS_DEFINE= QT5
+OPTIONS_DEFAULT= QT5
+
+QT5_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
+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
+
+# These tests were extracted from etstool.py and adapted to the ports test framework
+# Note: The occurences of "qt4" aren't typos
+do-test-QT5-on:
+ @cd ${WRKSRC} && ${SETENV} ETS_TOOLKIT=qt4 QT_API=pyqt5 \
+ ${PYTHON_CMD} -m nose -v pyface
.include <bsd.port.mk>
Index: head/devel/py-pyface/distinfo
===================================================================
--- head/devel/py-pyface/distinfo
+++ head/devel/py-pyface/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1562193892
-SHA256 (pyface-6.1.1.tar.gz) = a7e6d58e441b70748baa96ed3c921835b10a14a1c5857109b9de37062b8cb9e0
-SIZE (pyface-6.1.1.tar.gz) = 5326427
+TIMESTAMP = 1564661178
+SHA256 (pyface-6.1.2.tar.gz) = 7c2ac3d5cbec85e8504b3b0b63e9307be12c6d710b46bae372ce6562d41f4fbc
+SIZE (pyface-6.1.2.tar.gz) = 5327547

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 1, 1:17 PM (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29114789
Default Alt Text
D21792.diff (2 KB)

Event Timeline