Files
meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.5.1.bb
T
Ross Burton e2f053038c meta-python: remove redundant UPSTREAM_CHECK_PYPI_PACKAGE
Remove redundant UPSTREAM_CHECK_PYPI_PACKAGE assignments of PYPI_PACKAGE,
which is the default value.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-04 17:10:37 -07:00

30 lines
929 B
BlitzBasic

SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
HOMEPAGE = "https://github.com/ousret/charset_normalizer"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05"
SRC_URI += "file://0001-pyproject.toml-relax-setuptools-upper-bound.patch"
SRC_URI[sha256sum] = "6117b84ea48435e5356dc737f5121485c30920ba43375fa7b434fd753df0eac3"
DEPENDS += "python3-setuptools-scm-native python3-mypy-native"
inherit pypi python_setuptools_build_meta ptest-python-pytest
PYPI_PACKAGE = "charset_normalizer"
RDEPENDS:${PN} += " \
python3-core \
python3-logging \
python3-codecs \
python3-json \
"
RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps"
do_install_ptest:append() {
install -d ${D}${PTEST_PATH}/data
install -m 0644 ${S}/data/* ${D}${PTEST_PATH}/data/
}
BBCLASSEXTEND = "native nativesdk"