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