diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-click/package.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-click/package.py b/var/spack/repos/builtin/packages/py-click/package.py index 894584b500..9462c23f16 100644 --- a/var/spack/repos/builtin/packages/py-click/package.py +++ b/var/spack/repos/builtin/packages/py-click/package.py @@ -11,7 +11,9 @@ class PyClick(PythonPackage): homepage = "https://click.palletsprojects.com" pypi = "click/click-7.1.2.tar.gz" + git = "https://github.com/pallets/click/" + version("8.1.3", sha256="7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e") version("8.0.3", sha256="410e932b050f5eed773c4cda94de75971c89cdb3155a72a0831139a79e5ecb5b") version("8.0.1", sha256="8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a") version("7.1.2", sha256="d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a") @@ -22,9 +24,10 @@ class PyClick(PythonPackage): ) version("6.6", sha256="cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9") - depends_on("python@3.6:", type=("build", "run"), when="@8.0.0:") + depends_on("python@3.7:", when="@8.1:", type=("build", "run")) + depends_on("python@3.6:", when="@8:", type=("build", "run")) depends_on("python@2.7:2.8,3.5:", type=("build", "run")) depends_on("py-setuptools", type="build") - depends_on("py-importlib-metadata", type=("build", "run"), when="@8.0.0: ^python@:3.7") - # depends_on('py-colorama', type=('build', 'run'), when='platform=windows') + depends_on("py-importlib-metadata", when="@8: ^python@:3.7", type=("build", "run")) + depends_on("py-colorama", when="@8: platform=windows", type=("build", "run")) |