From 959df6bb1243b2bf10368248ca87fa177080883c Mon Sep 17 00:00:00 2001 From: Andrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com> Date: Tue, 2 Feb 2021 12:22:36 -0500 Subject: [PATCH] py-grandalf: new recipe (#21348) * py-grandalf: new recipe * py-grandalf: add runtime dependency * py-grandalf: add runtime dependency) --- .../builtin/packages/py-grandalf/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-grandalf/package.py 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')