summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pooch/package.py14
1 files changed, 11 insertions, 3 deletions
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"))