poky/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
Richard Purdie 0b33104a97 python: Drop ${PYTHON_PN}
python 2 is gone and we don't need the abstraction now, drop the remaining usage
of this variable.

The definition in python3-dir.bbclass is left for now for other layers.

(From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-20 11:39:45 +00:00

25 lines
636 B
BlitzBasic

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] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"
# setup.py of chardet needs this.
DEPENDS += "python3-pytest-runner-native"
inherit pypi python_setuptools_build_meta
PACKAGES =+ "${PN}-cli"
FILES:${PN}-cli += " \
${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
"
RDEPENDS:${PN}-cli = "${PN} "
RDEPENDS:${PN}:class-target += " \
python3-logging \
"
BBCLASSEXTEND = "native nativesdk"