From cbe47f20667684c55a6c53310eb01ee3aadc337c Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Tue, 4 Jan 2022 16:14:59 -0500 Subject: New package: py-fastdownload (#28150) * [py-fastdownload] created template * [py-fastdownload] - added homepage - added description - added dependencies - removed fixmes --- .../builtin/packages/py-fastdownload/package.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-fastdownload/package.py diff --git a/var/spack/repos/builtin/packages/py-fastdownload/package.py b/var/spack/repos/builtin/packages/py-fastdownload/package.py new file mode 100644 index 0000000000..43023f68c7 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-fastdownload/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2021 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 import * + + +class PyFastdownload(PythonPackage): + """If you have datasets or other archives that you want to + make available to your users, and ensure they always have + the latest versions and that they are downloaded correctly, + fastdownload can help.""" + + homepage = "https://github.com/fastai/fastdownload/tree/master/" + pypi = "fastdownload/fastdownload-0.0.5.tar.gz" + + version('0.0.5', sha256='64e67af30690fa98ae1c8a1b52495769842f723565239a5430208ad05585af18') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-fastprogress', type=('build', 'run')) + depends_on('py-fastcore@1.3.26:', type=('build', 'run')) -- cgit v1.2.3-60-g2f50