./archivers/py-brotli, Generic-purpose lossless compression algorithm (Python module)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: py313-brotli-1.2.0, Maintainer: pkgsrc-users

Brotli is a generic-purpose lossless compression algorithm that compresses data
using a combination of a modern variant of the LZ77 algorithm, Huffman coding
and 2nd order context modeling, with a compression ratio comparable to the best
currently available general-purpose compression methods. It is similar in speed
with deflate but offers more dense compression.

This package contains Python bindings for Brotli.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2025-11-05 23:14:08 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-brotli: update to 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
    build: Bazel modules

Improved

    build: install man pages
    build: updated / fixed / refined Bazel buildfiles
    encoder: faster encoding
    python: modernize extension / allow multi-phase module initialization

Changed

    decoder / encoder: static tables use "small" model (allows 2GiB+ \ 
binaries)
   2025-04-22 15:11:57 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-brotli: convert to wheel.mk

Bump PKGREVISION.
   2025-02-02 11:38:04 by Havard Eidnes | Files touched by this commit (28)
Log message:
lang/python and a number of python packages: re-do atomic64.mk issue.

Evidently, python 3.13 brought in the need to support 64-bit atomics.
This means that python extension packages built with C needs to
use mk/atomic64.mk to make -latomic available on the required 32-bit
ports.  Sadly, there is no reliable way to detect in the .mk files
whether the package is using C (or C++), so this change adds an
unconditional include of mk/atomic64.mk when the python version is
equal to or larger than 3.13 for packages using egg.mk or wheel.mk.

This undoes the individual package Makefile inclusions of mk/atomic64.mk
that I've added over the last few days.
   2025-01-16 17:41:28 by Havard Eidnes | Files touched by this commit (1)
Log message:
archivers/py-brotli: add use of mk/atomic64.mk to fix build with python-3.13.
   2023-11-22 19:32:47 by Amitai Schleier | Files touched by this commit (4)
Log message:
{py-,}brotli: set DIST_SUBDIR to distinguish distfiles on case-insensitive fs.
   2023-09-25 01:39:18 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-brotli: not for Python 2
   2023-09-13 21:38:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-brotli: updated to 1.1.0

1.1.0

Added

decoder: BrotliDecoderAttachDictionary
decoder: BrotliDecoderOnFinish callback behind BROTLI_REPORTING
decoder: BrotliDecoderSetMetadataCallbacks
encoder: BrotliEncoderPrepareDictionary, BrotliEncoderDestroyPreparedDictionary, \ 
BrotliEncoderAttachPreparedDictionary
decoder: BrotliEncoderOnFinish callback behind BROTLI_REPORTING
common: BrotliSharedDictionaryCreateInstance, \ 
BrotliSharedDictionaryDestroyInstance, BrotliSharedDictionaryAttach
CLI: --dictionary option
java: encoder wrapper: Parameters.mode
java: Brotli{Input|Output}Stream.attachDictionary
java: wrapper: partial byte array input
typescript: decoder (transpiled from Java)

Removed

build: BROTLI_BUILD_PORTABLE option

Fixed

java: JNI decoder failed sometimes on power of 2 payloads

Improved

java / js: smaller decoder footprint
decoder: faster decoding
encoder: faster encoding
encoder: smaller stack frames
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS