Files
2026-10-04 04:07:15 +00:00

41 lines
1.4 KiB
Makefile

PORTNAME= hdmf
DISTVERSION= 6.2.0
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Hierarchical data modeling framework for modern science data standards
WWW= https://github.com/hdmf-dev/hdmf
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.6.0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=3.2.0:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.22.0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>=1.4.0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16:devel/py-ruamel.yaml@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 concurrent autoplist pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_ARGS= -o "testpaths=tests"
PYTEST_BROKEN_TESTS= build_const_args \
create_load_namespace_yaml \
create_test_type_map \
get_qux_buildmanager \
get_types \
swap_inc_def
NO_ARCH= yes
# tests as of 6.2.0: 1890 passed, 95 skipped, 1 xfailed in 10.46s
.include <bsd.port.mk>