Created attachment 242519 [details] py-zipstream-ng-1.6.0.patch Description: 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. QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.2-RELEASE, amd64)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb7c45a5b5220813909a1178f3d609e15efb290b commit bb7c45a5b5220813909a1178f3d609e15efb290b Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2023-05-31 15:01:31 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-06-01 22:29:22 +0000 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 archivers/py-zipstream-ng/Makefile | 2 +- archivers/py-zipstream-ng/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
Thank you for your submission.