summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com>2021-02-02 12:22:36 -0500
committerGitHub <noreply@github.com>2021-02-02 11:22:36 -0600
commit959df6bb1243b2bf10368248ca87fa177080883c (patch)
tree29f6108d68cf3ddae3ebaedaf8637f7a16e56952
parent59a54905eabc2c601217621fab457a13b32b29ce (diff)
downloadspack-959df6bb1243b2bf10368248ca87fa177080883c.tar.gz
spack-959df6bb1243b2bf10368248ca87fa177080883c.tar.bz2
spack-959df6bb1243b2bf10368248ca87fa177080883c.tar.xz
spack-959df6bb1243b2bf10368248ca87fa177080883c.zip
py-grandalf: new recipe (#21348)
* py-grandalf: new recipe * py-grandalf: add runtime dependency * py-grandalf: add runtime dependency)
-rw-r--r--var/spack/repos/builtin/packages/py-grandalf/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-grandalf/package.py b/var/spack/repos/builtin/packages/py-grandalf/package.py
new file mode 100644
index 0000000000..a4e98b1776
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-grandalf/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2020 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 PyGrandalf(PythonPackage):
+ """Grandalf is a Python package made for experimentations with graph
+ drawing algorithms."""
+
+ homepage = "https://github.com/bdcht/grandalf"
+ url = "https://github.com/bdcht/grandalf/archive/v0.7.tar.gz"
+
+ version('0.7', sha256='b3112299fe0a9123c088a16bf2f1b541d0d91199b77170a9739b569bd16a828e')
+ version('0.6', sha256='928db4b90f7aff01e252a833951086b20d5958c00083411193c794de7bf59df2')
+
+ depends_on('python@3:', type=('build', 'run'))
+ depends_on('py-pyparsing', type=('build', 'run'))
+ depends_on('py-pytest-runner', type='build')
+ depends_on('py-setuptools', type='build')