From 54bd8899c44f337b51b7d00adc0ab35165475a16 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 13 Oct 2023 17:07:41 +0800 Subject: python3-packaging: upgrade 23.1 -> 23.2 Changelog: ========== -Document calendar-based versioning scheme -Enforce that the entire marker string is parsed -Requirement parsing no longer automatically validates the URL -Canonicalize names for requirements comparison -Introduce metadata.Metadata -Introduce the validate keyword parameter to utils.validate_name() -Introduce utils.is_normalized_name() -Make utils.parse_sdist_filename() and utils.parse_wheel_filename() raise InvalidSdistFilename and InvalidWheelFilename, respectively, when the version component of the name is invalid (From OE-Core rev: b191effe2c89b405ed732d124ceeffbb4935ad3c) Signed-off-by: Wang Mingyu Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-packaging_23.2.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-packaging_23.2.bb (limited to 'meta/recipes-devtools/python/python3-packaging_23.2.bb') diff --git a/meta/recipes-devtools/python/python3-packaging_23.2.bb b/meta/recipes-devtools/python/python3-packaging_23.2.bb new file mode 100644 index 0000000000..2d35936615 --- /dev/null +++ b/meta/recipes-devtools/python/python3-packaging_23.2.bb @@ -0,0 +1,18 @@ +SUMMARY = "Core utilities for Python packages" +HOMEPAGE = "https://github.com/pypa/packaging" +LICENSE = "Apache-2.0 | BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" + +SRC_URI[sha256sum] = "048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5" + +inherit pypi python_flit_core + +BBCLASSEXTEND = "native nativesdk" + +# Bootstrap the native build +DEPENDS:remove:class-native = "python3-build-native" +RDEPENDS:${PN} += "python3-profile" + +do_compile:class-native () { + python_flit_core_do_manual_build +} -- cgit v1.2.3-54-g00ecf