pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-whitenoise



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Sep 29 14:45:20 UTC 2017

Added Files:
        pkgsrc/www/py-whitenoise: DESCR Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-whitenoise/DESCR \
    pkgsrc/www/py-whitenoise/Makefile pkgsrc/www/py-whitenoise/PLIST \
    pkgsrc/www/py-whitenoise/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/py-whitenoise/DESCR
diff -u /dev/null pkgsrc/www/py-whitenoise/DESCR:1.1
--- /dev/null   Fri Sep 29 14:45:20 2017
+++ pkgsrc/www/py-whitenoise/DESCR      Fri Sep 29 14:45:20 2017
@@ -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
Index: pkgsrc/www/py-whitenoise/Makefile
diff -u /dev/null pkgsrc/www/py-whitenoise/Makefile:1.1
--- /dev/null   Fri Sep 29 14:45:20 2017
+++ pkgsrc/www/py-whitenoise/Makefile   Fri Sep 29 14:45:20 2017
@@ -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"
Index: pkgsrc/www/py-whitenoise/PLIST
diff -u /dev/null pkgsrc/www/py-whitenoise/PLIST:1.1
--- /dev/null   Fri Sep 29 14:45:20 2017
+++ pkgsrc/www/py-whitenoise/PLIST      Fri Sep 29 14:45:20 2017
@@ -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
Index: pkgsrc/www/py-whitenoise/distinfo
diff -u /dev/null pkgsrc/www/py-whitenoise/distinfo:1.1
--- /dev/null   Fri Sep 29 14:45:20 2017
+++ pkgsrc/www/py-whitenoise/distinfo   Fri Sep 29 14:45:20 2017
@@ -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