pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-sanic



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 29 14:29:20 UTC 2020

Modified Files:
        pkgsrc/www/py-sanic: Makefile PLIST distinfo
        pkgsrc/www/py-sanic/patches: patch-setup.py

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/www/py-sanic/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-sanic/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-sanic/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-sanic/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-sanic/Makefile
diff -u pkgsrc/www/py-sanic/Makefile:1.13 pkgsrc/www/py-sanic/Makefile:1.14
--- pkgsrc/www/py-sanic/Makefile:1.13   Fri May 15 08:32:34 2020
+++ pkgsrc/www/py-sanic/Makefile        Mon Jun 29 14:29:20 2020
@@ -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 @@ USE_LANGUAGES=        # none
 
 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"

Index: pkgsrc/www/py-sanic/PLIST
diff -u pkgsrc/www/py-sanic/PLIST:1.7 pkgsrc/www/py-sanic/PLIST:1.8
--- pkgsrc/www/py-sanic/PLIST:1.7       Fri May 15 08:32:34 2020
+++ pkgsrc/www/py-sanic/PLIST   Mon Jun 29 14:29:20 2020
@@ -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

Index: pkgsrc/www/py-sanic/distinfo
diff -u pkgsrc/www/py-sanic/distinfo:1.10 pkgsrc/www/py-sanic/distinfo:1.11
--- pkgsrc/www/py-sanic/distinfo:1.10   Fri May 15 08:32:34 2020
+++ pkgsrc/www/py-sanic/distinfo        Mon Jun 29 14:29:20 2020
@@ -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

Index: pkgsrc/www/py-sanic/patches/patch-setup.py
diff -u pkgsrc/www/py-sanic/patches/patch-setup.py:1.5 pkgsrc/www/py-sanic/patches/patch-setup.py:1.6
--- pkgsrc/www/py-sanic/patches/patch-setup.py:1.5      Fri May 15 08:32:34 2020
+++ pkgsrc/www/py-sanic/patches/patch-setup.py  Mon Jun 29 14:29:20 2020
@@ -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