Port details |
- py-zipstream-ng Modern and easy to use streamable zip file generator
- 1.7.1 archivers =2 1.7.1Version of this port present on the latest quarterly branch.
- Maintainer: DtxdF@disroot.org
- Port Added: 2023-04-30 18:47:18
- Last Update: 2023-10-19 07:07:25
- Commit Hash: 2ee2bdd
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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.
- ¦ ¦ ¦ ¦
- 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>)
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest-cov>0 : devel/py-pytest-cov@py39
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- net/py-magic-wormhole
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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.7.1 19 Oct 2023 07:07:25 |
Robert Clausecker (fuz) 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 |
Rene Ladan (rene) |
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 |
Robert Clausecker (fuz) 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 |
Robert Clausecker (fuz) 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 ) |