summaryrefslogtreecommitdiff
path: root/devel/py-flatbuffers/Makefile
blob: c31dc1b9b57dfb0dae826643399e492a9487ae33 (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

PORTNAME=	flatbuffers
PORTVERSION=	1.11
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	FlatBuffers serialization format for Python

LICENSE=	APACHE20
#LICENSE_FILE=	Not packaged in PyPI sdist

USES=		python:3.6+
USE_PYTHON=	autoplist distutils

OPTIONS_DEFINE=	NUMPY

NUMPY_DESC=	Support scalar vectors as numpy arrays

NUMPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}

MAKE_ENV+=	VERSION=${PORTVERSION}

NO_ARCH=	yes

.include <bsd.port.mk>