Date: Sat, 27 Jun 2026 19:47:28 +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: cee5cd0c67a1 - main - science/py-pynwb: New port: Package for working with Neurodata stored in the NWB format Message-ID: <6a4028d0.46eb8.37e06e72@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=cee5cd0c67a1fdde11069538051857dc30607c46 commit cee5cd0c67a1fdde11069538051857dc30607c46 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-06-27 19:14:19 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-06-27 19:47:18 +0000 science/py-pynwb: New port: Package for working with Neurodata stored in the NWB format --- science/Makefile | 1 + science/py-pynwb/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ science/py-pynwb/distinfo | 3 +++ science/py-pynwb/pkg-descr | 3 +++ 4 files changed, 49 insertions(+) diff --git a/science/Makefile b/science/Makefile index fabb50f9596a..cef8c75f5513 100644 --- a/science/Makefile +++ b/science/Makefile @@ -426,6 +426,7 @@ SUBDIR += py-pymbd SUBDIR += py-pymol SUBDIR += py-pynrrd + SUBDIR += py-pynwb SUBDIR += py-pyosf SUBDIR += py-pyphot SUBDIR += py-pyprecice diff --git a/science/py-pynwb/Makefile b/science/py-pynwb/Makefile new file mode 100644 index 000000000000..d3a81934bbdf --- /dev/null +++ b/science/py-pynwb/Makefile @@ -0,0 +1,42 @@ +PORTNAME= pynwb +DISTVERSION= 3.1.3 +CATEGORIES= science python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Package for working with Neurodata stored in the NWB format +WWW= https://github.com/NeurodataWithoutBorders/pynwb + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/license.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>=3.2.0:science/py-h5py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hdmf>=4.1.2:science/py-hdmf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.24.0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=1.2.0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=4.1.0:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 concurrent autoplist concurrent pytest + +TEST_ENV= ${MAKE_ENV} PATH=${STAGEDIR}${PREFIX}/bin:${PATH} \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_ARGS= -o "testpaths=tests" +PYTEST_BROKEN_TESTS= create_test_extension \ + test_custom_target_table \ + test_get_class \ + test_load_namespace_with_reftype_attribute_check_autoclass_const + +NO_ARCH= yes + +post-extract: + @${RM} -r ${WRKSRC}/tests/read_dandi + +# tests as of 3.1.3: 729 passed, 11 skipped, 4 deselected in 73.65s + +.include <bsd.port.mk> diff --git a/science/py-pynwb/distinfo b/science/py-pynwb/distinfo new file mode 100644 index 000000000000..0d0a8d5442a4 --- /dev/null +++ b/science/py-pynwb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1751400000 +SHA256 (pynwb-3.1.3.tar.gz) = ee75219aa241b72b10d1c6830ae6bafa7e3e44f0429715c2ef0920a19654e185 +SIZE (pynwb-3.1.3.tar.gz) = 35784649 diff --git a/science/py-pynwb/pkg-descr b/science/py-pynwb/pkg-descr new file mode 100644 index 000000000000..e628b26fd675 --- /dev/null +++ b/science/py-pynwb/pkg-descr @@ -0,0 +1,3 @@ +PyNWB is a Python package for working with NWB (Neurodata Without Borders) +data. It provides a high-level API for efficiently working with +neurophysiology data stored in the NWB format.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a4028d0.46eb8.37e06e72>
