Add py-retrying package (#12377)

This commit is contained in:
Adam J. Stewart 2019-08-10 11:49:41 -05:00 committed by GitHub
parent 25b3946e0b
commit 3601f1c825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
# Copyright 2013-2019 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"
url = "https://pypi.io/packages/source/r/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'))