git: 52acdd67054a - main - devel/py-entrypoints: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 16:37:59 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=52acdd67054a1cc37691a95203dd3aabcd8b7705
commit 52acdd67054a1cc37691a95203dd3aabcd8b7705
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:33:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:36:28 +0000
devel/py-entrypoints: Convert to USE_PYTHON=pytest
---
devel/py-entrypoints/Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/devel/py-entrypoints/Makefile b/devel/py-entrypoints/Makefile
index 1ffe8081e09f..15f959e2f0ee 100644
--- a/devel/py-entrypoints/Makefile
+++ b/devel/py-entrypoints/Makefile
@@ -10,17 +10,12 @@ COMMENT= Discover and load entry points from installed packages
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
-
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
post-patch:
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
-
.include <bsd.port.mk>