git: 6d88303520f9 - main - textproc/py-hashids: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 23:20:28 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6d88303520f92567b04807d25658149cb55d4288
commit 6d88303520f92567b04807d25658149cb55d4288
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 23:12:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 23:16:12 +0000
textproc/py-hashids: Convert to USE_PYTHON=pytest
---
textproc/py-hashids/Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/textproc/py-hashids/Makefile b/textproc/py-hashids/Makefile
index 84070edac10d..c826a882ccb3 100644
--- a/textproc/py-hashids/Makefile
+++ b/textproc/py-hashids/Makefile
@@ -12,17 +12,12 @@ COMMENT= Implement the hashids algorithm in python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-
USES= python:3.5+
-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>