mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 03:46:30 -04:00
29 lines
1 KiB
Makefile
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>
|