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:   adam
Date:           Fri Sep 13 19:30:23 UTC 2024

Modified Files:
        pkgsrc/www/py-whitenoise: Makefile PLIST distinfo

Log Message:
py-whitenoise: updated to 6.7.0

6.7.0 (2024-06-19)
Support Django 5.1.
6.6.0 (2023-10-11)
Support Django 5.0.
Drop Python 3.7 support.
6.5.0 (2023-06-16)
Support Python 3.12.
Changed documentation site URL from https://whitenoise.evans.io/ to https://whitenoise.readthedocs.io/.
6.4.0 (2023-02-25)
Support Django 4.2.
Remove further support for byte strings from the root and prefix arguments to WhiteNoise, and Django’s STATIC_ROOT setting. Like in the previous release, this seems to be a remnant of Python 2 
support. Again, this change may be backwards incompatible for a small number of projects, but it’s unlikely. Django does not support STATIC_ROOT being a byte string.
6.3.0 (2023-01-03)
Add some video file extensions to be ignored during compression. Since such files are already heavily compressed, further compression rarely helps.

Remove the behaviour of decoding byte strings passed for settings that take strings. This seemed to be left around from supporting Python 2. This change may be backwards incompatible for a small 
number of projects.
Document “hidden” feature of setting max_age to None to disable the Cache-Control header.
Drop support for working as old-style Django middleware, as support was removed in Django 2.0.
6.2.0 (2022-06-05)
Support Python 3.11.
Support Django 4.1.
6.1.0 (2022-05-10)
Drop support for Django 2.2, 3.0, and 3.1.
6.0.0 (2022-02-10)
Drop support for Python 3.5 and 3.6.
Add support for Python 3.9 and 3.10.
Drop support for Django 1.11, 2.0, and 2.1.
Add support for Django 4.0.
Import new MIME types from Nginx, changes:
.avif files are now served with the image/avif MIME type.
Open Document files with extensions .odg, .odp, .ods, and .odt are now served with their respective application/vnd.oasis.opendocument.* MIME types.
The whitenoise.__version__ attribute has been removed. Use importlib.metadata.version() to check the version of Whitenoise if you need to.
Requests using the Range header can no longer read beyond the end of the requested range.

Treat empty and "*" values for Accept-Encoding as if the client doesn’t support any encoding.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-whitenoise/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-whitenoise/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-whitenoise/distinfo

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

Modified files:

Index: pkgsrc/www/py-whitenoise/Makefile
diff -u pkgsrc/www/py-whitenoise/Makefile:1.5 pkgsrc/www/py-whitenoise/Makefile:1.6
--- pkgsrc/www/py-whitenoise/Makefile:1.5       Tue Jan  4 20:55:38 2022
+++ pkgsrc/www/py-whitenoise/Makefile   Fri Sep 13 19:30:23 2024
@@ -1,17 +1,19 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:55:38 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2024/09/13 19:30:23 adam Exp $
 
-DISTNAME=      whitenoise-4.1.4
+DISTNAME=      whitenoise-6.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/whitenoise/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://whitenoise.evans.io/
+HOMEPAGE=      https://github.com/evansd/whitenoise
 COMMENT=       Simplified static file serving for WSGI applications
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-whitenoise/PLIST
diff -u pkgsrc/www/py-whitenoise/PLIST:1.2 pkgsrc/www/py-whitenoise/PLIST:1.3
--- pkgsrc/www/py-whitenoise/PLIST:1.2  Thu Oct 11 10:55:56 2018
+++ pkgsrc/www/py-whitenoise/PLIST      Fri Sep 13 19:30:23 2024
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2018/10/11 10:55:56 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2024/09/13 19:30:23 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/whitenoise/__init__.py
 ${PYSITELIB}/whitenoise/__init__.pyc
 ${PYSITELIB}/whitenoise/__init__.pyo
@@ -13,12 +13,6 @@ ${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
@@ -40,9 +34,6 @@ ${PYSITELIB}/whitenoise/runserver_nostat
 ${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

Index: pkgsrc/www/py-whitenoise/distinfo
diff -u pkgsrc/www/py-whitenoise/distinfo:1.6 pkgsrc/www/py-whitenoise/distinfo:1.7
--- pkgsrc/www/py-whitenoise/distinfo:1.6       Tue Oct 26 11:30:51 2021
+++ pkgsrc/www/py-whitenoise/distinfo   Fri Sep 13 19:30:23 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:30:51 nia Exp $
+$NetBSD: distinfo,v 1.7 2024/09/13 19:30:23 adam Exp $
 
-BLAKE2s (whitenoise-4.1.4.tar.gz) = 567010fbd6fa185930bb3ac48850660143045a5ebd15f787c32fc15d0b5ea5db
-SHA512 (whitenoise-4.1.4.tar.gz) = c87d06539c44bbb1a422cdec213c6d05dbab6e4409b7be12fd4976302d57b6fe6edd981212d8f616a58656dbeea93779957085d53c6e7d01c982a6b89a5a5133
-Size (whitenoise-4.1.4.tar.gz) = 43539 bytes
+BLAKE2s (whitenoise-6.7.0.tar.gz) = 74808a12403867b94b9b2fbdef64625d12a25a9dec5ebf608affa36e233367fa
+SHA512 (whitenoise-6.7.0.tar.gz) = 452636eb9b138b40de9ec1b0ed7e0156721aa00809407d38f0ecfde08ef1e5c18a48233139c2e8118c59ba12f711a38294cc38354d49801ad39da8d01a7280b0
+Size (whitenoise-6.7.0.tar.gz) = 24973 bytes



Home | Main Index | Thread Index | Old Index