diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-05-10 15:06:00 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-05-11 09:04:19 +0000 |
commit | ed992ff9d1c8414ba678868503fdda9d8f31d08f (patch) | |
tree | 94af363233468d029b352c53f2910090167b4e45 /comms | |
parent | f88a18c34566a7ff367a2af874b5fa02238280f0 (diff) | |
download | ports-ed992ff9d1c8414ba678868503fdda9d8f31d08f.tar.gz ports-ed992ff9d1c8414ba678868503fdda9d8f31d08f.zip |
comms/py-hid: Add a new port
Diffstat (limited to 'comms')
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/py-hid/Makefile | 19 | ||||
-rw-r--r-- | comms/py-hid/distinfo | 3 | ||||
-rw-r--r-- | comms/py-hid/pkg-descr | 3 |
4 files changed, 26 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index 9743a98ca2ca..0708891bf88f 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -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 diff --git a/comms/py-hid/Makefile b/comms/py-hid/Makefile new file mode 100644 index 000000000000..1e40b1606335 --- /dev/null +++ b/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> diff --git a/comms/py-hid/distinfo b/comms/py-hid/distinfo new file mode 100644 index 000000000000..df9179a3faff --- /dev/null +++ b/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 diff --git a/comms/py-hid/pkg-descr b/comms/py-hid/pkg-descr new file mode 100644 index 000000000000..317051cc4f28 --- /dev/null +++ b/comms/py-hid/pkg-descr @@ -0,0 +1,3 @@ +Ctypes bindings for hidapi. + +WWW: https://github.com/apmorton/pyhidapi |