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 | |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 11 | SRC_URI[sha256sum] = "da31db32b304314d044d3c12c79bd59e307889b287ad12ff387b3500835fc2ab" |
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" |