Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153490288
D21792.id66983.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D21792.id66983.diff
View Options
Index: devel/py-pyface/Makefile
===================================================================
--- devel/py-pyface/Makefile
+++ 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,33 @@
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
+# Support for the wxPython toolkit is also available, but only for Python 2.
+# Python 3 needs wxPython 4, which should be available soon once D21915 lands.
+# So we use only Qt5 for a while to make the port useful for Python 2 and 3.
+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: devel/py-pyface/distinfo
===================================================================
--- devel/py-pyface/distinfo
+++ 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
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 11:02 AM (18 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31972232
Default Alt Text
D21792.id66983.diff (2 KB)
Attached To
Mode
D21792: devel/py-pyface: Update to 6.1.2
Attached
Detach File
Event Timeline
Log In to Comment