summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-10-02 22:23:09 +0200
committerGitHub <noreply@github.com>2021-10-02 22:23:09 +0200
commitb65360f7217b49b8f8bc357d596adb061837842b (patch)
treec5aacbb49193f9d756a761ddf51cdd54c3ae5c7d
parent57803887e8e9b993b1c682962d469ce5c0d57f53 (diff)
downloadspack-b65360f7217b49b8f8bc357d596adb061837842b.tar.gz
spack-b65360f7217b49b8f8bc357d596adb061837842b.tar.bz2
spack-b65360f7217b49b8f8bc357d596adb061837842b.tar.xz
spack-b65360f7217b49b8f8bc357d596adb061837842b.zip
py-ipyevents: add new package (#26427)
-rw-r--r--var/spack/repos/builtin/packages/py-ipyevents/package.py21
1 files changed, 21 insertions, 0 deletions
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 0000000000..bdd4137074
--- /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'))