diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb new file mode 100644 index 0000000000..e65519ec31 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb @@ -0,0 +1,33 @@ +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] = "ce462ff7e1daac0bc57183c6f800f09a71c2a7a98ddd5cdeca149e3eabf3338e" + +DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-httpx \ + python3-pytest \ + python3-pytest-asyncio \ + 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 \ +" |