summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-08-20 06:35:55 -0500
committerGitHub <noreply@github.com>2021-08-20 13:35:55 +0200
commit1d2798dd77c261573d24b8e41775b0a1b98c2a5b (patch)
treef307d8f5d05f5a3f93e3cf497598b0637f80fe58
parent6ce0d934cfe8b9e93a833ff1d31915ffd14c643d (diff)
downloadspack-1d2798dd77c261573d24b8e41775b0a1b98c2a5b.tar.gz
spack-1d2798dd77c261573d24b8e41775b0a1b98c2a5b.tar.bz2
spack-1d2798dd77c261573d24b8e41775b0a1b98c2a5b.tar.xz
spack-1d2798dd77c261573d24b8e41775b0a1b98c2a5b.zip
py-matplotlib-inline: add new package (#25524)
-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'))