summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-09-15 01:28:51 -0500
committerGitHub <noreply@github.com>2020-09-15 08:28:51 +0200
commitf7030287d32f5fe3006e063a4d8c99ece871f121 (patch)
treefaaae8acb399dadeb28b5866d75ea5092ba63e37 /var
parent445988011c1457a227407720baf916839211890e (diff)
downloadspack-f7030287d32f5fe3006e063a4d8c99ece871f121.tar.gz
spack-f7030287d32f5fe3006e063a4d8c99ece871f121.tar.bz2
spack-f7030287d32f5fe3006e063a4d8c99ece871f121.tar.xz
spack-f7030287d32f5fe3006e063a4d8c99ece871f121.zip
py-nest-asyncio: add new package at v1.4.0 (#18629)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nest-asyncio/package.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nest-asyncio/package.py b/var/spack/repos/builtin/packages/py-nest-asyncio/package.py
new file mode 100644
index 0000000000..5ffcde84d9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nest-asyncio/package.py
@@ -0,0 +1,16 @@
+# Copyright 2013-2020 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)
+
+
+class PyNestAsyncio(PythonPackage):
+ """Patch asyncio to allow nested event loops."""
+
+ homepage = "https://github.com/erdewit/nest_asyncio"
+ url = "https://pypi.io/packages/source/n/nest-asyncio/nest_asyncio-1.4.0.tar.gz"
+
+ version('1.4.0', sha256='5773054bbc14579b000236f85bc01ecced7ffd045ec8ca4a9809371ec65a59c8')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')