From nobody Fri Mar 25 13:49:54 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 D06C21A33AC3; Fri, 25 Mar 2022 13:49:56 +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 4KQ3PJ04vvz3Qlb; Fri, 25 Mar 2022 13:49:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216196; 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=oBB1lcnsuOF4igooOndo4sWC/p8rSTcebSBwTea5dg0=; b=V9DtuKQRTem6q994Gtw6BFuPvhJL6s7mRCbsoG/jr3FredvZZ1+QbVzw4Z0rqm9htk7s2u 3X1aGaVcvrqvVIoLuCUKWtx0r3RXlkBmebVV18ZVxEYLE6SMivSDqwD7jguqLstwbalntd /6Hci/5iDrJ23rNt9/vYVvpLCz49Z4Mx9koXlnqLdahHsSt1iWSK8HbfQFY/GNoaSJ9CSu ziKaOF/HgAJY4E0u5ZUDkvcQK10oY31TR1JplRFDCykQLm2wrBqTYeDytSEBp2gHVpo74V Up2pYmlqa54vp65IVixfEx+q4XjRHScpnKG6jW35ahjVU++Yng40dxdkq9kwZQ== 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 1B05C594C; Fri, 25 Mar 2022 13:49:55 +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 22PDnsP8027966; Fri, 25 Mar 2022 13:49:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDnsrm027965; Fri, 25 Mar 2022 13:49:54 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:49:54 GMT Message-Id: <202203251349.22PDnsrm027965@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: 87e881c182dc - main - devel/py-cdg: Fix build with setuptools 58.0.0+ 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: 87e881c182dc4518fb6f7b196cf58280b0609bca Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216196; 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=oBB1lcnsuOF4igooOndo4sWC/p8rSTcebSBwTea5dg0=; b=hrHES8oHSVe3no3Ml3BkngGwrYrDkdCAnA77/ShVdMWmKFlNoTgU+4FXGNz5Z7FxOFJrI4 d8rqTZYZtu8zIOVypUHvvZkedExUcf14TpXD1GxmjLQhOV2iPC8h3YJRmWuu7ka1V22p/R c+Ao3qf73W7rC6sb0NofLuYcKboTzoMQ2CMf+yeFF88j+dFuPPrjuGWE4TMP5czNj6Xh/b NrJrPpDDIlY7nSBNGFzUJO53n4PtPtChLGcOhD2Xw5UXbG8jQfLpDQRW3wOO5vUExFdHiH 3BlFq3bqX3m27yYpKlouegwsnzSmDqKOijSFMsAfwOZteycgeOT5fQ6uC32eIA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648216196; a=rsa-sha256; cv=none; b=M9UwTTpfa4PJWAcsCponMAq/utATPzhY51gqHigLpjcf5hxNxHhRrq3mqjFdWix3Py1Ct3 xKAssH6UoFenuN/UwGzp0dp5FAKPQrJFDdsiphVPeyebEyzFzOcKUvSfYNnGAuVVO50yze /7FSp18LZTjPEm5dSDzaPTS0ax2ISZ8g1QCBZ3qHrUMvDbg1gvalEfDmitfL4HznjEn6Oc 0AbrUJi9J8OGnnK0q7dxIxdD+468McBJymW4UqnbJXiYSm5R2CMNVaL5RfxnnFpu5V9FtZ 2hLmQMkJYcFJ32PkbwwICC6/qdgBWA9Q3sK2y+BZ6L0I381QZdBFB0JF786Kpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=87e881c182dc4518fb6f7b196cf58280b0609bca commit 87e881c182dc4518fb6f7b196cf58280b0609bca Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 13:32:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 13:38:08 +0000 devel/py-cdg: Fix build with setuptools 58.0.0+ With hat: python --- devel/py-cdg/files/patch-2to3 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/devel/py-cdg/files/patch-2to3 b/devel/py-cdg/files/patch-2to3 new file mode 100644 index 000000000000..5210191bc207 --- /dev/null +++ b/devel/py-cdg/files/patch-2to3 @@ -0,0 +1,16 @@ +--- cdg/__init__.py.orig 2017-07-20 18:17:28 UTC ++++ cdg/__init__.py +@@ -31,11 +31,11 @@ def load(stream, filename): + cg = yaml.load(stream, Loader=Loader) + + else: +- raise ValueError, 'Unhandled file type: %s' % filename ++ raise ValueError('Unhandled file type: %s' % filename) + + graph = networkx.DiGraph(comment='Callgraph of %s' % filename) + +- for (name, props) in cg['functions'].items(): ++ for (name, props) in list(cg['functions'].items()): + graph.add_node(name) + + for (k, v) in props['attributes'] if 'attributes' in props else []: