summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-retrying/package.py
blob: 6f4bb913a69340be34b5f8ce60a8cd51b867e164 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2022 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 PyRetrying(PythonPackage):
    """Retrying is an Apache 2.0 licensed general-purpose retrying library,
    written in Python, to simplify the task of adding retry behavior to just
    about anything."""

    homepage = "https://github.com/rholder/retrying"
    pypi = "retrying/retrying-1.3.3.tar.gz"

    version('1.3.3', sha256='08c039560a6da2fe4f2c426d0766e284d3b736e355f8dd24b37367b0bb41973b')

    depends_on('py-setuptools', type='build')
    depends_on('py-six@1.7.0:', type=('build', 'run'))