summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2021-03-09 00:45:46 +0300
committerJason M. Bills <jason.m.bills@linux.intel.com>2021-03-09 00:45:46 +0300
commit930df2e58b9725756edbccf99fd4979026fc28fd (patch)
tree8c5fa9f20219e9bc4580bb18e03b8dd8043a9a4f /meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb
parent7c5f8839ec3d71a2170b8f3514a16a67c69d1c7c (diff)
parent377d8f40e88eeb9ccb1321590a3af3c2caa94dda (diff)
downloadopenbmc-930df2e58b9725756edbccf99fd4979026fc28fd.tar.xz
Merge tag '0.35' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb
new file mode 100644
index 000000000..4caf33cb2
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Universal encoding detector for Python 2 and 3"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+SRC_URI[sha256sum] = "0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"
+
+# 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"