py-ipycanvas: new package (#26426)

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

View File

@ -0,0 +1,23 @@
# 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 PyIpycanvas(PythonPackage):
"""Interactive Canvas in Jupyter."""
homepage = "https://github.com/martinRenou/ipycanvas"
pypi = "ipycanvas/ipycanvas-0.9.0.tar.gz"
version('0.9.0', sha256='f29e56b93fe765ceace0676c3e75d44e02a3ff6c806f3b7e5b869279f470cc43')
depends_on('python@3.5:', 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'))
depends_on('pil@6:', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))