blob: a8829d51ae3e97d793ba340dee3dba000369fdcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= pyusb
PORTVERSION= 1.0.2
DISTVERSIONPREFIX= v
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sbz@FreeBSD.org
COMMENT= Python wrapper around libusb
LICENSE= BSD3CLAUSE
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
#NO_ARCH= yes
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 <bsd.port.mk>
|