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: fix for newer httpx



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6fd44a0d1ba
branches:  trunk
changeset: 431271:b6fd44a0d1ba
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 11 05:34:07 2020 +0000

description:
py-sanic: fix for newer httpx

diffstat:

 www/py-sanic/Makefile                       |   3 ++-
 www/py-sanic/distinfo                       |   3 ++-
 www/py-sanic/patches/patch-sanic_testing.py |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r c4998d332a0c -r b6fd44a0d1ba www/py-sanic/Makefile
--- a/www/py-sanic/Makefile     Mon May 11 05:33:09 2020 +0000
+++ b/www/py-sanic/Makefile     Mon May 11 05:34:07 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2020/01/08 21:03:21 adam Exp $
+# $NetBSD: Makefile,v 1.12 2020/05/11 05:34:07 adam Exp $
 
 DISTNAME=      sanic-19.12.2
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sanic/}
diff -r c4998d332a0c -r b6fd44a0d1ba www/py-sanic/distinfo
--- a/www/py-sanic/distinfo     Mon May 11 05:33:09 2020 +0000
+++ b/www/py-sanic/distinfo     Mon May 11 05:34:07 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2020/01/08 21:03:21 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/05/11 05:34:07 adam Exp $
 
 SHA1 (sanic-19.12.2.tar.gz) = 551764e7a1406be3ee20d655f6822aae1af77f52
 RMD160 (sanic-19.12.2.tar.gz) = af3bd32ab86c0d83d29387d009626c5b12862f1d
 SHA512 (sanic-19.12.2.tar.gz) = 1249551e45585959138028ad0d96ba0c560625f550c449480d405d5d0b2f3e361174552e24e328d1201b65074d3c1b7f4b886c7f45c99160752cdcf67d451c6b
 Size (sanic-19.12.2.tar.gz) = 135304 bytes
+SHA1 (patch-sanic_testing.py) = 63b841096383990e2a6c3a06fa16f4bc677e4627
 SHA1 (patch-setup.py) = 12809b01cbd9ca950d64dabb2a2d1107cc361166
diff -r c4998d332a0c -r b6fd44a0d1ba www/py-sanic/patches/patch-sanic_testing.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sanic/patches/patch-sanic_testing.py       Mon May 11 05:34:07 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-sanic_testing.py,v 1.1 2020/05/11 05:34:07 adam Exp $
+
+Fix for newer httpx.
+https://github.com/huge-success/sanic/pull/1806
+
+--- sanic/testing.py.orig      2020-05-10 18:16:45.000000000 +0000
++++ sanic/testing.py
+@@ -185,7 +185,7 @@ async def app_call_with_return(self, sco
+     return await asgi_app()
+ 
+ 
+-class SanicASGIDispatch(httpx.dispatch.ASGIDispatch):
++class SanicASGIDispatch(httpx.ASGIDispatch):
+     pass
+ 
+ 



Home | Main Index | Thread Index | Old Index