first commit: base 2024.08

Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
tao89959
2025-02-12 17:59:29 +08:00
committed by maoxiaochuan
commit f3217a7708
14356 changed files with 572894 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_BROTLI
bool "python-brotli"
help
Python bindings for the Brotli compression library.
https://github.com/google/brotli
+5
View File
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/brotli/json
md5 908d109a0309c33b626d01137eb4a060 Brotli-1.1.0.tar.gz
sha256 81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724 Brotli-1.1.0.tar.gz
# Locally computed sha256 checksums
sha256 3d180008e36922a4e8daec11c34c7af264fed5962d07924aea928c38e8663c94 LICENSE
+22
View File
@@ -0,0 +1,22 @@
################################################################################
#
# python-brotli
#
################################################################################
PYTHON_BROTLI_VERSION = 1.1.0
PYTHON_BROTLI_SOURCE = Brotli-$(PYTHON_BROTLI_VERSION).tar.gz
PYTHON_BROTLI_SITE = https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f075ebbe77db8555463787b
PYTHON_BROTLI_SETUP_TYPE = setuptools
PYTHON_BROTLI_LICENSE = MIT
PYTHON_BROTLI_LICENSE_FILES = LICENSE
PYTHON_BROTLI_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
PYTHON_BROTLI_CFLAGS += -O0
endif
PYTHON_BROTLI_ENV = CFLAGS="$(PYTHON_BROTLI_CFLAGS)"
$(eval $(python-package))