From patchwork Mon Mar 31 06:18:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41073 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 2EBD727BBE9; Mon, 31 Mar 2025 07:22:18 +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=unavailable 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 D5E7C27BBE2 for ; Mon, 31 Mar 2025 07:22:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tz8X3-0005XU-Us; Mon, 31 Mar 2025 02:22:02 -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 1tz8WA-0004xd-6Z for guix-patches@gnu.org; Mon, 31 Mar 2025 02:21:06 -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 1tz8W9-00089a-Tp for guix-patches@gnu.org; Mon, 31 Mar 2025 02:21:05 -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=3FlduD/BJ0+An4l8YYZe59OcXoPBqnkMzwyoIQkqmb4=; b=URUf6rb/q1XslV+6+1IIWJDzLozwW4w5K2fSR5ZIIlXWrEQNNAg91VAGDZAwRWrgaq530gyuYeDclGN3lVfRE6RDqlt6m3JFj4cshqWWPy56F1oQr+Ce6NA+yrx4r7r64aj7fxMDM6ZQAyMVRvemYjecJQ1r6ljkLmagY64InwdX40q2hDP1jIfyxckksBv/cfIOTmOLhoUEg9pP40Mmr8HHLBgrXq+7l9JUebH7hqLr2Z9kmUY0c/8WAndTyubgmL1JBfbeMzJxTVEh0KGOu1tcQpJu/XsIEiNSgIkxgbsdwOrhnnMHl1gX4T3QWgQJkx4eRxCttvhbeAL1pKLH8g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tz8W9-0007Mn-Pa for guix-patches@gnu.org; Mon, 31 Mar 2025 02:21:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77400] [PATCH 14/26] gnu: python-rstr: Update to 3.2.2. Enable tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Mar 2025 06:21:05 +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.174340203127932 (code B ref 77400); Mon, 31 Mar 2025 06:21:05 +0000 Received: (at 77400) by debbugs.gnu.org; 31 Mar 2025 06:20:31 +0000 Received: from localhost ([127.0.0.1]:39274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tz8VZ-0007GF-TV for submit@debbugs.gnu.org; Mon, 31 Mar 2025 02:20:30 -0400 Received: from 7.mo563.mail-out.ovh.net ([46.105.59.58]:59867) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tz8UR-0006z6-98 for 77400@debbugs.gnu.org; Mon, 31 Mar 2025 02:19:21 -0400 Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net [79.137.60.36]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZR1Dj4mP1z1dHv; Mon, 31 Mar 2025 06:19:17 +0000 (UTC) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net. [127.0.0.1]) by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77400@debbugs.gnu.org>; Mon, 31 Mar 2025 06:19:17 +0000 (UTC) Received: from mta6.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.178.215]) by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZR1Dj4P5Dzy9r; Mon, 31 Mar 2025 06:19:17 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.5]) by mta6.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 19D18D43D29; Mon, 31 Mar 2025 06:19:17 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-114S00814bb62f5-9f93-42ad-b194-421198380a36, 87830A87949A0BA70EB5F3889DD10BC79FDA47E2) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Mon, 31 Mar 2025 08:18:42 +0200 Message-ID: <20250331061901.22670-14-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: 3739395067766563554 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddujeeludekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejgedttdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=3FlduD/BJ0+An4l8YYZe59OcXoPBqnkMzwyoIQkqmb4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743401957; v=1; b=3c0DbzXEt0kZ1cw+fxS4rTNvj5tm5bmELwsMTmHirLoP7x4jmD/xEoraxc14sl3lz0sjJ4nE mG5FKKzLUH7pbZP9Q7iYQeGZ1AfNejxOtjk+2tTL2qm2nktVDFSDwpBNVms00q3EakN7D5AXyIu wqNZGFTXgZ486/NT5dIjxMrV4RZfEeRWYAD27VmiSJF9eXsAdMDwUjy2UrSo4cSIHxae7A/MIxN Up5/1W6eprz1KISmi8lGjwxQWQ2tkPsJNhuSJuUK/9tVMpvZMak1/bVJK9bvEvrPAI1+MPMAP0D qko3P9MDcJAEquL4lq6pBNExvdGIk51F7ztIVA+i80G9Q== 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-rstr): Update to 3.2.2. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]{phases}: Add phase 'pretend-version. [native-inputs]: Add python-pytest, python-setuptools, python-setuptools-scm, python-wheel. --- gnu/packages/python-xyz.scm | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 57a62c5233..2487ef88a9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8719,15 +8719,31 @@ (define-public python-robotframework-seleniumscreenshots (define-public python-rstr (package (name "python-rstr") - (version "2.2.6") + (version "3.2.2") (source (origin - (method url-fetch) - (uri (pypi-uri "rstr" version)) - (sha256 - (base32 - "197dw8mbq0pjjz1l6h1ksi62vgn7x55d373ch74y06744qiq5sjx")))) - (build-system python-build-system) + (method git-fetch) + (uri (git-reference + (url "https://github.com/leapfrogonline/rstr") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1z9d660jnv72jn8qzpa9hddpv5f953js8i75hfhkcw68vmdfndnr")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'pretend-version + ;; The version string is usually derived via setuptools-scm, but + ;; without the git metadata available, the version string is set to + ;; '0.0.0'. + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (native-inputs (list python-pytest + python-setuptools + python-setuptools-scm + python-wheel)) (home-page "https://github.com/leapfrogonline/rstr") (synopsis "Generate random strings in Python") (description "This package provides a python module for generating