summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2023-08-29 14:08:54 -0400
committerGitHub <noreply@github.com>2023-08-29 14:08:54 -0400
commit4eee3c12c15f6d8f788352e4ee7aee1a86fccfbc (patch)
tree62284458f89dd31514bde348efbd5e3208ca2232 /var
parent3e5f9a213859c90faa2ebd8cbb6c35677d6c6ffd (diff)
downloadspack-4eee3c12c15f6d8f788352e4ee7aee1a86fccfbc.tar.gz
spack-4eee3c12c15f6d8f788352e4ee7aee1a86fccfbc.tar.bz2
spack-4eee3c12c15f6d8f788352e4ee7aee1a86fccfbc.tar.xz
spack-4eee3c12c15f6d8f788352e4ee7aee1a86fccfbc.zip
[py-gradio] New package (#39304)
* [py-gradio] New package * [py-gradio] added deps from requirements.txt * [py-gradio] py-pillow -> pil
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-gradio/package.py46
1 files changed, 46 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gradio/package.py b/var/spack/repos/builtin/packages/py-gradio/package.py
new file mode 100644
index 0000000000..43f9b74c4e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gradio/package.py
@@ -0,0 +1,46 @@
+# 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 PyGradio(PythonPackage):
+ """Python library for easily interacting with trained machine learning models"""
+
+ homepage = "https://github.com/gradio-app/gradio"
+ pypi = "gradio/gradio-3.36.1.tar.gz"
+
+ version("3.36.1", sha256="1d821cee15da066c24c197248ba9aaed5f5e59505d17754561c2f96f90e73a89")
+
+ 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.0:", type="build")
+ depends_on("py-aiofiles", type=("build", "run"))
+ depends_on("py-aiohttp", type=("build", "run"))
+ depends_on("py-altair@4.2.0:", type=("build", "run"))
+ depends_on("py-fastapi", type=("build", "run"))
+ depends_on("py-ffmpy", type=("build", "run"))
+ depends_on("py-gradio-client@0.2.7:", type=("build", "run"))
+ depends_on("py-httpx", type=("build", "run"))
+ depends_on("py-huggingface-hub@0.14.0:", type=("build", "run"))
+ depends_on("py-jinja2", type=("build", "run"))
+ depends_on("py-markdown-it-py@2.0.0:+linkify", type=("build", "run"))
+ depends_on("py-pygments@2.12.0:", type=("build", "run"))
+ depends_on("py-mdit-py-plugins@:0.3.3", type=("build", "run"))
+ depends_on("py-markupsafe", type=("build", "run"))
+ depends_on("py-matplotlib", type=("build", "run"))
+ depends_on("py-numpy", type=("build", "run"))
+ depends_on("py-orjson", type=("build", "run"))
+ depends_on("py-pandas", type=("build", "run"))
+ depends_on("pil", type=("build", "run"))
+ depends_on("py-pydantic", type=("build", "run"))
+ depends_on("py-python-multipart", type=("build", "run"))
+ depends_on("py-pydub", type=("build", "run"))
+ depends_on("py-pyyaml", type=("build", "run"))
+ depends_on("py-requests", type=("build", "run"))
+ depends_on("py-semantic-version", type=("build", "run"))
+ depends_on("py-uvicorn@0.14.0:", type=("build", "run"))
+ depends_on("py-websockets@10.0:", type=("build", "run"))