diff --git a/science/py-segyio/Makefile b/science/py-segyio/Makefile index f6d6a9d5ddec..edccde83f452 100644 --- a/science/py-segyio/Makefile +++ b/science/py-segyio/Makefile @@ -29,6 +29,8 @@ post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/segyio/_segyio*.so do-test: # tests fail: https://github.com/equinor/segyio/issues/511 - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + @cd ${WRKSRC} && \ + ${PYTHON_CMD} ${PYSETUP} build_ext --inplace && \ + ${PYTHON_CMD} ${PYSETUP} test .include