diff --git a/devel/py-stringzilla/Makefile b/devel/py-stringzilla/Makefile index 7a65a685c934..aff3864bd11b 100644 --- a/devel/py-stringzilla/Makefile +++ b/devel/py-stringzilla/Makefile @@ -1,31 +1,38 @@ PORTNAME= stringzilla DISTVERSIONPREFIX= v DISTVERSION= 3.11.1 CATEGORIES= devel python #MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= SIMD-accelerated string search/sort/hashes/fingerprints/edit distances WWW= https://ashvardanian.com/posts/stringzilla/ \ https://github.com/ashvardanian/stringzilla LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyarrow>0:databases/py-pyarrow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-repeat>0:devel/py-pytest-repeat@${PY_FLAVOR} USES= python -USE_PYTHON= pep517 autoplist +USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes GH_ACCOUNT= ashvardanian GH_PROJECT= StringZilla post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/stringzilla${PYTHON_EXT_SUFFIX}.so +do-test: + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest scripts/test.py + +# tests as of 3.11.1: 10195 passed in 23.19s + .include