PORTNAME= y-py PORTVERSION= 0.6.0 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI:pypi PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= y_py-${PORTVERSION}.tar.gz:pypi MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python bindings for the Y-CRDT built from yrs (Rust) WWW= https://github.com/y-crdt/ypy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.13<0.15:devel/py-maturin@${PY_FLAVOR} USES= cargo python:3.7+ USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no CARGO_INSTALL= no WRKSRC= ${WRKDIR}/y_py-${PORTVERSION} post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include