svn commit: r451805 - in head/comms: . py-hidapi
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Oct 11 22:34:33 UTC 2017
Author: ehaupt
Date: Wed Oct 11 22:34:31 2017
New Revision: 451805
URL: https://svnweb.freebsd.org/changeset/ports/451805
Log:
Add py-hidapi 0.7.99, cython interface to comms/hidapi.
Added:
head/comms/py-hidapi/
head/comms/py-hidapi/Makefile (contents, props changed)
head/comms/py-hidapi/distinfo (contents, props changed)
head/comms/py-hidapi/pkg-descr (contents, props changed)
Modified:
head/comms/Makefile
Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile Wed Oct 11 21:50:30 2017 (r451804)
+++ head/comms/Makefile Wed Oct 11 22:34:31 2017 (r451805)
@@ -135,6 +135,7 @@
SUBDIR += predict
SUBDIR += py-bulksms
SUBDIR += py-gammu
+ SUBDIR += py-hidapi
SUBDIR += py-libconcord
SUBDIR += py-libimobiledevice
SUBDIR += py-lirc
Added: head/comms/py-hidapi/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/py-hidapi/Makefile Wed Oct 11 22:34:31 2017 (r451805)
@@ -0,0 +1,28 @@
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= hidapi
+PORTVERSION= 0.7.99
+DISTVERSIONSUFFIX= .post21
+CATEGORIES= comms python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ehaupt at 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>
Added: head/comms/py-hidapi/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/py-hidapi/distinfo Wed Oct 11 22:34:31 2017 (r451805)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507756423
+SHA256 (hidapi-0.7.99.post21.tar.gz) = e0be1aa6566979266a8fc845ab0e18613f4918cf2c977fe67050f5dc7e2a9a97
+SIZE (hidapi-0.7.99.post21.tar.gz) = 51377
Added: head/comms/py-hidapi/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/py-hidapi/pkg-descr Wed Oct 11 22:34:31 2017 (r451805)
@@ -0,0 +1,3 @@
+Cython interface to comms/hidapi.
+
+WWW: https://pypi.python.org/pypi/hidapi
More information about the svn-ports-head
mailing list