From 8ce0c7771c9c73a6eadbf2b4e7d48c5fce48fad9 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Mon, 19 Jun 2023 19:43:19 +0200 Subject: py-pooch: add 1.7.0 (#38466) --- var/spack/repos/builtin/packages/py-pooch/package.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-pooch/package.py b/var/spack/repos/builtin/packages/py-pooch/package.py index 2d3c74f524..0339126aba 100644 --- a/var/spack/repos/builtin/packages/py-pooch/package.py +++ b/var/spack/repos/builtin/packages/py-pooch/package.py @@ -14,12 +14,20 @@ class PyPooch(PythonPackage): homepage = "https://github.com/fatiando/pooch" pypi = "pooch/pooch-1.3.0.tar.gz" + version("1.7.0", sha256="f174a1041b6447f0eef8860f76d17f60ed2f857dc0efa387a7f08228af05d998") version("1.5.2", sha256="5969b2f1defbdc405df932767e05e0b536e2771c27f1f95d7f260bc99bf13581") version("1.3.0", sha256="30d448e825904e2d763bbbe418831a788813c32f636b21c8d60ee5f474532898") - depends_on("python@3.6:", type=("build", "run")) + depends_on("py-setuptools@45:", when="@1.6:", type="build") depends_on("py-setuptools", type="build") + depends_on("py-setuptools-scm+toml@6.2:", when="@1.6:", type="build") depends_on("py-setuptools-scm", when="@1.4:", type="build") - depends_on("py-requests", type=("build", "run")) + + depends_on("py-platformdirs@2.5:", when="@1.7:", type=("build", "run")) + depends_on("py-packaging@20:", when="@1.6:", type=("build", "run")) depends_on("py-packaging", type=("build", "run")) - depends_on("py-appdirs", type=("build", "run")) + depends_on("py-requests@2.19:", when="@1.6:", type=("build", "run")) + depends_on("py-requests", type=("build", "run")) + + # Historical dependencies + depends_on("py-appdirs", when="@:1.5", type=("build", "run")) -- cgit v1.2.3-70-g09d2