mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
python3-chardet: upgrade 5.1.0 -> 5.2.0
https://github.com/chardet/chardet/compare/5.1.0...5.2.0 * Adds support for running chardet CLI via python -m chardet (0e9b7bc, @dan-blanchard) (From OE-Core rev: 68a80de82010757524c71b4a8399bd879425320d) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e56b895866
commit
515532b5c3
24
meta/recipes-devtools/python/python3-chardet_5.2.0.bb
Normal file
24
meta/recipes-devtools/python/python3-chardet_5.2.0.bb
Normal file
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "Universal encoding detector for Python 2 and 3"
|
||||
HOMEPAGE = "https://pypi.org/project/chardet/"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"
|
||||
|
||||
# setup.py of chardet needs this.
|
||||
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
PACKAGES =+ "${PN}-cli"
|
||||
FILES:${PN}-cli += " \
|
||||
${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-cli = "${PN} "
|
||||
|
||||
RDEPENDS:${PN}:class-target += " \
|
||||
${PYTHON_PN}-logging \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user