summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-matplotlib-inline/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-matplotlib-inline/package.py b/var/spack/repos/builtin/packages/py-matplotlib-inline/package.py
new file mode 100644
index 0000000000..e4a2408f1d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-matplotlib-inline/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 PyMatplotlibInline(PythonPackage):
+ """Inline Matplotlib backend for Jupyter."""
+
+ homepage = "https://github.com/martinRenou/matplotlib-inline"
+ pypi = "matplotlib-inline/matplotlib-inline-0.1.2.tar.gz"
+
+ version('0.1.2', sha256='f41d5ff73c9f5385775d5c0bc13b424535c8402fe70ea8210f93e11f3683993e')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-traitlets', type=('build', 'run'))