summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-04-19 18:12:06 +0200
committerGitHub <noreply@github.com>2022-04-19 11:12:06 -0500
commit63600c0d0d6a3a87e3ea9f59fbd7bfbe109c4cc1 (patch)
tree7033e045b767265a326d1d90a18bacf7a030640b
parentbeaf1c7fcc5e911052608f0eedd22414715f70e6 (diff)
downloadspack-63600c0d0d6a3a87e3ea9f59fbd7bfbe109c4cc1.tar.gz
spack-63600c0d0d6a3a87e3ea9f59fbd7bfbe109c4cc1.tar.bz2
spack-63600c0d0d6a3a87e3ea9f59fbd7bfbe109c4cc1.tar.xz
spack-63600c0d0d6a3a87e3ea9f59fbd7bfbe109c4cc1.zip
py-ipympl: Add new package (#29442)
* py-ipympl: Add new package * Update var/spack/repos/builtin/packages/py-ipympl/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-ipympl/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-ipympl/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-ipympl/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Remove trailing whitespaces Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-ipympl/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ipympl/package.py b/var/spack/repos/builtin/packages/py-ipympl/package.py
new file mode 100644
index 0000000000..ee8b0ab420
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ipympl/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2022 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 PyIpympl(PythonPackage):
+ """Matplotlib Jupyter Extension."""
+
+ homepage = "https://github.com/matplotlib/ipympl"
+ pypi = "ipympl/ipympl-0.8.8.tar.gz"
+ maintainers = ['haralmha']
+
+ version('0.8.8', sha256='5bf5d780b07fafe7924922ac6b2f3abd22721f341e5e196b3b82737dfbd0e1c9')
+
+ depends_on('py-setuptools@40.8:', type='build')
+ depends_on('py-ipython@:8', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-ipython-genutils', type=('build', 'run'))
+ depends_on('pil', type=('build', 'run'))
+ depends_on('py-traitlets@:5', type=('build', 'run'))
+ depends_on('py-ipywidgets@7.6:7', type=('build', 'run'))
+ depends_on('py-matplotlib@2:3', type=('build', 'run'))
+ # TODO: replace this after concretizer learns how to concretize separate build deps
+ depends_on('py-jupyter-packaging7', type='build')
+ # depends_on('py-jupyter-packaging@0.7', type='build')
+ depends_on('py-jupyterlab@3', type='build')
+ depends_on('yarn', type='build')