blob: c00e42cb1c971037cf9d3f543dff7795467ca36c [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001DESCRIPTION = "Read metadata from Python packages"
2HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
3LICENSE = "Apache-2.0"
Andrew Geissler615f2f12022-07-15 14:00:58 -05004LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
Andrew Geissler9aee5002022-03-30 16:27:02 +00005
6inherit pypi python_setuptools_build_meta
7
8PYPI_PACKAGE = "importlib_metadata"
9UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/"
10
Andrew Geissler615f2f12022-07-15 14:00:58 -050011SRC_URI[sha256sum] = "637245b8bab2b6502fcbc752cc4b7a6f6243bb02b31c5c26156ad103d3d45670"
Andrew Geissler9aee5002022-03-30 16:27:02 +000012
13S = "${WORKDIR}/importlib_metadata-${PV}"
14
15DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native"
16RDEPENDS:${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2"
17RDEPENDS:${PN}:append:class-target = " python3-misc"
18RDEPENDS:${PN}:append:class-nativesdk = " python3-misc"
19
20BBCLASSEXTEND = "native nativesdk"