summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2023-08-18 13:03:37 -0400
committerGitHub <noreply@github.com>2023-08-18 12:03:37 -0500
commitb2b00df5cc9dcae2bc6e73c24df9cb4e0f37b19d (patch)
tree1855307f6c3c21d679f451417163f337c25002be
parent114e5d47675c8e3f8b29398d0889754f4ec210a4 (diff)
downloadspack-b2b00df5cc9dcae2bc6e73c24df9cb4e0f37b19d.tar.gz
spack-b2b00df5cc9dcae2bc6e73c24df9cb4e0f37b19d.tar.bz2
spack-b2b00df5cc9dcae2bc6e73c24df9cb4e0f37b19d.tar.xz
spack-b2b00df5cc9dcae2bc6e73c24df9cb4e0f37b19d.zip
[py-gradio-client] New package (#39496)
-rw-r--r--var/spack/repos/builtin/packages/py-gradio-client/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gradio-client/package.py b/var/spack/repos/builtin/packages/py-gradio-client/package.py
new file mode 100644
index 0000000000..bcedd71047
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gradio-client/package.py
@@ -0,0 +1,27 @@
+# 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 PyGradioClient(PythonPackage):
+ """Python library for easily interacting with trained machine learning models"""
+
+ homepage = "https://github.com/gradio-app/gradio"
+ pypi = "gradio_client/gradio_client-0.2.9.tar.gz"
+
+ version("0.2.9", sha256="d4071709ab45a3dbacdbd0797fde5d66d87a98424559e060d576fbe9b0171f4d")
+
+ depends_on("python@3.8:", type=("build", "run"))
+ depends_on("py-hatchling", type="build")
+ depends_on("py-hatch-requirements-txt", type="build")
+ depends_on("py-hatch-fancy-pypi-readme@22.5:", type="build")
+ depends_on("py-requests", type=("build", "run"))
+ depends_on("py-websockets", type=("build", "run"))
+ depends_on("py-packaging", type=("build", "run"))
+ depends_on("py-fsspec", type=("build", "run"))
+ depends_on("py-huggingface-hub@0.13:", type=("build", "run"))
+ depends_on("py-typing-extensions", type=("build", "run"))
+ depends_on("py-httpx", type=("build", "run"))