summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-01-04 16:14:59 -0500
committerGitHub <noreply@github.com>2022-01-04 15:14:59 -0600
commitcbe47f20667684c55a6c53310eb01ee3aadc337c (patch)
tree9ebcf0eed30295bb8badda9b7abc09d9f70027b7
parente43795de281a9598f236a73ba7399c7fa79e899b (diff)
downloadspack-cbe47f20667684c55a6c53310eb01ee3aadc337c.tar.gz
spack-cbe47f20667684c55a6c53310eb01ee3aadc337c.tar.bz2
spack-cbe47f20667684c55a6c53310eb01ee3aadc337c.tar.xz
spack-cbe47f20667684c55a6c53310eb01ee3aadc337c.zip
New package: py-fastdownload (#28150)
* [py-fastdownload] created template * [py-fastdownload] - added homepage - added description - added dependencies - removed fixmes
-rw-r--r--var/spack/repos/builtin/packages/py-fastdownload/package.py23
1 files changed, 23 insertions, 0 deletions
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'))