From accbf2cffc6801daa6a2732ea308d8c2fc836eea Mon Sep 17 00:00:00 2001 From: Benjamin Meyers Date: Tue, 18 Apr 2023 12:08:57 -0400 Subject: New packages: py-ogb, py-outdated, py-littleutils (#36824) * New packages: py-ogb, py-outdated, py-littleutils * Update var/spack/repos/builtin/packages/py-outdated/package.py Co-authored-by: Adam J. Stewart --------- Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/py-ogb/package.py | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-ogb/package.py (limited to 'var/spack/repos/builtin/packages/py-ogb/package.py') diff --git a/var/spack/repos/builtin/packages/py-ogb/package.py b/var/spack/repos/builtin/packages/py-ogb/package.py new file mode 100644 index 0000000000..b8362aae76 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ogb/package.py @@ -0,0 +1,33 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyOgb(PythonPackage): + """The Open Graph Benchmark (OGB) is a collection of benchmark datasets, data + loaders, and evaluators for graph machine learning. Datasets cover a variety of + graph machine learning tasks and real-world applications. The OGB data loaders + are fully compatible with popular graph deep learning frameworks, including + PyTorch Geometric and Deep Graph Library (DGL). They provide automatic dataset + downloading, standardized dataset splits, and unified performance evaluation. + """ + + homepage = "https://github.com/snap-stanford/ogb" + pypi = "ogb/ogb-1.3.5.tar.gz" + + maintainers("meyersbs") + + version("1.3.5", sha256="ac958094ac3019822e742155b82cb2bf02830aa72a4264ba9ee09b288f0c080c") + + depends_on("py-setuptools", type="build") + depends_on("py-torch@1.6.0:", type=("build", "run")) + depends_on("py-numpy@1.16.0:", type=("build", "run")) + depends_on("py-tqdm@4.29.0:", type=("build", "run")) + depends_on("py-scikit-learn@0.20.0:", type=("build", "run")) + depends_on("py-pandas@0.24.0:", type=("build", "run")) + depends_on("py-six@1.12.0:", type=("build", "run")) + depends_on("py-urllib3@1.24.0:", type=("build", "run")) + depends_on("py-outdated@0.2.0:", type=("build", "run")) -- cgit v1.2.3-70-g09d2