summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-11-12 06:22:51 +0100
committerGitHub <noreply@github.com>2021-11-11 22:22:51 -0700
commitf777cc079d36e91a0f3db4099e2ff002e9dc12bf (patch)
treec87377e60db7c9e6c88e0504a1b23e68869c4211
parent17025f53542ec00f03284097e1812391cc64e044 (diff)
downloadspack-f777cc079d36e91a0f3db4099e2ff002e9dc12bf.tar.gz
spack-f777cc079d36e91a0f3db4099e2ff002e9dc12bf.tar.bz2
spack-f777cc079d36e91a0f3db4099e2ff002e9dc12bf.tar.xz
spack-f777cc079d36e91a0f3db4099e2ff002e9dc12bf.zip
py-formulaic: add new package (#27373)
-rw-r--r--var/spack/repos/builtin/packages/py-formulaic/package.py26
1 files changed, 26 insertions, 0 deletions
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'))