blob: 7a80981e675d4eba5875ac6bd1653fbd3722b2f5 (
plain) (
tree)
|
|
PORTNAME= primme
DISTVERSION= 3.2.1
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= PRIMME wrapper for Python
WWW= https://www.cs.wm.edu/~andreas/software/
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
LIB_DEPENDS= libprimme.so:math/primme
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
USES= fortran gmake localbase:ldflags python:3.6+ shebangfix
USE_PYTHON= distutils cython autoplist
TEST_TARGET= test
BINARY_ALIAS= python2=${PYTHON_CMD}
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/primme${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>
|