From nobody Tue Sep 05 20:47:12 2023 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 4RgHcd2wLcz4rlT8; Tue, 5 Sep 2023 20:47:13 +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 4RgHcc5zBVz3Qws; Tue, 5 Sep 2023 20:47:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693946832; 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=K6w2NzuJ5Bta9eia2R7BUJOCGNQX26DMG6LT2YGRUfc=; b=G4vOmJof9KQ02pmVKyUaaM+5KcDgadVO6OKo+wltM5Ia1GrY6bSCNfCVeYu5bsrNH3jT8d RKb8rbq8VNdGuISiM1qA6/xLz7KTRit3b99IxfVKT9mO4Fy9JDXf2SDuR+sXZiTsrsRrEz aTGH71xKjYxU88gy5N/eSooldSnPW5vSEHp6DklOAqSO3MWzjRjj054xTZeXT0DHKn2Zf1 YUQdUOjiPkoA/IsL1i5UpeoorUlm6rlshebLsOOGiccBQbZXo/pvmY4Xak+IjNr98OgM78 QpORk6mS8W07PTS9ltTHqe3opyDWFqxw103DSslYn8KiVYZcbBNDuoKjcW+fCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693946832; a=rsa-sha256; cv=none; b=vBfKf38p9BYTgtAZqZYR80bGYkhj2aCShe8DNhHBEszC/SbaYvZF8bt3e1Dq0Qv+cWInwj 6aAj2NQyNyWuruADvhaQXBDCXo2/CN2HmdT+8jIqUFIhGoUEprUU0xg+aSyT0Ebri5r0Ad 9T6pNuYlCtvCG1cS09opQpoz9zQ12+6segeCoO2vZCi/zCqfCpsFuQ0OibPVQqDbibGZbI KU5rCFmUbk+9ODX0OuaYSAMCtmGmy+t/TxHTp2TarItrZY6AYKyVIfbxyNMMLtUJ3JDrq8 X89qJrGygCZllCpEMGOGlIU+wfKaLuA9aYrkId0oO/cK4PenRbzhjzz63r9u3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693946832; 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=K6w2NzuJ5Bta9eia2R7BUJOCGNQX26DMG6LT2YGRUfc=; b=e1AY81wjhLPWSyl0T1c26KeoCa/kDMsCPIqaJpZMlXEZzanxO0Q2TGO4PSR0YHsgT9f9MN sB3jKtVN1FAcaLae/EyA1plM1qw/rGlfCaz+eL3l371jpVUpsRqyutisVslJxl565Gf8CX 0sscbOWMfTUEeqhGn2gJfwwrXZwwYrWeRbNmVd0OGM79tsRb9WOTEzuZsmh6LbEFLnf4vm 78/cWIIQ3MOdhiGsEM/9n9xx4+46LTwAp0mgOteTDUKVoi0nso1CWfar9R3Cxt/SBFsKCO 4ORDXqiV9qrEOvCIsgkT/wPwqGVjUGODKOjlEmUsncNLti5c2dX1iT8joIUe0g== 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 4RgHcc4vjvznsc; Tue, 5 Sep 2023 20:47:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 385KlC9H008977; Tue, 5 Sep 2023 20:47:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 385KlCPU008974; Tue, 5 Sep 2023 20:47:12 GMT (envelope-from git) Date: Tue, 5 Sep 2023 20:47:12 GMT Message-Id: <202309052047.385KlCPU008974@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5fa5d349f21a - main - devel/py-qcs-api-client: Fix BUILD_DEPENDS 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5fa5d349f21a600e3d9386d461bc3aff3c508e26 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5fa5d349f21a600e3d9386d461bc3aff3c508e26 commit 5fa5d349f21a600e3d9386d461bc3aff3c508e26 Author: Po-Chuan Hsieh AuthorDate: 2023-09-05 20:41:52 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-05 20:46:33 +0000 devel/py-qcs-api-client: Fix BUILD_DEPENDS - While I'm here, fix WWW Poetry is packing and dependency management utility for Python. It should not be used as BUILD_DEPENDS. Its PEP517 build backend is devel/py-poetry-core. Therefore, I fixed pyproject.toml and sent the pull request as well. Approved by: portmgr (blanket) With hat: python Reference: https://github.com/rigetti/qcs-api-client-python/blob/v0.21.5/pyproject.toml#L55-L57 --- devel/py-qcs-api-client/Makefile | 4 ++-- devel/py-qcs-api-client/files/patch-pyproject.toml | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/devel/py-qcs-api-client/Makefile b/devel/py-qcs-api-client/Makefile index bfed7c346eec..1b6b42a6213d 100644 --- a/devel/py-qcs-api-client/Makefile +++ b/devel/py-qcs-api-client/Makefile @@ -7,12 +7,12 @@ DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Client library for accessing the Rigetti QCS API -WWW= https://github.com/rigetti/pyquil +WWW= https://github.com/rigetti/qcs-api-client-python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry>0:devel/py-poetry@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=21.3.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=1.0.2:devel/py-iso8601@${PY_FLAVOR} \ diff --git a/devel/py-qcs-api-client/files/patch-pyproject.toml b/devel/py-qcs-api-client/files/patch-pyproject.toml new file mode 100644 index 000000000000..53db5e40c103 --- /dev/null +++ b/devel/py-qcs-api-client/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2023-05-03 18:28:26 UTC ++++ pyproject.toml +@@ -53,5 +53,5 @@ multi_line_output = 3 + include_trailing_comma = true + + [build-system] +-requires = ["poetry>=1.0"] +-build-backend = "poetry.masonry.api" ++requires = ["poetry-core>=1.0.0"] ++build-backend = "poetry.core.masonry.api"