mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-25 17:32:06 +00:00
python3-charset-normalizer: Upgrade 3.4.2 -> 3.4.3
Upgrade to release 3.4.3: - mypy(c) is no longer a required dependency at build time if CHARSET_NORMALIZER_USE_MYPYC isn't set to 1. - automatically lower confidence on small bytes samples that are not Unicode in detect output legacy function. - Custom build backend to overcome inability to mark mypy as an optional dependency in the build phase. - Support for Python 3.14 - sdist archive contained useless directories. - automatically fallback on valid UTF-16 or UTF-32 even if the md says it's noisy. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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-Update-mypy-requirement.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14"
|
||||
|
||||
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"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user