summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-05-28 12:06:36 -0600
committerGitHub <noreply@github.com>2021-05-28 18:06:36 +0000
commitf8223303bb4ad2946b0f19554f695ef1fe2d3237 (patch)
treea2c0ed032108ffb8da9b73164ac3619ca6813617
parent91f66ea0a47bed49b1bf79461eb0e72e9ef6acf0 (diff)
downloadspack-f8223303bb4ad2946b0f19554f695ef1fe2d3237.tar.gz
spack-f8223303bb4ad2946b0f19554f695ef1fe2d3237.tar.bz2
spack-f8223303bb4ad2946b0f19554f695ef1fe2d3237.tar.xz
spack-f8223303bb4ad2946b0f19554f695ef1fe2d3237.zip
New Package: py-retry-decorator (#23967)
* New Package: py-retry-decorator * pypi link correction Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-retry-decorator/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-retry-decorator/package.py b/var/spack/repos/builtin/packages/py-retry-decorator/package.py
new file mode 100644
index 0000000000..f0c677a746
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-retry-decorator/package.py
@@ -0,0 +1,19 @@
+# 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 PyRetryDecorator(PythonPackage):
+ """Decorator for retrying when exceptions occur"""
+
+ homepage = "https://github.com/pnpnpn/retry-decorator"
+ pypi = "retry-decorator/retry_decorator-1.1.1.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('1.1.1', sha256='e1e8ad02e518fe11073f2ea7d80b6b8be19daa27a60a1838aff7c731ddcf2ebe')
+
+ depends_on('py-setuptools', type='build')