blob: 5b993e0e66009aafee5a14a21624841fef0d7b2c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 2013-2023 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.package import *
class PyStarlette(PythonPackage):
"""The little ASGI library that shines."""
homepage = "https://github.com/encode/starlette"
pypi = "starlette/starlette-0.23.1.tar.gz"
version("0.23.1", sha256="8510e5b3d670326326c5c1d4cb657cc66832193fe5d5b7015a51c7b1e1b1bf42")
version("0.22.0", sha256="b092cbc365bea34dd6840b42861bdabb2f507f8671e642e8272d2442e08ea4ff")
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-hatchling", type="build")
depends_on("py-anyio@3.4:4", type=("build", "run"))
depends_on("py-typing-extensions@3.10.0:", when="^python@:3.9", type=("build", "run"))
|