Files
ports/math/gau2grid/Makefile
T
2026-05-05 22:29:37 +03:00

28 lines
784 B
Makefile

PORTNAME= gau2grid
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.7
PORTREVISION= 2
CATEGORIES= math python
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast computation of a gaussian and its derivative on a grid
WWW= https://github.com/dgasmith/gau2grid
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= BUG: ValueError: descr is not a valid dtype descriptor: '<f16' (see https://github.com/dgasmith/gau2grid/issues/25)
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
${PY_SETUPTOOLS}
USES= cmake compiler:c11 python:build # C code build depends on python to generate some headers
USE_GITHUB= yes
GH_ACCOUNT= dgasmith
USE_LDCONFIG= yes
CMAKE_OFF= ENABLE_XHOST
.include <bsd.port.mk>