diff options
author | adam <adam@pkgsrc.org> | 2021-01-03 22:41:44 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-01-03 22:41:44 +0000 |
commit | 59343932fa021b420075abb4c821462b9946a344 (patch) | |
tree | 103bddd89c30de0e7ba23e700e227754a811ae1f /www/py-sanic | |
parent | c6ad973410ea678efe8550345ca97164a0afd850 (diff) | |
download | pkgsrc-59343932fa021b420075abb4c821462b9946a344.tar.gz |
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.rst
Diffstat (limited to 'www/py-sanic')
-rw-r--r-- | www/py-sanic/Makefile | 4 | ||||
-rw-r--r-- | www/py-sanic/PLIST | 3 | ||||
-rw-r--r-- | www/py-sanic/distinfo | 12 | ||||
-rw-r--r-- | www/py-sanic/patches/patch-setup.py | 23 |
4 files changed, 26 insertions, 16 deletions
diff --git a/www/py-sanic/Makefile b/www/py-sanic/Makefile index 4df652c3485..7c5843a0809 100644 --- a/www/py-sanic/Makefile +++ b/www/py-sanic/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.16 2020/10/27 23:07:42 adam Exp $ +# $NetBSD: Makefile,v 1.17 2021/01/03 22:41:44 adam Exp $ -DISTNAME= sanic-20.9.1 +DISTNAME= sanic-20.12.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/} diff --git a/www/py-sanic/PLIST b/www/py-sanic/PLIST index 42be81f09f2..5c4c5450fcb 100644 --- a/www/py-sanic/PLIST +++ b/www/py-sanic/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2020/10/01 06:53:12 adam Exp $ +@comment $NetBSD: PLIST,v 1.10 2021/01/03 22:41:44 adam Exp $ bin/sanic-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -60,6 +60,7 @@ ${PYSITELIB}/sanic/helpers.pyo ${PYSITELIB}/sanic/log.py ${PYSITELIB}/sanic/log.pyc ${PYSITELIB}/sanic/log.pyo +${PYSITELIB}/sanic/py.typed ${PYSITELIB}/sanic/reloader_helpers.py ${PYSITELIB}/sanic/reloader_helpers.pyc ${PYSITELIB}/sanic/reloader_helpers.pyo diff --git a/www/py-sanic/distinfo b/www/py-sanic/distinfo index 98d6537c997..b3eeed5a623 100644 --- a/www/py-sanic/distinfo +++ b/www/py-sanic/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.13 2020/10/27 23:07:42 adam Exp $ +$NetBSD: distinfo,v 1.14 2021/01/03 22:41:44 adam Exp $ -SHA1 (sanic-20.9.1.tar.gz) = 5ef6504b4ceebedbe6fd86b82eb498765420476d -RMD160 (sanic-20.9.1.tar.gz) = 9e300d42d4d7806e331d5ab43ae17b0ab9e0fbcb -SHA512 (sanic-20.9.1.tar.gz) = 3e4ee0fbce0f5369038bfdd83abd9d3d485a915ae3ef91364e03c8e6a46dce2b7e5eba48c0680490bb175873f77454ed6ce584836b60192480cfd29e03ab4a48 -Size (sanic-20.9.1.tar.gz) = 147581 bytes -SHA1 (patch-setup.py) = 18d343962a7b0d3a312518fd10181f5dd5653524 +SHA1 (sanic-20.12.0.tar.gz) = d8ca9fda845bebcd0edd4909f4c747b590c2b47b +RMD160 (sanic-20.12.0.tar.gz) = fa1fee7d32a5530980aed09204c4f80fc01d5993 +SHA512 (sanic-20.12.0.tar.gz) = 046ab35003217668bbf32ad8314a956e82839c3b6ba481ecb416e6007c5c194ec932cd233f961d998518dcf13cc4fe556c435a7e73e6efc3117ef36db8d7f3a4 +Size (sanic-20.12.0.tar.gz) = 147866 bytes +SHA1 (patch-setup.py) = bcd9b4baaff7c6ffc08d34d0ed2db1e35e97dd7f diff --git a/www/py-sanic/patches/patch-setup.py b/www/py-sanic/patches/patch-setup.py index d13b58798c6..e4d9fcccc84 100644 --- a/www/py-sanic/patches/patch-setup.py +++ b/www/py-sanic/patches/patch-setup.py @@ -1,17 +1,26 @@ -$NetBSD: patch-setup.py,v 1.8 2020/10/27 23:07:42 adam Exp $ +$NetBSD: patch-setup.py,v 1.9 2021/01/03 22:41:44 adam Exp $ Allow newer versions. ---- setup.py.orig 2020-10-25 13:09:05.000000000 +0000 +--- setup.py.orig 2020-12-28 21:58:53.000000000 +0000 +++ setup.py -@@ -80,8 +80,8 @@ requirements = [ - ujson, - "aiofiles>=0.3.0", +@@ -89,15 +89,15 @@ requirements = [ + "aiofiles>=0.6.0", "websockets>=8.1,<9.0", -- "multidict==5.0.0", + "multidict>=5.0,<6.0", - "httpx==0.15.4", -+ "multidict>=5.0.0", + "httpx>=0.15.4", ] tests_require = [ +- "pytest==5.2.1", ++ "pytest>=5.2.1", + "multidict>=5.0,<6.0", +- "gunicorn==20.0.4", ++ "gunicorn>=20.0.4", + "pytest-cov", +- "httpcore==0.11.*", ++ "httpcore>=0.11.*", + "beautifulsoup4", + uvloop, + ujson, |