From patchwork Mon Mar 31 06:18:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41077 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 17F9727BBEA; Mon, 31 Mar 2025 07:22:56 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9935227BBE2 for ; Mon, 31 Mar 2025 07:22:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tz8Xs-0005vs-OV; Mon, 31 Mar 2025 02:22:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tz8WJ-00052J-Ih for guix-patches@gnu.org; Mon, 31 Mar 2025 02:21:15 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tz8WH-0008Ab-Ul for guix-patches@gnu.org; Mon, 31 Mar 2025 02:21:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=EM1oEhI6fNorUqcZetmgKDxgsS055c9FrgrrHaplfjc=; b=PNTi/JYuA3OtBIryTX3tRwV5lu0SmeO+Tj8u6RJsbXaShC7cUjYPd5jJNRLYcQTR06u2x3ezqWUqFgoYx/MFFlF4wEk3E/fMhw36o8emokRYCJuWa/TlfX7Z37Vb0B++IkB9B3hf46WV/zwGUUy9K7GZ8ooVw0K6It2pYG137f+WDktZizvr3+GFqoYHKe6euyxXCispPpL3rsE5H/X9wqVKHz5IX0W2wmKDAu4jVQ3gJwW1XahNuSywd6j6301cIXSEpNQeob0pKqi2RRCjxjl03JARJk+3OtPpCWnQ2Jas2hBM0hQ9WA+JhJiz7Mmk/g0mgbnpBKc41Oegc5wTug==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tz8WH-0007Oh-L2 for guix-patches@gnu.org; Mon, 31 Mar 2025 02:21:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77400] [PATCH 19/26] gnu: cpplint: Update to 2.0.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 06:21:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77400 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77400@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77400-submit@debbugs.gnu.org id=B77400.174340204128079 (code B ref 77400); Mon, 31 Mar 2025 06:21:13 +0000 Received: (at 77400) by debbugs.gnu.org; 31 Mar 2025 06:20:41 +0000 Received: from localhost ([127.0.0.1]:39290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tz8Vh-0007I6-UD for submit@debbugs.gnu.org; Mon, 31 Mar 2025 02:20:41 -0400 Received: from 9.mo563.mail-out.ovh.net ([46.105.73.201]:57791) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tz8UW-00070D-9g for 77400@debbugs.gnu.org; Mon, 31 Mar 2025 02:19:24 -0400 Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net [152.228.215.222]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZR1Dq2K1Fz1Tgn; Mon, 31 Mar 2025 06:19:23 +0000 (UTC) Received: from director3.derp.mail-out.ovh.net (director3.derp.mail-out.ovh.net. [127.0.0.1]) by director3.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77400@debbugs.gnu.org>; Mon, 31 Mar 2025 06:19:23 +0000 (UTC) Received: from mta3.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.139.187]) by director3.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZR1Dq1LKjz82Vw; Mon, 31 Mar 2025 06:19:23 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.0]) by mta3.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id B5A9C3A3E8D; Mon, 31 Mar 2025 06:19:22 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-96R001186fa4da-2ba5-4c12-8e80-91e5dd4735e7, 87830A87949A0BA70EB5F3889DD10BC79FDA47E2) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Mon, 31 Mar 2025 08:18:47 +0200 Message-ID: <20250331061901.22670-19-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250331061901.22670-1-ngraves@ngraves.fr> References: <20250331061901.22670-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 3741083916423193314 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddujeeludekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpeeinecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejgedttdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=EM1oEhI6fNorUqcZetmgKDxgsS055c9FrgrrHaplfjc=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743401963; v=1; b=jbFZ9O/ozklFx9pGh9vs+cV5O3KU6u2HbIEKjqO5FCbxy2Nwkp2U0GutD9PaKRWJ2RE5aTmB CmNPFum5H3zj12V5T8wQP6PajE5b1zU+tMr6HEj9xP3D8icBvK9KPHYI1Lc5HToutz90QH1GQch LN/ZA8jy1eei+KNIs9wpnyBgl8kitk9j013aiUnEfL73sBe1D6aM5FXlAP+gp2fj10W5NBfEjb+ vgnLlzK4JTGv3c8vqjf3tm6+BgoJmGp84JhLBeE6AQ1IAlJ+HHD73oUFJL/uGl5JfY+fAak3NGc R1AADKZO04pUQ5RyCmkduw5t8Vxdql2uinMTzyHV5hW0g== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (cpplint): Update to 2.0.0. [arguments]{phases}: Add phase 'patch-build-system. [native-inputs]: Add python-parameterized, python-pytest-timeout. --- gnu/packages/cpp.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index d6f24b8fe0..a68c27347a 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1404,7 +1404,7 @@ (define-public cpp-httplib (define-public cpplint (package (name "cpplint") - (version "1.5.5") + (version "2.0.0") (source (origin (method git-fetch) @@ -1414,7 +1414,7 @@ (define-public cpplint (url "https://github.com/cpplint/cpplint") (commit version))) (sha256 - (base32 "13l86aq0h1jga949k79k9x3hw2xqchjc162sclg2f99vz98zcz15")) + (base32 "06km4wh4944az1hk61g5w8pjhbvbccpgarz1dy7vhwkhfvmvggnk")) (file-name (git-file-name name version)))) (build-system pyproject-build-system) (arguments @@ -1423,6 +1423,11 @@ (define-public cpplint ,@%pyproject-build-system-modules) #:phases #~(modify-phases (@ (guix build pyproject-build-system) %standard-phases) + (add-after 'unpack 'patch-build-system + (lambda _ + (substitute* "pyproject.toml" + (("setuptools\\.build_meta:__legacy__") + "setuptools.build_meta")))) (add-before 'wrap 'reduce-GUIX_PYTHONPATH (lambda _ ;; Hide the transitive native inputs from GUIX_PYTHONPATH @@ -1449,9 +1454,11 @@ (define-public cpplint (getenv "TMP_PYTHONPATH"))))))) (native-inputs (list python-coverage + python-parameterized python-pytest python-pytest-cov python-pytest-runner + python-pytest-timeout python-setuptools python-testfixtures python-wheel))