ports/science/py-openpiv/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

35 lines
982 B
Makefile

PORTNAME= openpiv
PORTVERSION= 0.23.8
PORTREVISION= 3
DISTVERSIONPREFIX= v
CATEGORIES= science python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= makc@FreeBSD.org
COMMENT= Python module for Particle Image Velocimetry
WWW= http://www.openpiv.net/
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
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= OpenPIV
GH_PROJECT= openpiv-python
NO_ARCH= yes
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>