New package: py-hypercorn (#29141)
* [py-hypercorn] created template * [py-hypercorn] - added homepage - added description - added dependencies - removed fixmes * [py-hypercorn] removed setuptools dependency and added version restriction for py-typing-extensions
This commit is contained in:
parent
508e3e03b9
commit
4b9f216c11
25
var/spack/repos/builtin/packages/py-hypercorn/package.py
Normal file
25
var/spack/repos/builtin/packages/py-hypercorn/package.py
Normal file
@ -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')
|
Loading…
Reference in New Issue
Block a user