1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

comms/py-hid: Add a new port

This commit is contained in:
Mateusz Piotrowski 2021-05-10 17:06:00 +02:00
parent f88a18c345
commit ed992ff9d1
4 changed files with 26 additions and 0 deletions

View File

@ -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

19
comms/py-hid/Makefile Normal file
View File

@ -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
comms/py-hid/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1620655811
SHA256 (hid-1.0.4.tar.gz) = f61b0382f37a334bc8ba8604bc84b94875ee4f594fbbaf82b2c3b3e827883fc1
SIZE (hid-1.0.4.tar.gz) = 3941

3
comms/py-hid/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Ctypes bindings for hidapi.
WWW: https://github.com/apmorton/pyhidapi