summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-retry/package.py
blob: 8e0417f02b99669bd4131ae867087a6954409d55 (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-2021 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 import *


class PyRetry(PythonPackage):
    """Easy to use retry decorator."""

    homepage = "https://github.com/invl/retry"
    pypi     = "retry/retry-0.9.2.tar.gz"

    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'))