From e5b9fbf5ba4a23069f13ee2a8cf6fc59505d2cde Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 8 Jan 2025 11:38:49 +0200 Subject: python3-a2wsgi: Upgrade 1.10.7 -> 1.10.8 Upgrade to release 1.10.8: - Fix asgi.py's Task thread safety Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-a2wsgi_1.10.8.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-a2wsgi_1.10.8.bb (limited to 'meta-python/recipes-devtools/python/python3-a2wsgi_1.10.8.bb') diff --git a/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.8.bb b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.8.bb new file mode 100644 index 0000000000..b9daf044f0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.8.bb @@ -0,0 +1,34 @@ +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_setuptools_build_meta ptest + +SRC_URI[sha256sum] = "fc00bab1fc792f89a8ce1b491b2ad1717b145d8caefb75d0a8586946edc97cb2" + +DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" + +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 \ +" -- cgit v1.2.3-54-g00ecf