blob: 0ca0aef3acb4b50032bb6e5413e355de98615c0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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=4bf661c1e3793e55c8d1051bc5e0ae21"
SRC_URI[sha256sum] = "6b78048c3c97c7b2ed1fbad7a18f76f5a6547f7d34dbab536cc13887c9a92fa4"
UPSTREAM_CHECK_REGEX = "chardet-(?P<pver>6\..*)\.tar"
inherit pypi python_hatchling
DEPENDS += "python3-hatch-vcs-native"
PACKAGES =+ "${PN}-cli"
FILES:${PN}-cli += " \
${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
"
RDEPENDS:${PN}-cli = "${PN} "
RDEPENDS:${PN}:class-target += " \
python3-logging \
"
BBCLASSEXTEND = "native nativesdk"
|