diff --git a/www/py-sanic/Makefile b/www/py-sanic/Makefile index 4b11c7ae8906..43ae23d1aa5a 100644 --- a/www/py-sanic/Makefile +++ b/www/py-sanic/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.19 2021/02/16 18:56:05 adam Exp $ +# $NetBSD: Makefile,v 1.20 2021/07/28 12:14:16 adam Exp $ -DISTNAME= sanic-20.12.2 +DISTNAME= sanic-21.6.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/} @@ -12,12 +12,11 @@ LICENSE= mit AND apache-2.0 DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.6.0:../../devel/py-aiofiles DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools -DEPENDS+= ${PYPKGPREFIX}-httpx>=0.15.4:../../www/py-httpx DEPENDS+= ${PYPKGPREFIX}-multidict>=5.0.0:../../databases/py-multidict DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop -DEPENDS+= ${PYPKGPREFIX}-websockets>=8.1:../../www/py-websockets -TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn +DEPENDS+= ${PYPKGPREFIX}-sanic-routing>=0.7.0:../../www/py-sanic-routing +DEPENDS+= ${PYPKGPREFIX}-websockets>=9.0:../../www/py-websockets USE_LANGUAGES= # none diff --git a/www/py-sanic/PLIST b/www/py-sanic/PLIST index 5c4c5450fcb6..8506df77c044 100644 --- a/www/py-sanic/PLIST +++ b/www/py-sanic/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2021/01/03 22:41:44 adam Exp $ +@comment $NetBSD: PLIST,v 1.11 2021/07/28 12:14:16 adam Exp $ bin/sanic-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -21,6 +21,9 @@ ${PYSITELIB}/sanic/app.pyo ${PYSITELIB}/sanic/asgi.py ${PYSITELIB}/sanic/asgi.pyc ${PYSITELIB}/sanic/asgi.pyo +${PYSITELIB}/sanic/base.py +${PYSITELIB}/sanic/base.pyc +${PYSITELIB}/sanic/base.pyo ${PYSITELIB}/sanic/blueprint_group.py ${PYSITELIB}/sanic/blueprint_group.pyc ${PYSITELIB}/sanic/blueprint_group.pyo @@ -39,9 +42,6 @@ ${PYSITELIB}/sanic/constants.pyo ${PYSITELIB}/sanic/cookies.py ${PYSITELIB}/sanic/cookies.pyc ${PYSITELIB}/sanic/cookies.pyo -${PYSITELIB}/sanic/deprecated.py -${PYSITELIB}/sanic/deprecated.pyc -${PYSITELIB}/sanic/deprecated.pyo ${PYSITELIB}/sanic/errorpages.py ${PYSITELIB}/sanic/errorpages.pyc ${PYSITELIB}/sanic/errorpages.pyo @@ -57,9 +57,45 @@ ${PYSITELIB}/sanic/headers.pyo ${PYSITELIB}/sanic/helpers.py ${PYSITELIB}/sanic/helpers.pyc ${PYSITELIB}/sanic/helpers.pyo +${PYSITELIB}/sanic/http.py +${PYSITELIB}/sanic/http.pyc +${PYSITELIB}/sanic/http.pyo ${PYSITELIB}/sanic/log.py ${PYSITELIB}/sanic/log.pyc ${PYSITELIB}/sanic/log.pyo +${PYSITELIB}/sanic/mixins/__init__.py +${PYSITELIB}/sanic/mixins/__init__.pyc +${PYSITELIB}/sanic/mixins/__init__.pyo +${PYSITELIB}/sanic/mixins/exceptions.py +${PYSITELIB}/sanic/mixins/exceptions.pyc +${PYSITELIB}/sanic/mixins/exceptions.pyo +${PYSITELIB}/sanic/mixins/listeners.py +${PYSITELIB}/sanic/mixins/listeners.pyc +${PYSITELIB}/sanic/mixins/listeners.pyo +${PYSITELIB}/sanic/mixins/middleware.py +${PYSITELIB}/sanic/mixins/middleware.pyc +${PYSITELIB}/sanic/mixins/middleware.pyo +${PYSITELIB}/sanic/mixins/routes.py +${PYSITELIB}/sanic/mixins/routes.pyc +${PYSITELIB}/sanic/mixins/routes.pyo +${PYSITELIB}/sanic/mixins/signals.py +${PYSITELIB}/sanic/mixins/signals.pyc +${PYSITELIB}/sanic/mixins/signals.pyo +${PYSITELIB}/sanic/models/__init__.py +${PYSITELIB}/sanic/models/__init__.pyc +${PYSITELIB}/sanic/models/__init__.pyo +${PYSITELIB}/sanic/models/asgi.py +${PYSITELIB}/sanic/models/asgi.pyc +${PYSITELIB}/sanic/models/asgi.pyo +${PYSITELIB}/sanic/models/futures.py +${PYSITELIB}/sanic/models/futures.pyc +${PYSITELIB}/sanic/models/futures.pyo +${PYSITELIB}/sanic/models/handler_types.py +${PYSITELIB}/sanic/models/handler_types.pyc +${PYSITELIB}/sanic/models/handler_types.pyo +${PYSITELIB}/sanic/models/protocol_types.py +${PYSITELIB}/sanic/models/protocol_types.pyc +${PYSITELIB}/sanic/models/protocol_types.pyo ${PYSITELIB}/sanic/py.typed ${PYSITELIB}/sanic/reloader_helpers.py ${PYSITELIB}/sanic/reloader_helpers.pyc @@ -76,12 +112,12 @@ ${PYSITELIB}/sanic/router.pyo ${PYSITELIB}/sanic/server.py ${PYSITELIB}/sanic/server.pyc ${PYSITELIB}/sanic/server.pyo -${PYSITELIB}/sanic/static.py -${PYSITELIB}/sanic/static.pyc -${PYSITELIB}/sanic/static.pyo -${PYSITELIB}/sanic/testing.py -${PYSITELIB}/sanic/testing.pyc -${PYSITELIB}/sanic/testing.pyo +${PYSITELIB}/sanic/signals.py +${PYSITELIB}/sanic/signals.pyc +${PYSITELIB}/sanic/signals.pyo +${PYSITELIB}/sanic/simple.py +${PYSITELIB}/sanic/simple.pyc +${PYSITELIB}/sanic/simple.pyo ${PYSITELIB}/sanic/utils.py ${PYSITELIB}/sanic/utils.pyc ${PYSITELIB}/sanic/utils.pyo diff --git a/www/py-sanic/distinfo b/www/py-sanic/distinfo index 7cd0ce595a4e..9af959c8f160 100644 --- a/www/py-sanic/distinfo +++ b/www/py-sanic/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.16 2021/02/16 18:56:05 adam Exp $ +$NetBSD: distinfo,v 1.17 2021/07/28 12:14:16 adam Exp $ -SHA1 (sanic-20.12.2.tar.gz) = 8802e0cc5dd7c3752faccdda92adbdd25aa410a3 -RMD160 (sanic-20.12.2.tar.gz) = 930c877e13771ab012de385d67af733d973b4176 -SHA512 (sanic-20.12.2.tar.gz) = dee7e1688fb3f450b490d95dae7ec47b2f6d2823756e86480931f0f3a56862d3e97df31eb091b66cecc7a141d4a82b4e4bd615d7762767e8b78e13030be9d5d4 -Size (sanic-20.12.2.tar.gz) = 147979 bytes -SHA1 (patch-setup.py) = bcd9b4baaff7c6ffc08d34d0ed2db1e35e97dd7f +SHA1 (sanic-21.6.1.tar.gz) = 75001f74aa39be97b6a7cc0884737ae05b6e85df +RMD160 (sanic-21.6.1.tar.gz) = 260c06a4f05305fd47811c961c9960cdd64cb09e +SHA512 (sanic-21.6.1.tar.gz) = ff1ea9269b25c60be3cb982f42b9ed391111b818f10efb02c221e7d150a3f50a6620385691e004e808b5043d1bbf3a2c01714c5871ff86cfc8a2c86b0b375474 +Size (sanic-21.6.1.tar.gz) = 173788 bytes diff --git a/www/py-sanic/patches/patch-setup.py b/www/py-sanic/patches/patch-setup.py deleted file mode 100644 index e4d9fcccc841..000000000000 --- a/www/py-sanic/patches/patch-setup.py +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-setup.py,v 1.9 2021/01/03 22:41:44 adam Exp $ - -Allow newer versions. - ---- setup.py.orig 2020-12-28 21:58:53.000000000 +0000 -+++ setup.py -@@ -89,15 +89,15 @@ requirements = [ - "aiofiles>=0.6.0", - "websockets>=8.1,<9.0", - "multidict>=5.0,<6.0", -- "httpx==0.15.4", -+ "httpx>=0.15.4", - ] - - tests_require = [ -- "pytest==5.2.1", -+ "pytest>=5.2.1", - "multidict>=5.0,<6.0", -- "gunicorn==20.0.4", -+ "gunicorn>=20.0.4", - "pytest-cov", -- "httpcore==0.11.*", -+ "httpcore>=0.11.*", - "beautifulsoup4", - uvloop, - ujson,