science/qmcpack: Correct python dependency; Fix tests.
This commit is contained in:
parent
060db93659
commit
06212b20e7
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
PORTNAME= qmcpack
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.13.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -17,14 +18,17 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|||
libmpich.so:net/mpich \
|
||||
libopenblas.so:math/openblas \
|
||||
libsz.so:science/szip
|
||||
TEST_DEPENDS= bash:shells/bash
|
||||
|
||||
USES= cmake:testing compiler:c++17-lang fortran gnome localbase:ldflags pkgconfig shebangfix
|
||||
USES= cmake:testing compiler:c++17-lang fortran gnome localbase:ldflags pkgconfig python shebangfix
|
||||
USE_GNOME= libxml2
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ${PORTNAME:tu}
|
||||
|
||||
SHEBANG_FILES= ${NEXUS_PLIST_FILES:C/^/nexus\//}
|
||||
SHEBANG_FILES= src/QMCTools/gpaw4qmcpack.py \
|
||||
${NEXUS_PLIST_FILES:C/^/nexus\//}
|
||||
SHEBANG_GLOB= check.sh
|
||||
|
||||
CMAKE_OFF= BUILD_UNIT_TESTS
|
||||
CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER}
|
||||
|
@ -41,8 +45,6 @@ OPTIONS_SUB= yes
|
|||
|
||||
NEXUS_DESC= Install Nexus (workflow utility) alongside QMCPACK
|
||||
NEXUS_CMAKE_BOOL= INSTALL_NEXUS
|
||||
NEXUS_USES= python
|
||||
NEXUS_USES_OFF= python:build
|
||||
NEXUS_PY_DEPENDS= ${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
|
||||
|
|
Loading…
Reference in a new issue