HomeFreeBSD

archivers/py-zipstream-ng: Update to 1.6.0

Description

archivers/py-zipstream-ng: Update to 1.6.0

ChangeLog:
https://github.com/pR0Ps/zipstream-ng/blob/master/CHANGELOG.md#v160

  • Add the ability to provide a custom "walk" function to ZipStream.add_path for more control over how directories are walked.
  • Change the exception raised when trying to add a file that doesn't exist from a ValueError to a more appropriate FileNotFoundError.
  • Optimize the number of os.stat calls required to add a file.
  • Fix issue where adding data with an arcname that contained a null byte would lead to an incorrect size being calculated.
  • When ZipStream.add is provided a size alongside an iterable, the size will now be used to determine if Zip64 extensions are needed.

PR: 271746

Details

Provenance
Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>Authored on May 31 2023, 3:01 PM
fuzCommitted on Jun 1 2023, 10:29 PM
Parents
R11:9d96ce8e8e1f: devel/ocaml-opam: fix distinfo
Branches
Unknown
Tags
Unknown

Event Timeline

fuz committed R11:bb7c45a5b522: archivers/py-zipstream-ng: Update to 1.6.0 (authored by Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>).Jun 1 2023, 10:29 PM