summaryrefslogtreecommitdiff
path: root/science/py-openpiv/Makefile
blob: 723d00f6ab2e5b8debb8516210ead72764ab98f7 (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
29
30
31

PORTNAME=	openpiv
PORTVERSION=	0.23.4
CATEGORIES=	science python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	makc@FreeBSD.org
COMMENT=	Python module for Particle Image Velocimetry

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BUILD_DEPENDS=	${PYNUMPY}
RUN_DEPENDS=	${PYNUMPY} \
		${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}scikit-image>=0.12.0:graphics/py-scikit-image@${PY_FLAVOR}

USES=		python:3.7+
USE_PYTHON=	autoplist distutils cython cython_run
USE_GITHUB=	yes
GH_ACCOUNT=	OpenPIV
GH_PROJECT=	openpiv-python

OPTIONS_DEFINE=	EXTRA
EXTRA_DESC=	Install additional Python packages (for tutorial/examples)

EXTRA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
			${PYTHON_PKGNAMEPREFIX}natsort>=0:devel/py-natsort@${PY_FLAVOR} \
			${PYTHON_PKGNAMEPREFIX}imageio>=0:graphics/py-imageio@${PY_FLAVOR}

.include <bsd.port.mk>