git: 09c9092ab92d - main - misc/py-torch-geometric: update 2.5.3 → 2.6.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 15 Sep 2024 17:50:21 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=09c9092ab92d9c8674cde07feca4f95fc9928104

commit 09c9092ab92d9c8674cde07feca4f95fc9928104
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-15 17:49:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-15 17:50:11 +0000

    misc/py-torch-geometric: update 2.5.3 → 2.6.0
    
    Reported by:    portscout
---
 misc/py-torch-geometric/Makefile | 19 +++++++++++++++----
 misc/py-torch-geometric/distinfo |  6 +++---
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/misc/py-torch-geometric/Makefile b/misc/py-torch-geometric/Makefile
index dddf13a62a11..477e3af35fb3 100644
--- a/misc/py-torch-geometric/Makefile
+++ b/misc/py-torch-geometric/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	torch-geometric
-DISTVERSION=	2.5.3
+DISTVERSION=	2.6.0
 CATEGORIES=	misc python # machine-learning
 #MASTER_SITES=	PYPI # no tests
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -25,11 +25,22 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
-#TEST_DEPENDS additionally needs misc/py-torch-sparse, misc/py-pyg_lib, math/py-faiss, etc. for some skipped tests
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}faiss>0:math/py-faiss@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}huggingface-hub>0:misc/py-huggingface-hub@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytorch-lightning>0:misc/py-pytorch-lightning@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}torchmetrics>0:misc/py-torchmetrics@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}torchvision>0:misc/py-torchvision@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wandb>0:misc/py-wandb@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yacs>0:devel/py-yacs@${PY_FLAVOR}
+#TEST_DEPENDS additionally needs misc/py-torch-sparse, misc/py-pyg_lib, etc. for some skipped tests
 
 USES=		python
-USE_PYTHON=	pep517 autoplist pytest
+USE_PYTHON=	pep517 autoplist pytest # 27 tests fail, see https://github.com/pyg-team/pytorch_geometric/issues/9660
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	pyg-team
diff --git a/misc/py-torch-geometric/distinfo b/misc/py-torch-geometric/distinfo
index 8b54e8a8ffc5..9353ff95228a 100644
--- a/misc/py-torch-geometric/distinfo
+++ b/misc/py-torch-geometric/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713636649
-SHA256 (pyg-team-pytorch_geometric-2.5.3_GH0.tar.gz) = d63da28498c32911d42798e972e4c627faef0c1afe362fefef74d8287f1f6330
-SIZE (pyg-team-pytorch_geometric-2.5.3_GH0.tar.gz) = 3796898
+TIMESTAMP = 1726401883
+SHA256 (pyg-team-pytorch_geometric-2.6.0_GH0.tar.gz) = b685b6a64bf868ea349dc359dd7df7cdb6deff7ade6ab46366177e98d64a33c4
+SIZE (pyg-team-pytorch_geometric-2.6.0_GH0.tar.gz) = 3854004