summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2022-10-10 19:22:59 +0200
committerGitHub <noreply@github.com>2022-10-10 12:22:59 -0500
commit75cb7cefc1c6a55fcdf2e11665dd3268e4318ae3 (patch)
tree3986a3aefc16847cc2cbcd5e48dd3f07ec0aa00d /var
parentc61dad1c258341c224886ea1f8b6ca78dff94df7 (diff)
downloadspack-75cb7cefc1c6a55fcdf2e11665dd3268e4318ae3.tar.gz
spack-75cb7cefc1c6a55fcdf2e11665dd3268e4318ae3.tar.bz2
spack-75cb7cefc1c6a55fcdf2e11665dd3268e4318ae3.tar.xz
spack-75cb7cefc1c6a55fcdf2e11665dd3268e4318ae3.zip
Add checksum for py-pytools 2022.1.12 (#33142)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytools/package.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytools/package.py b/var/spack/repos/builtin/packages/py-pytools/package.py
index aae5599e95..30e2fc0f70 100644
--- a/var/spack/repos/builtin/packages/py-pytools/package.py
+++ b/var/spack/repos/builtin/packages/py-pytools/package.py
@@ -9,17 +9,24 @@ from spack.package import *
class PyPytools(PythonPackage):
"""A collection of tools for Python"""
+ homepage = "https://github.com/inducer/pytools"
pypi = "pytools/pytools-2019.1.1.tar.gz"
+ version("2022.1.12", sha256="4d62875e9a2ab2a24e393a9a8b799492f1a721bffa840af3807bfd42871dd1f4")
version("2021.2.9", sha256="db6cf83c9ba0a165d545029e2301621486d1e9ef295684072e5cd75316a13755")
version("2019.1.1", sha256="ce2d702ae4ef10a70197b00b93141461140d00578f2a862fa946ca1446a300db")
version("2016.2.6", sha256="6dd49932b8f81a8b622685cff3dd515e351a9290aef0fd5d020e4df00c06aa95")
+ variant("numpy", description="Add numpy dependency", default=False, when="@2022.1.12:")
+
depends_on("py-setuptools", type="build")
- depends_on("py-decorator@3.2.0:", type=("build", "run"), when="@:2019.1.1")
- depends_on("py-appdirs@1.4.0:", type=("build", "run"))
- depends_on("py-six@1.8.0:", type=("build", "run"), when="@:2019.1.1")
- depends_on("py-numpy@1.6.0:", type=("build", "run"))
- depends_on("py-dataclasses@0.7:", type=("build", "run"), when="@2021.2.9: ^python@:3.6")
+ depends_on("py-decorator@3.2.0:", when="@:2019.1.1", type=("build", "run"))
+ depends_on("py-appdirs@1.4.0:", when="@:2021.2.9", type=("build", "run"))
+ depends_on("py-platformdirs@2.2.0:", when="@2022.1.12:", type=("build", "run"))
+ depends_on("py-six@1.8.0:", when="@:2019.1.1", type=("build", "run"))
+ depends_on("py-numpy@1.6.0:", when="@:2021.2.9", type=("build", "run"))
+ depends_on("py-numpy@1.6.0:", when="@2022.1.12: +numpy", type=("build", "run"))
+ depends_on("py-dataclasses@0.7:", when="@2021.2.9: ^python@:3.6", type=("build", "run"))
+ depends_on("py-typing-extensions@4.0:", when="@2021.2.9: ^python@:3.10", type=("build", "run"))
depends_on("python@2.6:2.8,3.4:", type=("build", "run"))
- depends_on("python@3.6:3", type=("build", "run"), when="@2021.2.9:")
+ depends_on("python@3.6:3", when="@2021.2.9:", type=("build", "run"))