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:           Fri Jan 18 08:15:07 UTC 2019

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

Log Message:
py-sanic: updated to 18.12.0

Version 18.12

18.12.0

Changes:
Improved codebase test coverage from 81% to 91%.
Added stream_large_files and host examples in static_file document
Added methods to append and finish body content on Request
Integrated with .appveyor.yml for windows ci support
Added documentation for AF_INET6 and AF_UNIX socket usage
Adopt black/isort for codestyle
Cancel task when connection_lost
Simplify request ip and port retrieval logic
Handle config error in load config file.
Integrate with codecov for CI
Add missed documentation for config section.
Deprecate Handler.log
Pinned httptools requirement to version 0.0.10+

Fixes:
Fix remove_entity_headers helper function
Fix TypeError when use Blueprint.group() to group blueprint with default url_prefix, Use os.path.normpath to avoid invalid url_prefix like api//v1 f8a6af1 Rename the http module to helpers to prevent 
conflicts with the built-in Python http library
Fix unittests on windows
Fix Namespacing of sanic logger
Fix missing quotes in decorator example
Fix redirect with quoted param
Fix doc for latest blueprint code
Fix build of latex documentation relating to markdown lists
Fix loop exception handling in app.py
Fix content length mismatch in windows and other platform
Fix Range header handling for static files
Fix the logger and make it work
Fix type pikcle->pickle in multiprocessing test
Fix pickling blueprints Change the string passed in the "name" section of the namedtuples in Blueprint to match the name of the Blueprint module attribute name. This allows blueprints to be pickled 
and unpickled, without errors, which is a requirment of running Sanic in multiprocessing mode in Windows. Added a test for pickling and unpickling blueprints Added a test for pickling and unpickling 
sanic itself Added a test for enabling multiprocessing on an app with a blueprint (only useful to catch this bug if the tests are run on Windows).
Fix document for logging


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-sanic/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-sanic/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-sanic/distinfo
cvs rdiff -u -r1.1 -r1.2 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.7 pkgsrc/www/py-sanic/Makefile:1.8
--- pkgsrc/www/py-sanic/Makefile:1.7    Fri Sep 14 07:36:46 2018
+++ pkgsrc/www/py-sanic/Makefile        Fri Jan 18 08:15:07 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2018/09/14 07:36:46 adam Exp $
+# $NetBSD: Makefile,v 1.8 2019/01/18 08:15:07 adam Exp $
 
-DISTNAME=      sanic-0.8.3
+DISTNAME=      sanic-18.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sanic/}
@@ -11,11 +11,11 @@ COMMENT=    Microframework based on uvloop,
 LICENSE=       mit AND apache-2.0
 
 DEPENDS+=      ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles
-DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.0.9:../../www/py-httptools
+DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools
 DEPENDS+=      ${PYPKGPREFIX}-multidict>=4.0:../../databases/py-multidict
 DEPENDS+=      ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson
 DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop
-DEPENDS+=      ${PYPKGPREFIX}-websockets>=5.0:../../www/py-websockets
+DEPENDS+=      ${PYPKGPREFIX}-websockets>=6.0:../../www/py-websockets
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 34
 

Index: pkgsrc/www/py-sanic/PLIST
diff -u pkgsrc/www/py-sanic/PLIST:1.3 pkgsrc/www/py-sanic/PLIST:1.4
--- pkgsrc/www/py-sanic/PLIST:1.3       Fri Sep  7 11:30:47 2018
+++ pkgsrc/www/py-sanic/PLIST   Fri Jan 18 08:15:07 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/09/07 11:30:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/01/18 08:15:07 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -31,9 +31,9 @@ ${PYSITELIB}/sanic/exceptions.pyo
 ${PYSITELIB}/sanic/handlers.py
 ${PYSITELIB}/sanic/handlers.pyc
 ${PYSITELIB}/sanic/handlers.pyo
-${PYSITELIB}/sanic/http.py
-${PYSITELIB}/sanic/http.pyc
-${PYSITELIB}/sanic/http.pyo
+${PYSITELIB}/sanic/helpers.py
+${PYSITELIB}/sanic/helpers.pyc
+${PYSITELIB}/sanic/helpers.pyo
 ${PYSITELIB}/sanic/log.py
 ${PYSITELIB}/sanic/log.pyc
 ${PYSITELIB}/sanic/log.pyo

Index: pkgsrc/www/py-sanic/distinfo
diff -u pkgsrc/www/py-sanic/distinfo:1.5 pkgsrc/www/py-sanic/distinfo:1.6
--- pkgsrc/www/py-sanic/distinfo:1.5    Fri Sep 14 07:36:46 2018
+++ pkgsrc/www/py-sanic/distinfo        Fri Jan 18 08:15:07 2019
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2018/09/14 07:36:46 adam Exp $
+$NetBSD: distinfo,v 1.6 2019/01/18 08:15:07 adam Exp $
 
-SHA1 (sanic-0.8.3.tar.gz) = 3c3dd227851a393e6d2888855bba465d085114ca
-RMD160 (sanic-0.8.3.tar.gz) = a40b2d6b1e4ec39e794745901f9617cc38a356a3
-SHA512 (sanic-0.8.3.tar.gz) = 5f3a083df9b41dfcc97479534f6a4a99fb6b4c41c1ef6d31ac8e4dfc417a01500efb82757850e0d9f5c284f2845eb881fe4cf12d1b195bfd0c3c2487d674d20f
-Size (sanic-0.8.3.tar.gz) = 45547 bytes
-SHA1 (patch-setup.py) = 3860024afc1f509e11fbacb2949ab8788e9c016f
+SHA1 (sanic-18.12.0.tar.gz) = 3b5db68b9cadd563d290385c7639530e4bb15718
+RMD160 (sanic-18.12.0.tar.gz) = 2eb65b2e66ab3d8cc62c3325d0b1e3e2a3c6043d
+SHA512 (sanic-18.12.0.tar.gz) = 3db5d5da76aa347a3ec9032cbbad7cfd6d176766842f897cb3d3ed26df316d5e422d502b16380f0586111b29e13a6ab0f23eb22b434636a6202767fdf2078462
+Size (sanic-18.12.0.tar.gz) = 48140 bytes
+SHA1 (patch-setup.py) = 749acb82eb2e6f93c31bc3a10a577ca2867ee070

Index: pkgsrc/www/py-sanic/patches/patch-setup.py
diff -u pkgsrc/www/py-sanic/patches/patch-setup.py:1.1 pkgsrc/www/py-sanic/patches/patch-setup.py:1.2
--- pkgsrc/www/py-sanic/patches/patch-setup.py:1.1      Fri Sep  7 11:30:47 2018
+++ pkgsrc/www/py-sanic/patches/patch-setup.py  Fri Jan 18 08:15:07 2019
@@ -1,16 +1,16 @@
-$NetBSD: patch-setup.py,v 1.1 2018/09/07 11:30:47 adam Exp $
+$NetBSD: patch-setup.py,v 1.2 2019/01/18 08:15:07 adam Exp $
 
 Allow newer versions.
 
---- setup.py.orig      2018-09-07 10:56:22.000000000 +0000
+--- setup.py.orig      2019-01-18 08:10:59.000000000 +0000
 +++ setup.py
-@@ -60,8 +60,8 @@ requirements = [
+@@ -61,8 +61,8 @@ requirements = [
      uvloop,
      ujson,
      'aiofiles>=0.3.0',
--    'websockets>=5.0,<6.0',
+-    'websockets>=6.0,<7.0',
 -    'multidict>=4.0,<5.0',
-+    'websockets>=5.0',
++    'websockets>=6.0',
 +    'multidict>=4.0',
  ]
  if strtobool(os.environ.get("SANIC_NO_UJSON", "no")):



Home | Main Index | Thread Index | Old Index