From 382e4de7d8b7d0e980fefcda7a06e5f20f5f26c0 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 6 Jan 2026 11:42:57 +0200 Subject: python3-brotli: Upgrade 1.1.0 -> 1.2.0 Upgrade to release 1.2.0: SECURITY - python: added Decompressor::can_accept_more_data method and optional output_buffer_limit argument Decompressor::process; that allows mitigation of unexpectedly large output; reported by Charles Chan (https://github.com/charleswhchan) Added - decoder/encoder: added static initialization to reduce binary size - python: allow limiting decoder output (see SECURITY section) - CLI: brcat alias; allow decoding concatenated brotli streams - kt: pure Kotlin decoder - cgo: support "raw" dictionaries - build: Bazel modules Removed - java: dropped finalize() for native entities Fixed - java: in compress pass correct length to native encoder Improved - build: install man pages - build: updated / fixed / refined Bazel buildfiles - encoder: faster encoding - cgo: link via pkg-config - python: modernize extension / allow multi-phase module initialization Changed - decoder / encoder: static tables use "small" model (allows 2GiB+ binaries) Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-brotli_1.2.0.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-brotli_1.2.0.bb (limited to 'meta-python/recipes-devtools/python/python3-brotli_1.2.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-brotli_1.2.0.bb b/meta-python/recipes-devtools/python/python3-brotli_1.2.0.bb new file mode 100644 index 0000000000..f4cdab65b6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-brotli_1.2.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "Brotli compression format" +HOMEPAGE = "https://pypi.org/project/Brotli/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b" + +PYPI_PACKAGE = "brotli" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +CVE_PRODUCT = "brotli" + +SRC_URI[sha256sum] = "e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a" + +inherit pypi pkgconfig python_setuptools_build_meta + +DEPENDS += " \ + python3-pkgconfig-native \ +" + +RDEPENDS:${PN} += " \ + python3-cffi \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf