Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2023 00:18:11 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c45a00c31fc7 - main - misc/py-torch-geometric: New port: Graph neural network library for PyTorch
Message-ID:  <202305300018.34U0IBj8047290@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit c45a00c31fc7d190c300f4dde4dbdb4a949fc30a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-05-29 23:46:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-05-30 00:18:07 +0000

    misc/py-torch-geometric: New port: Graph neural network library for PyTorch
---
 misc/Makefile                     |  1 +
 misc/py-torch-geometric/Makefile  | 32 ++++++++++++++++++++++++++++++++
 misc/py-torch-geometric/distinfo  |  3 +++
 misc/py-torch-geometric/pkg-descr | 12 ++++++++++++
 4 files changed, 48 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 8c05866b6585..a65f73d0d3e3 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -467,6 +467,7 @@
     SUBDIR += py-tflite
     SUBDIR += py-tflite-support
     SUBDIR += py-toil
+    SUBDIR += py-torch-geometric
     SUBDIR += py-torchvision
     SUBDIR += py-tqdm
     SUBDIR += py-tvm
diff --git a/misc/py-torch-geometric/Makefile b/misc/py-torch-geometric/Makefile
new file mode 100644
index 000000000000..eb87968fba2e
--- /dev/null
+++ b/misc/py-torch-geometric/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	torch-geometric
+DISTVERSION=	2.3.1
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Graph neural network library for PyTorch
+WWW=		https://pyg.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYNUMPY}  \
+		${PYTHON_PKGNAMEPREFIX}psutil>=5.8.0:sysutils/py-psutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${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}
+BUILD_DEPENDS=	${PY_DEPENDS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.7+
+USE_PYTHON=	pep517 autoplist pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-torch-geometric/distinfo b/misc/py-torch-geometric/distinfo
new file mode 100644
index 000000000000..bd2587a23655
--- /dev/null
+++ b/misc/py-torch-geometric/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1685400945
+SHA256 (torch_geometric-2.3.1.tar.gz) = 454fd0bbc128a17a4b9d15010ba9f66d48ec8cd7277991b888a7770263fa125d
+SIZE (torch_geometric-2.3.1.tar.gz) = 661639
diff --git a/misc/py-torch-geometric/pkg-descr b/misc/py-torch-geometric/pkg-descr
new file mode 100644
index 000000000000..b8a47aa9a745
--- /dev/null
+++ b/misc/py-torch-geometric/pkg-descr
@@ -0,0 +1,12 @@
+PyG (PyTorch Geometric) is a library built upon PyTorch to easily write and
+train Graph Neural Networks (GNNs) for a wide range of applications related
+to structured data.
+
+It consists of various methods for deep learning on graphs and other irregular
+structures, also known as geometric deep learning, from a variety of published
+papers. In addition, it consists of easy-to-use mini-batch loaders for
+operating on many small and single giant graphs, multi GPU-support,
+torch.compile support, DataPipe support, a large number of common benchmark
+datasets (based on simple interfaces to create your own), the GraphGym
+experiment manager, and helpful transforms, both for learning on arbitrary
+graphs as well as on 3D meshes or point clouds.



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