Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149271385
D21229.1789798412.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D21229.1789798412.diff
View Options
Index: graphics/py-traitsui/Makefile
===================================================================
--- graphics/py-traitsui/Makefile
+++ graphics/py-traitsui/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= traitsui
-PORTVERSION= 6.0.0
+PORTVERSION= 6.1.2
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,10 +17,38 @@
LICENSE_FILE_EPL= ${WRKSRC}/image_LICENSE_Eclipse.txt
# See ${WRKSRC}/image_LICENSE.txt for per file license information
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}apptools>=4.3.0:devel/py-apptools@${PY_FLAVOR}
+# The requirements are defined in traitsui/__init__.py
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>0:devel/py-traits@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyface>=6.0.0:devel/py-pyface@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-USES= python:2.7
+USES= python
USE_PYTHON= autoplist distutils
+
NO_ARCH= yes
-.include <bsd.port.mk>
+OPTIONS_DEFINE= DEMO
+OPTIONS_GROUP= TOOLKITS
+OPTIONS_GROUP_TOOLKITS= QT5 WXGTK
+
+DEMO_DESC= Installs required dependencies to run demonstration code
+
+DEMO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR}
+QT5_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
+QT5_USES= pyqt:5
+QT5_USE= PYQT=core_run
+
+.include <bsd.port.pre.mk>
+
+# Hide the WXGTK option for Python 3 as the toolkit isn't available for it, yet.
+.if ${PYTHON_VER} > 2.7
+OPTIONS_GROUP_TOOLKITS:= ${OPTIONS_GROUP_TOOLKITS:NWXGTK}
+COMPLETE_OPTIONS_LIST:= ${COMPLETE_OPTIONS_LIST:NWXGTK}
+PORT_OPTIONS:= ${PORT_OPTIONS:NWXGTK}
+.elif ${PORT_OPTIONS:MWXGTK}
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
+USE_WX= 3.0+
+WX_COMPS= python
+.endif
+
+.include <bsd.port.post.mk>
Index: graphics/py-traitsui/distinfo
===================================================================
--- graphics/py-traitsui/distinfo
+++ graphics/py-traitsui/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1525439408
-SHA256 (traitsui-6.0.0.tar.gz) = a75f159f001b71213e17b373461d8df619cd2ae30222a3a78c5e61d4a87dfdea
-SIZE (traitsui-6.0.0.tar.gz) = 5063415
+TIMESTAMP = 1564668388
+SHA256 (traitsui-6.1.2.tar.gz) = 698dd44d6ff6a50502f6ef0ffe545c233f2772e5c37127667302b8c845be9551
+SIZE (traitsui-6.1.2.tar.gz) = 5125470
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 19, 6:13 AM (1 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29773158
Default Alt Text
D21229.1789798412.diff (2 KB)
Attached To
Mode
D21229: graphics/py-traitsui: Update to 6.1.2 and add options for extra dependencies
Attached
Detach File
Event Timeline
Log In to Comment