summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2023-08-03 12:01:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-10 09:18:53 +0100
commit515532b5c3586967abad04fcda9f25ec8d4ae065 (patch)
tree077b8327bbc9709e53fe80089ad8529fc8bfe781 /meta/recipes-devtools/python/python3-chardet_5.2.0.bb
parente56b895866c941a71fd495727e360c534b5c9898 (diff)
downloadpoky-515532b5c3586967abad04fcda9f25ec8d4ae065.tar.gz
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>
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.bb24
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..cea7ebc94d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
@@ -0,0 +1,24 @@
1SUMMARY = "Universal encoding detector for Python 2 and 3"
2HOMEPAGE = "https://pypi.org/project/chardet/"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
5
6SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"
7
8# setup.py of chardet needs this.
9DEPENDS += "${PYTHON_PN}-pytest-runner-native"
10
11inherit pypi python_setuptools_build_meta
12
13PACKAGES =+ "${PN}-cli"
14FILES:${PN}-cli += " \
15 ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
16"
17
18RDEPENDS:${PN}-cli = "${PN} "
19
20RDEPENDS:${PN}:class-target += " \
21 ${PYTHON_PN}-logging \
22"
23
24BBCLASSEXTEND = "native nativesdk"