From b3b6f9b1046da9d1cf7be4abd5a08f542fb2c03b Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 8 Oct 2024 15:48:35 +0300 Subject: python3-multidict: Upgrade 6.0.5 -> 6.1.0 Upgrade to version 6.1.0: - Covered the unreachable code path in multidict._multidict_base._abc_itemsview_register() with typing - Added support for Python 3.13 - Removed Python 3.7 support Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-multidict_6.1.0.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb (limited to 'meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb b/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb new file mode 100644 index 0000000000..1132e9ba5d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-multidict_6.1.0.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 python_setuptools_build_meta ptest + +PV .= "+git" + +SRCREV = "4140e63780dc6dd600a1837cb9b4c5198c3dcd68" +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