Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | DESCRIPTION = "Read metadata from Python packages" |
| 2 | HOMEPAGE = "https://pypi.org/project/importlib-metadata/" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 5 | |
| 6 | inherit pypi python_setuptools_build_meta |
| 7 | |
| 8 | PYPI_PACKAGE = "importlib_metadata" |
| 9 | UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/" |
| 10 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 11 | SRC_URI[sha256sum] = "e354bedeb60efa6affdcc8ae121b73544a7aa74156d047311948f6d711cd378d" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/importlib_metadata-${PV}" |
| 14 | |
| 15 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native" |
| 16 | RDEPENDS:${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2" |
| 17 | RDEPENDS:${PN}:append:class-target = " python3-misc" |
| 18 | RDEPENDS:${PN}:append:class-nativesdk = " python3-misc" |
| 19 | |
| 20 | BBCLASSEXTEND = "native nativesdk" |