py-ipyevents: add new package (#26427)

This commit is contained in:
Manuela Kuhn 2021-10-02 22:23:09 +02:00 committed by GitHub
parent 57803887e8
commit b65360f721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'))