Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 09:04:51 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ed992ff9d1c8 - main - comms/py-hid: Add a new port
Message-ID:  <202105110904.14B94piB069454@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ed992ff9d1c8414ba678868503fdda9d8f31d08f

commit ed992ff9d1c8414ba678868503fdda9d8f31d08f
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-05-10 15:06:00 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-05-11 09:04:19 +0000

    comms/py-hid: Add a new port
---
 comms/Makefile         |  1 +
 comms/py-hid/Makefile  | 19 +++++++++++++++++++
 comms/py-hid/distinfo  |  3 +++
 comms/py-hid/pkg-descr |  3 +++
 4 files changed, 26 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105110904.14B94piB069454>