misc/py-xgboost: Fix build with Python 3.8 and 3.9

Submitted by:	kai
This commit is contained in:
Yuri Victorovich 2021-04-20 14:58:59 -07:00
parent bc3d0937d0
commit 0f3ae67710

View File

@ -33,7 +33,7 @@ NO_ARCH= yes
POST_PLIST= fix-plist
fix-plist: # https://github.com/dmlc/xgboost/issues/5705
@${REINPLACE_CMD} 's|.*libxgboost.so$$||' ${TMPPLIST}
@${REINPLACE_CMD} 's|.*libxgboost${PYTHON_EXT_SUFFIX}.so$$||' ${TMPPLIST}
do-test: # tests fail w/out CUDA: https://github.com/dmlc/xgboost/issues/6881
@cd ${WRKSRC}/.. && ${PYTHON_CMD} -m pytest