diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-06-03 16:57:41 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-06-03 16:57:41 +0000 |
commit | 4f70a19cea13287fad731604926b50efdd8f1230 (patch) | |
tree | 4e91ec1e4209450b1c77bec0a06149d49ebad7ec /x11-fonts/py-opentype-sanitizer | |
parent | e77224a00d55f960e31798b07ff7c079394dbf9d (diff) | |
download | ports-4f70a19cea13287fad731604926b50efdd8f1230.tar.gz ports-4f70a19cea13287fad731604926b50efdd8f1230.zip |
x11-fonts/py-opentype-sanitizer: Convert to USE_PYTHON=pytest
Diffstat (limited to 'x11-fonts/py-opentype-sanitizer')
-rw-r--r-- | x11-fonts/py-opentype-sanitizer/Makefile | 6 |
1 files changed, 1 insertions, 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> |