summaryrefslogtreecommitdiff
path: root/www/py-asgiref
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-04-06 04:48:34 +0000
committeradam <adam@pkgsrc.org>2021-04-06 04:48:34 +0000
commit2002ac7e50bb95fd25f7fee553277c26a043c5be (patch)
treebb157ff7f7ddad4eb31b236461fbbe71428077cd /www/py-asgiref
parentb09cf5b5331f166e22e00f654f78a7f7995c95fd (diff)
downloadpkgsrc-2002ac7e50bb95fd25f7fee553277c26a043c5be.tar.gz
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)
Diffstat (limited to 'www/py-asgiref')
-rw-r--r--www/py-asgiref/Makefile9
-rw-r--r--www/py-asgiref/PLIST6
-rw-r--r--www/py-asgiref/distinfo10
3 files changed, 17 insertions, 8 deletions
diff --git a/www/py-asgiref/Makefile b/www/py-asgiref/Makefile
index 52788c8527e..62568d03af0 100644
--- a/www/py-asgiref/Makefile
+++ b/www/py-asgiref/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2020/11/10 11:13:46 adam Exp $
+# $NetBSD: Makefile,v 1.25 2021/04/06 04:48:34 adam Exp $
-DISTNAME= asgiref-3.3.1
+DISTNAME= asgiref-3.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asgiref/}
@@ -20,5 +20,10 @@ PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-asgiref/PLIST b/www/py-asgiref/PLIST
index edeb4fd1fec..4570176a60f 100644
--- a/www/py-asgiref/PLIST
+++ b/www/py-asgiref/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2019/08/07 12:26:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/04/06 04:48:34 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -17,6 +17,7 @@ ${PYSITELIB}/asgiref/current_thread_executor.pyo
${PYSITELIB}/asgiref/local.py
${PYSITELIB}/asgiref/local.pyc
${PYSITELIB}/asgiref/local.pyo
+${PYSITELIB}/asgiref/py.typed
${PYSITELIB}/asgiref/server.py
${PYSITELIB}/asgiref/server.pyc
${PYSITELIB}/asgiref/server.pyo
@@ -29,6 +30,9 @@ ${PYSITELIB}/asgiref/testing.pyo
${PYSITELIB}/asgiref/timeout.py
${PYSITELIB}/asgiref/timeout.pyc
${PYSITELIB}/asgiref/timeout.pyo
+${PYSITELIB}/asgiref/typing.py
+${PYSITELIB}/asgiref/typing.pyc
+${PYSITELIB}/asgiref/typing.pyo
${PYSITELIB}/asgiref/wsgi.py
${PYSITELIB}/asgiref/wsgi.pyc
${PYSITELIB}/asgiref/wsgi.pyo
diff --git a/www/py-asgiref/distinfo b/www/py-asgiref/distinfo
index 407e6a002bb..90cff1cf17f 100644
--- a/www/py-asgiref/distinfo
+++ b/www/py-asgiref/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2020/11/10 11:13:46 adam Exp $
+$NetBSD: distinfo,v 1.23 2021/04/06 04:48:34 adam Exp $
-SHA1 (asgiref-3.3.1.tar.gz) = 7931f747e65782da15b427267780419f8aa48117
-RMD160 (asgiref-3.3.1.tar.gz) = c2b244709cc5c0b6a35b88228efcda8ad2336a50
-SHA512 (asgiref-3.3.1.tar.gz) = 2d709e8b0ea8b9f11f485ee438cfbbfe8a832de1aa37094a6339cfff23c2605ec79f691320c42bebf46f3bddb005ebb6857d17a8ad641c87a149536cc65984e6
-Size (asgiref-3.3.1.tar.gz) = 27197 bytes
+SHA1 (asgiref-3.3.2.tar.gz) = 2c4336884940eed4cfce38aacf0914760ecd79ff
+RMD160 (asgiref-3.3.2.tar.gz) = f2eaaac52a2a729a0d4231c8f872b035a395daba
+SHA512 (asgiref-3.3.2.tar.gz) = e2259add28554968936e09bf6a53cf71cef4e2e01d58d8e9651543657ba8517be5f2dd7d76334394cac579f7d560e3ab1c498434bbd67276b336ddd78644ba1f
+Size (asgiref-3.3.2.tar.gz) = 30088 bytes