summaryrefslogtreecommitdiff
path: root/math/gau2grid/Makefile
blob: dc9b670b0c7766a35f4f37b50b53c78671813aae (plain)
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
27
28
# $FreeBSD$

PORTNAME=	gau2grid
DISTVERSIONPREFIX=	v
DISTVERSION=	1.3.0
PORTREVISION=	1
CATEGORIES=	math python

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

ONLY_FOR_ARCHS=	amd64
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

.include <bsd.port.mk>