summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-reretry/package.py
blob: 4a29f33a81279733c0b7aa6e575c7a48e343e3ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyReretry(PythonPackage):
    """Easy to use retry decorator."""

    homepage = "https://github.com/leshchenko1979/reretry"
    pypi = "reretry/reretry-0.11.1.tar.gz"
    maintainers("charmoniumQ")

    license("Apache-2.0")

    version("0.11.1", sha256="4ae1840ae9e443822bb70543c485bb9c45d1d009e32bd6809f2a9f2839149f5d")

    depends_on("py-setuptools", type="build")
    depends_on("py-pbr", type="build")