From cd58ae23bef260a8c81289f4c9330d93fb9d5e52 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Sat, 24 Sep 2022 22:47:37 +0200 Subject: [PATCH] py-chardet: add 3.0.2 (#32783) --- var/spack/repos/builtin/packages/py-chardet/package.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-chardet/package.py b/var/spack/repos/builtin/packages/py-chardet/package.py index 02fb19743e..62d7b5b4ba 100644 --- a/var/spack/repos/builtin/packages/py-chardet/package.py +++ b/var/spack/repos/builtin/packages/py-chardet/package.py @@ -12,11 +12,13 @@ class PyChardet(PythonPackage): homepage = "https://github.com/chardet/chardet" pypi = "chardet/chardet-3.0.4.tar.gz" + version("5.0.0", sha256="0368df2bfd78b5fc20572bb4e9bb7fb53e2c094f60ae9993339e8671d0afb8aa") version("4.0.0", sha256="0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa") version("3.0.4", sha256="84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae") version("3.0.2", sha256="4f7832e7c583348a9eddd927ee8514b3bf717c061f57b21dbe7697211454d9bb") version("2.3.0", sha256="e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa") - depends_on("py-setuptools", type=("build", "run")) - depends_on("py-pytest-runner", type="build", when="@3.0.2") + depends_on("python@3.6:", when="@5:", type=("build", "run")) depends_on("python@2.7:2.8,3.5:", when="@4:", type=("build", "run")) + depends_on("py-setuptools", type=("build", "run")) + depends_on("py-pytest-runner", when="@3", type="build")