summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-05-20 09:09:35 +0200
committerGitHub <noreply@github.com>2024-05-20 09:09:35 +0200
commit8df2a4b511c91dc287c5e04709e7169413c4ceda (patch)
tree842a8a507040602c2e8c1297cd02c472f7cef7c9
parentc174cf6830f3819b70894af38a80739d5a081ba8 (diff)
downloadspack-8df2a4b511c91dc287c5e04709e7169413c4ceda.tar.gz
spack-8df2a4b511c91dc287c5e04709e7169413c4ceda.tar.bz2
spack-8df2a4b511c91dc287c5e04709e7169413c4ceda.tar.xz
spack-8df2a4b511c91dc287c5e04709e7169413c4ceda.zip
py-gdown: add new package (#44265)
-rw-r--r--var/spack/repos/builtin/packages/py-gdown/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gdown/package.py b/var/spack/repos/builtin/packages/py-gdown/package.py
new file mode 100644
index 0000000000..4c7e0cef98
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gdown/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2024 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 PyGdown(PythonPackage):
+ """Google Drive Public File/Folder Downloader."""
+
+ homepage = "https://github.com/wkentaro/gdown"
+ pypi = "gdown/gdown-5.2.0.tar.gz"
+
+ license("MIT")
+
+ version("5.2.0", sha256="2145165062d85520a3cd98b356c9ed522c5e7984d408535409fd46f94defc787")
+
+ with default_args(type="build"):
+ depends_on("py-hatchling@1.20:")
+ depends_on("py-hatch-vcs")
+ depends_on("py-hatch-fancy-pypi-readme")
+
+ with default_args(type=("build", "run")):
+ depends_on("py-filelock")
+ depends_on("py-requests+socks")
+ depends_on("py-tqdm")
+ depends_on("py-beautifulsoup4")