summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-a2wsgi/package.py
blob: ab3425664a9221f235e3c3f946f2183f9b00cee3 (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 PyA2wsgi(PythonPackage):
    """Convert WSGI app to ASGI app or ASGI app to WSGI app."""

    homepage = "https://github.com/abersheeran/a2wsgi"
    pypi = "a2wsgi/a2wsgi-1.6.0.tar.gz"

    license("Apache-2.0")

    version("1.7.0", sha256="a906f62c0250eb0201120b93417dd0b12b105b5db35af431bfe86ef0dc5bbab2")
    version("1.6.0", sha256="67a9902db6da72c268a24d4e5d01348f736980a577279b7df801c8902aba8554")

    depends_on("python@3.6.2:", type=("build", "run"))

    depends_on("py-pdm-pep517@1.0.0:", type=("build", "run"))