From f4499d29a11479f3f66451dbf491d2ce5cfb3d11 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 28 Aug 2024 16:25:05 +0800 Subject: python3-marshmallow: upgrade 3.21.3 -> 3.22.0 Changelog: ========== - Add many Meta option to Schema so it expects a collection by default - Refactor hooks Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-marshmallow_3.22.0.bb | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-marshmallow_3.22.0.bb (limited to 'meta-python/recipes-devtools/python/python3-marshmallow_3.22.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_3.22.0.bb b/meta-python/recipes-devtools/python/python3-marshmallow_3.22.0.bb new file mode 100644 index 0000000000..269522dcea --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-marshmallow_3.22.0.bb @@ -0,0 +1,38 @@ +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] = "4972f529104a220bb8637d595aa4c9762afbe7f7a77d82dc58c1615d70c5823e" + +inherit python_flit_core pypi ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytz \ + python3-simplejson \ + python3-unittest-automake-output \ +" + +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