py-sanic: updated to 20.12.0 Version 20.12.0 Features * Static route more verbose if file not found * Fix static routes registration on a blueprint * Add Python 3.9 support * Sanic CLI upgrade * Update aiofile version requirements * Update multidict version requirements * Add py.typed file * Speed optimization in request handler * Add app registry and Sanic class level app retrieval Bugfixes * Fix Chunked Transport-Encoding in ASGI streaming response Deprecations and Removals * Cleanup and remove deprecated code Developer infrastructure * Fix load module test * Transition Travis from .org to .com * Update tox requirements Improved Documentation * Documentation improvements * Remove duplicate contents in testing.rst * Fix typo in routing.rstdiff -r1.16 -r1.17 pkgsrc/www/py-sanic/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.16 2020/10/27 23:07:42 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.17 2021/01/03 22:41:44 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= sanic-20.9.1 | 3 | DISTNAME= sanic-20.12.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/channelcat/sanic | 9 | HOMEPAGE= https://github.com/channelcat/sanic | |
10 | COMMENT= Microframework based on uvloop, httptools, and learnings of flask | 10 | COMMENT= Microframework based on uvloop, httptools, and learnings of flask | |
11 | LICENSE= mit AND apache-2.0 | 11 | LICENSE= mit AND apache-2.0 | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles | 13 | DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles | |
14 | DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools | 14 | DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools | |
15 | DEPENDS+= ${PYPKGPREFIX}-httpx>=0.15.4:../../www/py-httpx | 15 | DEPENDS+= ${PYPKGPREFIX}-httpx>=0.15.4:../../www/py-httpx | |
16 | DEPENDS+= ${PYPKGPREFIX}-multidict>=5.0.0:../../databases/py-multidict | 16 | DEPENDS+= ${PYPKGPREFIX}-multidict>=5.0.0:../../databases/py-multidict |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.9 2020/10/01 06:53:12 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.10 2021/01/03 22:41:44 adam Exp $ | |
2 | bin/sanic-${PYVERSSUFFIX} | 2 | bin/sanic-${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
9 | ${PYSITELIB}/sanic/__init__.py | 9 | ${PYSITELIB}/sanic/__init__.py | |
10 | ${PYSITELIB}/sanic/__init__.pyc | 10 | ${PYSITELIB}/sanic/__init__.pyc | |
11 | ${PYSITELIB}/sanic/__init__.pyo | 11 | ${PYSITELIB}/sanic/__init__.pyo | |
12 | ${PYSITELIB}/sanic/__main__.py | 12 | ${PYSITELIB}/sanic/__main__.py | |
13 | ${PYSITELIB}/sanic/__main__.pyc | 13 | ${PYSITELIB}/sanic/__main__.pyc | |
14 | ${PYSITELIB}/sanic/__main__.pyo | 14 | ${PYSITELIB}/sanic/__main__.pyo | |
@@ -50,26 +50,27 @@ ${PYSITELIB}/sanic/exceptions.pyc | @@ -50,26 +50,27 @@ ${PYSITELIB}/sanic/exceptions.pyc | |||
50 | ${PYSITELIB}/sanic/exceptions.pyo | 50 | ${PYSITELIB}/sanic/exceptions.pyo | |
51 | ${PYSITELIB}/sanic/handlers.py | 51 | ${PYSITELIB}/sanic/handlers.py | |
52 | ${PYSITELIB}/sanic/handlers.pyc | 52 | ${PYSITELIB}/sanic/handlers.pyc | |
53 | ${PYSITELIB}/sanic/handlers.pyo | 53 | ${PYSITELIB}/sanic/handlers.pyo | |
54 | ${PYSITELIB}/sanic/headers.py | 54 | ${PYSITELIB}/sanic/headers.py | |
55 | ${PYSITELIB}/sanic/headers.pyc | 55 | ${PYSITELIB}/sanic/headers.pyc | |
56 | ${PYSITELIB}/sanic/headers.pyo | 56 | ${PYSITELIB}/sanic/headers.pyo | |
57 | ${PYSITELIB}/sanic/helpers.py | 57 | ${PYSITELIB}/sanic/helpers.py | |
58 | ${PYSITELIB}/sanic/helpers.pyc | 58 | ${PYSITELIB}/sanic/helpers.pyc | |
59 | ${PYSITELIB}/sanic/helpers.pyo | 59 | ${PYSITELIB}/sanic/helpers.pyo | |
60 | ${PYSITELIB}/sanic/log.py | 60 | ${PYSITELIB}/sanic/log.py | |
61 | ${PYSITELIB}/sanic/log.pyc | 61 | ${PYSITELIB}/sanic/log.pyc | |
62 | ${PYSITELIB}/sanic/log.pyo | 62 | ${PYSITELIB}/sanic/log.pyo | |
63 | ${PYSITELIB}/sanic/py.typed | |||
63 | ${PYSITELIB}/sanic/reloader_helpers.py | 64 | ${PYSITELIB}/sanic/reloader_helpers.py | |
64 | ${PYSITELIB}/sanic/reloader_helpers.pyc | 65 | ${PYSITELIB}/sanic/reloader_helpers.pyc | |
65 | ${PYSITELIB}/sanic/reloader_helpers.pyo | 66 | ${PYSITELIB}/sanic/reloader_helpers.pyo | |
66 | ${PYSITELIB}/sanic/request.py | 67 | ${PYSITELIB}/sanic/request.py | |
67 | ${PYSITELIB}/sanic/request.pyc | 68 | ${PYSITELIB}/sanic/request.pyc | |
68 | ${PYSITELIB}/sanic/request.pyo | 69 | ${PYSITELIB}/sanic/request.pyo | |
69 | ${PYSITELIB}/sanic/response.py | 70 | ${PYSITELIB}/sanic/response.py | |
70 | ${PYSITELIB}/sanic/response.pyc | 71 | ${PYSITELIB}/sanic/response.pyc | |
71 | ${PYSITELIB}/sanic/response.pyo | 72 | ${PYSITELIB}/sanic/response.pyo | |
72 | ${PYSITELIB}/sanic/router.py | 73 | ${PYSITELIB}/sanic/router.py | |
73 | ${PYSITELIB}/sanic/router.pyc | 74 | ${PYSITELIB}/sanic/router.pyc | |
74 | ${PYSITELIB}/sanic/router.pyo | 75 | ${PYSITELIB}/sanic/router.pyo | |
75 | ${PYSITELIB}/sanic/server.py | 76 | ${PYSITELIB}/sanic/server.py |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.13 2020/10/27 23:07:42 adam Exp $ | 1 | $NetBSD: distinfo,v 1.14 2021/01/03 22:41:44 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (sanic-20.9.1.tar.gz) = 5ef6504b4ceebedbe6fd86b82eb498765420476d | 3 | SHA1 (sanic-20.12.0.tar.gz) = d8ca9fda845bebcd0edd4909f4c747b590c2b47b | |
4 | RMD160 (sanic-20.9.1.tar.gz) = 9e300d42d4d7806e331d5ab43ae17b0ab9e0fbcb | 4 | RMD160 (sanic-20.12.0.tar.gz) = fa1fee7d32a5530980aed09204c4f80fc01d5993 | |
5 | SHA512 (sanic-20.9.1.tar.gz) = 3e4ee0fbce0f5369038bfdd83abd9d3d485a915ae3ef91364e03c8e6a46dce2b7e5eba48c0680490bb175873f77454ed6ce584836b60192480cfd29e03ab4a48 | 5 | SHA512 (sanic-20.12.0.tar.gz) = 046ab35003217668bbf32ad8314a956e82839c3b6ba481ecb416e6007c5c194ec932cd233f961d998518dcf13cc4fe556c435a7e73e6efc3117ef36db8d7f3a4 | |
6 | Size (sanic-20.9.1.tar.gz) = 147581 bytes | 6 | Size (sanic-20.12.0.tar.gz) = 147866 bytes | |
7 | SHA1 (patch-setup.py) = 18d343962a7b0d3a312518fd10181f5dd5653524 | 7 | SHA1 (patch-setup.py) = bcd9b4baaff7c6ffc08d34d0ed2db1e35e97dd7f |
@@ -1,17 +1,26 @@ | @@ -1,17 +1,26 @@ | |||
1 | $NetBSD: patch-setup.py,v 1.8 2020/10/27 23:07:42 adam Exp $ | 1 | $NetBSD: patch-setup.py,v 1.9 2021/01/03 22:41:44 adam Exp $ | |
2 | 2 | |||
3 | Allow newer versions. | 3 | Allow newer versions. | |
4 | 4 | |||
5 | --- setup.py.orig 2020-10-25 13:09:05.000000000 +0000 | 5 | --- setup.py.orig 2020-12-28 21:58:53.000000000 +0000 | |
6 | +++ setup.py | 6 | +++ setup.py | |
7 | @@ -80,8 +80,8 @@ requirements = [ | 7 | @@ -89,15 +89,15 @@ requirements = [ | |
8 | ujson, | 8 | "aiofiles>=0.6.0", | |
9 | "aiofiles>=0.3.0", | |||
10 | "websockets>=8.1,<9.0", | 9 | "websockets>=8.1,<9.0", | |
11 | - "multidict==5.0.0", | 10 | "multidict>=5.0,<6.0", | |
12 | - "httpx==0.15.4", | 11 | - "httpx==0.15.4", | |
13 | + "multidict>=5.0.0", | |||
14 | + "httpx>=0.15.4", | 12 | + "httpx>=0.15.4", | |
15 | ] | 13 | ] | |
16 | 14 | |||
17 | tests_require = [ | 15 | tests_require = [ | |
16 | - "pytest==5.2.1", | |||
17 | + "pytest>=5.2.1", | |||
18 | "multidict>=5.0,<6.0", | |||
19 | - "gunicorn==20.0.4", | |||
20 | + "gunicorn>=20.0.4", | |||
21 | "pytest-cov", | |||
22 | - "httpcore==0.11.*", | |||
23 | + "httpcore>=0.11.*", | |||
24 | "beautifulsoup4", | |||
25 | uvloop, | |||
26 | ujson, |