Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | SUMMARY = "Universal encoding detector for Python 2 and 3" |
| 2 | HOMEPAGE = "https://pypi.org/project/chardet/" |
| 3 | LICENSE = "LGPL-2.1-only" |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 5 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 6 | SRC_URI[sha256sum] = "0368df2bfd78b5fc20572bb4e9bb7fb53e2c094f60ae9993339e8671d0afb8aa" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 7 | |
| 8 | # setup.py of chardet needs this. |
| 9 | DEPENDS += "${PYTHON_PN}-pytest-runner-native" |
| 10 | |
| 11 | inherit pypi setuptools3 |
| 12 | |
| 13 | PACKAGES =+ "${PN}-cli" |
| 14 | FILES:${PN}-cli += " \ |
| 15 | ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \ |
| 16 | " |
| 17 | |
| 18 | RDEPENDS:${PN}-cli = "${PN} " |
| 19 | |
| 20 | RDEPENDS:${PN}:class-target += " \ |
| 21 | ${PYTHON_PN}-logging \ |
| 22 | " |
| 23 | |
| 24 | BBCLASSEXTEND = "native nativesdk" |