www/py-flask-compress 1.14_1 FreeBSD
Extension for Flask that compresses responses with gzip
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- www, python
- Package size
- 13.4 KiB, 41.2 KiB installed
Description
Flask-Compress both adds the various headers required for a compressed response and gzips the response data. This makes serving gzip compressed static files extremely easy.
Internally, every time a request is made the extension will check if it matches one of the compressible MIME types and will automatically attach the appropriate headers.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-flask-compress | 1.14_1 |
| OpenBSD | www/py-flask-compress | 1.25 |
| DragonFly | www/py-flask-compress | 1.14_1 |
| HardenedBSD | www/py-flask-compress | 1.14_1 |
| GhostBSD | www/py-flask-compress | 1.14_1 |
Install
Binary package:
pkg install py312-Flask-Compress
From the ports tree:
cd /usr/ports/www/py-flask-compress/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-Flask-Compress>0:www/py-flask-compress
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.14_1 | 1.14_1 | 1.12 | 1.14_1 | 1.14_1 |
| FreeBSD:14:quarterly | 1.14_1 | 1.14_1 | n/a | 1.14_1 | 1.14_1 |
| FreeBSD:15:latest | 1.14_1 | 1.14_1 | n/a | 1.14_1 | 1.14_1 |
| FreeBSD:15:quarterly | 1.14_1 | 1.14_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.14_1 | 1.14_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0: devel/py-setuptools-scm
Runtime 2
${PYTHON_PKGNAMEPREFIX}flask>=0: www/py-flask${PYTHON_PKGNAMEPREFIX}brotli>=0: archivers/py-brotli
Test 1
${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest
The full lists below include those, and their dependencies in turn.
Build dependencies 13
Run dependencies 19
- archivers/brotli
- archivers/py-brotli
- devel/gettext-runtime
- devel/libffi
- devel/py-Jinja2
- devel/py-babel
- devel/py-blinker
- devel/py-click
- devel/readline
- lang/python312
- math/mpdecimal
- print/indexinfo
- security/py-itsdangerous
- textproc/expat2
- textproc/py-markupsafe
- www/py-asgiref
- www/py-flask
- www/py-python-dotenv
- www/py-werkzeug
Required by 3
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Flask-Compress-1.14.tar.gz | 13544 | e46528f37b91857012be38e24e65db1a248662c3dc32ee7808b5986bf1d123ee |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.