1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/math/py-slepc4py/Makefile
Yuri Victorovich 5618eb4eb9 math/py-slepc4py: update 3.20.1 → 3.20.2
Reported by:	portscout
2024-03-18 16:36:26 -07:00

34 lines
909 B
Makefile

PORTNAME= slepc4py
DISTVERSION= 3.20.2
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= SLEPc for Python
WWW= https://bitbucket.org/slepc/slepc4py
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
PY_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}petsc4py>0:math/py-petsc4py@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3
RUN_DEPENDS= ${PY_DEPENDS}
LIB_DEPENDS= libmpich.so:net/mpich \
libpetsc.so:science/PETSc \
libslepc.so:math/slepc
RUN_DEPENDS= ${PYNUMPY}
USES= fortran python
USE_PYTHON= distutils autoplist pytest
MAKE_ENV= PETSC_DIR=${LOCALBASE} SLEPC_DIR=${LOCALBASE}
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/slepc4py/lib/SLEPc${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>