Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 2026 22:51:23 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0c2291968f84 - main - science/moltui: New port: Terminal-based 3D molecular viewer
Message-ID:  <6a1f5e6b.459df.4df79632@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit 0c2291968f84a771a0193309f6c8cba0cfd8200d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-02 20:08:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-02 22:51:16 +0000

    science/moltui: New port: Terminal-based 3D molecular viewer
---
 science/Makefile         |  1 +
 science/moltui/Makefile  | 33 +++++++++++++++++++++++++++++++++
 science/moltui/distinfo  |  3 +++
 science/moltui/pkg-descr |  3 +++
 4 files changed, 40 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index 636e67d8a5b7..a7f46b4fc331 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -192,6 +192,7 @@
     SUBDIR += molgif
     SUBDIR += molscript
     SUBDIR += molsketch
+    SUBDIR += moltui
     SUBDIR += mopac
     SUBDIR += mp2d
     SUBDIR += mpb
diff --git a/science/moltui/Makefile b/science/moltui/Makefile
new file mode 100644
index 000000000000..e8bd4f899fb2
--- /dev/null
+++ b/science/moltui/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	moltui
+DISTVERSION=	0.5.1
+CATEGORIES=	science python
+MASTER_SITES=	PYPI
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Terminal-based 3D molecular viewer
+WWW=		https://github.com/kszenes/moltui
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.26:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-image>=0.22:graphics/py-scikit-image@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}textual>=3.0:textproc/py-textual@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=1.3.0:devel/py-pytest-asyncio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=5.0:devel/py-pytest-cov@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist pytest
+
+NO_ARCH=	yes
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+# tests as of 0.5.1:
+# Results (22.04s):
+#      320 passed
+#        3 skipped
+
+.include <bsd.port.mk>
diff --git a/science/moltui/distinfo b/science/moltui/distinfo
new file mode 100644
index 000000000000..b65875eeb715
--- /dev/null
+++ b/science/moltui/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1780429738
+SHA256 (moltui-0.5.1.tar.gz) = 45dc43ba7cf3e60107248b438986f06ccffea9ad1f14d69c05c0b6b20f77d3e0
+SIZE (moltui-0.5.1.tar.gz) = 2338101
diff --git a/science/moltui/pkg-descr b/science/moltui/pkg-descr
new file mode 100644
index 000000000000..e1290d77b0e4
--- /dev/null
+++ b/science/moltui/pkg-descr
@@ -0,0 +1,3 @@
+moltui is a terminal-based 3D molecular and crystallographic viewer
+designed for quick inspection of geometries, trajectories, orbitals,
+and normal modes directly in the terminal using Unicode characters.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1f5e6b.459df.4df79632>