git: 2f35623c2e6c - main - graphics/py-imageio: Add FITS, PYAV and TIFFFILE options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 16:36:25 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f35623c2e6c0f0306335b651ac704f913766b34

commit 2f35623c2e6c0f0306335b651ac704f913766b34
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-26 16:35:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-26 16:36:08 +0000

    graphics/py-imageio: Add FITS, PYAV and TIFFFILE options
---
 graphics/py-imageio/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/graphics/py-imageio/Makefile b/graphics/py-imageio/Makefile
index 94c3a5b8e13d..8d06d668fcbe 100644
--- a/graphics/py-imageio/Makefile
+++ b/graphics/py-imageio/Makefile
@@ -19,11 +19,17 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	FFMPEG
+OPTIONS_DEFINE=	FFMPEG FITS PYAV TIFFFILE
 OPTIONS_DEFAULT=FFMPEG
 FFMPEG_DESC=	Read/Write video using FFmpeg
+FITS_DESC=	Read FITS files
+PYAV_DESC=	Read/Write Videos (and images)
+TIFFFILE_DESC=	Read/Write TIFF files
 
 FFMPEG_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0:graphics/py-imageio-ffmpeg@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR}
+FITS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astropy>=0,2:astro/py-astropy@${PY_FLAVOR}
+PYAV_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}av>=0:multimedia/py-av@${PY_FLAVOR}
+TIFFFILE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tifffile>=0:graphics/py-tifffile@${PY_FLAVOR}
 
 .include <bsd.port.mk>