Page MenuHomeFreeBSD

D4181.diff
No OneTemporary

D4181.diff

Index: devel/Makefile
===================================================================
--- devel/Makefile
+++ devel/Makefile
@@ -3925,6 +3925,7 @@
SUBDIR += py-apipkg
SUBDIR += py-appdirs
SUBDIR += py-application
+ SUBDIR += py-apptools
SUBDIR += py-apscheduler
SUBDIR += py-archetypes.querywidget
SUBDIR += py-archetypes.referencebrowserwidget
@@ -4254,6 +4255,7 @@
SUBDIR += py-pyee
SUBDIR += py-pyelftools
SUBDIR += py-pyev
+ SUBDIR += py-pyface
SUBDIR += py-pyflakes
SUBDIR += py-pygit2
SUBDIR += py-pygithub
Index: devel/py-apptools/Makefile
===================================================================
--- devel/py-apptools/Makefile
+++ devel/py-apptools/Makefile
@@ -0,0 +1,25 @@
+# Created by: Vladimir Chukharev
+# $FreeBSD$
+
+PORTNAME= apptools
+PORTVERSION= 4.3.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= Vladimir.Chukharev@gmail.com
+COMMENT= Enthought application tools
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+# See ${WRKSRC}/image_LICENSE.txt for information that other
+# files *LICENSE* are not used
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>=4.5.0:${PORTSDIR}/devel/py-traits \
+ ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.:${PORTSDIR}/devel/py-configobj
+
+USES= python:-2.7
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Index: devel/py-apptools/distinfo
===================================================================
--- devel/py-apptools/distinfo
+++ devel/py-apptools/distinfo
@@ -0,0 +1,2 @@
+SHA256 (apptools-4.3.0.tar.gz) = f36bfc61c37d1e6da87b4fec51592d276d0aaecc8254a68a24e580161fa1d6da
+SIZE (apptools-4.3.0.tar.gz) = 291137
Index: devel/py-apptools/pkg-descr
===================================================================
--- devel/py-apptools/pkg-descr
+++ devel/py-apptools/pkg-descr
@@ -0,0 +1,23 @@
+The apptools project includes a set of packages that Enthought has found useful
+in creating a number of applications.
+ * apptools.appscripting: Framework for scripting applications.
+ * apptools.help: Provides a plugin for displaying documents and examples.
+ * apptools.io: Provides an abstraction for files and folders in a file system.
+ * apptools.logger: Convenience functions for creating logging handlers
+ * apptools.naming: Manages naming contexts, supporting non-string data types
+and scoped preferences
+ * apptools.permissions: Supports limiting access to parts of an application
+unless the user is appropriately authorised (not full-blown security).
+ * apptools.persistence: Supports pickling and restoring the state of an object.
+ * apptools.preferences: Manages application preferences.
+ * apptools.selection: Manages the communication between providers and listener
+of selected items in an application.
+ * apptools.scripting: A framework for automatic recording of Python scripts.
+ * apptools.sweet_pickle: Handles class-level versioning, to support loading of
+saved data that exist over several generations of internal class structures.
+ * apptools.template: Supports creating templatizable object hierarchies.
+ * apptools.type_manager: Manages type extensions, including factories to
+generate adapters, and hooks for methods and functions.
+ * apptools.undo: Supports undoing and scripting application commands.
+
+WWW: https://docs.enthought.com/apptools
Index: devel/py-envisage/Makefile
===================================================================
--- devel/py-envisage/Makefile
+++ devel/py-envisage/Makefile
@@ -2,21 +2,22 @@
# $FreeBSD$
PORTNAME= envisage
-PORTVERSION= 4.4.0
+PORTVERSION= 4.5.1
CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= Vladimir.Chukharev@gmail.com
-COMMENT= Framework for building applications with plug-ins from Enthought
+COMMENT= Enthought extensible application framework
-LICENSE= BSD3CLAUSE
+LICENSE= BSD3CLAUSE PSFL LGPL20
+LICENSE_COMB= multi
+# See image_LICENSE.txt files for per file license information
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>=4.5.0:${PORTSDIR}/devel/py-traits
-USES= python:2
+USES= python:-2.7
USE_PYTHON= autoplist distutils
-USE_GITHUB= yes
-GH_ACCOUNT= enthought
NO_ARCH= yes
.include <bsd.port.mk>
Index: devel/py-envisage/distinfo
===================================================================
--- devel/py-envisage/distinfo
+++ devel/py-envisage/distinfo
@@ -1,2 +1,2 @@
-SHA256 (enthought-envisage-4.4.0_GH0.tar.gz) = b85ab3b6f7dce0135d773d5fc66e578152a33af704ae2d82f4711d98be017465
-SIZE (enthought-envisage-4.4.0_GH0.tar.gz) = 503838
+SHA256 (envisage-4.5.1.tar.gz) = 3d918c3e8d46af92d4720024a731d6805b8a8a65b219a44512650545608e8377
+SIZE (envisage-4.5.1.tar.gz) = 232198
Index: devel/py-envisage/pkg-descr
===================================================================
--- devel/py-envisage/pkg-descr
+++ devel/py-envisage/pkg-descr
@@ -12,4 +12,4 @@
("services").
The Envisage project provides the basic machinery of the Envisage framework.
-WWW: http://www.github.com/enthought/envisage
+WWW: http://code.enthought.com/projects/envisage
Index: devel/py-pyface/Makefile
===================================================================
--- devel/py-pyface/Makefile
+++ devel/py-pyface/Makefile
@@ -0,0 +1,26 @@
+# Created by: Vladimir Chukharev
+# $FreeBSD$
+
+PORTNAME= pyface
+PORTVERSION= 5.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= Vladimir.Chukharev@gmail.com
+COMMENT= Enthought traits-capable windowing framework
+
+LICENSE= BSD3CLAUSE LGPL21 EPL LGPL3
+LICENSE_COMB= multi
+LICENSE_FILE_LGPL21= ${WRKSRC}/image_LICENSE_Nuvola.txt
+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:${PORTSDIR}/devel/py-traits
+
+USES= python:-2.7
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Index: devel/py-pyface/distinfo
===================================================================
--- devel/py-pyface/distinfo
+++ devel/py-pyface/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pyface-5.0.0.tar.gz) = 64f19950505d921f8c273051587258513ba874124ade8572af2a589ae303bf92
+SIZE (pyface-5.0.0.tar.gz) = 5097993
Index: devel/py-pyface/files/patch-pyface_ipython_widget.py
===================================================================
--- devel/py-pyface/files/patch-pyface_ipython_widget.py
+++ devel/py-pyface/files/patch-pyface_ipython_widget.py
@@ -0,0 +1,20 @@
+--- pyface/ipython_widget.py.orig 2016-01-06 22:56:14 UTC
++++ pyface/ipython_widget.py
+@@ -14,6 +14,9 @@
+ """ The implementation of an IPython shell. """
+
+
++from __future__ import absolute_import
++
++
+ # Import the toolkit specific version.
+ try:
+ import IPython.frontend
+@@ -24,7 +27,5 @@ Could not load the Wx frontend for ipyth
+ You need to have ipython >= 0.9 installed to use the ipython widget.'''
+
+
+-from __future__ import absolute_import
+-
+ from .toolkit import toolkit_object
+ IPythonWidget= toolkit_object('ipython_widget:IPythonWidget')
Index: devel/py-pyface/pkg-descr
===================================================================
--- devel/py-pyface/pkg-descr
+++ devel/py-pyface/pkg-descr
@@ -0,0 +1,11 @@
+The pyface project contains a toolkit-independent GUI abstraction layer, which
+is used to support the "visualization" features of the Traits package. Thus,
+you can write code in terms of the Traits API (views, items, editors, etc.),
+and let pyface and your selected toolkit and back-end take care of the details
+of displaying them.
+The following GUI backends are supported:
+ * wxPython
+ * PyQt
+ * PySide
+
+WWW: https://docs.enthought.com/pyface
Index: graphics/Makefile
===================================================================
--- graphics/Makefile
+++ graphics/Makefile
@@ -844,6 +844,7 @@
SUBDIR += py-graphy
SUBDIR += py-gvgen
SUBDIR += py-imaging
+ SUBDIR += py-mayavi
SUBDIR += py-mcomix
SUBDIR += py-ming
SUBDIR += py-nwdiag
@@ -878,6 +879,7 @@
SUBDIR += py-soya3d
SUBDIR += py-stltools
SUBDIR += py-toyplot
+ SUBDIR += py-traitsui
SUBDIR += py-wand
SUBDIR += py-webcolors
SUBDIR += py3-cairo
Index: graphics/py-mayavi/Makefile
===================================================================
--- graphics/py-mayavi/Makefile
+++ graphics/py-mayavi/Makefile
@@ -0,0 +1,52 @@
+# Created by: Vladimir Chukharev
+# $FreeBSD$
+
+PORTNAME= mayavi
+PORTVERSION= 4.4.3
+CATEGORIES= graphics science python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= Vladimir.Chukharev@gmail.com
+COMMENT= Application and library for 3D visualization and plotting in Python
+
+LICENSE= BSD3CLAUSE LGPL21 LGPL20 EPL LGPL3 BSD2CLAUSE APACHE11
+LICENSE_COMB= multi
+LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.txt
+LICENSE_FILE_LGPL21= ${WRKSRC}/image_LICENSE_Nuvola.txt
+LICENSE_FILE_LGPL20= ${WRKSRC}/image_LICENSE_CP.txt
+LICENSE_FILE_EPL= ${WRKSRC}/image_LICENSE_Eclipse.txt
+LICENSE_FILE_LGPL3= ${WRKSRC}/image_LICENSE_OOo.txt
+LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE_YORICK.txt
+LICENSE_FILE_APACHE11= ${WRKSRC}/LICENSE_COLORBREWER.txt
+# See ${WRKSRC}/image_LICENSE.txt for per file license information
+
+BUILD_DEPENDS= vtk6>=6.1.0_8:${PORTSDIR}/math/vtk6 \
+ py27-sphinx>=1.3.1_2:${PORTSDIR}/textproc/py-sphinx
+RUN_DEPENDS= vtk6>=6.1.0_8:${PORTSDIR}/math/vtk6 \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}envisage>=4.4.0:${PORTSDIR}/devel/py-envisage \
+ ${PYTHON_PKGNAMEPREFIX}pyface>=4.5.2:${PORTSDIR}/devel/py-pyface \
+ ${PYTHON_PKGNAMEPREFIX}scimath>=4.1.2:${PORTSDIR}/science/py-scimath \
+ ${PYTHON_PKGNAMEPREFIX}traitsui>=4.5.1:${PORTSDIR}/graphics/py-traitsui
+
+USES= python:-2.7 tar:bzip2
+USE_PYTHON= autoplist distutils
+USE_WX= 2.8+
+WX_COMPS= python:run
+
+DEP1= vtk6
+
+pre-configure:
+ if [ ! -e ${PREFIX}/lib/python2.7/site-packages/vtk/__init__.py ]; then \
+ ${ECHO_MSG} "Port math/vtk6 is installed without PYTHON option."; \
+ ${ECHO_MSG} "Please reinstall with PYTHON selected."; \
+ ${FALSE}; \
+ else \
+ ${ECHO_MSG} "Good, math/vtk6 is installed with PYTHON option!"; \
+ fi
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/tvtk/array_ext.so
+
+.include <bsd.port.mk>
Index: graphics/py-mayavi/distinfo
===================================================================
--- graphics/py-mayavi/distinfo
+++ graphics/py-mayavi/distinfo
@@ -0,0 +1,2 @@
+SHA256 (mayavi-4.4.3.tar.bz2) = 0ce529a7f19fbde907e9b26d023ccf2356fc6797621fa95e09cc3c5b050fe6ef
+SIZE (mayavi-4.4.3.tar.bz2) = 6486311
Index: graphics/py-mayavi/files/patch-setup.py
===================================================================
--- graphics/py-mayavi/files/patch-setup.py
+++ graphics/py-mayavi/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2015-06-17 15:03:14 UTC
++++ setup.py
+@@ -380,7 +380,7 @@ def configuration(parent_package=None, t
+ # Image files.
+ for pkgdir in ('mayavi', 'tvtk'):
+ for root, dirs, files in os.walk(pkgdir):
+- if split(root)[-1] == 'images':
++ if (split(root)[-1] == 'images') and files:
+ config.add_data_dir(root)
+
+ # *.ini files.
Index: graphics/py-mayavi/files/patch-tvtk_setup.py
===================================================================
--- graphics/py-mayavi/files/patch-tvtk_setup.py
+++ graphics/py-mayavi/files/patch-tvtk_setup.py
@@ -0,0 +1,11 @@
+--- tvtk/setup.py.orig 2011-07-28 21:00:20 UTC
++++ tvtk/setup.py
+@@ -18,7 +18,7 @@ def configuration(parent_package=None, t
+ config.add_subpackage('custom')
+ config.add_subpackage('pipeline')
+ config.add_data_dir('pipeline/images')
+- config.add_data_dir('pyface/images')
++# config.add_data_dir('pyface/images')
+ config.add_data_dir('tools/images')
+
+ config.add_subpackage('plugins')
Index: graphics/py-mayavi/pkg-descr
===================================================================
--- graphics/py-mayavi/pkg-descr
+++ graphics/py-mayavi/pkg-descr
@@ -0,0 +1,14 @@
+3D Scientific Data Visualization and Plotting
+The Mayavi project includes two related packages for 3-dimensional
+visualization:
+ Mayavi: A tool for easy and interactive visualization of data, with seamless
+ integration with Python scientific libraries.
+ TVTK: A Traits-based wrapper for the Visualization Toolkit, a popular
+ open-source visualization library.
+These libraries operate at different levels of abstraction. TVTK manipulates
+visualization objects, while Mayavi lets you operate on your data, and then see
+the results. Most users either use the Mayavi user interface or program to its
+scripting interface; you probably don't need to interact with TVTK unless you
+want to create a new Mayavi module.
+
+WWW: http://code.enthought.com/projects/mayavi/
Index: graphics/py-traitsui/Makefile
===================================================================
--- graphics/py-traitsui/Makefile
+++ graphics/py-traitsui/Makefile
@@ -0,0 +1,26 @@
+# Created by: Vladimir Chukharev
+# $FreeBSD$
+
+PORTNAME= traitsui
+PORTVERSION= 4.5.1
+CATEGORIES= graphics python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= Vladimir.Chukharev@gmail.com
+COMMENT= Enthought traits-capable user interfaces
+
+LICENSE= BSD3CLAUSE LGPL21 EPL
+LICENSE_COMB= multi
+LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.txt
+LICENSE_FILE_LGPL21= ${WRKSRC}/image_LICENSE_Nuvola.txt
+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:${PORTSDIR}/devel/py-apptools
+
+USES= python:-2.7
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Index: graphics/py-traitsui/distinfo
===================================================================
--- graphics/py-traitsui/distinfo
+++ graphics/py-traitsui/distinfo
@@ -0,0 +1,2 @@
+SHA256 (traitsui-4.5.1.tar.gz) = 452bfe7ffb9e38948cacbcfc66cc922cec3a3cb415e5fa02ef0d756ea673104d
+SIZE (traitsui-4.5.1.tar.gz) = 6692940
Index: graphics/py-traitsui/pkg-descr
===================================================================
--- graphics/py-traitsui/pkg-descr
+++ graphics/py-traitsui/pkg-descr
@@ -0,0 +1,11 @@
+The traitsui project contains a toolkit-independent GUI abstraction layer,
+which is used to support the "visualization" features of the Traits package.
+Thus, you can write code in terms of the Traits API (views, items, editors,
+etc.), and let traitsui and your selected toolkit and back-end take care of
+the details of displaying them.
+The following GUI backends are supported:
+ * wxPython
+ * PyQt
+ * PySide
+
+WWW: https://docs.enthought.com/traitsui

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 27, 7:21 AM (10 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24280549
Default Alt Text
D4181.diff (14 KB)

Event Timeline