mirror of https://git.freebsd.org/ports.git
textproc/py-sentencepiece: Fix tests
parent
d9376718d3
commit
a26c07bdd4
|
@ -15,13 +15,14 @@ BUILD_DEPENDS= protobuf>0:devel/protobuf
|
|||
LIB_DEPENDS= libsentencepiece.so:textproc/sentencepiece
|
||||
|
||||
USES= compiler:c++17-lang pkgconfig python
|
||||
USE_PYTHON= distutils autoplist pytest # many tests fail, see https://github.com/google/sentencepiece/issues/977
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= google
|
||||
|
||||
WRKSRC_SUBDIR= python
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYSETUP} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in New Issue