summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-hypercorn/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-hypercorn/package.py b/var/spack/repos/builtin/packages/py-hypercorn/package.py
new file mode 100644
index 0000000000..176ad5e325
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-hypercorn/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2022 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 PyHypercorn(PythonPackage):
+ """A ASGI Server based on Hyper libraries and inspired by
+ Gunicorn."""
+
+ homepage = "https://gitlab.com/pgjones/hypercorn/"
+ pypi = "Hypercorn/Hypercorn-0.13.2.tar.gz"
+
+ version('0.13.2', sha256='6307be5cbdf6ba411967d4661202dc4f79bd511b5d318bc4eed88b09418427f8')
+
+ depends_on('python@3.7:', type=('build', 'run'))
+ depends_on('py-poetry-core@1:', type='build')
+ depends_on('py-h11', type=('build', 'run'))
+ depends_on('py-h2@3.1.0:', type=('build', 'run'))
+ depends_on('py-priority', type=('build', 'run'))
+ depends_on('py-toml', type=('build', 'run'))
+ depends_on('py-wsproto@0.14.0:', type=('build', 'run'))
+ depends_on('py-typing-extensions@3.7.4:', type=('build', 'run'), when='^python@:3.7')