c4dd4b63f9
0.19.0 (22-07-13) ================= - BREAKING: The default ``asyncio_mode`` is now *strict*. - Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. - Declare support for Python 3.11.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2022/08/03 11:42:57 adam Exp $
|
|
|
|
DISTNAME= pytest-asyncio-0.19.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-asyncio/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/pytest-dev/pytest-asyncio
|
|
COMMENT= Pytest support for asyncio
|
|
LICENSE= apache-2.0
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.36:../../devel/py-wheel
|
|
DEPENDS+= ${PYPKGPREFIX}-test>=6.1.0:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=5.2:../../devel/py-coverage
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.7.1:../../devel/py-hypothesis
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.5.0:../../devel/py-flaky
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.931:../../lang/py-mypy
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-trio-[0-9]*:../../devel/py-test-trio
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
.if ${_PYTHON_VERSION} < 38
|
|
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.2:../../devel/py-typing-extensions
|
|
.endif
|
|
|
|
# package needs to be installed before testing, next line is not enough
|
|
#TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/wheel.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|