From f777cc079d36e91a0f3db4099e2ff002e9dc12bf Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Fri, 12 Nov 2021 06:22:51 +0100 Subject: py-formulaic: add new package (#27373) --- .../repos/builtin/packages/py-formulaic/package.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-formulaic/package.py diff --git a/var/spack/repos/builtin/packages/py-formulaic/package.py b/var/spack/repos/builtin/packages/py-formulaic/package.py new file mode 100644 index 0000000000..6f183828db --- /dev/null +++ b/var/spack/repos/builtin/packages/py-formulaic/package.py @@ -0,0 +1,26 @@ +# 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 PyFormulaic(PythonPackage): + """Formulaic is a high-performance implementation of Wilkinson formulas + for Python.""" + + homepage = "https://github.com/matthewwardrop/formulaic" + pypi = "formulaic/formulaic-0.2.4.tar.gz" + + version('0.2.4', sha256='15b71ea8972fb451f80684203cddd49620fc9ed5c2e35f31e0874e9c41910d1a') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-setupmeta', type='build') + depends_on('py-astor', type=('build', 'run')) + depends_on('py-interface-meta@1.2:', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-pandas', type=('build', 'run')) + depends_on('py-scipy', type=('build', 'run')) + depends_on('py-wrapt', type=('build', 'run')) -- cgit v1.2.3-70-g09d2