diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-chardet_5.2.0.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-chardet_5.2.0.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-chardet_5.2.0.bb b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb new file mode 100644 index 0000000000..ed792b1c7e --- /dev/null +++ b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Universal encoding detector for Python 2 and 3" | ||
2 | HOMEPAGE = "https://pypi.org/project/chardet/" | ||
3 | LICENSE = "LGPL-2.1-only" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" | ||
5 | |||
6 | SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7" | ||
7 | |||
8 | # setup.py of chardet needs this. | ||
9 | DEPENDS += "python3-pytest-runner-native" | ||
10 | |||
11 | inherit pypi python_setuptools_build_meta | ||
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 | python3-logging \ | ||
22 | " | ||
23 | |||
24 | BBCLASSEXTEND = "native nativesdk" | ||