mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
python3-chardet: update to 7.4.1
Update package to 7.4.1. Changes since 7.2.0: 7.3.0: - License changed from MIT to 0BSD (no attribution required) - New mime_type field in all detection results -- identifies binary and text file types via magic number matching (40+ formats supported) - Performance: 4 additional modules compiled with mypyc; per-file detection capped at 16 KB (worst-case time: 62ms -> 26ms) - Added riscv64 prebuilt wheel support - Bug fix: null-separated ASCII data was misdetected as UTF-16-BE 7.4.0: - Accuracy improved from 98.6% to 99.3%; speed improved with new dense zlib-compressed model format (cold start: ~75ms -> ~13ms with mypyc) - Training data overhauled: added MADLAD-400 and Wikipedia sources, eliminated train/test overlap, samples increased from 15K to 25K per language/encoding pair - Bug fix: dedicated structural analyzers added for CP932, CP949, and Big5-HKSCS (previously sharing base encoding byte-range analyzer) 7.4.1: - Bug fix: BOM-prefixed UTF-16/32 input now correctly returns utf-16/utf-32 instead of endian-specific variants (utf-16-le/utf-16-be/etc.), which previously caused a stray U+FEFF character at the start of decoded text Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
1616acb388
commit
684e738cab
@@ -8,11 +8,11 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=python-chardet
|
PKG_NAME:=python-chardet
|
||||||
PKG_VERSION:=7.2.0
|
PKG_VERSION:=7.4.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PYPI_NAME:=chardet
|
PYPI_NAME:=chardet
|
||||||
PKG_HASH:=4ef7292b1342ea805c32cce58a45db204f59d080ed311d6cdaa7ca747fcc0cd5
|
PKG_HASH:=cda41132a45dfbf6984dade1f531a4098c813caf266c66cc446d90bb9369cabd
|
||||||
|
|
||||||
PKG_LICENSE:=LGPL-2.1-or-later
|
PKG_LICENSE:=LGPL-2.1-or-later
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user