1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

devel/py-adb: switch to USES=pytest

This commit is contained in:
Dmitry Marakasov 2022-04-20 15:23:50 +03:00
parent e267b574db
commit 4a29125a75

View File

@ -11,18 +11,14 @@ LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libusb1>=1.0.16:devel/py-libusb1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= google
GH_PROJECT= python-${PORTNAME}
USES= python:3.6+ pytest
NO_ARCH= yes
USES= python:3.6+
USE_PYTHON= autoplist distutils
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
.include <bsd.port.mk>