summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2022-09-29 12:22:18 +0200
committerGitHub <noreply@github.com>2022-09-29 04:22:18 -0600
commitd9cab51fd7e3999eb1177b0b9dd1d4f5e4984d9e (patch)
treeb0f772a20febf8267d41ea71f56f058a0fbb334e /var
parent3f1ebfd4fb6b2dc08d09b187ba839b76b6991c46 (diff)
downloadspack-d9cab51fd7e3999eb1177b0b9dd1d4f5e4984d9e.tar.gz
spack-d9cab51fd7e3999eb1177b0b9dd1d4f5e4984d9e.tar.bz2
spack-d9cab51fd7e3999eb1177b0b9dd1d4f5e4984d9e.tar.xz
spack-d9cab51fd7e3999eb1177b0b9dd1d4f5e4984d9e.zip
py-formulaic: add 0.5.2 (#32851)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-formulaic/package.py17
-rw-r--r--var/spack/repos/builtin/packages/py-graphlib-backport/package.py18
2 files changed, 33 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-formulaic/package.py b/var/spack/repos/builtin/packages/py-formulaic/package.py
index 609d12a41f..1c612c7ce6 100644
--- a/var/spack/repos/builtin/packages/py-formulaic/package.py
+++ b/var/spack/repos/builtin/packages/py-formulaic/package.py
@@ -13,14 +13,27 @@ class PyFormulaic(PythonPackage):
homepage = "https://github.com/matthewwardrop/formulaic"
pypi = "formulaic/formulaic-0.2.4.tar.gz"
+ version("0.5.2", sha256="25b1e1c8dff73f0b11c0028a6ab350222de6bbc47b316ccb770cec16189cef53")
version("0.2.4", sha256="15b71ea8972fb451f80684203cddd49620fc9ed5c2e35f31e0874e9c41910d1a")
+ depends_on("python@3.7.2:", when="@5:", type=("build", "run"))
depends_on("python@3.6:", type=("build", "run"))
- depends_on("py-setuptools", type="build")
- depends_on("py-setupmeta", type="build")
+ 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"))
depends_on("py-astor", type=("build", "run"))
+ 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"))
depends_on("py-interface-meta@1.2:", type=("build", "run"))
+ depends_on("py-numpy@1.16.5:", when="@0.5:", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
+ depends_on("py-pandas@1:", when="@0.4:", type=("build", "run"))
depends_on("py-pandas", type=("build", "run"))
+ depends_on("py-scipy@1.6:", when="@0.3:", type=("build", "run"))
depends_on("py-scipy", type=("build", "run"))
+ depends_on("py-wrapt@1:", when="@0.3:", type=("build", "run"))
depends_on("py-wrapt", type=("build", "run"))
+ depends_on("py-typing-extensions@4.2:", when="@0.5:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-graphlib-backport/package.py b/var/spack/repos/builtin/packages/py-graphlib-backport/package.py
new file mode 100644
index 0000000000..bb9ee03f9f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-graphlib-backport/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2022 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.package import *
+
+
+class PyGraphlibBackport(PythonPackage):
+ """Backport of the Python 3.9 graphlib module for Python 3.6+."""
+
+ homepage = "https://github.com/mariushelf/graphlib_backport"
+ pypi = "graphlib_backport/graphlib_backport-1.0.3.tar.gz"
+
+ version("1.0.3", sha256="7bb8fc7757b8ae4e6d8000a26cd49e9232aaa9a3aa57edb478474b8424bfaae2")
+
+ depends_on("python@3.6:3", type=("build", "run"))
+ depends_on("py-poetry@1:", type="build")