blob: f0623669d7c248ca346ffe356f226ea62ea52e63 [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
Patrick Williams2390b1b2022-11-03 13:47:49 -050011SRC_URI[sha256sum] = "da31db32b304314d044d3c12c79bd59e307889b287ad12ff387b3500835fc2ab"
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"