mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-14 18:07:06 +00:00
python3-charset-normalizer: Upgrade 3.4.9 -> 3.5.1
Upgrade to release 3.5.1: - Raised upper bound of setuptools to v84 (#794) - Cache performance access optimization for our CharInfo struct (prebuilt only). - No longer decoding large content when the noise detector output give a high entropy. Only impacted large content input >1M bytes. Deploy sample data files to fix tests. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
31c8104ca5
commit
8d5b629c76
2 files changed
+8
-2
No files matched your search
@@ -0,0 +1,30 @@
|
||||
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"
|
||||
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
|
||||
|
||||
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"
|
||||
Reference in new issue
Block a user