freebsd-ports/math/py-pplpy/Makefile
Mark Linimon 9a1bd5549d Add compiler:c++11-lang to USES to fix build on GCC-based systems:
/usr/local/lib/python3.7/site-packages/cysignals/struct_signals.h:47:18: error: atomic: No such file or directory

Approved by:	portmgr (tier-2 blanket)
2020-05-18 03:37:03 +00:00

40 lines
1.0 KiB
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= pplpy
DISTVERSION= 0.8.4
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Python wrapper to the C++ Parma Polyhedra Library (PPL)
LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libmpc.so:math/mpc \
libppl.so:devel/ppl
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
USES= compiler:c++11-lang localbase python:3.6+
USE_PYTHON= cython distutils
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PY_SPHINX}
DOCS_USES= gmake
PORTDOCS= *
do-build-DOCS-on:
(cd ${WRKSRC}/docs && ${GMAKE} html)
post-build-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/build/html/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>