blob: 1c4e1c479831070c7b18fd23370c48cb5f0189a4 (
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
33
|
# $FreeBSD$
PORTNAME= usb
PORTVERSION= 1.0.0b1
PORTREVISION= 1
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}
regression-test: extract
@(cd ${WRKSRC}/tests && ${PYTHON_CMD} testall.py)
.include <bsd.port.mk>
|