summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-01-18 15:44:29 -0500
committerGitHub <noreply@github.com>2022-01-18 13:44:29 -0700
commitcac86345e52765953ce61edde8c7be0cd5672148 (patch)
tree79e785540573da2046e44a44cf380ea75e9a6546 /var
parentb5bb06cc36fb927903e29715e2fb570703dc30d1 (diff)
downloadspack-cac86345e52765953ce61edde8c7be0cd5672148.tar.gz
spack-cac86345e52765953ce61edde8c7be0cd5672148.tar.bz2
spack-cac86345e52765953ce61edde8c7be0cd5672148.tar.xz
spack-cac86345e52765953ce61edde8c7be0cd5672148.zip
New package: py-fastai (#28151)
* [py-fastai] new package * [py-fastai] flake8 * [py-fastai] added dependencies from settings.ini * [py-fastai] py-pillow -> pil * [py-fastai] set version for py-setuptools * [py-fastai] removed .999 Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-fastai/package.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-fastai/package.py b/var/spack/repos/builtin/packages/py-fastai/package.py
new file mode 100644
index 0000000000..2b4a88151f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fastai/package.py
@@ -0,0 +1,39 @@
+# 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 PyFastai(PythonPackage):
+ """You can use fastai without any installation by using
+ Google Colab. In fact, every page of this documentation is
+ also available as an interactive notebook - click "Open in
+ colab" at the top of any page to open it (be sure to change
+ the Colab runtime to "GPU" to have it run fast!) See the
+ fast.ai documentation on Using Colab for more
+ information."""
+
+ homepage = "https://github.com/fastai/fastai/tree/master/"
+ pypi = "fastai/fastai-2.5.3.tar.gz"
+
+ version('2.5.3', sha256='0cae50617979b052f0ed7337800e6814ee346b792203cf48305709c935e8eeb7')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools@36.2:', type='build')
+ depends_on('py-pip', type='build')
+ depends_on('py-packaging', type='build')
+ depends_on('py-fastdownload@0.0.5:1', type=('build', 'run'))
+ depends_on('py-fastcore@1.3.22:1.3', type=('build', 'run'))
+ depends_on('py-torchvision@0.8.2:', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-pandas', type=('build', 'run'))
+ depends_on('py-requests', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-fastprogress@0.2.4:', type=('build', 'run'))
+ depends_on('pil@6.0.1:', type=('build', 'run'))
+ depends_on('py-scikit-learn', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-spacy@:3', type=('build', 'run'))
+ depends_on('py-torch@1.7.0:1.10', type=('build', 'run'))