From 41abc976d9602ea8397feaf9c57e5c8ad0d1885c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 8 Jan 2025 11:38:48 +0200 Subject: python3-marshmallow: Upgrade 3.23.3 -> 3.24.1 Upgrade to release 3.24.1: - Typing: Fix typing for class_registry.get_class From release 3.24.0: - Typing: Improve typings in marshmallow.fields - Typing: Replace type comments with inline typings - Typing: Fix type hint for nested parameter of Nested Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-marshmallow_3.24.1.bb | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-marshmallow_3.24.1.bb (limited to 'meta-python/recipes-devtools/python/python3-marshmallow_3.24.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_3.24.1.bb b/meta-python/recipes-devtools/python/python3-marshmallow_3.24.1.bb new file mode 100644 index 0000000000..0d41e223dd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-marshmallow_3.24.1.bb @@ -0,0 +1,40 @@ +SUMMARY = "Simplified object serialization in python" +DESCRIPTION = "Marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes." +HOMEPAGE = "https://github.com/marshmallow-code/marshmallow" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "\ + file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ + file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" + +SRC_URI[sha256sum] = "efdcb656ac8788f0e3d1d938f8dc0f237bf1a99aff8f6dfbffa594981641cea0" + +inherit python_flit_core pypi ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytz \ + python3-simplejson \ + python3-unittest-automake-output \ + python3-zoneinfo \ + python3-tzdata \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + rm -rf ${S}/tests/mypy_test_cases + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + python3-compression \ + python3-datetime \ + python3-email \ + python3-json \ + python3-numbers \ + python3-pprint \ + python3-packaging \ +" -- cgit v1.2.3-54-g00ecf