From c076aeb19271d90694013ae46ea4a432a113b29a Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Fri, 1 Oct 2021 01:33:28 +0200 Subject: [PATCH] py-jupyterlab: add new package (#26357) --- .../packages/py-jupyterlab-widgets/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-jupyterlab-widgets/package.py diff --git a/var/spack/repos/builtin/packages/py-jupyterlab-widgets/package.py b/var/spack/repos/builtin/packages/py-jupyterlab-widgets/package.py new file mode 100644 index 0000000000..4d85eb3659 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jupyterlab-widgets/package.py @@ -0,0 +1,20 @@ +# 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 PyJupyterlabWidgets(PythonPackage): + """A JupyterLab extension.""" + + homepage = "https://github.com/jupyter-widgets/ipywidgets" + pypi = "jupyterlab_widgets/jupyterlab_widgets-1.0.2.tar.gz" + + version('1.0.2', sha256='7885092b2b96bf189c3a705cc3c412a4472ec5e8382d0b47219a66cccae73cfa') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools@40.8.0:', type='build') + depends_on('py-jupyter-packaging@0.7.9:0.7.99', type='build') + depends_on('py-jupyterlab@3.0:3.99', type='build')