summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-pygraphviz/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pygraphviz/package.py b/var/spack/repos/builtin/packages/py-pygraphviz/package.py
new file mode 100644
index 0000000000..072d36aa1f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pygraphviz/package.py
@@ -0,0 +1,21 @@
+# 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 PyPygraphviz(PythonPackage):
+ """Python interface to Graphviz"""
+
+ homepage = "https://pygraphviz.github.io/"
+ pypi = "pygraphviz/pygraphviz-1.7.zip"
+
+ maintainers = ['haralmha']
+
+ version('1.7', sha256='a7bec6609f37cf1e64898c59f075afd659106cf9356c5f387cecaa2e0cdb2304')
+
+ depends_on('python@3.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('graphviz')