Yuri Victorovich fae63a8763 math/py-symengine: Broken
Reported by:	fallout
2024-06-26 08:16:46 -07:00

37 lines
1.1 KiB
Makefile

PORTNAME= symengine
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
CATEGORIES= math python
#MASTER_SITES= PYPI # latest release isn't compatible with math/symengine
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python library providing wrappers to SymEngine
WWW= https://symengine.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN= incompatible with symengine-0.12.0, see https://github.com/symengine/symengine.py/issues/484
LIB_DEPENDS= libarb.so:math/arb \
libecm.so:math/gmp-ecm \
libflint.so:math/flint2 \
libgmp.so:math/gmp \
libmpc.so:math/mpc \
libmpfr.so:math/mpfr \
libsymengine.so:math/symengine
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} # see https://github.com/symengine/symengine.py/issues/416
USES= cmake compiler:c++11-lang python
USE_PYTHON= cython flavors pytest
USE_GITHUB= yes
GH_PROJECT= symengine.py
BINARY_ALIAS= python=${PYTHON_CMD} # cmake scripts expect python executable
# cmake scripts copy build type and flags from math/symengine, and ignore all local variables of that kind
.include <bsd.port.mk>