summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-backoff/package.py
blob: d5a6a6e9db77f3fbe946d1f3be919132863cf4d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyBackoff(PythonPackage):
    """Function decoration for backoff and retry."""

    homepage = "https://github.com/litl/backoff"
    pypi = "backoff/backoff-2.2.1.tar.gz"

    license("MIT")

    version("2.2.1", sha256="03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba")

    depends_on("python@3.7:3", type=("build", "run"))
    depends_on("py-poetry-core@1:", type="build")