ports/misc/py-npTDMS/Makefile
Yuri Victorovich db3ef37028 misc/py-npTDMS: update 1.7.1 → 1.9.0
Reported by:	portscout
2024-04-05 03:16:05 -07:00

29 lines
1 KiB
Makefile

PORTNAME= npTDMS
DISTVERSION= 1.9.0
CATEGORIES= misc
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= NumPy based module for reading TDMS files produced by LabView
WWW= https://github.com/adamreeve/npTDMS
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} # optional
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-benchmark>0:devel/py-pytest-benchmark@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}thermocouples_reference>0:misc/py-thermocouples_reference@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist pytest # 4 tests fail, see https://github.com/adamreeve/npTDMS/issues/329
NO_ARCH= yes
.include <bsd.port.mk>