summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-06-29 14:29:20 +0000
committeradam <adam@pkgsrc.org>2020-06-29 14:29:20 +0000
commitaa81739be731c2f62cdd988203e11ddf67fc3a25 (patch)
tree8af09b5db0f68580bf5c9a13db837e9a66d6dd7a /www
parent796b6d1b4d01f175f27b61a01e9a8b134d4ca32b (diff)
downloadpkgsrc-aa81739be731c2f62cdd988203e11ddf67fc3a25.tar.gz
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 (limited to 'www')
-rw-r--r--www/py-sanic/Makefile8
-rw-r--r--www/py-sanic/PLIST4
-rw-r--r--www/py-sanic/distinfo12
-rw-r--r--www/py-sanic/patches/patch-setup.py8
4 files changed, 19 insertions, 13 deletions
diff --git a/www/py-sanic/Makefile b/www/py-sanic/Makefile
index 22b78998685..0253b8c024a 100644
--- a/www/py-sanic/Makefile
+++ b/www/py-sanic/Makefile
@@ -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"
diff --git a/www/py-sanic/PLIST b/www/py-sanic/PLIST
index 839759a4712..b899ee82dcd 100644
--- a/www/py-sanic/PLIST
+++ b/www/py-sanic/PLIST
@@ -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 --git a/www/py-sanic/distinfo b/www/py-sanic/distinfo
index d1128c138d3..7018f567bfb 100644
--- a/www/py-sanic/distinfo
+++ b/www/py-sanic/distinfo
@@ -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 --git a/www/py-sanic/patches/patch-setup.py b/www/py-sanic/patches/patch-setup.py
index a84212fbba6..c753f631dc2 100644
--- a/www/py-sanic/patches/patch-setup.py
+++ b/www/py-sanic/patches/patch-setup.py
@@ -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",