PORTNAME= nh3 DISTVERSIONPREFIX= v DISTVERSION= 0.2.17 PORTREVISION= 2 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Python Bindings to the ammonia HTML sanitization library WWW= https://github.com/messense/nh3 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.0<2.0:devel/py-maturin@${PY_FLAVOR} USES= cargo python USE_GITHUB= yes GH_ACCOUNT= messense USE_PYTHON= autoplist pep517 CARGO_BUILD= no CARGO_INSTALL= no TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include