mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
35 lines
860 B
Makefile
35 lines
860 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gau2grid
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= math python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
|
PATCHFILES= 0deace28eaad3359a595e384daf7bb9dd157c0d6.patch:-p1
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Fast computation of a gaussian and its derivative on a grid
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY} \
|
|
cmake:devel/cmake
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= compiler:c11 python
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dgasmith
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
PLIST_FILES= ${PYTHON_SITELIBDIR}/gau2grid/libgg.so.1 # https://github.com/dgasmith/gau2grid/issues/33
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
|
|
|
|
.include <bsd.port.mk>
|