git: 4f70a19cea13 - main - x11-fonts/py-opentype-sanitizer: Convert to USE_PYTHON=pytest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:01:53 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4f70a19cea13287fad731604926b50efdd8f1230
commit 4f70a19cea13287fad731604926b50efdd8f1230
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:57:41 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:57:41 +0000
x11-fonts/py-opentype-sanitizer: Convert to USE_PYTHON=pytest
---
x11-fonts/py-opentype-sanitizer/Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/x11-fonts/py-opentype-sanitizer/Makefile b/x11-fonts/py-opentype-sanitizer/Makefile
index 95ff366b2cfb..7cc82c2dad76 100644
--- a/x11-fonts/py-opentype-sanitizer/Makefile
+++ b/x11-fonts/py-opentype-sanitizer/Makefile
@@ -15,10 +15,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ots-sanitize:x11-fonts/ots
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils pytest
LDFLAGS+= -lpython${PYTHON_VER}${PYTHON_ABIVER}
@@ -29,7 +28,4 @@ post-patch:
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
-do-test:
- cd ${WRKSRC}/ && ${PYTHON_CMD} -m pytest -rs -v
-
.include <bsd.port.mk>