diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2017-10-11 22:34:31 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2017-10-11 22:34:31 +0000 |
commit | 584f3238f8b84dfae508fa39bd08c5f041e6f469 (patch) | |
tree | ae8d02db1f917b2d838cef25cf73abc58e6b9033 /comms | |
parent | 93210d6be31a966367e3b674eb052cf7340d4f06 (diff) |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/py-hidapi/Makefile | 28 | ||||
-rw-r--r-- | comms/py-hidapi/distinfo | 3 | ||||
-rw-r--r-- | comms/py-hidapi/pkg-descr | 3 |
4 files changed, 35 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index 0db856eeacbb..81d42fd29a38 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -135,6 +135,7 @@ SUBDIR += predict SUBDIR += py-bulksms SUBDIR += py-gammu + SUBDIR += py-hidapi SUBDIR += py-libconcord SUBDIR += py-libimobiledevice SUBDIR += py-lirc diff --git a/comms/py-hidapi/Makefile b/comms/py-hidapi/Makefile new file mode 100644 index 000000000000..23944b75b6c2 --- /dev/null +++ b/comms/py-hidapi/Makefile @@ -0,0 +1,28 @@ +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= hidapi +PORTVERSION= 0.7.99 +DISTVERSIONSUFFIX= .post21 +CATEGORIES= comms python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Cython interface to comms/hidapi + +LICENSE= GPLv3 + +BUILD_DEPENDS= cython:lang/cython +LIB_DEPENDS= libhidapi.so:comms/hidapi + +USES= python +USE_PYTHON= autoplist distutils + +post-patch: + @${REINPLACE_CMD} -e 's|usb-1.0|usb|g' ${WRKSRC}/setup.py + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hid.so + +.include <bsd.port.mk> diff --git a/comms/py-hidapi/distinfo b/comms/py-hidapi/distinfo new file mode 100644 index 000000000000..149f1a699e6e --- /dev/null +++ b/comms/py-hidapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1507756423 +SHA256 (hidapi-0.7.99.post21.tar.gz) = e0be1aa6566979266a8fc845ab0e18613f4918cf2c977fe67050f5dc7e2a9a97 +SIZE (hidapi-0.7.99.post21.tar.gz) = 51377 diff --git a/comms/py-hidapi/pkg-descr b/comms/py-hidapi/pkg-descr new file mode 100644 index 000000000000..dfe8a35bd2c5 --- /dev/null +++ b/comms/py-hidapi/pkg-descr @@ -0,0 +1,3 @@ +Cython interface to comms/hidapi. + +WWW: https://pypi.python.org/pypi/hidapi |