mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
textproc/py-sentencepiece: Fix tests
This commit is contained in:
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
Block a user