svn commit: r538305 - head/devel/py-pyface
Kai Knoblich
kai at FreeBSD.org
Tue Jun 9 11:11:05 UTC 2020
Author: kai
Date: Tue Jun 9 11:11:04 2020
New Revision: 538305
URL: https://svnweb.freebsd.org/changeset/ports/538305
Log:
devel/py-pyface: Update to 6.1.2
* Introduce new default option QT5 [1] to let the port make use of the Qt5
toolkit.
* Add a "do-test" target, which also makes use of the recently added
enhancements to pyqt.mk that were introduced in r537134, to make future QA
easier.
Changelog since 6.1.2:
https://github.com/enthought/pyface/blob/6.1.2/CHANGES.txt
PR: 239576
Submitted by: vladimir.chukharev at gmail.com (maintainer)
Reviewed by: koobs, maintainer
Approved by: vladimir.chukharev at gmail.com (maintainer) [1]
Differential Revision: https://reviews.freebsd.org/D21792
Modified:
head/devel/py-pyface/Makefile
head/devel/py-pyface/distinfo
Modified: head/devel/py-pyface/Makefile
==============================================================================
--- head/devel/py-pyface/Makefile Tue Jun 9 11:10:38 2020 (r538304)
+++ head/devel/py-pyface/Makefile Tue Jun 9 11:11:04 2020 (r538305)
@@ -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_EPL= ${WRKSRC}/image_LICENSE_Eclipse.txt
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>
Modified: head/devel/py-pyface/distinfo
==============================================================================
--- head/devel/py-pyface/distinfo Tue Jun 9 11:10:38 2020 (r538304)
+++ head/devel/py-pyface/distinfo Tue Jun 9 11:11:04 2020 (r538305)
@@ -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
More information about the svn-ports-all
mailing list