77d68471ad
PR: 267994 Differential revision: D37518 Approved by: bapt
33 lines
1.0 KiB
Makefile
33 lines
1.0 KiB
Makefile
PORTNAME= qdldl
|
|
PORTVERSION= 0.1.5.post2
|
|
CATEGORIES= math python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= QDLDL free LDL factorization routine for linear systems: Ax = b
|
|
WWW= https://github.com/oxfordcontrol/qdldl-python/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_armv7= error: no matching function for call to 'amd_l_order', see https://github.com/oxfordcontrol/qdldl-python/issues/15
|
|
BROKEN_i386= error: no matching function for call to 'amd_l_order', see https://github.com/oxfordcontrol/qdldl-python/issues/15
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
|
|
cmake:devel/cmake-core
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=0.13.2:science/py-scipy@${PY_FLAVOR}
|
|
TEST_DEPENDS= pytest:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= compiler:c++11-lang python:3.6+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/qdldl.cpython-*.so
|
|
|
|
do-test: install
|
|
@cd ${WRKSRC} && pytest
|
|
|
|
.include <bsd.port.mk>
|