diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-12-28 08:37:17 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-28 23:59:56 +0000 |
| commit | 153ec41cdccb049416cabb358e047a088e27584a (patch) | |
| tree | e64d8a105a0cb03f1b3cecb6fa08573211c91dce /meta/recipes-devtools/python/python3-chardet_5.1.0.bb | |
| parent | 9311fb96ae6ceabf60e3eef38f3bbe6098db2b1b (diff) | |
| download | poky-153ec41cdccb049416cabb358e047a088e27584a.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-chardet_5.1.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-chardet_5.1.0.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-chardet_5.1.0.bb b/meta/recipes-devtools/python/python3-chardet_5.1.0.bb new file mode 100644 index 0000000000..9b2644e648 --- /dev/null +++ b/meta/recipes-devtools/python/python3-chardet_5.1.0.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | SUMMARY = "Universal encoding detector for Python 2 and 3" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/chardet/" | ||
| 3 | LICENSE = "LGPL-2.1-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "0d62712b956bc154f85fb0a266e2a3c5913c2967e00348701b32411d6def31e5" | ||
| 7 | |||
| 8 | # setup.py of chardet needs this. | ||
| 9 | DEPENDS += "${PYTHON_PN}-pytest-runner-native" | ||
| 10 | |||
| 11 | inherit pypi python_setuptools_build_meta | ||
| 12 | |||
| 13 | PACKAGES =+ "${PN}-cli" | ||
| 14 | FILES:${PN}-cli += " \ | ||
| 15 | ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS:${PN}-cli = "${PN} " | ||
| 19 | |||
| 20 | RDEPENDS:${PN}:class-target += " \ | ||
| 21 | ${PYTHON_PN}-logging \ | ||
| 22 | " | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native nativesdk" | ||
