# $FreeBSD$ PORTNAME= usb PORTVERSION= 1.0.0 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org COMMENT= Python wrapper around libusb LICENSE= BSD3CLAUSE USES= python USE_PYTHON= autoplist concurrent distutils USE_GITHUB= yes GH_ACCOUNT= walac GH_PROJECT= py${PORTNAME} PORTDOCS= *.rst OPTIONS_DEFINE= DOCS do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR} test: extract @(cd ${WRKSRC}/tests && ${PYTHON_CMD} testall.py) .include