mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 18:36:28 -04:00
science/py-gpaw: Fix missing MPI symbol; Add missing gpaw-setups dependency
This commit is contained in:
parent
7b89379338
commit
87381e8dc3
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= gpaw
|
||||
DISTVERSION= 21.6.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -18,12 +19,15 @@ LIB_DEPENDS= libblas.so:math/blas \
|
|||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
|
||||
${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR}
|
||||
${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} \
|
||||
gpaw-setups>0:science/gpaw-setups
|
||||
|
||||
USES= gettext-runtime localbase python:3.7+ shebangfix
|
||||
USE_PYTHON= distutils concurrent autoplist
|
||||
SHEBANG_FILES= tools/*
|
||||
|
||||
LDFLAGS= -lmpi # otherwise: ImportError: /usr/local/lib/python3.8/site-packages/_gpaw.cpython-38.so: Undefined symbol "MPI_Comm_rank"
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} "s|'/usr/local/|'${LOCALBASE}/|" ${WRKSRC}/gpaw/__init__.py
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue