git: 85d1c982fae9 - main - science/py-ipygany: New port: 3-D scientific visualization in Jupyter Notebooks

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 09 Jan 2023 03:24:26 UTC
The branch main has been updated by yuri:

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

commit 85d1c982fae904a1f416820660b71a32f302965f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-09 03:05:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-09 03:24:22 +0000

    science/py-ipygany: New port: 3-D scientific visualization in Jupyter Notebooks
---
 science/Makefile             |  1 +
 science/py-ipygany/Makefile  | 25 +++++++++++++++++++++++++
 science/py-ipygany/distinfo  |  3 +++
 science/py-ipygany/pkg-descr | 16 ++++++++++++++++
 4 files changed, 45 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index e0461a394c02..5a98d961e81c 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -345,6 +345,7 @@
     SUBDIR += py-hiphive
     SUBDIR += py-hoomd-blue
     SUBDIR += py-inequality
+    SUBDIR += py-ipygany
     SUBDIR += py-jupyter_jsmol
     SUBDIR += py-kim-query
     SUBDIR += py-kimpy
diff --git a/science/py-ipygany/Makefile b/science/py-ipygany/Makefile
new file mode 100644
index 000000000000..873bf96dc592
--- /dev/null
+++ b/science/py-ipygany/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	ipygany
+DISTVERSION=	0.5.0
+CATEGORIES=	science python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	3-D scientific visualization in Jupyter Notebooks
+WWW=		https://github.com/martinRenou/ipygany
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jupyter-packaging>0:devel/py-jupyter-packaging@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}traittypes>0:devel/py-traittypes@${PY_FLAVOR} \
+		${PYNUMPY}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipydatawidgets>0:devel/py-ipydatawidgets@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	distutils concurrent autoplist pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/science/py-ipygany/distinfo b/science/py-ipygany/distinfo
new file mode 100644
index 000000000000..6876c1258901
--- /dev/null
+++ b/science/py-ipygany/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1673223117
+SHA256 (ipygany-0.5.0.tar.gz) = a665e0875bd9500d4f11082770540d46361bd3cfa85b7814e38403c108918b3d
+SIZE (ipygany-0.5.0.tar.gz) = 21814458
diff --git a/science/py-ipygany/pkg-descr b/science/py-ipygany/pkg-descr
new file mode 100644
index 000000000000..519ae6b634b7
--- /dev/null
+++ b/science/py-ipygany/pkg-descr
@@ -0,0 +1,16 @@
+ipygany is a Jupyter Interactive Widgets library for 3-D mesh analysis.
+
+Features:
+ipygany has many features including:
+* VTK loader for displaying your computation results in the Jupyter Notebook
+* Structured and Unstructured grids support
+* 2-D cell based meshes support (quads, triangles...) as well as 3-D cell based
+  meshes support (tetrahedrons, quadratic tetrahedrons...)
+* Animations
+* IsoColor effect
+* Warp effect
+* IsoSurface computation
+* Threshold effect (for visualizing only the parts that are inside of a range
+  of data)
+* Point cloud visualization
+* Water effect, for nice water visualization with real-time caustics