diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-08-10 11:49:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-10 11:49:41 -0500 |
commit | 3601f1c825f081326e7cf53f19b4bce7b0fc09ef (patch) | |
tree | 5e135a5f2473dd78d2bf36560558a2d0d7a2c0b9 | |
parent | 25b3946e0b0f0da9b1c87d9d99ec89c4e52762ce (diff) | |
download | spack-3601f1c825f081326e7cf53f19b4bce7b0fc09ef.tar.gz spack-3601f1c825f081326e7cf53f19b4bce7b0fc09ef.tar.bz2 spack-3601f1c825f081326e7cf53f19b4bce7b0fc09ef.tar.xz spack-3601f1c825f081326e7cf53f19b4bce7b0fc09ef.zip |
Add py-retrying package (#12377)
-rw-r--r-- | var/spack/repos/builtin/packages/py-retrying/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-retrying/package.py b/var/spack/repos/builtin/packages/py-retrying/package.py new file mode 100644 index 0000000000..83d09849cf --- /dev/null +++ b/var/spack/repos/builtin/packages/py-retrying/package.py @@ -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')) |