pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-sanic
Module Name: pkgsrc
Committed By: adam
Date: Fri Aug 11 12:54:02 UTC 2023
Modified Files:
pkgsrc/www/py-sanic: Makefile PLIST distinfo
Log Message:
py-sanic: updated to 23.6.0
Version 23.6.0
Features
* Increase KEEP_ALIVE_TIMEOUT default to 120 seconds
* Adding allow route overwrite option in blueprint
* Add a new exception signal for ALL exceptions raised anywhere in application
* Add name prefixing to BP groups
* Update request type on middleware types
* Better exception message on startup time application induced import error
* Set multiprocessing start method early
* Add custom typing to config and ctx objects
* Add request.client_ip
Bugfixes
* Fix traversals for intended results
* Handle case when headers argument of ResponseStream constructor is None
* Fix type annotation for JSONREsponse default content type
* Use Sanic's serializer for JSON responses in the Inspector
* Support for Request.get_current in ASGI mode
* Alow Blueprint routes to explicitly define error_format
* Resolve headers on different renderers
* Resolve pypy compatibility issues
Deprecations and Removals
* Remove Python 3.7 support
Developer infrastructure
* Unpin setuptools version
* Run keep alive tests in loop to get available port
Improved Documentation
* Better documentation examples about running Sanic
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/www/py-sanic/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/py-sanic/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/www/py-sanic/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-sanic/Makefile
diff -u pkgsrc/www/py-sanic/Makefile:1.32 pkgsrc/www/py-sanic/Makefile:1.33
--- pkgsrc/www/py-sanic/Makefile:1.32 Fri Mar 3 09:01:36 2023
+++ pkgsrc/www/py-sanic/Makefile Fri Aug 11 12:54:02 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2023/03/03 09:01:36 adam Exp $
+# $NetBSD: Makefile,v 1.33 2023/08/11 12:54:02 adam Exp $
-DISTNAME= sanic-22.12.0
+DISTNAME= sanic-23.6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/}
@@ -11,9 +11,12 @@ COMMENT= Microframework based on uvloop,
LICENSE= mit AND apache-2.0
DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.6.0:../../devel/py-aiofiles
+DEPENDS+= ${PYPKGPREFIX}-html5tagger>=1.2.1:../../textproc/py-html5tagger
DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools
DEPENDS+= ${PYPKGPREFIX}-multidict>=5.0.0:../../databases/py-multidict
-DEPENDS+= ${PYPKGPREFIX}-sanic-routing>=22.8.0:../../www/py-sanic-routing
+DEPENDS+= ${PYPKGPREFIX}-sanic-routing>=23.6.0:../../www/py-sanic-routing
+DEPENDS+= ${PYPKGPREFIX}-tracerite>=1.0.0:../../devel/py-tracerite
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.4.0:../../devel/py-typing-extensions
DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson
DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.15.0:../../devel/py-uvloop
DEPENDS+= ${PYPKGPREFIX}-websockets>=10.0:../../www/py-websockets
@@ -24,11 +27,10 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-chardet>=3
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
-TEST_DEPENDS+= ${PYPKGPREFIX}-gunicorn-[0-9]*:../../www/py-gunicorn
TEST_DEPENDS+= ${PYPKGPREFIX}-isort>=5.0.0:../../devel/py-isort
TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.901:../../lang/py-mypy
TEST_DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
-#TEST_DEPENDS+= ${PYPKGPREFIX}-sanic-testing>=22.9.0b2:../../www/py-sanic-testing
+#TEST_DEPENDS+= ${PYPKGPREFIX}-sanic-testing>=23.6.0:../../www/py-sanic-testing
#TEST_DEPENDS+= ${PYPKGPREFIX}-slotscheck>=0.8.0:../../??/py-slotscheck
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
Index: pkgsrc/www/py-sanic/PLIST
diff -u pkgsrc/www/py-sanic/PLIST:1.16 pkgsrc/www/py-sanic/PLIST:1.17
--- pkgsrc/www/py-sanic/PLIST:1.16 Fri Mar 3 09:01:36 2023
+++ pkgsrc/www/py-sanic/PLIST Fri Aug 11 12:54:02 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2023/03/03 09:01:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2023/08/11 12:54:02 adam Exp $
bin/sanic-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -84,18 +84,33 @@ ${PYSITELIB}/sanic/config.pyo
${PYSITELIB}/sanic/constants.py
${PYSITELIB}/sanic/constants.pyc
${PYSITELIB}/sanic/constants.pyo
-${PYSITELIB}/sanic/cookies.py
-${PYSITELIB}/sanic/cookies.pyc
-${PYSITELIB}/sanic/cookies.pyo
+${PYSITELIB}/sanic/cookies/__init__.py
+${PYSITELIB}/sanic/cookies/__init__.pyc
+${PYSITELIB}/sanic/cookies/__init__.pyo
+${PYSITELIB}/sanic/cookies/request.py
+${PYSITELIB}/sanic/cookies/request.pyc
+${PYSITELIB}/sanic/cookies/request.pyo
+${PYSITELIB}/sanic/cookies/response.py
+${PYSITELIB}/sanic/cookies/response.pyc
+${PYSITELIB}/sanic/cookies/response.pyo
${PYSITELIB}/sanic/errorpages.py
${PYSITELIB}/sanic/errorpages.pyc
${PYSITELIB}/sanic/errorpages.pyo
${PYSITELIB}/sanic/exceptions.py
${PYSITELIB}/sanic/exceptions.pyc
${PYSITELIB}/sanic/exceptions.pyo
-${PYSITELIB}/sanic/handlers.py
-${PYSITELIB}/sanic/handlers.pyc
-${PYSITELIB}/sanic/handlers.pyo
+${PYSITELIB}/sanic/handlers/__init__.py
+${PYSITELIB}/sanic/handlers/__init__.pyc
+${PYSITELIB}/sanic/handlers/__init__.pyo
+${PYSITELIB}/sanic/handlers/content_range.py
+${PYSITELIB}/sanic/handlers/content_range.pyc
+${PYSITELIB}/sanic/handlers/content_range.pyo
+${PYSITELIB}/sanic/handlers/directory.py
+${PYSITELIB}/sanic/handlers/directory.pyc
+${PYSITELIB}/sanic/handlers/directory.pyo
+${PYSITELIB}/sanic/handlers/error.py
+${PYSITELIB}/sanic/handlers/error.pyc
+${PYSITELIB}/sanic/handlers/error.pyo
${PYSITELIB}/sanic/headers.py
${PYSITELIB}/sanic/headers.pyc
${PYSITELIB}/sanic/headers.pyo
@@ -135,6 +150,9 @@ ${PYSITELIB}/sanic/middleware.pyo
${PYSITELIB}/sanic/mixins/__init__.py
${PYSITELIB}/sanic/mixins/__init__.pyc
${PYSITELIB}/sanic/mixins/__init__.pyo
+${PYSITELIB}/sanic/mixins/base.py
+${PYSITELIB}/sanic/mixins/base.pyc
+${PYSITELIB}/sanic/mixins/base.pyo
${PYSITELIB}/sanic/mixins/exceptions.py
${PYSITELIB}/sanic/mixins/exceptions.pyc
${PYSITELIB}/sanic/mixins/exceptions.pyo
@@ -153,6 +171,9 @@ ${PYSITELIB}/sanic/mixins/signals.pyo
${PYSITELIB}/sanic/mixins/startup.py
${PYSITELIB}/sanic/mixins/startup.pyc
${PYSITELIB}/sanic/mixins/startup.pyo
+${PYSITELIB}/sanic/mixins/static.py
+${PYSITELIB}/sanic/mixins/static.pyc
+${PYSITELIB}/sanic/mixins/static.pyo
${PYSITELIB}/sanic/models/__init__.py
${PYSITELIB}/sanic/models/__init__.pyc
${PYSITELIB}/sanic/models/__init__.pyo
@@ -174,10 +195,37 @@ ${PYSITELIB}/sanic/models/protocol_types
${PYSITELIB}/sanic/models/server_types.py
${PYSITELIB}/sanic/models/server_types.pyc
${PYSITELIB}/sanic/models/server_types.pyo
+${PYSITELIB}/sanic/pages/__init__.py
+${PYSITELIB}/sanic/pages/__init__.pyc
+${PYSITELIB}/sanic/pages/__init__.pyo
+${PYSITELIB}/sanic/pages/base.py
+${PYSITELIB}/sanic/pages/base.pyc
+${PYSITELIB}/sanic/pages/base.pyo
+${PYSITELIB}/sanic/pages/css.py
+${PYSITELIB}/sanic/pages/css.pyc
+${PYSITELIB}/sanic/pages/css.pyo
+${PYSITELIB}/sanic/pages/directory_page.py
+${PYSITELIB}/sanic/pages/directory_page.pyc
+${PYSITELIB}/sanic/pages/directory_page.pyo
+${PYSITELIB}/sanic/pages/error.py
+${PYSITELIB}/sanic/pages/error.pyc
+${PYSITELIB}/sanic/pages/error.pyo
+${PYSITELIB}/sanic/pages/styles/BasePage.css
+${PYSITELIB}/sanic/pages/styles/DirectoryPage.css
+${PYSITELIB}/sanic/pages/styles/ErrorPage.css
${PYSITELIB}/sanic/py.typed
-${PYSITELIB}/sanic/request.py
-${PYSITELIB}/sanic/request.pyc
-${PYSITELIB}/sanic/request.pyo
+${PYSITELIB}/sanic/request/__init__.py
+${PYSITELIB}/sanic/request/__init__.pyc
+${PYSITELIB}/sanic/request/__init__.pyo
+${PYSITELIB}/sanic/request/form.py
+${PYSITELIB}/sanic/request/form.pyc
+${PYSITELIB}/sanic/request/form.pyo
+${PYSITELIB}/sanic/request/parameters.py
+${PYSITELIB}/sanic/request/parameters.pyc
+${PYSITELIB}/sanic/request/parameters.pyo
+${PYSITELIB}/sanic/request/types.py
+${PYSITELIB}/sanic/request/types.pyc
+${PYSITELIB}/sanic/request/types.pyo
${PYSITELIB}/sanic/response/__init__.py
${PYSITELIB}/sanic/response/__init__.pyc
${PYSITELIB}/sanic/response/__init__.pyo
@@ -199,9 +247,6 @@ ${PYSITELIB}/sanic/server/async_server.p
${PYSITELIB}/sanic/server/events.py
${PYSITELIB}/sanic/server/events.pyc
${PYSITELIB}/sanic/server/events.pyo
-${PYSITELIB}/sanic/server/legacy.py
-${PYSITELIB}/sanic/server/legacy.pyc
-${PYSITELIB}/sanic/server/legacy.pyo
${PYSITELIB}/sanic/server/loop.py
${PYSITELIB}/sanic/server/loop.pyc
${PYSITELIB}/sanic/server/loop.pyo
Index: pkgsrc/www/py-sanic/distinfo
diff -u pkgsrc/www/py-sanic/distinfo:1.28 pkgsrc/www/py-sanic/distinfo:1.29
--- pkgsrc/www/py-sanic/distinfo:1.28 Fri Mar 3 09:01:36 2023
+++ pkgsrc/www/py-sanic/distinfo Fri Aug 11 12:54:02 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2023/03/03 09:01:36 adam Exp $
+$NetBSD: distinfo,v 1.29 2023/08/11 12:54:02 adam Exp $
-BLAKE2s (sanic-22.12.0.tar.gz) = 344a939af4592a1506eb002f416eaf82c5b5701f7763d4fb4f859f9038d222f2
-SHA512 (sanic-22.12.0.tar.gz) = 5559abe7f82ecb065906330bcdd0466ef64368d2f753689153e08fb54aa4ceec679726b3278aa086d3f626c60a11087450e59107404d075d7d471a2c868c4523
-Size (sanic-22.12.0.tar.gz) = 283987 bytes
+BLAKE2s (sanic-23.6.0.tar.gz) = 906855295215c7f66e0e46c15870d97997ec410dc23ed566b7ffbe235c9fc477
+SHA512 (sanic-23.6.0.tar.gz) = c14f0a1aceb37ef860ed855b3f81c91041f521f1e2e8a321e112742d539fbc8a15ed3a0d825ef122edff470a5bda8db1a4b09175465e6d866082edfcc2d20a7b
+Size (sanic-23.6.0.tar.gz) = 310717 bytes
Home |
Main Index |
Thread Index |
Old Index