summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-05-27 11:18:46 -0600
committerGitHub <noreply@github.com>2021-05-27 17:18:46 +0000
commit84ad5e444aff62ba1a577eb3ff74407e8c1d3b7e (patch)
tree36d46a37f742049a9300eb6e4802ee14bc8015ae /var
parentcf15c42c1ef7421f7b44dafa93b88d5145c0f1f6 (diff)
downloadspack-84ad5e444aff62ba1a577eb3ff74407e8c1d3b7e.tar.gz
spack-84ad5e444aff62ba1a577eb3ff74407e8c1d3b7e.tar.bz2
spack-84ad5e444aff62ba1a577eb3ff74407e8c1d3b7e.tar.xz
spack-84ad5e444aff62ba1a577eb3ff74407e8c1d3b7e.zip
New package: py-promise (#23936)
* New package: py-promise * removed test deps, added missing dep
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-promise/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-promise/package.py b/var/spack/repos/builtin/packages/py-promise/package.py
new file mode 100644
index 0000000000..305079b86a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-promise/package.py
@@ -0,0 +1,24 @@
+# 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 PyPromise(PythonPackage):
+ """This is a implementation of Promises in Python. It is a super set of
+ Promises/A+ designed to have readable, performant code and to provide
+ just the extensions that are absolutely necessary for
+ using promises in Python."""
+
+ homepage = "https://github.com/syrusakbary/promise"
+ pypi = "promise/promise-2.3.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('2.3', sha256='dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-typing@3.6.4:', when='^python@:3.4.999', type=('build', 'run'))