From 0cc5ecb0732e11856149a5667d40c08dcab1b663 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 24 Dec 2024 17:26:47 +0800 Subject: python3-python-multipart: upgrade 0.0.12 -> 0.0.20 Changelog: ========= - Handle messages containing only end boundary #142. - Don't warn when CRLF is found after last boundary on MultipartParser #193. - Hard break if found data after last boundary on MultipartParser #189. - Handle PermissionError in fallback code for old import name #182. - Add dunder attributes to multipart package #177. - Replace FutureWarning to PendingDeprecationWarning #174. - Add missing files to SDist #171. - Fix import scheme for multipart module (#168). - Rename import to python_multipart Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-python-multipart_0.0.12.bb | 25 ---------------------- .../python/python3-python-multipart_0.0.20.bb | 25 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb create mode 100644 meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb deleted file mode 100644 index b1ed5e5522..0000000000 --- a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "A streaming multipart parser for Python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e" - -SRC_URI[sha256sum] = "045e1f98d719c1ce085ed7f7e1ef9d8ccc8c02ba02b5566d5f7521410ced58cb" - -inherit pypi python_hatchling ptest - -PYPI_PACKAGE = "python_multipart" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-pyyaml \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb new file mode 100644 index 0000000000..db5e7bb45a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb @@ -0,0 +1,25 @@ +SUMMARY = "A streaming multipart parser for Python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e" + +SRC_URI[sha256sum] = "8dd0cab45b8e23064ae09147625994d090fa46f5b0d1e13af944c331a7fa9d13" + +inherit pypi python_hatchling ptest + +PYPI_PACKAGE = "python_multipart" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pyyaml \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf