mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
fb72b1f5fa
- While I'm here: - Fix USE_GITHUB usage - Add NO_ARCH - Bump PORTREVISION of dependent ports for dependency change PR: 246547 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 40 days)
34 lines
633 B
Makefile
34 lines
633 B
Makefile
# $FreeBSD$
|
|
|
|
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
|
|
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>
|