diff --git a/var/spack/repos/builtin/packages/py-idna/package.py b/var/spack/repos/builtin/packages/py-idna/package.py index 9f4e31ac2d..3b12a13142 100644 --- a/var/spack/repos/builtin/packages/py-idna/package.py +++ b/var/spack/repos/builtin/packages/py-idna/package.py @@ -12,6 +12,7 @@ class PyIdna(PythonPackage): homepage = "https://github.com/kjd/idna" pypi = "idna/idna-3.2.tar.gz" + version("3.4", sha256="814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4") version("3.3", sha256="9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d") version("3.2", sha256="467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3") version("2.9", sha256="7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb") @@ -22,4 +23,5 @@ class PyIdna(PythonPackage): depends_on("python@3.4:", when="@3:", type=("build", "run")) depends_on("python@2.7:2,3.4:", when="@2.8:2", type=("build", "run")) depends_on("python@2.6:", when="@:2.7", type=("build", "run")) - depends_on("py-setuptools", type=("build", "link")) + depends_on("py-flit-core@3.2:3", when="@3.4:", type="build") + depends_on("py-setuptools", when="@:3.3", type=("build", "link"))