notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
Port details
py-zipstream-ng Modern and easy to use streamable zip file generator
1.7.1 archivers on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.7.1Version of this port present on the latest quarterly branch.
Maintainer: DtxdF@disroot.org search for ports maintained by this maintainer
Port Added: 2023-04-30 18:47:18
Last Update: 2023-10-19 07:07:25
Commit Hash: 2ee2bdd
Also Listed In: python
License: LGPL3
WWW:
https://github.com/pR0Ps/zipstream-ng/
Description:
zipstream-ng is a modern and easy to use streamable zip file generator. It can package and stream many files and folders on the fly without needing temporary files or excessive memory. Includes the ability to calculate the total size of the stream before any data is actually added (provided no compression is used). This makes it ideal for use in web applications since the total size can be used to set the `Content-Length` header without having to generate the entire file first. Features: * Generates zip data on the fly as it's requested. * Can calculate the total size of the resulting zip file before generation even begins. * Flexible API: Typical use cases are simple, complicated ones are possible. * Supports zipping data from files, bytes, strings, and any other iterable objects. * Threadsafe: Won't mangle data if multiple threads concurrently add/read data to/from the same stream. * Includes a clone of Python's `http.server` module with zip support added. Try `python -m zipstream.server`. * Automatically uses Zip64 extensions, but only if they are required. * No external dependencies.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}zipstream-ng>0:archivers/py-zipstream-ng@${PY_FLAVOR}
To install the port:
cd /usr/ports/archivers/py-zipstream-ng/ && make install clean
To add the package, run one of these commands:
  • pkg install archivers/py-zipstream-ng
  • pkg install py39-zipstream-ng
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-zipstream-ng listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-zipstream-ng
Package flavors (<flavor>: <package>)
  • py39: py39-zipstream-ng
distinfo:
TIMESTAMP = 1697192764 SHA256 (zipstream-ng-1.7.1.tar.gz) = f92023b9ca578cd7fdd94ec733c65664ecf7ee32493e38cdf8e365a1316e9ffc SIZE (zipstream-ng-1.7.1.tar.gz) = 35488

Packages (timestamps in pop-ups are UTC):
py39-zipstream-ng
ABIlatestquarterly
FreeBSD:13:aarch641.7.11.7.1
FreeBSD:13:amd641.7.11.7.1
FreeBSD:13:armv6-1.6.0
FreeBSD:13:armv71.7.11.7.1
FreeBSD:13:i3861.7.11.7.1
FreeBSD:13:powerpc-1.7.1
FreeBSD:13:powerpc64-1.7.1
FreeBSD:13:powerpc64le-1.7.1
FreeBSD:14:aarch641.7.11.7.1
FreeBSD:14:amd641.7.11.7.1
FreeBSD:14:armv6--
FreeBSD:14:armv71.7.11.7.1
FreeBSD:14:i3861.7.11.7.1
FreeBSD:14:powerpc1.6.01.7.1
FreeBSD:14:powerpc64-1.7.1
FreeBSD:14:powerpc64le1.6.01.7.1
FreeBSD:15:aarch641.7.1-
FreeBSD:15:amd641.7.1-
FreeBSD:15:armv71.7.1-
FreeBSD:15:powerpc1.7.1-
FreeBSD:15:powerpc641.7.1-
FreeBSD:15:powerpc64le1.7.1-
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. py39-pytest-cov>0 : devel/py-pytest-cov@py39
  2. py39-pytest>=7,1 : devel/py-pytest@py39
  3. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
archivers_py-zipstream-ng
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/z/zipstream-ng/
  2. https://pypi.org/packages/source/z/zipstream-ng/
Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7.1
19 Oct 2023 07:07:25
commit hash: 2ee2bdd34eec84bdf7120eadb17489cfdfda5210commit hash: 2ee2bdd34eec84bdf7120eadb17489cfdfda5210commit hash: 2ee2bdd34eec84bdf7120eadb17489cfdfda5210commit hash: 2ee2bdd34eec84bdf7120eadb17489cfdfda5210 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Jesús Daniel Colmenares Oviedo
archivers/py-zipstream-ng: Update to 1.7.1

ChangeLog: https://github.com/pR0Ps/zipstream-ng/blob/v1.7.1/CHANGELOG.md

* Fix issue where it was possible to add paths with arcnames that didn't
  match the path contents (file ending with "/", directory not ending with "/")

PR:		274451
1.6.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
1.6.0
01 Jun 2023 22:29:22
commit hash: bb7c45a5b5220813909a1178f3d609e15efb290bcommit hash: bb7c45a5b5220813909a1178f3d609e15efb290bcommit hash: bb7c45a5b5220813909a1178f3d609e15efb290bcommit hash: bb7c45a5b5220813909a1178f3d609e15efb290b files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Jesús Daniel Colmenares Oviedo
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
1.5.0
30 Apr 2023 18:41:44
commit hash: 4dc6444322ea7e531a3c2bfbc87911295daff4eccommit hash: 4dc6444322ea7e531a3c2bfbc87911295daff4eccommit hash: 4dc6444322ea7e531a3c2bfbc87911295daff4eccommit hash: 4dc6444322ea7e531a3c2bfbc87911295daff4ec files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Jesús Daniel Colmenares Oviedo
archivers/py-zipstream-ng: New port: streamable zip file generator

zipstream-ng is a modern and easy to use streamable zip file
generator. It can package and stream many files and folders on the
fly without needing temporary files or excessive memory.

Includes the ability to calculate the total size of the stream
before any data is actually added (provided no compression is used).
This makes it ideal for use in web applications since the total
size can be used to set the `Content-Length` header without having
to generate the entire file first.

Features:
 * Generates zip data on the fly as it's requested.
 * Can calculate the total size of the resulting zip file before generation even
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 4