mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
python3-chardet: upgrade 4.0.0 -> 5.0.0
This release is the first release of chardet that no longer supports Python < 3.6. License-Update: Adjust document format, change "St" to "Street" (From OE-Core rev: d8bc9503058b067d4157b9177c16d06136918071) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
24
meta/recipes-devtools/python/python3-chardet_5.0.0.bb
Normal file
24
meta/recipes-devtools/python/python3-chardet_5.0.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] = "0368df2bfd78b5fc20572bb4e9bb7fb53e2c094f60ae9993339e8671d0afb8aa"
|
||||
|
||||
# setup.py of chardet needs this.
|
||||
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
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