From b5a92a5182b76ff34cea3fd44ad15e29184279ac Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 7 Jan 2025 17:01:42 +0800 Subject: python3-starlette: upgrade 0.44.0 -> 0.45.2 Changelog: https://www.starlette.io/release-notes/ Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-starlette_0.45.2.bb | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.45.2.bb (limited to 'meta-python/recipes-devtools/python/python3-starlette_0.45.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-starlette_0.45.2.bb b/meta-python/recipes-devtools/python/python3-starlette_0.45.2.bb new file mode 100644 index 0000000000..5acbe2f76b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-starlette_0.45.2.bb @@ -0,0 +1,41 @@ +SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a" + +SRC_URI[sha256sum] = "bba1831d15ae5212b22feab2f218bab6ed3cd0fc2dc1d4442443bb1ee52260e0" + +inherit pypi python_hatchling ptest + +PYPI_PACKAGE = "starlette" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-attrs \ + python3-ctypes \ + python3-httpx \ + python3-itsdangerous \ + python3-jinja2 \ + python3-outcome \ + python3-pytest \ + python3-pytest-asyncio \ + python3-pytest-forked \ + python3-python-multipart \ + python3-sortedcontainers \ + python3-terminal \ + python3-trio \ + python3-typing-extensions \ + python3-unittest-automake-output \ + python3-pyyaml \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + python3-anyio \ +" -- cgit v1.2.3-54-g00ecf