diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-10-13 17:07:41 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-19 13:38:57 +0100 |
| commit | 54bd8899c44f337b51b7d00adc0ab35165475a16 (patch) | |
| tree | 01c471f1cab093785941bc31bd6bce46789377c1 /meta/recipes-devtools/python/python3-packaging_23.2.bb | |
| parent | e3000d658600f7983e1c5673cf48db3d90f72371 (diff) | |
| download | poky-54bd8899c44f337b51b7d00adc0ab35165475a16.tar.gz | |
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 <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-packaging_23.2.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-packaging_23.2.bb | 18 |
1 files changed, 18 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "Core utilities for Python packages" | ||
| 2 | HOMEPAGE = "https://github.com/pypa/packaging" | ||
| 3 | LICENSE = "Apache-2.0 | BSD-2-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5" | ||
| 7 | |||
| 8 | inherit pypi python_flit_core | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native nativesdk" | ||
| 11 | |||
| 12 | # Bootstrap the native build | ||
| 13 | DEPENDS:remove:class-native = "python3-build-native" | ||
| 14 | RDEPENDS:${PN} += "python3-profile" | ||
| 15 | |||
| 16 | do_compile:class-native () { | ||
| 17 | python_flit_core_do_manual_build | ||
| 18 | } | ||
