Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | DESCRIPTION = "Read metadata from Python packages" |
| 2 | HOMEPAGE = "https://pypi.org/project/importlib-metadata/" |
| 3 | LICENSE = "Apache-2.0" |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 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 | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 11 | SRC_URI[sha256sum] = "637245b8bab2b6502fcbc752cc4b7a6f6243bb02b31c5c26156ad103d3d45670" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [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" |