F: package/python-aiojobs/
F: package/python-aiorwlock/
F: package/python-async-timeout/
+F: package/python-brotli/
F: package/python-cchardet/
F: package/python-multidict/
F: package/python-pycares/
source "package/python-beautifulsoup4/Config.in"
source "package/python-bitstring/Config.in"
source "package/python-bottle/Config.in"
+ source "package/python-brotli/Config.in"
source "package/python-cached-property/Config.in"
source "package/python-can/Config.in"
source "package/python-cbor/Config.in"
--- /dev/null
+config BR2_PACKAGE_PYTHON_BROTLI
+ bool "python-brotli"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ Python bindings for the Brotli compression library.
+
+ https://github.com/google/brotli
--- /dev/null
+# md5, sha256 from https://pypi.org/pypi/brotli/json
+md5 3444b534e86f65f9f229fd123965be87 Brotli-1.0.7.zip
+sha256 0538dc1744fd17c314d2adc409ea7d1b779783b89fd95bcfb0c2acc93a6ea5a7 Brotli-1.0.7.zip
+# Locally computed sha256 checksums
+sha256 3d180008e36922a4e8daec11c34c7af264fed5962d07924aea928c38e8663c94 LICENSE
--- /dev/null
+################################################################################
+#
+# python-brotli
+#
+################################################################################
+
+PYTHON_BROTLI_VERSION = 1.0.7
+PYTHON_BROTLI_SOURCE = Brotli-$(PYTHON_BROTLI_VERSION).zip
+PYTHON_BROTLI_SITE = https://files.pythonhosted.org/packages/cd/9c/7955895f5672ecc85270244582c6b53ff95bb4c24bf77bd9271d42351635
+PYTHON_BROTLI_SETUP_TYPE = setuptools
+PYTHON_BROTLI_LICENSE = MIT
+PYTHON_BROTLI_LICENSE_FILES = LICENSE
+
+define PYTHON_BROTLI_EXTRACT_CMDS
+ $(UNZIP) -d $(@D) $(PYTHON_BROTLI_DL_DIR)/$(PYTHON_BROTLI_SOURCE)
+ mv $(@D)/Brotli-$(PYTHON_BROTLI_VERSION)/* $(@D)
+ $(RM) -r $(@D)/Brotli-$(PYTHON_BROTLI_VERSION)
+endef
+
+$(eval $(python-package))