blob: 9b2644e64814d88b210a3abc07d5c35363386112 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "Universal encoding detector for Python 2 and 3"
2HOMEPAGE = "https://pypi.org/project/chardet/"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
5
6SRC_URI[sha256sum] = "0d62712b956bc154f85fb0a266e2a3c5913c2967e00348701b32411d6def31e5"
7
8# setup.py of chardet needs this.
9DEPENDS += "${PYTHON_PN}-pytest-runner-native"
10
11inherit pypi python_setuptools_build_meta
12
13PACKAGES =+ "${PN}-cli"
14FILES:${PN}-cli += " \
15 ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
16"
17
18RDEPENDS:${PN}-cli = "${PN} "
19
20RDEPENDS:${PN}:class-target += " \
21 ${PYTHON_PN}-logging \
22"
23
24BBCLASSEXTEND = "native nativesdk"