From 8df2a4b511c91dc287c5e04709e7169413c4ceda Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 20 May 2024 09:09:35 +0200 Subject: py-gdown: add new package (#44265) --- .../repos/builtin/packages/py-gdown/package.py | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-gdown/package.py (limited to 'var') 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") -- cgit v1.2.3-70-g09d2