Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2026 19:47:24 +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: 1e8a35d23eb4 - main - science/py-nixio: New port: Python reimplementation of NIX data format
Message-ID:  <6a4028cc.18261.2ef23d26@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=1e8a35d23eb4a5ce93ed14d0dfca0afcad961d01

commit 1e8a35d23eb4a5ce93ed14d0dfca0afcad961d01
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-27 18:08:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-27 19:47:17 +0000

    science/py-nixio: New port: Python reimplementation of NIX data format
---
 science/Makefile                      |  1 +
 science/py-nixio/Makefile             | 23 +++++++++++++++++++++++
 science/py-nixio/distinfo             |  3 +++
 science/py-nixio/files/patch-setup.py | 13 +++++++++++++
 science/py-nixio/pkg-descr            |  4 ++++
 5 files changed, 44 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index 01fecd2c2f02..ef0cd36a4c27 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -392,6 +392,7 @@
     SUBDIR += py-netcdf-flattener
     SUBDIR += py-nglview
     SUBDIR += py-nibabel
+    SUBDIR += py-nixio
     SUBDIR += py-obspy
     SUBDIR += py-oddt
     SUBDIR += py-openEMS
diff --git a/science/py-nixio/Makefile b/science/py-nixio/Makefile
new file mode 100644
index 000000000000..dc0eee8146d1
--- /dev/null
+++ b/science/py-nixio/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	nixio
+DISTVERSION=	1.5.4
+CATEGORIES=	science python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python reimplementation of NIX data format
+WWW=		https://github.com/G-Node/nixpy
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+.include <bsd.port.mk>
diff --git a/science/py-nixio/distinfo b/science/py-nixio/distinfo
new file mode 100644
index 000000000000..27ba4d0c3f9b
--- /dev/null
+++ b/science/py-nixio/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1782556532
+SHA256 (nixio-1.5.4.tar.gz) = 0aa6a44100d60acfa40430e5467d75431b10e7e4804a92735b29d6cbcf7d1863
+SIZE (nixio-1.5.4.tar.gz) = 28795377
diff --git a/science/py-nixio/files/patch-setup.py b/science/py-nixio/files/patch-setup.py
new file mode 100644
index 000000000000..d78512ce68b7
--- /dev/null
+++ b/science/py-nixio/files/patch-setup.py
@@ -0,0 +1,13 @@
+-- Remove pytest-runner from setup_requires as it's not needed for build
+-- and the port doesn't exist in FreeBSD ports tree.
+
+--- setup.py.orig	2026-06-27 10:37:52 UTC
++++ setup.py
+@@ -77,7 +77,6 @@ setup(
+     python_requires=">=3.6",
+     tests_require=['pytest', 'scipy', 'pillow', 'matplotlib'],
+     test_suite='pytest',
+-    setup_requires=['pytest-runner'],
+     install_requires=['numpy', 'h5py', 'six', 'enum34;python_version<"3.4"'],
+     package_data={'nixio': [license_text, description_text]},
+     include_package_data=True,
diff --git a/science/py-nixio/pkg-descr b/science/py-nixio/pkg-descr
new file mode 100644
index 000000000000..cc62ab48899d
--- /dev/null
+++ b/science/py-nixio/pkg-descr
@@ -0,0 +1,4 @@
+NIXIO is a Python reimplementation of the NIX (Neuroscience Information
+Exchange) data model and format. NIX is an open data format designed for
+storing annotated scientific data in a hierarchical structure, particularly
+suited for neuroscience research.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a4028cc.18261.2ef23d26>