diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-a2wsgi_1.10.10.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-a2wsgi_1.10.10.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.10.bb b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.10.bb new file mode 100644 index 0000000000..699fc2daa2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.10.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Convert WSGI app to ASGI app or ASGI app to WSGI app." | ||
2 | HOMEPAGE = "https://github.com/abersheeran/a2wsgi" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e10d05d29ec6d8be8bfc503683f1bc9a" | ||
5 | |||
6 | inherit pypi python_setuptools_build_meta ptest | ||
7 | |||
8 | SRC_URI[sha256sum] = "a5bcffb52081ba39df0d5e9a884fc6f819d92e3a42389343ba77cbf809fe1f45" | ||
9 | |||
10 | DEPENDS += " \ | ||
11 | python3-pdm-native \ | ||
12 | python3-pdm-backend-native \ | ||
13 | " | ||
14 | |||
15 | SRC_URI += " \ | ||
16 | file://run-ptest \ | ||
17 | " | ||
18 | |||
19 | RDEPENDS:${PN}-ptest += " \ | ||
20 | python3-httpx \ | ||
21 | python3-pytest \ | ||
22 | python3-pytest-asyncio \ | ||
23 | python3-starlette \ | ||
24 | python3-unittest-automake-output \ | ||
25 | " | ||
26 | |||
27 | do_install_ptest() { | ||
28 | install -d ${D}${PTEST_PATH}/tests | ||
29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
30 | } | ||
31 | |||
32 | RDEPENDS:${PN} += " \ | ||
33 | python3-asyncio \ | ||
34 | " | ||