git: 4a29125a7559 - main - devel/py-adb: switch to USES=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Apr 2022 12:33:15 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4a29125a75599d1dfa37c87023413e2c9f048e5f
commit 4a29125a75599d1dfa37c87023413e2c9f048e5f
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-20 12:23:50 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-20 12:32:16 +0000
devel/py-adb: switch to USES=pytest
---
devel/py-adb/Makefile | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/devel/py-adb/Makefile b/devel/py-adb/Makefile
index 2157d9357d50..55ce35d8839e 100644
--- a/devel/py-adb/Makefile
+++ b/devel/py-adb/Makefile
@@ -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>