pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-whitenoise Add py-whitenoise-4.0b3:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a03caffb5d8
branches:  trunk
changeset: 369437:4a03caffb5d8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Sep 29 14:45:20 2017 +0000

description:
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

diffstat:

 www/py-whitenoise/DESCR    |  21 +++++++++++++++++++
 www/py-whitenoise/Makefile |  16 ++++++++++++++
 www/py-whitenoise/PLIST    |  50 ++++++++++++++++++++++++++++++++++++++++++++++
 www/py-whitenoise/distinfo |   6 +++++
 4 files changed, 93 insertions(+), 0 deletions(-)

diffs (109 lines):

diff -r 2bf0a8163059 -r 4a03caffb5d8 www/py-whitenoise/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-whitenoise/DESCR   Fri Sep 29 14:45:20 2017 +0000
@@ -0,0 +1,21 @@
+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
diff -r 2bf0a8163059 -r 4a03caffb5d8 www/py-whitenoise/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-whitenoise/Makefile        Fri Sep 29 14:45:20 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/09/29 14:45:20 joerg Exp $
+
+DISTNAME=      whitenoise-4.0b3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=w/whitenoise/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://whitenoise.evans.io/
+COMMENT=       Simplified static file serving for WSGI applications
+LICENSE=       mit
+
+USE_LANGUAGES= # empty
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2bf0a8163059 -r 4a03caffb5d8 www/py-whitenoise/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-whitenoise/PLIST   Fri Sep 29 14:45:20 2017 +0000
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/29 14:45:20 joerg Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/whitenoise/__init__.py
+${PYSITELIB}/whitenoise/__init__.pyc
+${PYSITELIB}/whitenoise/__init__.pyo
+${PYSITELIB}/whitenoise/base.py
+${PYSITELIB}/whitenoise/base.pyc
+${PYSITELIB}/whitenoise/base.pyo
+${PYSITELIB}/whitenoise/compress.py
+${PYSITELIB}/whitenoise/compress.pyc
+${PYSITELIB}/whitenoise/compress.pyo
+${PYSITELIB}/whitenoise/django.py
+${PYSITELIB}/whitenoise/django.pyc
+${PYSITELIB}/whitenoise/django.pyo
+${PYSITELIB}/whitenoise/httpstatus_backport.py
+${PYSITELIB}/whitenoise/httpstatus_backport.pyc
+${PYSITELIB}/whitenoise/httpstatus_backport.pyo
+${PYSITELIB}/whitenoise/media_types.py
+${PYSITELIB}/whitenoise/media_types.pyc
+${PYSITELIB}/whitenoise/media_types.pyo
+${PYSITELIB}/whitenoise/middleware.py
+${PYSITELIB}/whitenoise/middleware.pyc
+${PYSITELIB}/whitenoise/middleware.pyo
+${PYSITELIB}/whitenoise/responders.py
+${PYSITELIB}/whitenoise/responders.pyc
+${PYSITELIB}/whitenoise/responders.pyo
+${PYSITELIB}/whitenoise/runserver_nostatic/__init__.py
+${PYSITELIB}/whitenoise/runserver_nostatic/__init__.pyc
+${PYSITELIB}/whitenoise/runserver_nostatic/__init__.pyo
+${PYSITELIB}/whitenoise/runserver_nostatic/management/__init__.py
+${PYSITELIB}/whitenoise/runserver_nostatic/management/__init__.pyc
+${PYSITELIB}/whitenoise/runserver_nostatic/management/__init__.pyo
+${PYSITELIB}/whitenoise/runserver_nostatic/management/commands/__init__.py
+${PYSITELIB}/whitenoise/runserver_nostatic/management/commands/__init__.pyc
+${PYSITELIB}/whitenoise/runserver_nostatic/management/commands/__init__.pyo
+${PYSITELIB}/whitenoise/runserver_nostatic/management/commands/runserver.py
+${PYSITELIB}/whitenoise/runserver_nostatic/management/commands/runserver.pyc
+${PYSITELIB}/whitenoise/runserver_nostatic/management/commands/runserver.pyo
+${PYSITELIB}/whitenoise/scantree.py
+${PYSITELIB}/whitenoise/scantree.pyc
+${PYSITELIB}/whitenoise/scantree.pyo
+${PYSITELIB}/whitenoise/storage.py
+${PYSITELIB}/whitenoise/storage.pyc
+${PYSITELIB}/whitenoise/storage.pyo
+${PYSITELIB}/whitenoise/string_utils.py
+${PYSITELIB}/whitenoise/string_utils.pyc
+${PYSITELIB}/whitenoise/string_utils.pyo
diff -r 2bf0a8163059 -r 4a03caffb5d8 www/py-whitenoise/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-whitenoise/distinfo        Fri Sep 29 14:45:20 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/29 14:45:20 joerg Exp $
+
+SHA1 (whitenoise-4.0b3.tar.gz) = e2e11b03211cef859ecf71524eb3311b3a85eda5
+RMD160 (whitenoise-4.0b3.tar.gz) = 6b93d167164d05cb04ef1e37baab377966890a87
+SHA512 (whitenoise-4.0b3.tar.gz) = f7707203391ee31ea41a2658bdcba1a377d15229539dc4b7d9f13ce5ea94839cb25bccd28a88f053cd664019c1d9c5bc2046a53d8bb40c02025a30b685ee9370
+Size (whitenoise-4.0b3.tar.gz) = 40696 bytes



Home | Main Index | Thread Index | Old Index