diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-10-04 08:12:25 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-10-06 08:25:50 +0000 |
| commit | 73fca4866c29aca3f15c58dfff374377a9c7b6fe (patch) | |
| tree | a74e152a3fa84070199a413df8b8b1a9645b0373 | |
| parent | 6f0e01784fe78f430974aa9cbc136199c45de86c (diff) | |
science/py-pynrrd: New port: Pure Python module for reading and writing NRRD files
| -rw-r--r-- | science/Makefile | 1 | ||||
| -rw-r--r-- | science/py-pynrrd/Makefile | 31 | ||||
| -rw-r--r-- | science/py-pynrrd/distinfo | 3 | ||||
| -rw-r--r-- | science/py-pynrrd/pkg-descr | 4 |
4 files changed, 39 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index 473bc4b3c78d..9713030b534d 100644 --- a/science/Makefile +++ b/science/Makefile @@ -410,6 +410,7 @@ SUBDIR += py-pymatgen-analysis-alloys SUBDIR += py-pymbd SUBDIR += py-pymol + SUBDIR += py-pynrrd SUBDIR += py-pyosf SUBDIR += py-pyphot SUBDIR += py-pyprecice diff --git a/science/py-pynrrd/Makefile b/science/py-pynrrd/Makefile new file mode 100644 index 000000000000..11058c29480c --- /dev/null +++ b/science/py-pynrrd/Makefile @@ -0,0 +1,31 @@ +PORTNAME= pynrrd +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.3 +CATEGORIES= science python +#MASTER_SITES= PYPI # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pure Python module for reading and writing NRRD files +WWW= https://pynrrd.readthedocs.io/en/stable/ \ + https://github.com/mhe/pynrrd + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +USE_GITHUB= yes +GH_ACCOUNT= mhe + +NO_ARCH= yes + +# tests as of 1.1.3: 159 passed in 3.03s + +.include <bsd.port.mk> diff --git a/science/py-pynrrd/distinfo b/science/py-pynrrd/distinfo new file mode 100644 index 000000000000..fc154510a78b --- /dev/null +++ b/science/py-pynrrd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1759736084 +SHA256 (mhe-pynrrd-v1.1.3_GH0.tar.gz) = 10ce743d69ecf54b41ecab56b74dc8a5f806d299c45fcc1ef07d7d8aef5949ea +SIZE (mhe-pynrrd-v1.1.3_GH0.tar.gz) = 47813 diff --git a/science/py-pynrrd/pkg-descr b/science/py-pynrrd/pkg-descr new file mode 100644 index 000000000000..2f8cf8ad7e91 --- /dev/null +++ b/science/py-pynrrd/pkg-descr @@ -0,0 +1,4 @@ +NRRD (Nearly Raw Raster Data) is a library and file format designed to +support scientific visualization and image processing involving N-dimensional +raster data. This library provides the ability to read and write NRRD files +using pure Python. |
