blob: 80baed798603edda735d4d097b9a06212a4271d8 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001SUMMARY = "Universal encoding detector for Python 2 and 3"
2HOMEPAGE = "https://pypi.org/project/chardet/"
3LICENSE = "LGPL-2.1-only"
Andrew Geissler615f2f12022-07-15 14:00:58 -05004LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
Andrew Geissler9aee5002022-03-30 16:27:02 +00005
Andrew Geissler615f2f12022-07-15 14:00:58 -05006SRC_URI[sha256sum] = "0368df2bfd78b5fc20572bb4e9bb7fb53e2c094f60ae9993339e8671d0afb8aa"
Andrew Geissler9aee5002022-03-30 16:27:02 +00007
8# setup.py of chardet needs this.
9DEPENDS += "${PYTHON_PN}-pytest-runner-native"
10
11inherit pypi setuptools3
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"