py-ipyvuetify: new package (#42836)

* py-ipyvuetify: new package

* Limit py-jupyter-packing version to 0.7.x

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

* Fix py-jupyterlab version and type

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

* Fix py-ipyvue version range to exclude 2

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

* rm py-wheel, already considered for PythonPackage

* fix: pynpm only required for build, reorder dependencies as in the pyproject.toml

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Jeremy Fix 2024-02-25 14:34:23 +01:00 committed by GitHub
parent 3b4a27ce7b
commit 0618cb98d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,30 @@
# 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 PyIpyvuetify(PythonPackage):
"""
Jupyter widgets based on vuetify UI components which implement Google's
Material Design Spec with the Vue.js framework.
"""
homepage = "https://github.com/widgetti/ipyvuetify/tree/master"
pypi = "ipyvuetify/ipyvuetify-1.9.0.tar.gz"
license("MIT")
maintainers("jeremyfix")
version("1.9.0", sha256="9c537e218299de32194b1da949d6b96bffe6c00f36bb6035409f2485feb881e7")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools@40.8.0:", type="build")
depends_on("py-jupyter-packaging@0.7.9:0.7", type="build")
depends_on("py-jupyterlab@3", type="build")
depends_on("py-pynpm", type="build")
depends_on("py-ipyvue@1.7:1", type=("build", "run"))