aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-01-19 15:44:11 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-01-19 23:05:03 +0000
commitde6c5473aa913877679fa677444496a4a95e71f8 (patch)
tree1bbfaad65e34ee5f6e6f96664295646bfc29a247
parentc3c034b54df200baa94ab4bb3999cbf919e1434d (diff)
science/py-vedo: New port: Python module for scientific analysis and visualization of 3D objects
-rw-r--r--science/Makefile1
-rw-r--r--science/py-vedo/Makefile28
-rw-r--r--science/py-vedo/distinfo3
-rw-r--r--science/py-vedo/pkg-descr9
4 files changed, 41 insertions, 0 deletions
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