[meta-python,2/5] python3-charset-normalizer: Add recipe

Message ID 20211115185652.27542-2-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,1/5] python3-cchardet: Add recipe | expand

Commit Message

Leon Anavi Nov. 15, 2021, 6:56 p.m. UTC
Package for encoding & language detection. Charset detection.
Version 2.0.7:

- Add support for Kazakh (Cyrillic) language detection
- Further improve inferring the language from a given code page
  (single-byte)
- Remove redundant logging entry about detected language(s)
- Trying to leverage PEP263 when PEP3120 is not supported
- Refactoring for potential performance improvements in loops
- Various detection improvement (MD+CD)
- Fix a minor inconsistency between Python 3.5 and other versions
  regarding language detection

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python3-charset-normalizer_2.0.7.bb            | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_2.0.7.bb

Patch

diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_2.0.7.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_2.0.7.bb
new file mode 100644
index 000000000..7db106398
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_2.0.7.bb
@@ -0,0 +1,8 @@ 
+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=0974a390827087287db39928f7c524b5"
+
+SRC_URI[sha256sum] = "e019de665e2bcf9c2b64e2e5aa025fa991da8720daa3c1138cadd2fd1856aed0"
+
+inherit pypi setuptools3