pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-asgiref py-asgiref: updated to 3.3.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad6ab687d91c
branches:  trunk
changeset: 449799:ad6ab687d91c
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 06 04:48:34 2021 +0000

description:
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:

 www/py-asgiref/Makefile |   9 +++++++--
 www/py-asgiref/PLIST    |   6 +++++-
 www/py-asgiref/distinfo |  10 +++++-----
 3 files changed, 17 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r 81cc19e52524 -r ad6ab687d91c www/py-asgiref/Makefile
--- a/www/py-asgiref/Makefile   Tue Apr 06 02:45:26 2021 +0000
+++ b/www/py-asgiref/Makefile   Tue Apr 06 04:48:34 2021 +0000
@@ -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 @@
 
 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 -r 81cc19e52524 -r ad6ab687d91c www/py-asgiref/PLIST
--- a/www/py-asgiref/PLIST      Tue Apr 06 02:45:26 2021 +0000
+++ b/www/py-asgiref/PLIST      Tue Apr 06 04:48:34 2021 +0000
@@ -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/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/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 -r 81cc19e52524 -r ad6ab687d91c www/py-asgiref/distinfo
--- a/www/py-asgiref/distinfo   Tue Apr 06 02:45:26 2021 +0000
+++ b/www/py-asgiref/distinfo   Tue Apr 06 04:48:34 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index