From patchwork Sun Apr 6 12:37:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41353 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 E0CC327BBE2; Sun, 6 Apr 2025 13:39:30 +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 AE7F327BBE9 for ; Sun, 6 Apr 2025 13:39:29 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u1PGV-0005mv-UO; Sun, 06 Apr 2025 08:38:19 -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 1u1PGJ-0005b6-GB for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:07 -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 1u1PGI-00055x-Rv for guix-patches@gnu.org; Sun, 06 Apr 2025 08:38:07 -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=k14+2fiRfcAXHEQHPqGB5+kqFuXvL31WpV+77ZMlB4E=; b=hiC6A7vjtEHL7HhanYnNsBNvBrMlRbGmZo3U3nHmm96PQNRfhtWbY15lgqFysSIUz/TTgWx5m1vAKfmqlnv3zH/0g/9etui+nRzEkx4pOwGNQN9CL56yr9T782HfxCX4CVtRorRIG+krtIL/rDDZpxj//u89D/HVJvWu6/L2+td8KAoKfltvTExbnExL+53zKusSg10gj2gfUcD/VhEKLwqi5hJuHRxNnxIwjD+yx97Y9YJtIJgG73W0ULl2YPWPHBFEiiJkwZ8wDRfVP93NeU28LjJ1qvkIBq6IzjykklUja/WxuvHgxf2fjnh8qFlXtUS285pupxrix3X2caF7CQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u1PGE-0001TL-Nc; Sun, 06 Apr 2025 08:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77575] [PATCH 03/21] gnu: python-lazr-delegates: Update to 2.1.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Sun, 06 Apr 2025 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77575 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77575@debbugs.gnu.org Cc: Nicolas Graves , lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org X-Debbugs-Original-Xcc: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org Received: via spool by 77575-submit@debbugs.gnu.org id=B77575.17439430705454 (code B ref 77575); Sun, 06 Apr 2025 12:38:02 +0000 Received: (at 77575) by debbugs.gnu.org; 6 Apr 2025 12:37:50 +0000 Received: from localhost ([127.0.0.1]:46340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1PG1-0001Pq-BY for submit@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:49 -0400 Received: from 10.mo562.mail-out.ovh.net ([46.105.72.220]:38875) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1PFw-0001Ol-2w for 77575@debbugs.gnu.org; Sun, 06 Apr 2025 08:37:44 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLZ4SsDz1glC; Sun, 6 Apr 2025 12:37:42 +0000 (UTC) Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net. [127.0.0.1]) by director1.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77575@debbugs.gnu.org>; Sun, 6 Apr 2025 12:37:42 +0000 (UTC) Received: from mta7.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.25.139]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZVsLZ2kcTzHcF5; Sun, 6 Apr 2025 12:37:42 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.0]) by mta7.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id C80A1C3965; Sun, 6 Apr 2025 12:37:41 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-114S008211b70c8-e06a-456a-a1fb-800248f14845, C919729AFBE9AB1136EE71DE75FB1B1DBE8A85BF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Sun, 6 Apr 2025 14:37:05 +0200 Message-ID: <20250406123732.31301-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250406123732.31301-1-ngraves@ngraves.fr> References: <20250406123732.31301-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 8472959749382660834 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleejvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepgedvieefffelvefgfeeihedvueelhfegieeitddvvdettdeivdfgffeijeffgedvnecuffhomhgrihhnpehlrghunhgthhhprggurdhnvghtnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjeehjeehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=k14+2fiRfcAXHEQHPqGB5+kqFuXvL31WpV+77ZMlB4E=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743943062; v=1; b=nUPqkGGyF7xfuAQf3lb3mKVk+UFiTbwkeztIOriOK1DsDNPvjNwSsXFSelmP08QT/b4gG0UM CwSOSIJLob9Eh4ngc+YwTPJEoVAJlZbGtui9jegbGtyAQhFDd1xni4gg4W5W1EKOGAfH94FaBso 3xm3yxteYDJyyN+BYDdd7/W4UkuQ5KU3bQlvClt7IcqQUlqUn0t9+3sC2ADrIjc+cSAVON+iWaa ADCjLHqAvghhBzxUEVwUZNkmRpZsZrsSvHtbl2m8Q8hA5Gif31f7AuqxRD1yHNbqRJvinE2AE7Q Z6yuF+cAp/IecW05JRavYBT/BWfqtUDw9PesONdU1InrA== 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/python-xyz.scm (python-lazr-delegates): Update to 2.1.1. [build-system]: Switch to pyproject. [arguments]{test-flags}: Run tests in output. {phases}: Add a 'check-cleanup phase to remove tests from output. [native-inputs]: Remove python-nose. Add python-pytest, python-setuptools, python-wheel. --- gnu/packages/python-xyz.scm | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 08d0eb6194..0cc189ce15 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34617,23 +34617,31 @@ (define-public python-readme-renderer (define-public python-lazr-delegates (package (name "python-lazr-delegates") - (version "2.0.4") + (version "2.1.1") (source (origin (method url-fetch) - (uri (pypi-uri "lazr.delegates" version)) + (uri (pypi-uri "lazr_delegates" version)) (sha256 - (base32 - "1rdnl85j9ayp8n85l0ciip621j9dcziz5qnmv2m7krgwgcn31vfx")))) - (build-system python-build-system) + (base32 "1p02diwzn58jhpvf9m8bhb5p0xkx5gnc84mzgwr3zdsidrhv5kmf")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? (invoke "nosetests"))))))) + (list + #:test-flags #~(list "-v" #$output) + #:phases + #~(modify-phases %standard-phases + (add-after 'check 'check-cleanup + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (for-each + delete-file-recursively + (find-files #$output + (lambda (file stat) + (or (member (basename file) + '("tests" ".pytest_cache")))) + #:directories? #t)))))))) (native-inputs - (list python-nose)) + (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-zope-interface)) (home-page "https://launchpad.net/lazr.delegates")