Files
ports/math/py-chaospy/Makefile
T
2026-06-05 10:17:39 -07:00

36 lines
1.1 KiB
Makefile

PORTNAME= chaospy
DISTVERSIONPREFIX= v
DISTVERSION= 4.3.21
CATEGORIES= math python
#MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Toolbox for performing uncertainty quantification
WWW= https://github.com/jonathf/chaospy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.20:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpoly>=1.2.12:math/py-numpoly@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=40.9.0:devel/py-setuptools@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= jonathf
NO_ARCH= yes
do-test: # tests hang: https://github.com/jonathf/chaospy/issues/406
@cd ${WRKSRC} && pytest --doctest-modules chaospy/
.include <bsd.port.mk>