aboutsummaryrefslogtreecommitdiff
path: root/math/gau2grid/Makefile
blob: 04a0baee445769d3c5cb929abe35e931b6c4a372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $FreeBSD$

PORTNAME=	gau2grid
DISTVERSIONPREFIX=	v
DISTVERSION=	2.0.7
CATEGORIES=	math python

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Fast computation of a gaussian and its derivative on a grid

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=	${PYNUMPY}

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>