2230a97a37
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.
30 lines
902 B
Makefile
30 lines
902 B
Makefile
# $NetBSD: Makefile,v 1.33 2023/07/30 15:09:22 adam Exp $
|
|
|
|
DISTNAME= asgiref-3.7.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asgiref/}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= https://github.com/django/asgiref
|
|
COMMENT= Contains various reference ASGI implementations
|
|
LICENSE= modified-bsd
|
|
|
|
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
|
|
|
|
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"
|