From nobody Tue May 31 03:18:08 2022 X-Original-To: dev-commits-ports-all@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 EF9E51B4449E; Tue, 31 May 2022 03:18:08 +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 4LByCN4ryFz3kTZ; Tue, 31 May 2022 03:18:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653967088; 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=aM6YQ9/Tgq3MLmr+b+iAL8M3JM08SkcQmeEZuuCuq74=; b=PrkujTeIk2GKlj5c1lLszeVd/FM8K0y1aGI5IDZqETWciZM5PL2AAGzZkxFSeoKD6SnNmV x0XBC0+rMeam/2RL3yS3xpNI2UuPOYE9NkpwMtj3OYGfStosnezG5Hp1VJgz5Jk17cym3Y f2CJOQyxFfQW09jMwUfqDvsHYQWu6FRqvtplSDhuU1X0Jzc1LskSwPR3Tu8wPf03eqLrT8 OnrTN8/RZHkk92HEHrtMNvCj7q2AU/ixcpuNEvSXSqsy2OMvqMkz/a2p+XfwjulRX7FYNb n2Hz1Zm2AqhpP53wOkqm3olufho1VJacZu0k2I5HtPQecUdab4Rx91CZtiTazQ== 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 676DF23B21; Tue, 31 May 2022 03:18:08 +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 24V3I8aU090751; Tue, 31 May 2022 03:18:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24V3I8bo090750; Tue, 31 May 2022 03:18:08 GMT (envelope-from git) Date: Tue, 31 May 2022 03:18:08 GMT Message-Id: <202205310318.24V3I8bo090750@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 6343eafff60a - main - devel/py-rpcq: New port: RPC framework and message specification for Rigetti QCS List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6343eafff60a1b0ed77e385e9b4a6381f4dccef0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653967088; 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=aM6YQ9/Tgq3MLmr+b+iAL8M3JM08SkcQmeEZuuCuq74=; b=Ad/CKC2EKYn5qGCH7+kn+RGhzvwo6v8c6KaF5qWrZpaeLhPKVcSzBePnnXbmDI7Or2VSwG MFfVJR1KdLICP757a2nPOZexVDHbk+cw7KbAm3FNgPWLFYlmfBbTYso0cRd9wcputhSQvQ 5147fslXTErQYwwV3+nOl1vyq1TioW2ez8ihFJxA8HIZFwxxmM8vB1uz2M/zCcdZQRHsaj lMxQ0H7sZdkojz4PL2UXDEEsCQsNWqpY6u936I48vT0akZjJ6Heeg4PIz8pSwHSuFIyBQf 5NFlEZIVLWcBujzjTqc/435J7U6aH5Ug7pfuoXTDIRl++5ZAcBkhYDzCHYJ1jA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653967088; a=rsa-sha256; cv=none; b=T8oKX0cxsYB937tLP6VrXio+bKfBXTBs4PsggONPFN+2A0vPDuo1mwYXuMDF0gGmUkULQd IvWCSPcDDI0tH6mFHP4pUOh7HpFj+OV48Bhf7uw9dL4/10DVZGfBCyaodmbDPipT1SdTu9 ACtqxrET6nLZFo0uyymMeA9xj1wY/x4P220wEiGo0k0Z1vlfrUxhQfhvPT3yCd4zSEvflb PuMrJchLyWCFJVmqs1bUzDuSM/Q2xkHhhL7vV8mTWGG2FsIIdnyFDvrQ4yiXoT0BegizS+ YA5kuutEhjGt3+AurH+Ef8HbZJgarRwtIxGCxOvluC4sWj/062K46obg2d01Tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6343eafff60a1b0ed77e385e9b4a6381f4dccef0 commit 6343eafff60a1b0ed77e385e9b4a6381f4dccef0 Author: Yuri Victorovich AuthorDate: 2022-05-31 02:19:03 +0000 Commit: Yuri Victorovich CommitDate: 2022-05-31 03:18:02 +0000 devel/py-rpcq: New port: RPC framework and message specification for Rigetti QCS --- devel/Makefile | 1 + devel/py-rpcq/Makefile | 31 +++++++++++++++++++++++++++++++ devel/py-rpcq/distinfo | 3 +++ devel/py-rpcq/pkg-descr | 10 ++++++++++ 4 files changed, 45 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 479941aa1e3c..b55986f47874 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5252,6 +5252,7 @@ SUBDIR += py-robotremoteserver SUBDIR += py-rope SUBDIR += py-rose + SUBDIR += py-rpcq SUBDIR += py-rply SUBDIR += py-rq SUBDIR += py-rq-scheduler diff --git a/devel/py-rpcq/Makefile b/devel/py-rpcq/Makefile new file mode 100644 index 000000000000..eed9e49ba6f6 --- /dev/null +++ b/devel/py-rpcq/Makefile @@ -0,0 +1,31 @@ +PORTNAME= rpcq +DISTVERSION= 3.10.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= RPC framework and message specification for Rigetti QCS + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}msgpack>=0.6:devel/py-msgpack@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-rapidjson>0:devel/py-python-rapidjson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyzmq>=17:net/py-pyzmq@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>0:devel/py-ruamel.yaml@${PY_FLAVOR} +TEST_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=5.4.0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +do-test: # fails to run, see https://github.com/rigetti/rpcq/issues/155 + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest + +.include diff --git a/devel/py-rpcq/distinfo b/devel/py-rpcq/distinfo new file mode 100644 index 000000000000..b0d5691317f2 --- /dev/null +++ b/devel/py-rpcq/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1653961167 +SHA256 (rpcq-3.10.0.tar.gz) = bf21780a1cb1e8676b988c44004d49a168d8937ce2a458c00beb37fa41023684 +SIZE (rpcq-3.10.0.tar.gz) = 44698 diff --git a/devel/py-rpcq/pkg-descr b/devel/py-rpcq/pkg-descr new file mode 100644 index 000000000000..0728fc51795d --- /dev/null +++ b/devel/py-rpcq/pkg-descr @@ -0,0 +1,10 @@ +The asynchronous RPC client-server framework and message specification +for Rigetti Quantum Cloud Services (QCS). + +Implements an efficient transport protocol by using ZeroMQ (ZMQ) +sockets and MessagePack (msgpack) serialization. + +Not intended to be a full-featured replacement for other frameworks +like gRPC or Apache Thrift. + +WWW: https://github.com/rigetti/rpcq