diff options
author | Marcus Boden <mboden@gwdg.de> | 2021-12-29 17:09:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 10:09:44 -0600 |
commit | 2018606c324e97e2201e69d413d4a7a50f80ae92 (patch) | |
tree | c08da1070a6e1496a71929cd7a456e97806b2ca6 | |
parent | eba3e1a20c6874a4ba7ce438959a631052e44076 (diff) | |
download | spack-2018606c324e97e2201e69d413d4a7a50f80ae92.tar.gz spack-2018606c324e97e2201e69d413d4a7a50f80ae92.tar.bz2 spack-2018606c324e97e2201e69d413d4a7a50f80ae92.tar.xz spack-2018606c324e97e2201e69d413d4a7a50f80ae92.zip |
new package: py-toposort (#28171)
* new package: py-toposort
* style fix
-rw-r--r-- | var/spack/repos/builtin/packages/py-toposort/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-toposort/package.py b/var/spack/repos/builtin/packages/py-toposort/package.py new file mode 100644 index 0000000000..87ff31df7e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-toposort/package.py @@ -0,0 +1,19 @@ +# Copyright 2013-2021 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 import * + + +class PyToposort(PythonPackage): + """Implements a topological sort algorithm.""" + + pypi = 'toposort/toposort-1.6.tar.gz' + + maintainers = ['marcusboden'] + + version('1.6', 'a7428f56ef844f5055bb9e9e44b343983773ae6dce0fe5b101e08e27ffbd50ac') + + depends_on('python@2.7:2.8,3.3:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |