PORTNAME= stringzilla DISTVERSIONPREFIX= v DISTVERSION= 3.11.2 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 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.2: 10195 passed in 30.47s .include