SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
28
devel/py-test-asyncio/Makefile
Normal file
28
devel/py-test-asyncio/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
COMMENT = test asyncio code with pytest
|
||||
|
||||
MODPY_EGG_VERSION = 0.21.0
|
||||
DISTNAME = pytest-asyncio-${MODPY_EGG_VERSION}
|
||||
PKGNAME = ${DISTNAME:S/py/py-/}
|
||||
CATEGORIES = devel
|
||||
|
||||
# Apache 2.0
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYBUILD = setuptools_scm
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
# needs extra dep pytest_trio
|
||||
MODPY_PYTEST_ARGS = --ignore tests/trio/test_fixtures.py
|
||||
# most tests are ok without self-dep, but some require it to be
|
||||
# installed for pytest --asyncio-mode==strict to work
|
||||
TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
|
||||
devel/py-flaky${MODPY_FLAVOR} \
|
||||
devel/py-hypothesis${MODPY_FLAVOR}
|
||||
|
||||
RUN_DEPENDS = devel/py-test${MODPY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
Loading…
Add table
Add a link
Reference in a new issue