Commit 5f94cd6f authored by sunpoet's avatar sunpoet
Browse files

Fix build with Python 3.8+

PR:		254503
Submitted by:	kai
parent 7bca85c0
......@@ -21,6 +21,12 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
.include <>
.if ${PYTHON_REL} >= 3800
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/python/ots/
@${RM} -r ${WRKSRC}/src/c/
......@@ -31,4 +37,4 @@ post-install:
cd ${WRKSRC}/ && ${PYTHON_CMD} -m pytest -v
.include <>
.include <>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment