summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-fastcore/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-fastcore/package.py b/var/spack/repos/builtin/packages/py-fastcore/package.py
new file mode 100644
index 0000000000..28ffd952e7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fastcore/package.py
@@ -0,0 +1,29 @@
+# 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 PyFastcore(PythonPackage):
+ """Python is a powerful, dynamic language. Rather than bake
+ everything into the language, it lets the programmer
+ customize it to make it work for them. fastcore uses this
+ flexibility to add to Python features inspired by other
+ languages we've loved, like multiple dispatch from Julia,
+ mixins from Ruby, and currying, binding, and more from
+ Haskell. It also adds some "missing features" and clean up
+ some rough edges in the Python standard library, such as
+ simplifying parallel processing, and bringing ideas from
+ NumPy over to Python's list type."""
+
+ homepage = "https://github.com/fastai/fastcore/tree/master/"
+ pypi = "fastcore/fastcore-1.3.27.tar.gz"
+
+ version('1.3.27', sha256='0161f538d5b913932869a46bb90e98193eee79b8798b566272a394f7ef957243')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pip', type='build')
+ depends_on('py-packaging', type='build')