mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Changelog: =========== - #384: PackageMetadata now stipulates an additional get method allowing for easy querying of metadata keys that may not be present. - #428: packages_distributions now honors packages and modules with Python modules that not .py sources (e.g. .pyc, .so). - #434: Expand protocol for PackageMetadata.get_all to match the upstream implementation of email.message.Message.get_all in python/typeshed#9620. (From OE-Core rev: e3991141939e5e2393cf36edd02ef3765cacd330) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
767 B
BlitzBasic
21 lines
767 B
BlitzBasic
DESCRIPTION = "Read metadata from Python packages"
|
|
HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
PYPI_PACKAGE = "importlib_metadata"
|
|
UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/"
|
|
|
|
SRC_URI[sha256sum] = "9127aad2f49d7203e7112098c12b92e4fd1061ccd18548cdfdc49171a8c073cc"
|
|
|
|
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"
|