From 4a238931680927426a79934fafd9c719431ea77c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 25 Mar 2024 21:58:12 +0200 Subject: python3-multidict: Upgrade 6.0.4 -> 6.0.5 Upgrade to version 6.0.5: - Upgraded the C-API macros that have been deprecated in Python 3.9 and later removed in 3.13 - Reverted to using the public argument parsing API PyArg_ParseTupleAndKeywords() under Python 3.12. - The effect is that this change prevents build failures with clang 16.9.6 and gcc-14. It also fixes a segmentation fault crash caused by passing keyword arguments to MultiDict.getall(). - Fixed a SystemError: null argument to internal routine error on a MultiDict.items().isdisjoint() call when using C Extensions. - On the Contributing docs age, a link to the Towncrier philosophy has been fixed. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-multidict_6.0.5.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb (limited to 'meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb') diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb b/meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb new file mode 100644 index 0000000000..b12e180d02 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb @@ -0,0 +1,30 @@ +SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args etc." +HOMEPAGE = "https://github.com/aio-libs/multidict/" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39" + +inherit pypi setuptools3 ptest + +PV .= "+git" + +SRCREV = "a9b281b2ef4ab25d95d6b268aa88c428e75c3696" +PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https" +S = "${WORKDIR}/git" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytest-cov \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf