py-asgiref: updated to 3.3.2 3.3.2 (2021-04-05) ------------------ * SyncToAsync now takes an optional "executor" argument if you want to supply your own executor rather than using the built-in one. * async_to_sync and sync_to_async now check their arguments are functions of the correct type. * Raising CancelledError inside a SyncToAsync function no longer stops a future call from functioning. * ThreadSensitive now provides context hooks/override options so it can be made to be sensitive in a unit smaller than threads (e.g. per request)diff -r1.24 -r1.25 pkgsrc/www/py-asgiref/Makefile
(adam)
@@ -1,24 +1,29 @@ | @@ -1,24 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.24 2020/11/10 11:13:46 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.25 2021/04/06 04:48:34 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= asgiref-3.3.1 | 3 | DISTNAME= asgiref-3.3.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/asgiref/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/asgiref/} | |
7 | 7 | |||
8 | MAINTAINER= adam@NetBSD.org | 8 | MAINTAINER= adam@NetBSD.org | |
9 | HOMEPAGE= https://github.com/django/asgiref | 9 | HOMEPAGE= https://github.com/django/asgiref | |
10 | COMMENT= Contains various reference ASGI implementations | 10 | COMMENT= Contains various reference ASGI implementations | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.3.0:../../devel/py-test | 13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.3.0:../../devel/py-test | |
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.10.0:../../devel/py-test-asyncio | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.10.0:../../devel/py-test-asyncio | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |
16 | 16 | |||
17 | USE_LANGUAGES= # none | 17 | USE_LANGUAGES= # none | |
18 | 18 | |||
19 | PYSETUPTESTTARGET= pytest | 19 | PYSETUPTESTTARGET= pytest | |
20 | 20 | |||
21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
22 | 22 | |||
23 | .include "../../lang/python/pyversion.mk" | |||
24 | .if ${_PYTHON_VERSION} < 38 | |||
25 | DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions | |||
26 | .endif | |||
27 | ||||
23 | .include "../../lang/python/egg.mk" | 28 | .include "../../lang/python/egg.mk" | |
24 | .include "../../mk/bsd.pkg.mk" | 29 | .include "../../mk/bsd.pkg.mk" |
@@ -1,34 +1,38 @@ | @@ -1,34 +1,38 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2019/08/07 12:26:04 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2021/04/06 04:48:34 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |
6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
8 | ${PYSITELIB}/asgiref/__init__.py | 8 | ${PYSITELIB}/asgiref/__init__.py | |
9 | ${PYSITELIB}/asgiref/__init__.pyc | 9 | ${PYSITELIB}/asgiref/__init__.pyc | |
10 | ${PYSITELIB}/asgiref/__init__.pyo | 10 | ${PYSITELIB}/asgiref/__init__.pyo | |
11 | ${PYSITELIB}/asgiref/compatibility.py | 11 | ${PYSITELIB}/asgiref/compatibility.py | |
12 | ${PYSITELIB}/asgiref/compatibility.pyc | 12 | ${PYSITELIB}/asgiref/compatibility.pyc | |
13 | ${PYSITELIB}/asgiref/compatibility.pyo | 13 | ${PYSITELIB}/asgiref/compatibility.pyo | |
14 | ${PYSITELIB}/asgiref/current_thread_executor.py | 14 | ${PYSITELIB}/asgiref/current_thread_executor.py | |
15 | ${PYSITELIB}/asgiref/current_thread_executor.pyc | 15 | ${PYSITELIB}/asgiref/current_thread_executor.pyc | |
16 | ${PYSITELIB}/asgiref/current_thread_executor.pyo | 16 | ${PYSITELIB}/asgiref/current_thread_executor.pyo | |
17 | ${PYSITELIB}/asgiref/local.py | 17 | ${PYSITELIB}/asgiref/local.py | |
18 | ${PYSITELIB}/asgiref/local.pyc | 18 | ${PYSITELIB}/asgiref/local.pyc | |
19 | ${PYSITELIB}/asgiref/local.pyo | 19 | ${PYSITELIB}/asgiref/local.pyo | |
20 | ${PYSITELIB}/asgiref/py.typed | |||
20 | ${PYSITELIB}/asgiref/server.py | 21 | ${PYSITELIB}/asgiref/server.py | |
21 | ${PYSITELIB}/asgiref/server.pyc | 22 | ${PYSITELIB}/asgiref/server.pyc | |
22 | ${PYSITELIB}/asgiref/server.pyo | 23 | ${PYSITELIB}/asgiref/server.pyo | |
23 | ${PYSITELIB}/asgiref/sync.py | 24 | ${PYSITELIB}/asgiref/sync.py | |
24 | ${PYSITELIB}/asgiref/sync.pyc | 25 | ${PYSITELIB}/asgiref/sync.pyc | |
25 | ${PYSITELIB}/asgiref/sync.pyo | 26 | ${PYSITELIB}/asgiref/sync.pyo | |
26 | ${PYSITELIB}/asgiref/testing.py | 27 | ${PYSITELIB}/asgiref/testing.py | |
27 | ${PYSITELIB}/asgiref/testing.pyc | 28 | ${PYSITELIB}/asgiref/testing.pyc | |
28 | ${PYSITELIB}/asgiref/testing.pyo | 29 | ${PYSITELIB}/asgiref/testing.pyo | |
29 | ${PYSITELIB}/asgiref/timeout.py | 30 | ${PYSITELIB}/asgiref/timeout.py | |
30 | ${PYSITELIB}/asgiref/timeout.pyc | 31 | ${PYSITELIB}/asgiref/timeout.pyc | |
31 | ${PYSITELIB}/asgiref/timeout.pyo | 32 | ${PYSITELIB}/asgiref/timeout.pyo | |
33 | ${PYSITELIB}/asgiref/typing.py | |||
34 | ${PYSITELIB}/asgiref/typing.pyc | |||
35 | ${PYSITELIB}/asgiref/typing.pyo | |||
32 | ${PYSITELIB}/asgiref/wsgi.py | 36 | ${PYSITELIB}/asgiref/wsgi.py | |
33 | ${PYSITELIB}/asgiref/wsgi.pyc | 37 | ${PYSITELIB}/asgiref/wsgi.pyc | |
34 | ${PYSITELIB}/asgiref/wsgi.pyo | 38 | ${PYSITELIB}/asgiref/wsgi.pyo |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.22 2020/11/10 11:13:46 adam Exp $ | 1 | $NetBSD: distinfo,v 1.23 2021/04/06 04:48:34 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (asgiref-3.3.1.tar.gz) = 7931f747e65782da15b427267780419f8aa48117 | 3 | SHA1 (asgiref-3.3.2.tar.gz) = 2c4336884940eed4cfce38aacf0914760ecd79ff | |
4 | RMD160 (asgiref-3.3.1.tar.gz) = c2b244709cc5c0b6a35b88228efcda8ad2336a50 | 4 | RMD160 (asgiref-3.3.2.tar.gz) = f2eaaac52a2a729a0d4231c8f872b035a395daba | |
5 | SHA512 (asgiref-3.3.1.tar.gz) = 2d709e8b0ea8b9f11f485ee438cfbbfe8a832de1aa37094a6339cfff23c2605ec79f691320c42bebf46f3bddb005ebb6857d17a8ad641c87a149536cc65984e6 | 5 | SHA512 (asgiref-3.3.2.tar.gz) = e2259add28554968936e09bf6a53cf71cef4e2e01d58d8e9651543657ba8517be5f2dd7d76334394cac579f7d560e3ab1c498434bbd67276b336ddd78644ba1f | |
6 | Size (asgiref-3.3.1.tar.gz) = 27197 bytes | 6 | Size (asgiref-3.3.2.tar.gz) = 30088 bytes |