Date: Fri, 01 May 2026 00:50:39 +0000 From: Wen Heping <wen@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3e0fa24d33e9 - main - science/py-morphio: New port Message-ID: <69f3f8df.375a0.2e5c0e1e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e0fa24d33e9f9bb3f7433a3b07e2e888d1b0043 commit 3e0fa24d33e9f9bb3f7433a3b07e2e888d1b0043 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2026-05-01 00:49:22 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2026-05-01 00:50:29 +0000 science/py-morphio: New port MorphIO is a library for reading and writing neuron morphology files. It supports the following formats: SWC ASC (aka. neurolucida) H5 v1 H5 v2 is not supported anymore, see H5v2 --- science/Makefile | 1 + science/py-morphio/Makefile | 25 +++++++++++++++++++++++++ science/py-morphio/distinfo | 3 +++ science/py-morphio/files/patch-pyproject.toml | 11 +++++++++++ science/py-morphio/pkg-descr | 7 +++++++ 5 files changed, 47 insertions(+) diff --git a/science/Makefile b/science/Makefile index 4a7b8fd49ed1..96c2fdb71ae7 100644 --- a/science/Makefile +++ b/science/Makefile @@ -375,6 +375,7 @@ SUBDIR += py-mmtf-python SUBDIR += py-mne SUBDIR += py-molmod + SUBDIR += py-morphio SUBDIR += py-mp-api SUBDIR += py-mpcontribs-client SUBDIR += py-mplhep diff --git a/science/py-morphio/Makefile b/science/py-morphio/Makefile new file mode 100644 index 000000000000..02b51fae5e4c --- /dev/null +++ b/science/py-morphio/Makefile @@ -0,0 +1,25 @@ +PORTNAME= morphio +PORTVERSION= 3.4.2 +CATEGORIES= science python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Neuron morphology IO library +WWW= https://github.com/openbraininstitute/MorphIO + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ + cmake:devel/cmake-core \ + ninja:devel/ninja \ + pybind11>0:devel/pybind11 +LIB_DEPENDS= libhdf5.so:science/hdf5 + +USES= python +USE_PYTHON= autoplist pep517 + +.include <bsd.port.mk> diff --git a/science/py-morphio/distinfo b/science/py-morphio/distinfo new file mode 100644 index 000000000000..8b28ec9ac42d --- /dev/null +++ b/science/py-morphio/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1776477304 +SHA256 (morphio-3.4.2.tar.gz) = 4521b01dd8de8ff98b44341318cee44d75552dfd58b95a0e82ebfffe653b88f8 +SIZE (morphio-3.4.2.tar.gz) = 690093 diff --git a/science/py-morphio/files/patch-pyproject.toml b/science/py-morphio/files/patch-pyproject.toml new file mode 100644 index 000000000000..adaf2024bca5 --- /dev/null +++ b/science/py-morphio/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2026-05-01 00:38:10 UTC ++++ pyproject.toml +@@ -2,8 +2,6 @@ requires = [ + requires = [ + "setuptools>=24.2.0", + "wheel", +- "cmake", +- "ninja", + ] + + [tool.pytest.ini_options] diff --git a/science/py-morphio/pkg-descr b/science/py-morphio/pkg-descr new file mode 100644 index 000000000000..d768d6633c79 --- /dev/null +++ b/science/py-morphio/pkg-descr @@ -0,0 +1,7 @@ +MorphIO is a library for reading and writing neuron morphology files. +It supports the following formats: + +SWC +ASC (aka. neurolucida) +H5 v1 +H5 v2 is not supported anymore, see H5v2home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f3f8df.375a0.2e5c0e1e>
