Tue Oct 27 23:07:42 2020 UTC ()
py-sanic: updated to 20.9.1

Version 20.9.1

Bugfixes
Fix static route registration on blueprints
Removes duplicate headers in ASGI streaming body


(adam)
diff -r1.15 -r1.16 pkgsrc/www/py-sanic/Makefile
diff -r1.12 -r1.13 pkgsrc/www/py-sanic/distinfo
diff -r1.7 -r1.8 pkgsrc/www/py-sanic/patches/patch-setup.py

cvs diff -r1.15 -r1.16 pkgsrc/www/py-sanic/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-sanic/Makefile 2020/10/01 06:53:12 1.15
+++ pkgsrc/www/py-sanic/Makefile 2020/10/27 23:07:42 1.16
@@ -1,29 +1,29 @@ @@ -1,29 +1,29 @@
1# $NetBSD: Makefile,v 1.15 2020/10/01 06:53:12 adam Exp $ 1# $NetBSD: Makefile,v 1.16 2020/10/27 23:07:42 adam Exp $
2 2
3DISTNAME= sanic-20.9.0 3DISTNAME= sanic-20.9.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/channelcat/sanic 9HOMEPAGE= https://github.com/channelcat/sanic
10COMMENT= Microframework based on uvloop, httptools, and learnings of flask 10COMMENT= Microframework based on uvloop, httptools, and learnings of flask
11LICENSE= mit AND apache-2.0 11LICENSE= mit AND apache-2.0
12 12
13DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles 13DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles
14DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools 14DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools
15DEPENDS+= ${PYPKGPREFIX}-httpx>=0.15.4:../../www/py-httpx 15DEPENDS+= ${PYPKGPREFIX}-httpx>=0.15.4:../../www/py-httpx
16DEPENDS+= ${PYPKGPREFIX}-multidict>=4.0:../../databases/py-multidict 16DEPENDS+= ${PYPKGPREFIX}-multidict>=5.0.0:../../databases/py-multidict
17DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson 17DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson
18DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop 18DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop
19DEPENDS+= ${PYPKGPREFIX}-websockets>=8.1:../../www/py-websockets 19DEPENDS+= ${PYPKGPREFIX}-websockets>=8.1:../../www/py-websockets
20TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn 20TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn
21 21
22USE_LANGUAGES= # none 22USE_LANGUAGES= # none
23 23
24PYTHON_VERSIONS_INCOMPATIBLE= 27 24PYTHON_VERSIONS_INCOMPATIBLE= 27
25 25
26post-install: 26post-install:
27 cd ${DESTDIR}${PREFIX}/bin && \ 27 cd ${DESTDIR}${PREFIX}/bin && \
28 ${MV} sanic sanic-${PYVERSSUFFIX} || ${TRUE} 28 ${MV} sanic sanic-${PYVERSSUFFIX} || ${TRUE}
29 29

cvs diff -r1.12 -r1.13 pkgsrc/www/py-sanic/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-sanic/distinfo 2020/10/01 06:53:12 1.12
+++ pkgsrc/www/py-sanic/distinfo 2020/10/27 23:07:42 1.13
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.12 2020/10/01 06:53:12 adam Exp $ 1$NetBSD: distinfo,v 1.13 2020/10/27 23:07:42 adam Exp $
2 2
3SHA1 (sanic-20.9.0.tar.gz) = 34065045f83e4a451b2606cf82a3e23ad4306d8f 3SHA1 (sanic-20.9.1.tar.gz) = 5ef6504b4ceebedbe6fd86b82eb498765420476d
4RMD160 (sanic-20.9.0.tar.gz) = 63ffe38b0b2006bdfba6e46ecf42eecd06822ffb 4RMD160 (sanic-20.9.1.tar.gz) = 9e300d42d4d7806e331d5ab43ae17b0ab9e0fbcb
5SHA512 (sanic-20.9.0.tar.gz) = 4f5ea058f65fa6c5f4ffa00af9f48108801dcfa19d750a0fafd688517eaeca9264d0aa82d6ceb7668abcaf9ba2b1dbeb7ce7339837619597ede322b1d600a588 5SHA512 (sanic-20.9.1.tar.gz) = 3e4ee0fbce0f5369038bfdd83abd9d3d485a915ae3ef91364e03c8e6a46dce2b7e5eba48c0680490bb175873f77454ed6ce584836b60192480cfd29e03ab4a48
6Size (sanic-20.9.0.tar.gz) = 146608 bytes 6Size (sanic-20.9.1.tar.gz) = 147581 bytes
7SHA1 (patch-setup.py) = 8c749c3f50c63a37fd588ea1107b55eeaef34851 7SHA1 (patch-setup.py) = 18d343962a7b0d3a312518fd10181f5dd5653524

cvs diff -r1.7 -r1.8 pkgsrc/www/py-sanic/patches/Attic/patch-setup.py (expand / switch to unified diff)

--- pkgsrc/www/py-sanic/patches/Attic/patch-setup.py 2020/10/01 06:53:12 1.7
+++ pkgsrc/www/py-sanic/patches/Attic/patch-setup.py 2020/10/27 23:07:42 1.8
@@ -1,15 +1,17 @@ @@ -1,15 +1,17 @@
1$NetBSD: patch-setup.py,v 1.7 2020/10/01 06:53:12 adam Exp $ 1$NetBSD: patch-setup.py,v 1.8 2020/10/27 23:07:42 adam Exp $
2 2
3Allow newer versions. 3Allow newer versions.
4 4
5--- setup.py.orig 2020-09-30 14:40:18.000000000 +0000 5--- setup.py.orig 2020-10-25 13:09:05.000000000 +0000
6+++ setup.py 6+++ setup.py
7@@ -81,7 +81,7 @@ requirements = [ 7@@ -80,8 +80,8 @@ requirements = [
 8 ujson,
8 "aiofiles>=0.3.0", 9 "aiofiles>=0.3.0",
9 "websockets>=8.1,<9.0", 10 "websockets>=8.1,<9.0",
10 "multidict>=4.0,<5.0", 11- "multidict==5.0.0",
11- "httpx==0.15.4", 12- "httpx==0.15.4",
 13+ "multidict>=5.0.0",
12+ "httpx>=0.15.4", 14+ "httpx>=0.15.4",
13 ] 15 ]
14  16
15 tests_require = [ 17 tests_require = [