mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 13:13:02 +01:00
python3-chardet: upgrade 5.0.0 -> 5.1.0
Transition to python_setuptools_build_meta. (From OE-Core rev: 3e12b39760ec92d45241f44945c4fd1a93cd9de2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9311fb96ae
commit
153ec41cdc
24
meta/recipes-devtools/python/python3-chardet_5.1.0.bb
Normal file
24
meta/recipes-devtools/python/python3-chardet_5.1.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] = "0d62712b956bc154f85fb0a266e2a3c5913c2967e00348701b32411d6def31e5"
|
||||
|
||||
# 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