py-reacton: new package (#42794)

* adds the spack recipe for reacton python package

* Fix versions for ipywidgets and typing-extensions

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Jeremy Fix 2024-02-23 13:48:06 +01:00 committed by GitHub
parent a26e0ff999
commit 4bd305b6d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,28 @@
# Copyright 2013-2023 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.package import *
class PyReacton(PythonPackage):
"""
A way to write reusable components in a React-like way, to make Python-based UI's using
the ipywidgets ecosystem (ipywidgets, ipyvolume, bqplot, threejs, leaflet, ipyvuetify, ...).
"""
homepage = "https://reacton.solara.dev/en/latest/"
pypi = "reacton/reacton-1.8.2.tar.gz"
license("MIT")
maintainers("jeremyfix")
version("1.8.2", sha256="eaa4eeeffd11688d2b60a49a9895fd299f2ecbe8614f1ad61d144c56edaf7304")
depends_on("py-hatchling", type="build")
depends_on("py-ipywidgets", type=("build", "run"))
depends_on("py-typing-extensions@4.1.1:", type=("build", "run"))