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 Jan 5 18:23:02 UTC 2024
Modified Files:
pkgsrc/www/py-sanic: Makefile PLIST distinfo
Log Message:
py-sanic: updated to 23.12.0
Version 23.12.0
Features
* Start and restart arbitrary processes
* Cleaner process management in shutdown
* Suppress task cancel traceback on open websocket
* Listener and signal prioritization
* Reduce memory consumption
* Accept bare cookies
* Add websocket.handler.<before/after/exception> signals
* Add changed files to reload trigger listeners
* Allow for simple signals
* Improve functionality and consistency of Sanic.event()
* Allow range requests for a single byte
* Better Request.scheme for websocket requests
* Convert Sanic Request to a Websockets Request for handshake
* Add a REPL to the sanic CLI
* Add Python 3.12 support
* Better exception on multiprocessing context conflicts
Bugfixes
* Fix MOTD display for extra data
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/www/py-sanic/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/py-sanic/PLIST
cvs rdiff -u -r1.29 -r1.30 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.34 pkgsrc/www/py-sanic/Makefile:1.35
--- pkgsrc/www/py-sanic/Makefile:1.34 Tue Nov 7 22:38:09 2023
+++ pkgsrc/www/py-sanic/Makefile Fri Jan 5 18:23:02 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2023/11/07 22:38:09 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2024/01/05 18:23:02 adam Exp $
-DISTNAME= sanic-23.6.0
+DISTNAME= sanic-23.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/}
@@ -10,11 +10,13 @@ HOMEPAGE= https://github.com/sanic-org/s
COMMENT= Microframework based on uvloop, httptools, and learnings of flask
LICENSE= mit AND apache-2.0
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
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>=23.6.0:../../www/py-sanic-routing
+DEPENDS+= ${PYPKGPREFIX}-multidict>=5.0:../../databases/py-multidict
+DEPENDS+= ${PYPKGPREFIX}-sanic-routing>=23.12.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
@@ -32,7 +34,6 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.90
TEST_DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
#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
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-sanic-[0-9]*:../../www/py-test-sanic
@@ -50,8 +51,5 @@ post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} sanic sanic-${PYVERSSUFFIX} || ${TRUE}
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-sanic/PLIST
diff -u pkgsrc/www/py-sanic/PLIST:1.17 pkgsrc/www/py-sanic/PLIST:1.18
--- pkgsrc/www/py-sanic/PLIST:1.17 Fri Aug 11 12:54:02 2023
+++ pkgsrc/www/py-sanic/PLIST Fri Jan 5 18:23:02 2024
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.17 2023/08/11 12:54:02 adam Exp $
+@comment $NetBSD: PLIST,v 1.18 2024/01/05 18:23:02 adam Exp $
bin/sanic-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/sanic/__init__.py
${PYSITELIB}/sanic/__init__.pyc
${PYSITELIB}/sanic/__init__.pyo
@@ -69,6 +69,9 @@ ${PYSITELIB}/sanic/cli/arguments.pyo
${PYSITELIB}/sanic/cli/base.py
${PYSITELIB}/sanic/cli/base.pyc
${PYSITELIB}/sanic/cli/base.pyo
+${PYSITELIB}/sanic/cli/console.py
+${PYSITELIB}/sanic/cli/console.pyc
+${PYSITELIB}/sanic/cli/console.pyo
${PYSITELIB}/sanic/cli/inspector.py
${PYSITELIB}/sanic/cli/inspector.pyc
${PYSITELIB}/sanic/cli/inspector.pyo
@@ -247,6 +250,9 @@ ${PYSITELIB}/sanic/server/async_server.p
${PYSITELIB}/sanic/server/events.py
${PYSITELIB}/sanic/server/events.pyc
${PYSITELIB}/sanic/server/events.pyo
+${PYSITELIB}/sanic/server/goodbye.py
+${PYSITELIB}/sanic/server/goodbye.pyc
+${PYSITELIB}/sanic/server/goodbye.pyo
${PYSITELIB}/sanic/server/loop.py
${PYSITELIB}/sanic/server/loop.pyc
${PYSITELIB}/sanic/server/loop.pyo
@@ -346,6 +352,9 @@ ${PYSITELIB}/sanic/worker/process.pyo
${PYSITELIB}/sanic/worker/reloader.py
${PYSITELIB}/sanic/worker/reloader.pyc
${PYSITELIB}/sanic/worker/reloader.pyo
+${PYSITELIB}/sanic/worker/restarter.py
+${PYSITELIB}/sanic/worker/restarter.pyc
+${PYSITELIB}/sanic/worker/restarter.pyo
${PYSITELIB}/sanic/worker/serve.py
${PYSITELIB}/sanic/worker/serve.pyc
${PYSITELIB}/sanic/worker/serve.pyo
Index: pkgsrc/www/py-sanic/distinfo
diff -u pkgsrc/www/py-sanic/distinfo:1.29 pkgsrc/www/py-sanic/distinfo:1.30
--- pkgsrc/www/py-sanic/distinfo:1.29 Fri Aug 11 12:54:02 2023
+++ pkgsrc/www/py-sanic/distinfo Fri Jan 5 18:23:02 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2023/08/11 12:54:02 adam Exp $
+$NetBSD: distinfo,v 1.30 2024/01/05 18:23:02 adam Exp $
-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
+BLAKE2s (sanic-23.12.0.tar.gz) = 831308ae1f2dfc5d8da787ab5fc3636a68bf947be7f50bc00e323c681a7a639b
+SHA512 (sanic-23.12.0.tar.gz) = 90c5502dce18ffbf0603de19e8a97bb0ccfb1a49d823ec0a038d923f79c7a945709fd995d667d985c19f3e3dfc3f74bda7c8e9c8276a4d9b27d9f87fe772e354
+Size (sanic-23.12.0.tar.gz) = 344411 bytes
Home |
Main Index |
Thread Index |
Old Index