meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.10.bb
Ross Burton bdd47759ff
python3-a2wsgi: use correct Python build backend class
oe-core master now has a python_pdm build class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-04 17:32:04 -07:00

30 lines
733 B
BlitzBasic

SUMMARY = "Convert WSGI app to ASGI app or ASGI app to WSGI app."
HOMEPAGE = "https://github.com/abersheeran/a2wsgi"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e10d05d29ec6d8be8bfc503683f1bc9a"
inherit pypi python_pdm ptest
SRC_URI[sha256sum] = "a5bcffb52081ba39df0d5e9a884fc6f819d92e3a42389343ba77cbf809fe1f45"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-httpx \
python3-pytest \
python3-pytest-asyncio \
python3-starlette \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} += " \
python3-asyncio \
"