1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

misc/py-pymatreader: New port: Convenient reader for Matlab mat files

This commit is contained in:
Yuri Victorovich 2023-07-18 07:29:17 -07:00
parent e6f8f224bd
commit 084edc1eca
4 changed files with 31 additions and 0 deletions

View File

@ -451,6 +451,7 @@
SUBDIR += py-pyct
SUBDIR += py-pyfiglet
SUBDIR += py-pykml
SUBDIR += py-pymatreader
SUBDIR += py-pypatent
SUBDIR += py-pyprind
SUBDIR += py-pyqir

View File

@ -0,0 +1,24 @@
PORTNAME= pymatreader
DISTVERSION= 0.0.32
CATEGORIES= misc
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Convenient reader for Matlab mat files
WWW= https://gitlab.com/obob/pymatreader
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=1.7.0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://gitlab.com/obob/pymatreader/-/issues/20
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1689900077
SHA256 (pymatreader-0.0.32.tar.gz) = 34a5b4812635c98d3e5776fc21cd7f85b045784539363674d178dfb1158a617f
SIZE (pymatreader-0.0.32.tar.gz) = 7601

View File

@ -0,0 +1,3 @@
pymatreader is Python module to read Matlab files. This module works with both
the old (< 7.3) and the new (>= 7.3) HDF5 based format. The output should be
the same for both kinds of files.