Skip to content

Commit

Permalink
comms/py-hid: Add a new port
Browse files Browse the repository at this point in the history
  • Loading branch information
0mp committed May 11, 2021
1 parent f88a18c commit ed992ff
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions comms/Makefile
Expand Up @@ -132,6 +132,7 @@
SUBDIR += predict
SUBDIR += py-adafruit-ampy
SUBDIR += py-esptool
SUBDIR += py-hid
SUBDIR += py-hidapi
SUBDIR += py-libimobiledevice
SUBDIR += py-pyserial
Expand Down
19 changes: 19 additions & 0 deletions comms/py-hid/Makefile
@@ -0,0 +1,19 @@
PORTNAME= hid
DISTVERSION= 1.0.4
CATEGORIES= comms python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= 0mp@FreeBSD.org
COMMENT= Ctypes bindings to comms/hidapi

LICENSE= MIT

RUN_DEPENDS= hidapi>0:comms/hidapi

USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions comms/py-hid/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1620655811
SHA256 (hid-1.0.4.tar.gz) = f61b0382f37a334bc8ba8604bc84b94875ee4f594fbbaf82b2c3b3e827883fc1
SIZE (hid-1.0.4.tar.gz) = 3941
3 changes: 3 additions & 0 deletions comms/py-hid/pkg-descr
@@ -0,0 +1,3 @@
Ctypes bindings for hidapi.

WWW: https://github.com/apmorton/pyhidapi

0 comments on commit ed992ff

Please sign in to comment.