git: de6c5473aa91 - main - science/py-vedo: New port: Python module for scientific analysis and visualization of 3D objects

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 19 Jan 2023 23:05:06 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=de6c5473aa913877679fa677444496a4a95e71f8

commit de6c5473aa913877679fa677444496a4a95e71f8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-19 15:44:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-19 23:05:03 +0000

    science/py-vedo: New port: Python module for scientific analysis and visualization of 3D objects
---
 science/Makefile          |  1 +
 science/py-vedo/Makefile  | 28 ++++++++++++++++++++++++++++
 science/py-vedo/distinfo  |  3 +++
 science/py-vedo/pkg-descr |  9 +++++++++
 4 files changed, 41 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index 5a98d961e81c..d9f958844f24 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -432,6 +432,7 @@
     SUBDIR += py-tobler
     SUBDIR += py-trainstation
     SUBDIR += py-tweedledum
+    SUBDIR += py-vedo
     SUBDIR += py-veusz
     SUBDIR += py-xbout
     SUBDIR += pybrain
diff --git a/science/py-vedo/Makefile b/science/py-vedo/Makefile
new file mode 100644
index 000000000000..495142090af9
--- /dev/null
+++ b/science/py-vedo/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	vedo
+DISTVERSION=	2023.4.3
+CATEGORIES=	science graphics python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python module for scientific analysis and visualization of 3D objects
+WWW=		https://vedo.embl.es/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}deprecated>=0:devel/py-deprecated@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
+		${PYNUMPY} \
+		vtk${VTK_VER:R}>0:math/vtk${VTK_VER:R} \
+		bash:shells/bash
+
+USES=		python:3.6+ shebangfix
+USE_PYTHON=	distutils autoplist
+
+SHEBANG_GLOB=	*.sh
+
+NO_ARCH=	yes
+
+.include <../../math/vtk9/Makefile.version>
+.include <bsd.port.mk>
diff --git a/science/py-vedo/distinfo b/science/py-vedo/distinfo
new file mode 100644
index 000000000000..4b2ad60010b3
--- /dev/null
+++ b/science/py-vedo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674168644
+SHA256 (vedo-2023.4.3.tar.gz) = 0c1fab2ffc84282d5cfd00eba611ba4ead1d7d956fcdbd30ea97cb463c2a9714
+SIZE (vedo-2023.4.3.tar.gz) = 3164673
diff --git a/science/py-vedo/pkg-descr b/science/py-vedo/pkg-descr
new file mode 100644
index 000000000000..1c47684743b2
--- /dev/null
+++ b/science/py-vedo/pkg-descr
@@ -0,0 +1,9 @@
+Vedo is a lightweight and powerful python module for scientific analysis and
+visualization of 3d objects.
+
+The library includes a large set of working examples for a wide range of
+functionalities:
+* working with polygonal meshes and point clouds
+* working with volumetric data and tetrahedral meshes
+* plotting and histogramming in 2D and 3D
+* integration with other libraries