From 9cb5898561b302d952fec8e2fac66a945a2c4915 Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Thu, 24 Dec 2020 13:46:01 +0000 Subject: Relax hardcoded paths to fix build with Python 3.8.7 Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the shared libs naming scheme. This means "EXT_SUFFIX" is now derived from SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so". The affected ports strip the libaries in the "post-install" target via hardcoded path(s) and the build fails at the end because the new extension is not expected at this place. Remedy the issue by adding wildcards to these paths. This should also prepare the ports for future Python releases, which will use the new shared libs naming scheme. [1] https://bugs.python.org/issue42604 PR: 252057 Reported by: John Kennedy Reviewed by: fluffy, koobs Approved by: koobs (python) --- textproc/py-pikepdf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'textproc/py-pikepdf') diff --git a/textproc/py-pikepdf/Makefile b/textproc/py-pikepdf/Makefile index 97196f599e00..bbb6544a0f18 100644 --- a/textproc/py-pikepdf/Makefile +++ b/textproc/py-pikepdf/Makefile @@ -39,7 +39,7 @@ JBIG2_DESC= Support for extracting JBIG2 images JBIG2_RUN_DEPENDS= jbig2dec:graphics/jbig2dec post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pikepdf/_qpdf.so + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pikepdf/_qpdf*.so do-test: @(cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest -rs -v ) -- cgit v1.3