From nobody Mon Oct 24 15:01:01 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mwyv164PQz4fv4W; Mon, 24 Oct 2022 15:01:01 +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 4Mwyv15fG3z3PT3; Mon, 24 Oct 2022 15:01:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666623661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W2m41gPK8WWqbwStW9XuMrOcidKbVi/Y8gpS2TBgutQ=; b=d3hc0XECR4imUXYvhgldfR+uYgaVVITJMVk9Y+a/nKp/Y48ekWWJApgeJ+0u96sRyW71Xs K/Q1wy85B94VrzTmlUjL535gArur43RdvxFTCRRylNYqXo/SKk1wOj2PUxGA7u4+O6m/L2 AphRglFdxQCUF9wSckDTBouuv/JGruyuhlsW1YwoP3u9/q6NuCWQ/8B3KvJCR5vKDOfONa /NmG28F1BXdHb13Bp/AaJltD3doIqMsBWwOAwvzgYWw1DQuHKt11KpJ5M4wjq7N5QRLkgJ NndsuEJhewec5AD58ZV1xMXCnQvH6vS18Cwir/hxI+9vhGqVqqb149bAE1shUw== 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 4Mwyv14j8VzH38; Mon, 24 Oct 2022 15:01:01 +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 29OF11Dt047879; Mon, 24 Oct 2022 15:01:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29OF11cF047878; Mon, 24 Oct 2022 15:01:01 GMT (envelope-from git) Date: Mon, 24 Oct 2022 15:01:01 GMT Message-Id: <202210241501.29OF11cF047878@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: ec20f86f913d - main - Add comms/py-pyserial-asyncio: Async I/O support for pyserial List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec20f86f913d3355e6a63e2eb96a6c813652850a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666623661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W2m41gPK8WWqbwStW9XuMrOcidKbVi/Y8gpS2TBgutQ=; b=fFHOYQ1xeI8nMgniOHvr1xTzotIxXfem4wI3G0E6Y7PMKxcZiYhJy+/x+MUS08lqz2Waut PkCmc5+Kpx8dU4F1pYRzokqsdm4dZe7Q2U7o+B5h9HpLdFp5MsKxChnPWhCCO3qopkEaB1 lO9Qg/AXYa61+7sx60LPZ7gJyQrfJEUAYl2p1bmaOqybFf0Wb1g7Tc1qsOg+ar9kMgIhx6 6FbpF/cnaxBbrQXRVDLcbJAxSuTWy+Gbg2iwvElX0njVoFN7ItL4BMpl3I+tt4GvzWF1HM yT5JDbrsbjpdVaQq1eA0NcCXflL7f7vdLgKJGrCreh355caZ/Z+LzW1tMlQkiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666623661; a=rsa-sha256; cv=none; b=yGFJNyevzfopVcSPHDbKgVeNrkH/NoPWZbAbKy69xOt0495W05N49DHwdQP08D+EQhtg0o CAvmu0NKVFiIpos9DklBiYQ9t14hKa0R3mMsyfWpcDgAxRTKusU741dQqQwocifrd+rXk0 1Fv6FM7SugEwTPO8veSql05wxNtjYFC1lqU34RVOWSMK+07RIdxAhwf7KKB7BUUsLjj7Uu nRtUCbqMQkgIrdUB4g2R7x19XcZWH2tgAVqReHAhLcbhwwCUNvAb4bGoVC/gSr/fm8vEzY RXeWaQ0wlnhKMT4rGxrNEsisfn/niYhg2AASWAlkpW3lMRtN4W24u1E/PjDpHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec20f86f913d3355e6a63e2eb96a6c813652850a commit ec20f86f913d3355e6a63e2eb96a6c813652850a Author: Christian Ullrich AuthorDate: 2022-10-24 14:59:14 +0000 Commit: Li-Wen Hsu CommitDate: 2022-10-24 15:00:31 +0000 Add comms/py-pyserial-asyncio: Async I/O support for pyserial PR: 267306 --- comms/Makefile | 1 + comms/py-pyserial-asyncio/Makefile | 27 +++++++++++++++++++++++++++ comms/py-pyserial-asyncio/distinfo | 3 +++ comms/py-pyserial-asyncio/pkg-descr | 2 ++ 4 files changed, 33 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index 89ee6a0f75e2..80cc88dd6916 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -139,6 +139,7 @@ SUBDIR += py-libimobiledevice SUBDIR += py-libscrc SUBDIR += py-pyserial + SUBDIR += py-pyserial-asyncio SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico diff --git a/comms/py-pyserial-asyncio/Makefile b/comms/py-pyserial-asyncio/Makefile new file mode 100644 index 000000000000..aa05480f1c32 --- /dev/null +++ b/comms/py-pyserial-asyncio/Makefile @@ -0,0 +1,27 @@ +PORTNAME= pyserial-asyncio +DISTVERSIONPREFIX= v +DISTVERSION= 0.6 +CATEGORIES= comms python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= chris@chrullrich.net +COMMENT= Async I/O support for pyserial +WWW= https://github.com/pyserial/pyserial-asyncio + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=3.1.1:comms/py-pyserial@${PY_FLAVOR} + +USES= python:3.6+ shebangfix +USE_PYTHON= autoplist concurrent distutils +USE_GITHUB= yes +GH_ACCOUNT= pyserial + +NO_ARCH= yes + +do-test: + ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ + ${PYTHON_CMD} ${WRKSRC}/test/test_asyncio.py + +.include diff --git a/comms/py-pyserial-asyncio/distinfo b/comms/py-pyserial-asyncio/distinfo new file mode 100644 index 000000000000..4d27133e552a --- /dev/null +++ b/comms/py-pyserial-asyncio/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665660449 +SHA256 (pyserial-pyserial-asyncio-v0.6_GH0.tar.gz) = a5214d89e01c36cace80cfe917525b145f4c878273a332b6476df58edcb1eec3 +SIZE (pyserial-pyserial-asyncio-v0.6_GH0.tar.gz) = 31164 diff --git a/comms/py-pyserial-asyncio/pkg-descr b/comms/py-pyserial-asyncio/pkg-descr new file mode 100644 index 000000000000..47b7f128eae5 --- /dev/null +++ b/comms/py-pyserial-asyncio/pkg-descr @@ -0,0 +1,2 @@ +This module provides asynchronous I/O on serial ports, extending the +pyserial module.