Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "Universal encoding detector for Python 2 and 3" |
| 2 | LICENSE = "LGPL-2.1" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343" |
| 4 | |
| 5 | inherit pypi |
| 6 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 7 | # setup.py of chardet needs this. |
| 8 | DEPENDS += "${PYTHON_PN}-pytest-runner-native" |
| 9 | |
| 10 | SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c" |
| 11 | SRC_URI[sha256sum] = "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae" |
| 12 | |
| 13 | BBCLASSEXTEND = "native nativesdk" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 14 | |
| 15 | PACKAGES =+ "${PN}-cli" |
| 16 | RDEPENDS_${PN}-cli = "${PN} " |
| 17 | FILES_${PN}-cli += " \ |
| 18 | ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \ |
| 19 | " |
| 20 | |
| 21 | RDEPENDS_${PN}_class-target += " \ |
| 22 | ${PYTHON_PN}-logging \ |
| 23 | " |