./www/py-whitenoise, Simplified static file serving for WSGI applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.7.0, Package name: py312-whitenoise-6.7.0, Maintainer: pkgsrc-users

WhiteNoise provides radically simplified static file serving for Python
web apps.

With a couple of lines of config WhiteNoise allows your web app to serve
its own static files, making it a self-contained unit that can be
deployed anywhere without relying on nginx, Amazon S3 or any other
external service. (Especially useful on Heroku, OpenShift and other PaaS
providers.)

It's designed to work nicely with a CDN for high-traffic sites so you
don't have to sacrifice performance to benefit from simplicity.

WhiteNoise works with any WSGI-compatible app but has some special
auto-configuration features for Django.

WhiteNoise takes care of best-practices for you, for instance:

- Serving compressed content (gzip and Brotli formats, handling
Accept-Encoding and Vary headers correctly)

- Setting far-future cache headers on content which won't change


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 24.388 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2019-11-13 22:01:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-whitenoise: updated to 4.1.4

v4.1.4
 * Make tests more deterministic and easier to run outside of ``tox``.
 * Fix Fedora packaging `issue \ 
<https://github.com/evansd/whitenoise/issues/225>`_.
 * Use `Black <https://github.com/psf/black>`_ to format all code.

v4.1.3
 * Fix handling of zero-valued mtimes which can occur when running on some
   filesystems.
 * Fix potential path traversal attack while running in autorefresh mode on
   Windows.
   2018-12-03 20:31:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-whitenoise: updated to 4.1.2

v4.1.2
* Add correct MIME type for WebAssembly, which is required for files to be
  executed
* Stop accessing the FILE_CHARSET Django setting which was almost entirely
  unused and is now deprecated

v4.1.1
* Fix bug in ETag handling
* Documentation fixes
   2018-10-11 12:55:56 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-whitenoise: updated to 4.1

v4.1:
Silenced spurious warning about missing directories when in development (i.e \ 
“autorefresh”) mode.
Support supplying paths as Pathlib instances, rather than just strings.
Add a new CompressedStaticFilesStorage backend to support applying compression \ 
without applying Django’s hash-versioning process.
Documentation improvements.
   2017-09-29 16:45:20 by Joerg Sonnenberger | Files touched by this commit (4)
Log message:
Add py-whitenoise-4.0b3:

WhiteNoise provides radically simplified static file serving for Python
web apps.

With a couple of lines of config WhiteNoise allows your web app to serve
its own static files, making it a self-contained unit that can be
deployed anywhere without relying on nginx, Amazon S3 or any other
external service. (Especially useful on Heroku, OpenShift and other PaaS
providers.)

It’s designed to work nicely with a CDN for high-traffic sites so you
don’t have to sacrifice performance to benefit from simplicity.

WhiteNoise works with any WSGI-compatible app but has some special
auto-configuration features for Django.

WhiteNoise takes care of best-practices for you, for instance:

- Serving compressed content (gzip and Brotli formats, handling
Accept-Encoding and Vary headers correctly)

- Setting far-future cache headers on content which won’t change