summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 17:49:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-18 23:27:27 +0000
commite93c16c88d02597ea8739279216e1b18884683c7 (patch)
tree4e7d31e1eb666fe94dc03497aada281549d90f34
parent01075ddc7b9711244025c9398af2ab64ff64ebbb (diff)
downloadpoky-e93c16c88d02597ea8739279216e1b18884683c7.tar.gz
python3-chardet: Add from meta-oe/meta-python
(From OE-Core rev: 00a9f10a539aa209ae0385e15c6b18716350e512) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3-chardet_4.0.0.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-chardet_4.0.0.bb b/meta/recipes-devtools/python/python3-chardet_4.0.0.bb
new file mode 100644
index 0000000000..75fe4df8d7
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-chardet_4.0.0.bb
@@ -0,0 +1,23 @@
1SUMMARY = "Universal encoding detector for Python 2 and 3"
2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
4
5SRC_URI[sha256sum] = "0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"
6
7# setup.py of chardet needs this.
8DEPENDS += "${PYTHON_PN}-pytest-runner-native"
9
10inherit pypi setuptools3
11
12PACKAGES =+ "${PN}-cli"
13FILES:${PN}-cli += " \
14 ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
15"
16
17RDEPENDS:${PN}-cli = "${PN} "
18
19RDEPENDS:${PN}:class-target += " \
20 ${PYTHON_PN}-logging \
21"
22
23BBCLASSEXTEND = "native nativesdk"