From 4f70a19cea13287fad731604926b50efdd8f1230 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sat, 4 Jun 2022 00:57:41 +0800 Subject: 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 -- cgit v1.2.3