pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-asgiref



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jul 30 15:09:22 UTC 2023

Modified Files:
        pkgsrc/www/py-asgiref: Makefile distinfo

Log Message:
py-asgiref: updated to 3.7.2

3.7.2 (2023-05-27)
------------------

* The type annotations for SyncToAsync and AsyncToSync have been changed to
  more accurately reflect the kind of callables they return.

3.7.1 (2023-05-24)
------------------

* On Python 3.10 and below, the version of the "typing_extensions" package
  is now constrained to be at least version 4 (as we depend on functionality
  in that version and above)

3.7.0 (2023-05-23)
------------------

* Contextvars are now required for the implementation of `sync` as Python 3.6
  is now no longer a supported version.

* sync_to_async and async_to_sync now pass-through

* Debug and Lifespan State extensions have resulted in a typing change for some
  request and response types. This change should be backwards-compatible.

* ``asgiref`` frames will now be hidden in Django tracebacks by default.

* Raw performance and garbage collection improvements in Local, SyncToAsync,
  and AsyncToSync.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/www/py-asgiref/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/www/py-asgiref/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-asgiref/Makefile
diff -u pkgsrc/www/py-asgiref/Makefile:1.32 pkgsrc/www/py-asgiref/Makefile:1.33
--- pkgsrc/www/py-asgiref/Makefile:1.32 Tue Jan 24 19:50:07 2023
+++ pkgsrc/www/py-asgiref/Makefile      Sun Jul 30 15:09:22 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2023/01/24 19:50:07 adam Exp $
+# $NetBSD: Makefile,v 1.33 2023/07/30 15:09:22 adam Exp $
 
-DISTNAME=      asgiref-3.6.0
+DISTNAME=      asgiref-3.7.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asgiref/}
@@ -10,15 +10,21 @@ HOMEPAGE=   https://github.com/django/asgi
 COMMENT=       Contains various reference ASGI implementations
 LICENSE=       modified-bsd
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.3.0:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.10.0:../../devel/py-test-asyncio
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.800:../../lang/py-mypy
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
 
 USE_LANGUAGES= # none
 
-PYSETUPTESTTARGET=     pytest
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4:../../devel/py-typing-extensions
+.endif
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-asgiref/distinfo
diff -u pkgsrc/www/py-asgiref/distinfo:1.31 pkgsrc/www/py-asgiref/distinfo:1.32
--- pkgsrc/www/py-asgiref/distinfo:1.31 Tue Jan 24 19:50:07 2023
+++ pkgsrc/www/py-asgiref/distinfo      Sun Jul 30 15:09:22 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2023/01/24 19:50:07 adam Exp $
+$NetBSD: distinfo,v 1.32 2023/07/30 15:09:22 adam Exp $
 
-BLAKE2s (asgiref-3.6.0.tar.gz) = d6d04570f10588ff252d06d541f38b8a2538b8fe69f3ed5b3cab7120ae1de376
-SHA512 (asgiref-3.6.0.tar.gz) = b74d71e3a5d129117293512ed93e06a9ac0f681766abfc074be6c8deec7160995dee23947da861715fa47e2b9921669b6b5bf247f8d895ffbea7007ea956b9d6
-Size (asgiref-3.6.0.tar.gz) = 32748 bytes
+BLAKE2s (asgiref-3.7.2.tar.gz) = 89b37a9cd7af46767de71c4cab972d155e7d9ec3cff3d1faac23bb71afc6eef6
+SHA512 (asgiref-3.7.2.tar.gz) = 578ccb54e25869ac9bc7bcd59819d4fc056fdb89a27ec3d7c5b74608984c9d18b41f0b281a3a67bf6b56ad85a7009e336bbdd4a76e2b4a0c8a26c0dfef2687a8
+Size (asgiref-3.7.2.tar.gz) = 33393 bytes



Home | Main Index | Thread Index | Old Index