git: 7635a940dc5c - main - math/[py-]dgl: remove optional dependency on removed misc/py-mxnet

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 02 Jun 2025 20:15:24 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7635a940dc5c37c9483af32f1dbe507aa5a22ac8

commit 7635a940dc5c37c9483af32f1dbe507aa5a22ac8
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-06-02 20:13:22 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-06-02 20:15:00 +0000

    math/[py-]dgl: remove optional dependency on removed misc/py-mxnet
---
 math/dgl/Makefile    | 6 +-----
 math/py-dgl/Makefile | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/math/dgl/Makefile b/math/dgl/Makefile
index 0af68a613b99..d84b0906e33f 100644
--- a/math/dgl/Makefile
+++ b/math/dgl/Makefile
@@ -45,7 +45,7 @@ BINARY_ALIAS=	make=${GMAKE} python3=${PYTHON_CMD}
 PLIST_FILES=	lib/libdgl_metis.so # workaround for https://github.com/dmlc/dgl/issues/5666
 
 OPTIONS_RADIO=			BACKEND
-OPTIONS_RADIO_BACKEND=		PYTORCH TENSORFLOW MXNET
+OPTIONS_RADIO_BACKEND=		PYTORCH TENSORFLOW
 OPTIONS_DEFAULT=		PYTORCH
 
 PYTORCH_DESC=			Use PyTorch backend
@@ -57,10 +57,6 @@ TENSORFLOW_VARS=		BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}tensorflow>0:science/py
 TENSORFLOW_MAKE_ENV=		DGLBACKEND=tensorflow
 TENSORFLOW_CMAKE_ON=		-DBUILD_SPARSE=OFF
 
-MXNET_DESC=			Use MXNET backend
-MXNET_VARS=			BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}mxnet>0:misc/py-mxnet@${PY_FLAVOR}
-MXNET_MAKE_ENV=			DGLBACKEND=mxnet
-
 post-install: # workaround for https://github.com/dmlc/dgl/issues/5666
 	${INSTALL_LIB} ${BUILD_WRKSRC}/third_party/METIS/libmetis/libdgl_metis.so ${STAGEDIR}${PREFIX}/lib
 
diff --git a/math/py-dgl/Makefile b/math/py-dgl/Makefile
index f94131bdde5c..27dda64c03dc 100644
--- a/math/py-dgl/Makefile
+++ b/math/py-dgl/Makefile
@@ -35,7 +35,7 @@ MAKE_ENV=	DGL_LIBRARY_PATH=${LOCALBASE}/lib
 POST_PLIST=	fix-plist
 
 OPTIONS_RADIO=			BACKEND
-OPTIONS_RADIO_BACKEND=		PYTORCH TENSORFLOW MXNET
+OPTIONS_RADIO_BACKEND=		PYTORCH TENSORFLOW
 OPTIONS_DEFAULT=		PYTORCH
 
 PYTORCH_DESC=			Use PyTorch backend
@@ -46,10 +46,6 @@ TENSORFLOW_DESC=		Use TensorFlow backend
 TENSORFLOW_VARS=		BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}tensorflow>0:science/py-tensorflow@${PY_FLAVOR}
 TENSORFLOW_MAKE_ENV=		DGLBACKEND=tensorflow
 
-MXNET_DESC=			Use MXNET backend
-MXNET_VARS=			BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}mxnet>0:misc/py-mxnet@${PY_FLAVOR}
-MXNET_MAKE_ENV=			DGLBACKEND=mxnet
-
 post-install:
 	# workaround for https://github.com/dmlc/dgl/issues/5665
 	@${RM} ${STAGEDIR}${PREFIX}/dgl/libdgl.so