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

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

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