pkgsrc/www/py-asgiref/Makefile
adam 037700754b py-asgiref: updated to 3.5.2
3.5.2 (2022-05-16)
------------------

* Allow async-callables class instances to be passed to AsyncToSync
  without warning

* Prevent giving async-callable class instances to SyncToAsync
2022-05-19 13:16:03 +00:00

29 lines
871 B
Makefile

# $NetBSD: Makefile,v 1.31 2022/05/19 13:16:03 adam Exp $
DISTNAME= asgiref-3.5.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}-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
USE_LANGUAGES= # none
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"