From 8e70a52123917b71b67ca5370d2560edb55cd04c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 12 Jun 2024 10:58:08 +0800 Subject: python3-typeguard: upgrade 4.2.1 -> 4.3.0 Changelog: ============ - Added support for checking against static protocols - Fixed some compatibility problems when running on Python 3.13 - Fixed test suite incompatibility with pytest 8.2 - Fixed pytest plugin crashing on pytest version older than v7.0.0 (even if it's just present) Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-typeguard_4.2.1.bb | 39 ---------------------- .../python/python3-typeguard_4.3.0.bb | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-typeguard_4.3.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb deleted file mode 100644 index e0e84df28a..0000000000 --- a/meta-python/recipes-devtools/python/python3-typeguard_4.2.1.bb +++ /dev/null @@ -1,39 +0,0 @@ -SUMMARY = "Run-time type checker for Python" -HOMEPAGE = "https://pypi.org/project/typeguard/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" - -SRC_URI[sha256sum] = "c556a1b95948230510070ca53fa0341fb0964611bd05d598d87fb52115d65fee" - -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN} += " \ - python3-core \ - python3-compression \ - python3-unittest \ - python3-typing-extensions \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-typing-extensions \ - python3-unittest-automake-output \ - python3-unixadmin \ - python3-mypy \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -DEPENDS += "\ - python3-distutils-extra-native \ - python3-setuptools-scm-native \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.3.0.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.3.0.bb new file mode 100644 index 0000000000..3f6acdd8e7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-typeguard_4.3.0.bb @@ -0,0 +1,39 @@ +SUMMARY = "Run-time type checker for Python" +HOMEPAGE = "https://pypi.org/project/typeguard/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" + +SRC_URI[sha256sum] = "92ee6a0aec9135181eae6067ebd617fd9de8d75d714fb548728a4933b1dea651" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + python3-core \ + python3-compression \ + python3-unittest \ + python3-typing-extensions \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-typing-extensions \ + python3-unittest-automake-output \ + python3-unixadmin \ + python3-mypy \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +DEPENDS += "\ + python3-distutils-extra-native \ + python3-setuptools-scm-native \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf