30 lines
850 B
Makefile
30 lines
850 B
Makefile
PORTNAME= aiothreads
|
|
DISTVERSION= 1.1.4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Glue between async and thread worlds
|
|
WWW= https://github.com/mosquito/aiothreads
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}async_timeout>=5.0.1:devel/py-async_timeout@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=1.1.0:devel/py-pytest-asyncio@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= pep517 concurrent autoplist pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
TEST_WRKSRC= ${WRKSRC}/tests
|
|
TEST_ARGS= --disable-plugin-autoload -p asyncio
|
|
|
|
# tests as of 1.1.4: 118 passed in 16.99s
|
|
|
|
.include <bsd.port.mk>
|