pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-sanic py-sanic: updated to 20.12.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eee2e8d4f0e3
branches:  trunk
changeset: 444224:eee2e8d4f0e3
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jan 03 22:41:44 2021 +0000

description:
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:

 www/py-sanic/Makefile               |   4 ++--
 www/py-sanic/PLIST                  |   3 ++-
 www/py-sanic/distinfo               |  12 ++++++------
 www/py-sanic/patches/patch-setup.py |  23 ++++++++++++++++-------
 4 files changed, 26 insertions(+), 16 deletions(-)

diffs (83 lines):

diff -r 28648a841ff9 -r eee2e8d4f0e3 www/py-sanic/Makefile
--- a/www/py-sanic/Makefile     Sun Jan 03 21:54:09 2021 +0000
+++ b/www/py-sanic/Makefile     Sun Jan 03 22:41:44 2021 +0000
@@ -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 -r 28648a841ff9 -r eee2e8d4f0e3 www/py-sanic/PLIST
--- a/www/py-sanic/PLIST        Sun Jan 03 21:54:09 2021 +0000
+++ b/www/py-sanic/PLIST        Sun Jan 03 22:41:44 2021 +0000
@@ -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/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 -r 28648a841ff9 -r eee2e8d4f0e3 www/py-sanic/distinfo
--- a/www/py-sanic/distinfo     Sun Jan 03 21:54:09 2021 +0000
+++ b/www/py-sanic/distinfo     Sun Jan 03 22:41:44 2021 +0000
@@ -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 -r 28648a841ff9 -r eee2e8d4f0e3 www/py-sanic/patches/patch-setup.py
--- a/www/py-sanic/patches/patch-setup.py       Sun Jan 03 21:54:09 2021 +0000
+++ b/www/py-sanic/patches/patch-setup.py       Sun Jan 03 22:41:44 2021 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index