Files
ports/science/py-quantities/Makefile
T
2026-05-05 22:29:37 +03:00

27 lines
747 B
Makefile

PORTNAME= quantities
DISTVERSION= 0.16.4
PORTREVISION= 2
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Support for physical quantities with units, based on numpy
WWW= https://github.com/python-quantities/python-quantities
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.com/python-quantities/python-quantities/issues/224
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/quantities/tests
NO_ARCH= yes
# tests as of 0.16.4: 179 passed, 3 xfailed in 3.23s
.include <bsd.port.mk>