blob: 3742dc2e02a1a36b5724f456cbc198a3d42b22b4 (
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
32
|
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>
|