Source-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.6.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3888db91ed40
branches:  trunk
changeset: 435030:3888db91ed40
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 29 14:29:20 2020 +0000

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

diffstat:

 www/py-sanic/Makefile               |   8 ++++++--
 www/py-sanic/PLIST                  |   4 +++-
 www/py-sanic/distinfo               |  12 ++++++------
 www/py-sanic/patches/patch-setup.py |   8 ++++----
 4 files changed, 19 insertions(+), 13 deletions(-)

diffs (73 lines):

diff -r 77d90ade5c65 -r 3888db91ed40 www/py-sanic/Makefile
--- a/www/py-sanic/Makefile     Mon Jun 29 14:28:50 2020 +0000
+++ b/www/py-sanic/Makefile     Mon Jun 29 14:29:20 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2020/05/15 08:32:34 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/06/29 14:29:20 adam Exp $
 
-DISTNAME=      sanic-20.3.0
+DISTNAME=      sanic-20.6.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sanic/}
@@ -23,5 +23,9 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} sanic sanic-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 77d90ade5c65 -r 3888db91ed40 www/py-sanic/PLIST
--- a/www/py-sanic/PLIST        Mon Jun 29 14:28:50 2020 +0000
+++ b/www/py-sanic/PLIST        Mon Jun 29 14:29:20 2020 +0000
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.7 2020/05/15 08:32:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2020/06/29 14:29:20 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}/sanic/__init__.py
diff -r 77d90ade5c65 -r 3888db91ed40 www/py-sanic/distinfo
--- a/www/py-sanic/distinfo     Mon Jun 29 14:28:50 2020 +0000
+++ b/www/py-sanic/distinfo     Mon Jun 29 14:29:20 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2020/05/15 08:32:34 adam Exp $
+$NetBSD: distinfo,v 1.11 2020/06/29 14:29:20 adam Exp $
 
-SHA1 (sanic-20.3.0.tar.gz) = bc0b20452b57738576c872d563a52e6a6c6be657
-RMD160 (sanic-20.3.0.tar.gz) = c6d2814bb1268c99f19b33c0526e6034b2eacdcb
-SHA512 (sanic-20.3.0.tar.gz) = 3a9dcdaa1fb77437b2c9fcb98e355eac942992ffb081e0c084227f6b7a221b33468c34e9eb7cad78e76801ea674429332274cb3ccc5f0d88db28fbab3ee5d032
-Size (sanic-20.3.0.tar.gz) = 137407 bytes
-SHA1 (patch-setup.py) = 8696f831fe811829e3908a8b4dd4f6337475f893
+SHA1 (sanic-20.6.3.tar.gz) = 5705b7f51f10c63ccec2978bd1413da140243fb9
+RMD160 (sanic-20.6.3.tar.gz) = 9931fb982e96cdfa81c084d994543bb1ce685450
+SHA512 (sanic-20.6.3.tar.gz) = e04bcc223a9095c7c6f7d3dab0d29b8899dbe15d7c5f3f7d50a27670166a58ba680bca6ecabc5134e645d89d898650d1d8798e8ca8e47e43f3ef788bd6f442b8
+Size (sanic-20.6.3.tar.gz) = 142170 bytes
+SHA1 (patch-setup.py) = c5582ae42d6cc459e37bafe9a21a301c0d65ed21
diff -r 77d90ade5c65 -r 3888db91ed40 www/py-sanic/patches/patch-setup.py
--- a/www/py-sanic/patches/patch-setup.py       Mon Jun 29 14:28:50 2020 +0000
+++ b/www/py-sanic/patches/patch-setup.py       Mon Jun 29 14:29:20 2020 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-setup.py,v 1.5 2020/05/15 08:32:34 adam Exp $
+$NetBSD: patch-setup.py,v 1.6 2020/06/29 14:29:20 adam Exp $
 
 Allow newer versions.
 
---- setup.py.orig      2020-05-14 19:06:33.000000000 +0000
+--- setup.py.orig      2020-06-28 10:14:53.000000000 +0000
 +++ setup.py
-@@ -85,7 +85,7 @@ requirements = [
+@@ -81,7 +81,7 @@ requirements = [
      "aiofiles>=0.3.0",
-     "websockets>=7.0,<9.0",
+     "websockets>=8.1,<9.0",
      "multidict>=4.0,<5.0",
 -    "httpx==0.11.1",
 +    "httpx>=0.11.1",



Home | Main Index | Thread Index | Old Index