diff options
author | Jen Herting <jen@herting.cc> | 2021-12-23 16:11:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-23 14:11:17 -0700 |
commit | 15951f0e6b4905ef8462e759414c76881c929cab (patch) | |
tree | 150fc88be8d55c4c2327d06a3a710bde96e5365a /var | |
parent | 1c3881b48ab4c38e29cf166ae897a753713128fe (diff) | |
download | spack-15951f0e6b4905ef8462e759414c76881c929cab.tar.gz spack-15951f0e6b4905ef8462e759414c76881c929cab.tar.bz2 spack-15951f0e6b4905ef8462e759414c76881c929cab.tar.xz spack-15951f0e6b4905ef8462e759414c76881c929cab.zip |
New package: py-fastcore (#28148)
* [py-fastcore] created template
* [py-fastcore]
- added dependencies
- added homepage
- added description
- removed fixmes
* [py-fastcore] depends on setuptools
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-fastcore/package.py | 29 |
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') |