summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-07-09 12:57:20 +0200
committerGitHub <noreply@github.com>2021-07-09 12:57:20 +0200
commit85b49f115f8ae1cc5fd26e52f1ff8c67894cbbbb (patch)
treeafc3dbaa90ab5cd55d735518111096b356cd80db /var
parent451f484c9a25bc3a5732b0aca5c856a3a188bd3c (diff)
downloadspack-85b49f115f8ae1cc5fd26e52f1ff8c67894cbbbb.tar.gz
spack-85b49f115f8ae1cc5fd26e52f1ff8c67894cbbbb.tar.bz2
spack-85b49f115f8ae1cc5fd26e52f1ff8c67894cbbbb.tar.xz
spack-85b49f115f8ae1cc5fd26e52f1ff8c67894cbbbb.zip
py-anyio: add new package (#24765)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-anyio/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-anyio/package.py b/var/spack/repos/builtin/packages/py-anyio/package.py
new file mode 100644
index 0000000000..c7838e8228
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-anyio/package.py
@@ -0,0 +1,25 @@
+# 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 PyAnyio(PythonPackage):
+ """High level compatibility layer for multiple asynchronous event loop
+ implementations."""
+
+ homepage = "https://github.com/agronholm/anyio"
+ pypi = "anyio/anyio-3.2.1.tar.gz"
+
+ version('3.2.1', sha256='07968db9fa7c1ca5435a133dc62f988d84ef78e1d9b22814a59d1c62618afbc5')
+
+ depends_on('python@3.6.2:', type=('build', 'run'))
+ depends_on('py-setuptools@42:', type='build')
+ depends_on('py-setuptools-scm+toml@3.4:', type='build')
+ depends_on('py-async-generator', when='^python@:3.6.999', type=('build', 'run'))
+ depends_on('py-dataclasses', when='^python@:3.6.999', type=('build', 'run'))
+ depends_on('py-idna@2.8:', type=('build', 'run'))
+ depends_on('py-sniffio@1.1:', type=('build', 'run'))
+ depends_on('py-typing-extensions', when='^python@:3.7.999', type=('build', 'run'))