diff options
author | Luke Diorio-Toth <ldioriototh@gmail.com> | 2022-11-26 16:57:45 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-26 15:57:45 -0700 |
commit | 0b01c8c950c88810d802c8c1068de3921820e8f1 (patch) | |
tree | d1a21e418440a293ec01a8cbc2f5b0e7dce9f4e7 /var | |
parent | 613d0b7e8ed4bf5c2650b9796982651fc509dec1 (diff) | |
download | spack-0b01c8c950c88810d802c8c1068de3921820e8f1.tar.gz spack-0b01c8c950c88810d802c8c1068de3921820e8f1.tar.bz2 spack-0b01c8c950c88810d802c8c1068de3921820e8f1.tar.xz spack-0b01c8c950c88810d802c8c1068de3921820e8f1.zip |
py-fastpath: new package (#34142)
* py-fastpath: new package
* Update var/spack/repos/builtin/packages/py-fastpath/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-fastpath/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-fastpath/package.py b/var/spack/repos/builtin/packages/py-fastpath/package.py new file mode 100644 index 0000000000..47388ed410 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-fastpath/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2022 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 PyFastpath(PythonPackage): + """Fastpath is a fast and lightweight tool for finding the shortest path in + a weighted graph. As input it only needs the starting node, the ending node, + and the weights of each node to node edge.""" + + homepage = "https://github.com/deprekate/fastpath" + pypi = "fastpath/fastpath-1.9.tar.gz" + + version("1.9", sha256="3372d306a3c4e4e764b3995946132333726a229e9002879b9112779dd442b31a") + + depends_on("python@3.5.3:", type=("build", "run")) + depends_on("py-setuptools", type="build") |