From 15951f0e6b4905ef8462e759414c76881c929cab Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Thu, 23 Dec 2021 16:11:17 -0500 Subject: New package: py-fastcore (#28148) * [py-fastcore] created template * [py-fastcore] - added dependencies - added homepage - added description - removed fixmes * [py-fastcore] depends on setuptools --- .../repos/builtin/packages/py-fastcore/package.py | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-fastcore/package.py 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') -- cgit v1.2.3-70-g09d2