From owner-dev-commits-ports-all@freebsd.org Tue May 11 09:04:51 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B01262EB4D; Tue, 11 May 2021 09:04:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FfX7734mJz3PDZ; Tue, 11 May 2021 09:04:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5CC181547C; Tue, 11 May 2021 09:04:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14B94pSx069455; Tue, 11 May 2021 09:04:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14B94piB069454; Tue, 11 May 2021 09:04:51 GMT (envelope-from git) Date: Tue, 11 May 2021 09:04:51 GMT Message-Id: <202105110904.14B94piB069454@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: ed992ff9d1c8 - main - comms/py-hid: Add a new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed992ff9d1c8414ba678868503fdda9d8f31d08f Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2021 09:04:51 -0000 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 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