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 <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
		
							
								
								
									
										20
									
								
								var/spack/repos/builtin/packages/py-littleutils/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								var/spack/repos/builtin/packages/py-littleutils/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| # 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 PyLittleutils(PythonPackage): | ||||
|     """Small personal collection of python utility functions, partly just for | ||||
|     fun.""" | ||||
| 
 | ||||
|     homepage = "https://github.com/alexmojaki/littleutils" | ||||
|     pypi = "littleutils/littleutils-0.2.2.tar.gz" | ||||
| 
 | ||||
|     maintainers("meyersbs") | ||||
| 
 | ||||
|     version("0.2.2", sha256="e6cae3a4203e530d51c9667ed310ffe3b1948f2876e3d69605b3de4b7d96916f") | ||||
| 
 | ||||
|     depends_on("py-setuptools", type="build") | ||||
							
								
								
									
										33
									
								
								var/spack/repos/builtin/packages/py-ogb/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								var/spack/repos/builtin/packages/py-ogb/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -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")) | ||||
							
								
								
									
										23
									
								
								var/spack/repos/builtin/packages/py-outdated/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								var/spack/repos/builtin/packages/py-outdated/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| # 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 PyOutdated(PythonPackage): | ||||
|     """This is a mini-library which, given a package name and a version, checks if | ||||
|     it's the latest version available on PyPI.""" | ||||
| 
 | ||||
|     homepage = "http://github.com/alexmojaki/outdated" | ||||
|     pypi = "outdated/outdated-0.2.2.tar.gz" | ||||
| 
 | ||||
|     maintainers("meyersbs") | ||||
| 
 | ||||
|     version("0.2.2", sha256="4b7fdec88e36711120d096d485fc4d5035e4e5ffbd907cf3a6ce2af43058b970") | ||||
| 
 | ||||
|     depends_on("py-setuptools@44:", type=("build", "run")) | ||||
|     depends_on("py-setuptools-scm@3.4.3:+toml", type="build") | ||||
|     depends_on("py-littleutils", type=("build", "run")) | ||||
|     depends_on("py-requests", type=("build", "run")) | ||||
		Reference in New Issue
	
	Block a user
	 Benjamin Meyers
					Benjamin Meyers