py-sanic: updated to 20.6.3 Version 20.6.3 Bugfixes * Revert change to multiprocessing mode Version 20.6.2 Features * Socket binding implemented properly for IPv6 and UNIX sockets Version 20.6.1 Features * Add version parameter to websocket routes * Add sanic as an entry point command * Add handler names for websockets for url_for usage Bugfixes * Bug fix for host parameter issue with lists * Fix static _handler pickling error * Fix reloader on OSX py38 and Windows * Reverse named_response_middlware execution order, to match normal response middleware execution order * Fix pickle error when attempting to pickle an application which contains websocket routes Deprecations and Removals * Deprecate body_bytes to merge into body Developer infrastructure * Fix naming of CI test env on Python nightlies * Adjust websockets version to setup.py * Wrap run()'s "protocol" type annotation in Optional[] Improved Documentation * Update docs to clarify response middleware execution order * Fixing rst format issue that was hiding documentationdiff -r1.13 -r1.14 pkgsrc/www/py-sanic/Makefile
(adam)
@@ -1,27 +1,31 @@ | @@ -1,27 +1,31 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2020/05/15 08:32:34 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2020/06/29 14:29:20 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= sanic-20.3.0 | 3 | DISTNAME= sanic-20.6.3 | |
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.9.3:../../www/py-httpx | 15 | DEPENDS+= ${PYPKGPREFIX}-httpx>=0.9.3:../../www/py-httpx | |
16 | DEPENDS+= ${PYPKGPREFIX}-multidict>=4.0:../../databases/py-multidict | 16 | DEPENDS+= ${PYPKGPREFIX}-multidict>=4.0:../../databases/py-multidict | |
17 | DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson | 17 | DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson | |
18 | DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop | 18 | DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop | |
19 | DEPENDS+= ${PYPKGPREFIX}-websockets>=7.0:../../www/py-websockets | 19 | DEPENDS+= ${PYPKGPREFIX}-websockets>=7.0:../../www/py-websockets | |
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn | 20 | TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn | |
21 | 21 | |||
22 | USE_LANGUAGES= # none | 22 | USE_LANGUAGES= # none | |
23 | 23 | |||
24 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 24 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
25 | 25 | |||
26 | post-install: | |||
27 | cd ${DESTDIR}${PREFIX}/bin && \ | |||
28 | ${MV} sanic sanic-${PYVERSSUFFIX} || ${TRUE} | |||
29 | ||||
26 | .include "../../lang/python/egg.mk" | 30 | .include "../../lang/python/egg.mk" | |
27 | .include "../../mk/bsd.pkg.mk" | 31 | .include "../../mk/bsd.pkg.mk" |
@@ -1,17 +1,19 @@ | @@ -1,17 +1,19 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.7 2020/05/15 08:32:34 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.8 2020/06/29 14:29:20 adam Exp $ | |
2 | bin/sanic-${PYVERSSUFFIX} | |||
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |||
5 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
7 | ${PYSITELIB}/sanic/__init__.py | 9 | ${PYSITELIB}/sanic/__init__.py | |
8 | ${PYSITELIB}/sanic/__init__.pyc | 10 | ${PYSITELIB}/sanic/__init__.pyc | |
9 | ${PYSITELIB}/sanic/__init__.pyo | 11 | ${PYSITELIB}/sanic/__init__.pyo | |
10 | ${PYSITELIB}/sanic/__main__.py | 12 | ${PYSITELIB}/sanic/__main__.py | |
11 | ${PYSITELIB}/sanic/__main__.pyc | 13 | ${PYSITELIB}/sanic/__main__.pyc | |
12 | ${PYSITELIB}/sanic/__main__.pyo | 14 | ${PYSITELIB}/sanic/__main__.pyo | |
13 | ${PYSITELIB}/sanic/__version__.py | 15 | ${PYSITELIB}/sanic/__version__.py | |
14 | ${PYSITELIB}/sanic/__version__.pyc | 16 | ${PYSITELIB}/sanic/__version__.pyc | |
15 | ${PYSITELIB}/sanic/__version__.pyo | 17 | ${PYSITELIB}/sanic/__version__.pyo | |
16 | ${PYSITELIB}/sanic/app.py | 18 | ${PYSITELIB}/sanic/app.py | |
17 | ${PYSITELIB}/sanic/app.pyc | 19 | ${PYSITELIB}/sanic/app.pyc |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2020/05/15 08:32:34 adam Exp $ | 1 | $NetBSD: distinfo,v 1.11 2020/06/29 14:29:20 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (sanic-20.3.0.tar.gz) = bc0b20452b57738576c872d563a52e6a6c6be657 | 3 | SHA1 (sanic-20.6.3.tar.gz) = 5705b7f51f10c63ccec2978bd1413da140243fb9 | |
4 | RMD160 (sanic-20.3.0.tar.gz) = c6d2814bb1268c99f19b33c0526e6034b2eacdcb | 4 | RMD160 (sanic-20.6.3.tar.gz) = 9931fb982e96cdfa81c084d994543bb1ce685450 | |
5 | SHA512 (sanic-20.3.0.tar.gz) = 3a9dcdaa1fb77437b2c9fcb98e355eac942992ffb081e0c084227f6b7a221b33468c34e9eb7cad78e76801ea674429332274cb3ccc5f0d88db28fbab3ee5d032 | 5 | SHA512 (sanic-20.6.3.tar.gz) = e04bcc223a9095c7c6f7d3dab0d29b8899dbe15d7c5f3f7d50a27670166a58ba680bca6ecabc5134e645d89d898650d1d8798e8ca8e47e43f3ef788bd6f442b8 | |
6 | Size (sanic-20.3.0.tar.gz) = 137407 bytes | 6 | Size (sanic-20.6.3.tar.gz) = 142170 bytes | |
7 | SHA1 (patch-setup.py) = 8696f831fe811829e3908a8b4dd4f6337475f893 | 7 | SHA1 (patch-setup.py) = c5582ae42d6cc459e37bafe9a21a301c0d65ed21 |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-setup.py,v 1.5 2020/05/15 08:32:34 adam Exp $ | 1 | $NetBSD: patch-setup.py,v 1.6 2020/06/29 14:29:20 adam Exp $ | |
2 | 2 | |||
3 | Allow newer versions. | 3 | Allow newer versions. | |
4 | 4 | |||
5 | --- setup.py.orig 2020-05-14 19:06:33.000000000 +0000 | 5 | --- setup.py.orig 2020-06-28 10:14:53.000000000 +0000 | |
6 | +++ setup.py | 6 | +++ setup.py | |
7 | @@ -85,7 +85,7 @@ requirements = [ | 7 | @@ -81,7 +81,7 @@ requirements = [ | |
8 | "aiofiles>=0.3.0", | 8 | "aiofiles>=0.3.0", | |
9 | "websockets>=7.0,<9.0", | 9 | "websockets>=8.1,<9.0", | |
10 | "multidict>=4.0,<5.0", | 10 | "multidict>=4.0,<5.0", | |
11 | - "httpx==0.11.1", | 11 | - "httpx==0.11.1", | |
12 | + "httpx>=0.11.1", | 12 | + "httpx>=0.11.1", | |
13 | ] | 13 | ] | |
14 | 14 | |||
15 | tests_require = [ | 15 | tests_require = [ |