spack/var/spack/repos/builtin/packages/py-formulaic/package.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.9 KiB
Python
Raw Normal View History

2022-01-13 03:21:41 +08:00
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
2021-11-12 13:22:51 +08:00
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
2021-11-12 13:22:51 +08:00
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"
2022-09-29 18:22:18 +08:00
version("0.5.2", sha256="25b1e1c8dff73f0b11c0028a6ab350222de6bbc47b316ccb770cec16189cef53")
2021-11-12 13:22:51 +08:00
version("0.2.4", sha256="15b71ea8972fb451f80684203cddd49620fc9ed5c2e35f31e0874e9c41910d1a")
2022-09-29 18:22:18 +08:00
depends_on("python@3.7.2:", when="@5:", type=("build", "run"))
2021-11-12 13:22:51 +08:00
depends_on("python@3.6:", type=("build", "run"))
2022-09-29 18:22:18 +08:00
depends_on("py-hatchling", when="@0.5:", type="build")
depends_on("py-hatch-vcs", when="@0.5:", type="build")
depends_on("py-setuptools", when="@:0.3.2", type="build")
depends_on("py-setupmeta", when="@:0.3.2", type="build")
depends_on("py-astor@0.8:", when="@0.3.4:", type=("build", "run"))
2021-11-12 13:22:51 +08:00
depends_on("py-astor", type=("build", "run"))
2022-09-29 18:22:18 +08:00
depends_on("py-cached-property@1.3:", when="@0.4: ^python@:3.7", type=("build", "run"))
depends_on("py-graphlib-backport@1:", when="@0.5: ^python@:3.8", type=("build", "run"))
2021-11-12 13:22:51 +08:00
depends_on("py-interface-meta@1.2:", type=("build", "run"))
2022-09-29 18:22:18 +08:00
depends_on("py-numpy@1.16.5:", when="@0.5:", type=("build", "run"))
2021-11-12 13:22:51 +08:00
depends_on("py-numpy", type=("build", "run"))
2022-09-29 18:22:18 +08:00
depends_on("py-pandas@1:", when="@0.4:", type=("build", "run"))
2021-11-12 13:22:51 +08:00
depends_on("py-pandas", type=("build", "run"))
2022-09-29 18:22:18 +08:00
depends_on("py-scipy@1.6:", when="@0.3:", type=("build", "run"))
2021-11-12 13:22:51 +08:00
depends_on("py-scipy", type=("build", "run"))
2022-09-29 18:22:18 +08:00
depends_on("py-wrapt@1:", when="@0.3:", type=("build", "run"))
2021-11-12 13:22:51 +08:00
depends_on("py-wrapt", type=("build", "run"))
2022-09-29 18:22:18 +08:00
depends_on("py-typing-extensions@4.2:", when="@0.5:", type=("build", "run"))