From 0618cb98d12c54ea2639fc8d1c91d26b1eceec9e Mon Sep 17 00:00:00 2001
From: Jeremy Fix <jeremy.fix@centralesupelec.fr>
Date: Sun, 25 Feb 2024 14:34:23 +0100
Subject: 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>
---
 .../builtin/packages/py-ipyvuetify/package.py      | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/py-ipyvuetify/package.py

(limited to 'var')

diff --git a/var/spack/repos/builtin/packages/py-ipyvuetify/package.py b/var/spack/repos/builtin/packages/py-ipyvuetify/package.py
new file mode 100644
index 0000000000..a0706c0b3d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ipyvuetify/package.py
@@ -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"))
-- 
cgit v1.2.3-70-g09d2