PORTNAME= editdistance PORTVERSION= 0.6.2 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast implementation of the edit distance (Levenshtein distance) WWW= https://github.com/roy-ht/editdistance LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent cython pep517 post-patch: # https://github.com/roy-ht/editdistance/blob/master/editdistance/bycython.pyx @${CP} ${FILESDIR}/bycython.pyx ${WRKSRC}/editdistance/bycython.pyx post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include