mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Update to 1.0.0b1 [1]
- Switch to GITHUB PR: ports/188633 [1] Submitted by: Uffe Jakobsen <uffe at uffe.org>
This commit is contained in:
parent
3ab1b8443e
commit
71b7c43c33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362646
@ -1,27 +1,36 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= usb
|
||||
PORTVERSION= 0.4.3
|
||||
PORTVERSION= 1.0.0b1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR= py${PORTNAME}/PyUSB%200.x/${PORTVERSION}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sbz@FreeBSD.org
|
||||
COMMENT= Python wrapper around libusb
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
PORTEXAMPLES= *
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= walac
|
||||
GH_PROJECT= ${PKGNAMEPREFIX:C/...$//}${PORTNAME}
|
||||
GH_COMMIT= 0546cad
|
||||
GH_TAGNAME= ${GH_COMMIT}
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX:C/...$//}-${PORTNAME}
|
||||
PORTDOCS= *.rst
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${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>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (pyusb-0.4.3.tar.gz) = 3c08b292886b7001ab088345af4d0dfe3e7d37bfc4b2bdcd7edb564ea3ef04d5
|
||||
SIZE (pyusb-0.4.3.tar.gz) = 16242
|
||||
SHA256 (usb-1.0.0b1.tar.gz) = adea994a57bb6686be4679eff6db1d700e850724ad852343526e5b46ed564d25
|
||||
SIZE (usb-1.0.0b1.tar.gz) = 51144
|
||||
|
@ -1,4 +1,4 @@
|
||||
PyUSB is a native Python module written in C (meanwhile, because the next major
|
||||
version will use ctypes), that provides USB access for it.
|
||||
PyUSB aims to be an easy to use Python module to access USB devices. PyUSB
|
||||
relies on a native system library for USB access.
|
||||
|
||||
WWW: http://pyusb.berlios.de/
|
||||
WWW: http://walac.github.io/pyusb/
|
||||
|
Loading…
Reference in New Issue
Block a user