PORTNAME= highspy DISTVERSION= 1.15.1 CATEGORIES= math MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Thin set of pybind11 wrappers to HiGHS WWW= https://github.com/ERGO-Code/HiGHS LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.3.3:devel/py-scikit-build-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} USES= cmake:indirect compiler:c++11-lang python USE_PYTHON= pep517 autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # tests as of 1.15.1: about failures see https://github.com/ERGO-Code/HiGHS/issues/3265 # Results (1.33s): # 74 passed # 1 failed # - highspy/tests/test_highspy.py:1312 TestHighsPy.test_user_interrupts # 1 error .include