1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/math/py-pystan/Makefile
Piotr Kubaj a1928c54e8 math/py-pystan: fix build with GCC architectures
Requires C++14:
cc1plus: error: unrecognized command line option "-std=c++1y"

Approved by:    mentors (implicit approval)
2019-09-16 08:40:06 +00:00

33 lines
922 B
Makefile

# $FreeBSD$
PORTNAME= pystan
PORTVERSION= 2.19.0.0
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gmm@tutanota.com
COMMENT= PyStan is the Python interface for Stan
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++14-lang python shebangfix
USE_PYTHON= autoplist distutils
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
SHEBANG_FILES= ${WRKSRC}/pystan/stan/lib/stan_math/lib/upgrade-sundials.sh \
${WRKSRC}/pystan/stan/lib/stan_math/hooks/pre-commit \
${WRKSRC}/pystan/stan/lib/stan_math/runTests.py \
NO_ARCH= yes
NO_ARCH_IGNORE= _api.so _chains.so _misc.so
.include <bsd.port.mk>