From b65360f7217b49b8f8bc357d596adb061837842b Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Sat, 2 Oct 2021 22:23:09 +0200 Subject: [PATCH] py-ipyevents: add new package (#26427) --- .../builtin/packages/py-ipyevents/package.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-ipyevents/package.py diff --git a/var/spack/repos/builtin/packages/py-ipyevents/package.py b/var/spack/repos/builtin/packages/py-ipyevents/package.py new file mode 100644 index 00000000000..bdd41370743 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ipyevents/package.py @@ -0,0 +1,21 @@ +# 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 PyIpyevents(PythonPackage): + """A custom widget for returning mouse and keyboard events to Python.""" + + homepage = "https://github.com/mwcraig/ipyevents" + pypi = "ipyevents/ipyevents-2.0.1.tar.gz" + + version('2.0.1', sha256='23eb2afab13d9056397f120a88051dd3beb067b698d08b33adffc9e077f019cb') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools@40.8:', type='build') + depends_on('py-jupyter-packaging@0.7.0:0.7', type='build') + depends_on('py-jupyterlab@3.0:3', type='build') + depends_on('py-ipywidgets@7.6:', type=('build', 'run'))