package/python-charset-normalizer: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
James Hilliard 2021-10-24 20:42:32 -06:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 7f9ad0ed7f
commit 88a8565de0
5 changed files with 29 additions and 0 deletions

View File

@ -1254,6 +1254,7 @@ F: package/python-bidict/
F: package/python-brotli/
F: package/python-cbor2/
F: package/python-cchardet/
F: package/python-charset-normalizer/
F: package/python-flatbuffers/
F: package/python-frozenlist/
F: package/python-greenlet/

View File

@ -951,6 +951,7 @@ menu "External python modules"
source "package/python-channels-redis/Config.in"
source "package/python-characteristic/Config.in"
source "package/python-chardet/Config.in"
source "package/python-charset-normalizer/Config.in"
source "package/python-cheetah/Config.in"
source "package/python-cheroot/Config.in"
source "package/python-cherrypy/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_CHARSET_NORMALIZER
bool "python-charset-normalizer"
depends on BR2_PACKAGE_PYTHON3
help
The Real First Universal Charset Detector. Open, modern and
actively maintained alternative to Chardet.
https://github.com/ousret/charset_normalizer

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/charset-normalizer/json
md5 b28e4463613ff3911d5a2dc62b96233f charset-normalizer-2.0.7.tar.gz
sha256 e019de665e2bcf9c2b64e2e5aa025fa991da8720daa3c1138cadd2fd1856aed0 charset-normalizer-2.0.7.tar.gz
# Locally computed sha256 checksums
sha256 eb31a0c5a4fb09b8a4e32055d25c1e5f9c358a2752fef3cd720213d1ccfee241 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-charset-normalizer
#
################################################################################
PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.7
PYTHON_CHARSET_NORMALIZER_SOURCE = charset-normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz
PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/9f/c5/334c019f92c26e59637bb42bd14a190428874b2b2de75a355da394cf16c1
PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools
PYTHON_CHARSET_NORMALIZER_LICENSE = MIT
PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE
$(eval $(python-package))