summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-uvicorn_0.38.0.bb
blob: b0ce49be970c2256f0f9d2021700197f90348806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUMMARY = "The lightning-fast ASGI server."
HOMEPAGE = "https://github.com/encode/uvicorn"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5c778842f66a649636561c423c0eec2e"
RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"

SRC_URI[sha256sum] = "fd97093bdd120a2609fc0d3afe931d4d4ad688b6e75f0f929fde1bc36fe0e91d"

SRC_URI += "file://0001-ptest-disable-failing-tests.patch"

inherit pypi python_hatchling ptest-python-pytest

PYPI_PACKAGE = "uvicorn"

RDEPENDS:${PN} = "\
    python3-click \
    python3-h11 (>=0.8) \
    python3-httptools \
    python3-multiprocessing \
    python3-python-dotenv \
    python3-websockets \
    python3-wsproto \
"

RDEPENDS:${PN}-ptest += "\
    python3-a2wsgi \
    python3-httpx \
    python3-pytest-mock \
    python3-pyyaml \
"