Received: by mail.netbsd.org (Postfix, from userid 605) id B7D5E84E2A; Wed, 8 Jan 2020 21:03:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 40CD284D6C for ; Wed, 8 Jan 2020 21:03:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 1NjOyiTpz08l for ; Wed, 8 Jan 2020 21:03:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 631D084CE3 for ; Wed, 8 Jan 2020 21:03:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5D133FBF4; Wed, 8 Jan 2020 21:03:21 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_157851740115420" MIME-Version: 1.0 Date: Wed, 8 Jan 2020 21:03:21 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/www/py-sanic To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20200108210321.5D133FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_157851740115420 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Wed Jan 8 21:03:21 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 19.12.2 Version 19.12.0 Bugfixes Fix blueprint middleware application Currently, any blueprint middleware registered, irrespective of which blueprint was used to do so, was being applied to all of the routes created by the @app and @blueprint alike. As part of this change, the blueprint based middleware application is enforced based on where they are registered. If you register a middleware via @blueprint.middleware then it will apply only to the routes defined by the blueprint. If you register a middleware via @blueprint_group.middleware then it will apply to all blueprint based routes that are part of the group. If you define a middleware via @app.middleware then it will be applied on all available routes Fix url_for behavior with missing SERVER_NAME If the SERVER_NAME was missing in the app.config entity, the url_for on the request and app were failing due to an AttributeError. This fix makes the availability of SERVER_NAME on our app.config an optional behavior. Improved Documentation Move docs from RST to MD Moved all docs from markdown to restructured text like the rest of the docs to unify the scheme and make it easier in the future to update documentation. Fix documentation for get and getlist of the request.args Add additional example for showing the usage of getlist and fix the documentation string for request.args behavior Version 19.6.3 Enable Towncrier Support As part of this feature, towncrier is being introduced as a mechanism to partially automate the process of generating and managing change logs as part of each of pull requests. Improved Documentation Documentation infrastructure changes Enable having a single common CHANGELOG file for both GitHub page and documentation Fix Sphinix deprecation warnings Fix documentation warnings due to invalid rst indentation Enable common contribution guidelines file across GitHub and documentation via CONTRIBUTING.rst Version 19.6.2 Features * Remove aiohttp dependencey and create new SanicTestClient based upon requests-async * Added ASGI support (Beta) * Add Configure support from object string Bugfixes * Add missing handle for Expect header. * Allow to disable Transfer-Encoding: chunked. * Fix graceful shutdown. * Strict Slashes behavior fix Deprecations and Removals * Drop dependency on distutil * Drop support for Python 3.5 * Deprecate route removal. Warning Sanic will not support Python 3.5 from version 19.6 and forward. However, version 18.12LTS will have its support period extended thru December 2020, and therefore passing Python's official support version 3.5, which is set to expire in September 2020. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-sanic/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-sanic/PLIST cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-sanic/distinfo cvs rdiff -u -r1.3 -r1.4 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. --_----------=_157851740115420 Content-Disposition: inline Content-Length: 5046 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/py-sanic/Makefile diff -u pkgsrc/www/py-sanic/Makefile:1.10 pkgsrc/www/py-sanic/Makefile:1.11 --- pkgsrc/www/py-sanic/Makefile:1.10 Fri Apr 26 13:14:21 2019 +++ pkgsrc/www/py-sanic/Makefile Wed Jan 8 21:03:21 2020 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2019/04/26 13:14:21 maya Exp $ +# $NetBSD: Makefile,v 1.11 2020/01/08 21:03:21 adam Exp $ -DISTNAME= sanic-19.3.1 +DISTNAME= sanic-19.12.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/} @@ -12,10 +12,14 @@ LICENSE= mit AND apache-2.0 DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools +DEPENDS+= ${PYPKGPREFIX}-httpx>=0.9.3:../../www/py-httpx 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>=6.0:../../www/py-websockets +DEPENDS+= ${PYPKGPREFIX}-websockets>=7.0:../../www/py-websockets +TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn + +USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 Index: pkgsrc/www/py-sanic/PLIST diff -u pkgsrc/www/py-sanic/PLIST:1.5 pkgsrc/www/py-sanic/PLIST:1.6 --- pkgsrc/www/py-sanic/PLIST:1.5 Thu Apr 4 12:25:38 2019 +++ pkgsrc/www/py-sanic/PLIST Wed Jan 8 21:03:21 2020 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2019/04/04 12:25:38 adam Exp $ +@comment $NetBSD: PLIST,v 1.6 2020/01/08 21:03:21 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -10,15 +10,24 @@ ${PYSITELIB}/sanic/__init__.pyo ${PYSITELIB}/sanic/__main__.py ${PYSITELIB}/sanic/__main__.pyc ${PYSITELIB}/sanic/__main__.pyo +${PYSITELIB}/sanic/__version__.py +${PYSITELIB}/sanic/__version__.pyc +${PYSITELIB}/sanic/__version__.pyo ${PYSITELIB}/sanic/app.py ${PYSITELIB}/sanic/app.pyc ${PYSITELIB}/sanic/app.pyo +${PYSITELIB}/sanic/asgi.py +${PYSITELIB}/sanic/asgi.pyc +${PYSITELIB}/sanic/asgi.pyo ${PYSITELIB}/sanic/blueprint_group.py ${PYSITELIB}/sanic/blueprint_group.pyc ${PYSITELIB}/sanic/blueprint_group.pyo ${PYSITELIB}/sanic/blueprints.py ${PYSITELIB}/sanic/blueprints.pyc ${PYSITELIB}/sanic/blueprints.pyo +${PYSITELIB}/sanic/compat.py +${PYSITELIB}/sanic/compat.pyc +${PYSITELIB}/sanic/compat.pyo ${PYSITELIB}/sanic/config.py ${PYSITELIB}/sanic/config.pyc ${PYSITELIB}/sanic/config.pyo @@ -34,6 +43,9 @@ ${PYSITELIB}/sanic/exceptions.pyo ${PYSITELIB}/sanic/handlers.py ${PYSITELIB}/sanic/handlers.pyc ${PYSITELIB}/sanic/handlers.pyo +${PYSITELIB}/sanic/headers.py +${PYSITELIB}/sanic/headers.pyc +${PYSITELIB}/sanic/headers.pyo ${PYSITELIB}/sanic/helpers.py ${PYSITELIB}/sanic/helpers.pyc ${PYSITELIB}/sanic/helpers.pyo Index: pkgsrc/www/py-sanic/distinfo diff -u pkgsrc/www/py-sanic/distinfo:1.7 pkgsrc/www/py-sanic/distinfo:1.8 --- pkgsrc/www/py-sanic/distinfo:1.7 Thu Apr 4 12:25:38 2019 +++ pkgsrc/www/py-sanic/distinfo Wed Jan 8 21:03:21 2020 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.7 2019/04/04 12:25:38 adam Exp $ +$NetBSD: distinfo,v 1.8 2020/01/08 21:03:21 adam Exp $ -SHA1 (sanic-19.3.1.tar.gz) = c659db8a0139733cde46298e2daf8460b2a9d580 -RMD160 (sanic-19.3.1.tar.gz) = 243e4eb0ae0159f292167d9a842d98ca18d9cdf3 -SHA512 (sanic-19.3.1.tar.gz) = bcc41997b9ffc314bbe2703e248217410418a6bd6a27594d1100d06cafeff9157bfdf1459c207806d0320ffb916d970942a48b31bf4a25263f373cd57822ed31 -Size (sanic-19.3.1.tar.gz) = 117016 bytes -SHA1 (patch-setup.py) = c5f769c23ca81c08212cfd87e093995fc615725b +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-setup.py) = 12809b01cbd9ca950d64dabb2a2d1107cc361166 Index: pkgsrc/www/py-sanic/patches/patch-setup.py diff -u pkgsrc/www/py-sanic/patches/patch-setup.py:1.3 pkgsrc/www/py-sanic/patches/patch-setup.py:1.4 --- pkgsrc/www/py-sanic/patches/patch-setup.py:1.3 Thu Apr 4 12:25:38 2019 +++ pkgsrc/www/py-sanic/patches/patch-setup.py Wed Jan 8 21:03:21 2020 @@ -1,17 +1,15 @@ -$NetBSD: patch-setup.py,v 1.3 2019/04/04 12:25:38 adam Exp $ +$NetBSD: patch-setup.py,v 1.4 2020/01/08 21:03:21 adam Exp $ Allow newer versions. ---- setup.py.orig 2019-03-23 02:52:58.000000000 +0000 +--- setup.py.orig 2020-01-02 21:35:13.000000000 +0000 +++ setup.py -@@ -81,8 +81,8 @@ requirements = [ - uvloop, - ujson, +@@ -84,7 +84,7 @@ requirements = [ "aiofiles>=0.3.0", -- "websockets>=6.0,<7.0", -- "multidict>=4.0,<5.0", -+ "websockets>=6.0", -+ "multidict>=4.0", + "websockets>=7.0,<9.0", + "multidict>=4.0,<5.0", +- "httpx==0.9.3", ++ "httpx>=0.9.3", ] tests_require = [ --_----------=_157851740115420--