# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class PyRetry(PythonPackage): """Easy to use retry decorator.""" homepage = "https://github.com/invl/retry" pypi = "retry/retry-0.9.2.tar.gz" license("Apache-2.0") version("0.9.2", sha256="f8bfa8b99b69c4506d6f5bd3b0aabf77f98cdb17f3c9fc3f5ca820033336fba4") depends_on("python@2.6:", type=("build", "run")) depends_on("py-setuptools", type="build") depends_on("py-pbr", type="build") depends_on("py-decorator@3.4.2:", type=("build", "run")) depends_on("py-py@1.4.26:1", type=("build", "run"))