Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2024 04:20:23 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0712f6ed9a50 - main - graphics/py-imagecodecs: Add ALL option
Message-ID:  <202407250420.46P4KNqG089581@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0712f6ed9a500118f7608043b9cc6c733952d0d1

commit 0712f6ed9a500118f7608043b9cc6c733952d0d1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-25 04:18:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-25 04:18:16 +0000

    graphics/py-imagecodecs: Add ALL option
---
 graphics/py-imagecodecs/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/graphics/py-imagecodecs/Makefile b/graphics/py-imagecodecs/Makefile
index 5070269f21fc..54e1fa2c0647 100644
--- a/graphics/py-imagecodecs/Makefile
+++ b/graphics/py-imagecodecs/Makefile
@@ -33,6 +33,14 @@ USE_PYTHON=	autoplist concurrent pep517
 
 CPPFLAGS+=	-I${LOCALBASE}/include/jxrlib -I${LOCALBASE}/include/openjpeg-2.5
 
+OPTIONS_DEFINE=	ALL
+ALL_DESC=	All optional dependencies
+
+# Remove graphics/py-tifffile from RUN_DEPENDS to avoid cyclic dependency
+ALL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}numcodecs>=0:misc/py-numcodecs@${PY_FLAVOR}
+#			${PYTHON_PKGNAMEPREFIX}tifffile>=0:graphics/py-tifffile@${PY_FLAVOR}
+
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407250420.46P4KNqG089581>