summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-29 10:33:03 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-29 10:33:03 -0700
commit12dc64159fed52891b856580982475a08c62003d (patch)
treee5039d1d853aec6fec9240d7c83d4c7e7c5bae95
parent55099d89c16e3449cde98f63c3cbf7de9504e505 (diff)
downloadspack-12dc64159fed52891b856580982475a08c62003d.tar.gz
spack-12dc64159fed52891b856580982475a08c62003d.tar.bz2
spack-12dc64159fed52891b856580982475a08c62003d.tar.xz
spack-12dc64159fed52891b856580982475a08c62003d.zip
New package: py-pydotplus (#12537)
-rw-r--r--var/spack/repos/builtin/packages/py-pydotplus/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pydotplus/package.py b/var/spack/repos/builtin/packages/py-pydotplus/package.py
new file mode 100644
index 0000000000..6cdfae682c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pydotplus/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2019 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 PyPydotplus(PythonPackage):
+ """Python interface to Graphviz's Dot language"""
+
+ homepage = "https://pydotplus.readthedocs.io/"
+ url = "https://pypi.io/packages/source/p/pydotplus/pydotplus-2.0.2.tar.gz"
+
+ version('2.0.2', sha256='91e85e9ee9b85d2391ead7d635e3d9c7f5f44fd60a60e59b13e2403fa66505c4')
+
+ variant('docs', default=False, description='Build docs')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pyparsing@2.0.1:', type=('build', 'run'))
+ depends_on('py-pytest', type='test')
+ depends_on('py-sphinx', type='build', when='+docs')
+ depends_on('py-sphinx-rtd-theme', type='build', when='+docs')
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))