From cd8af99664225c78b94acde92345532edd876d74 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sun, 6 Jun 2021 15:34:44 -0700 Subject: python3-importlib-metadata: upgrade 4.4.0 -> 4.5.0 Upstream release notes: v4.5.0 Issue 319: Remove SelectableGroups deprecation exception for flake8. Previous upgrade release notes: v4.4.0 Issue 300: Restore compatibility in the result from Distribution.entry_points (EntryPoints) to honor expectations in older implementations and issuing deprecation warnings for these cases: EntryPoints objects are once again mutable, allowing for sort() and other list-based mutation operations. Avoid deprecation warnings by casting to a mutable sequence (e.g. list(dist.entry_points).sort()). EntryPoints results once again allow for access by index. To avoid deprecation warnings, cast the result to a Sequence first (e.g. tuple(dist.entry_points)[0]). v4.3.1 Issue 320: Fix issue where normalized name for eggs was incorrectly solicited, leading to metadata being unavailable for eggs. Signed-off-by: Tim Orling --- .../python/python3-importlib-metadata_4.4.0.bb | 20 -------------------- .../python/python3-importlib-metadata_4.5.0.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-importlib-metadata_4.4.0.bb create mode 100644 meta/recipes-devtools/python/python3-importlib-metadata_4.5.0.bb diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_4.4.0.bb b/meta/recipes-devtools/python/python3-importlib-metadata_4.4.0.bb deleted file mode 100644 index 9d22f97a6b..0000000000 --- a/meta/recipes-devtools/python/python3-importlib-metadata_4.4.0.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "Read metadata from Python packages" -HOMEPAGE = "https://pypi.org/project/importlib-metadata/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e" - -inherit pypi setuptools3 - -PYPI_PACKAGE = "importlib_metadata" -UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P(\d+[\.\-_]*)+)/" - -SRC_URI[sha256sum] = "e592faad8de1bda9fe920cf41e15261e7131bcf266c30306eec00e8e225c1dd5" - -S = "${WORKDIR}/importlib_metadata-${PV}" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native" -RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2" -RDEPENDS_${PN}_append_class-target = " python3-misc" -RDEPENDS_${PN}_append_class-nativesdk = " python3-misc" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_4.5.0.bb b/meta/recipes-devtools/python/python3-importlib-metadata_4.5.0.bb new file mode 100644 index 0000000000..7c156787a0 --- /dev/null +++ b/meta/recipes-devtools/python/python3-importlib-metadata_4.5.0.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Read metadata from Python packages" +HOMEPAGE = "https://pypi.org/project/importlib-metadata/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "importlib_metadata" +UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P(\d+[\.\-_]*)+)/" + +SRC_URI[sha256sum] = "b142cc1dd1342f31ff04bb7d022492b09920cb64fed867cd3ea6f80fe3ebd139" + +S = "${WORKDIR}/importlib_metadata-${PV}" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native" +RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2" +RDEPENDS_${PN}_append_class-target = " python3-misc" +RDEPENDS_${PN}_append_class-nativesdk = " python3-misc" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg