From 610bc52cbc6a5279014a14af71b166b07d06348b Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 30 Sep 2024 15:42:55 +0800 Subject: python3-starlette: upgrade 0.39.0 -> 0.39.1 Changelog: =========== - Avoid regex re-compilation in responses.py and schemas.py - Improve performance of get_route_path by removing regular expression usage - Consider FileResponse.chunk_size when handling multiple ranges - Use token_hex for generating multipart boundary strings Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-starlette_0.39.0.bb | 41 ---------------------- .../python/python3-starlette_0.39.1.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.39.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.39.1.bb diff --git a/meta-python/recipes-devtools/python/python3-starlette_0.39.0.bb b/meta-python/recipes-devtools/python/python3-starlette_0.39.0.bb deleted file mode 100644 index c4b3d99164..0000000000 --- a/meta-python/recipes-devtools/python/python3-starlette_0.39.0.bb +++ /dev/null @@ -1,41 +0,0 @@ -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] = "b35acedae74e95967dd9c0a47b45f5803dcd8973d0d95c18c1abb184845ba42c" - -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 \ -" diff --git a/meta-python/recipes-devtools/python/python3-starlette_0.39.1.bb b/meta-python/recipes-devtools/python/python3-starlette_0.39.1.bb new file mode 100644 index 0000000000..c01158fc77 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-starlette_0.39.1.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] = "33c5a94f64d3ab2c799b2715b45f254a3752f229d334f1562a3aaf78c23eab95" + +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