svn commit: r521201 - in head/graphics: . py-visvis
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Dec 28 07:43:07 UTC 2019
Author: sunpoet
Date: Sat Dec 28 07:43:05 2019
New Revision: 521201
URL: https://svnweb.freebsd.org/changeset/ports/521201
Log:
Readd py-visvis 1.12.2
- While I'm here:
- Fix LICENSE
- Add LICENSE_FILE
- Use PYNUMPY
- Add missing USES=pyqt:5
PR: 241510
Submitted by: Rainer Hurling <rhurlin at gwdg.de>
Added:
head/graphics/py-visvis/
- copied from r517537, head/graphics/py-visvis/
Deleted:
head/graphics/py-visvis/1
head/graphics/py-visvis/2
Modified:
head/graphics/Makefile
head/graphics/py-visvis/Makefile
head/graphics/py-visvis/pkg-descr
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Sat Dec 28 07:42:38 2019 (r521200)
+++ head/graphics/Makefile Sat Dec 28 07:43:05 2019 (r521201)
@@ -887,6 +887,7 @@
SUBDIR += py-termtosvg
SUBDIR += py-toyplot
SUBDIR += py-traitsui
+ SUBDIR += py-visvis
SUBDIR += py-wand
SUBDIR += py-webcolors
SUBDIR += py-willow
Modified: head/graphics/py-visvis/Makefile
==============================================================================
--- head/graphics/py-visvis/Makefile Wed Nov 13 23:47:27 2019 (r517537)
+++ head/graphics/py-visvis/Makefile Sat Dec 28 07:43:05 2019 (r521201)
@@ -13,8 +13,7 @@ COMMENT= Object oriented approach to visualization of
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imageio>=0:graphics/py-imageio@${PY_FLAVOR} \
- ${PYNUMPY} \
+RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyside2>=0:devel/pyside2@${PY_FLAVOR}
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
@@ -27,4 +26,12 @@ USE_WX= 3.0+
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 3400
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}imageio>=0:graphics/py-imageio@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}imageio24>=0:graphics/py-imageio24@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
Modified: head/graphics/py-visvis/pkg-descr
==============================================================================
--- head/graphics/py-visvis/pkg-descr Wed Nov 13 23:47:27 2019 (r517537)
+++ head/graphics/py-visvis/pkg-descr Sat Dec 28 07:43:05 2019 (r521201)
@@ -1,8 +1,8 @@
-Visvis is a pure Python library for visualization of 1D to 4D data in an bject
+Visvis is a pure Python library for visualization of 1D to 4D data in an object
oriented way. Essentially, visvis is an object oriented layer of Python on top
-of OpenGl, thereby combining the power of OpenGl with the usability of Python. A
-Matlab-like interface in the form of a set of functions allows easy creation of
-objects (e.g. plot(), imshow(), volshow(), surf()).
+of OpenGL, thereby combining the power of OpenGL with the usability of Python.
+A Matlab-like interface in the form of a set of functions allows easy creation
+of objects (e.g. plot(), imshow(), volshow(), surf()).
With visvis a range of different data can be visualized by simply adding world
objects to a scene (or axes). These world objects can be anything from plots
More information about the svn-ports-head
mailing list