From patchwork Tue Jan 7 14:09:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arjan Adriaanse X-Patchwork-Id: 36700 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 813CE27BBEA; Tue, 7 Jan 2025 14:10:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 7EB7927BBE2 for ; Tue, 7 Jan 2025 14:10:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVAHe-0003uY-JF; Tue, 07 Jan 2025 09:10:14 -0500 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 1tVAHZ-0003tF-WF for guix-patches@gnu.org; Tue, 07 Jan 2025 09:10:10 -0500 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 1tVAHY-0001Rv-A3; Tue, 07 Jan 2025 09:10:09 -0500 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=v1tY++ZxizIHbTWHOb/vnBiyAR3zou0sXkWVpRwFMAo=; b=tuEPfbfjdN+mrbl/5CRvajgqFIEBArPw6oDHH/1AUSNpC5IJz2Kz9+AMIDFwl8SE+/X8lEJWBjA2rTNJkbZWFsBI4pCKQ3YuYcNyyvE/OrSczFYCCeh7Mu6YZRIfxDDDIKoehihSKxmRRRhhMQfIgkcCdNiKIMw6B6h6M03hN6ZXnMXUm1oVoQu7ZdbeDnbEIaXyGwZKCKXzqjP9J3BDVtk+H/2A2Z0+k7ZRXRvvuk1hKCty981CckRAUHS80q6/k4E0whW8CPweAN+3qnxCsMJoLh7CCehuuXZWG2hztC2/Cxn2zHKh/QH/KgTcVEPXVHcSbr0IPSgZYPOIDAnGdg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVAHU-00010h-9o; Tue, 07 Jan 2025 09:10:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75420] [PATCH python-team 01/11] gnu: Add python-expandvars. Resent-From: Arjan Adriaanse Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 07 Jan 2025 14:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75420 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75420@debbugs.gnu.org Cc: Arjan Adriaanse , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 75420-submit@debbugs.gnu.org id=B75420.17362589943841 (code B ref 75420); Tue, 07 Jan 2025 14:10:03 +0000 Received: (at 75420) by debbugs.gnu.org; 7 Jan 2025 14:09:54 +0000 Received: from localhost ([127.0.0.1]:42171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVAHH-0000zq-Ea for submit@debbugs.gnu.org; Tue, 07 Jan 2025 09:09:52 -0500 Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:2215:0:1]:58697) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVAHD-0000zU-Vl for 75420@debbugs.gnu.org; Tue, 07 Jan 2025 09:09:49 -0500 Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (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) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4YSCbl58KBzHM; Tue, 7 Jan 2025 14:09:39 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4YSCbl27Npz2xQn; Tue, 7 Jan 2025 14:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1736258979; bh=6TlbV++GWc3V1dzfG6PtUjyLusqC+xMIN4/tTLLxlxM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n9xyuXbLZ90dPeMePJsrRuTlMTBj58oazbDcTjQxxLhzsRVSLxkkmJTRS5X1bt/pm GX8WcxWbay7N/j8dgG4N+nlsnFAxpCtHa7NTBEnJL3P/G1tUhPBI5YJ6xni1VfDYb0 iymMEDbrP27hQsXzU7VF6xyk3AFBlH5LQbi1KYV3RAPYLje7RH3doX8fleBNRmbOZZ XPMh/zBHn9eoUl0qiYZEqSZ8JBmkJtpwsswzpx2wjR+s2UY59KNkb4/6WuvHCYiUGK msi5YAsqym8AzPhoCiixPF4pAaROUBRqiMiUiy4iWs3bewtRelCo74ufQSjH7fUEO8 3Y293iK6M6rJA== X-CM-Envelope: MS4xfNeT5jebdhySNC1fQv7Tf8GK9OHU/SmDfE8NURLeDmpDXXI1kLj13chZ/jPY31nUQBB9RUNqcK2uBeQx++NJ9L936Ff0k8JBDmr+zsdyqHqJM7qr+gFO oKHnIo8ViZFoJLqUFPGOAjLq378jp/dje+p0koi7QR42R7s0R8P1+mnw335qOh320uYFbK4CeujSHzQhzmBtcphW2mhM00zfwMHKYx2YlyMBzj3/2taIVxWo ZxY3xupBxBk66LJn7QTIkr0XsSNi6je11ZFpIdmOkfc= X-CM-Analysis: v=2.4 cv=WMmFXmsR c=1 sm=1 tr=0 ts=677d35a3 a=fD/rzi2Tphj41Sc3CkWoTA==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=o83nqyVRAAAA:8 a=9myuxh-XJJj9dzMmDm4A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 From: Arjan Adriaanse Date: Tue, 7 Jan 2025 15:09:12 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Spampanel-Class: ham 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: , 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-expandvars): New variable. Change-Id: Ib6441555754189be7283e51873ef6306a6896294 --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c0c3430088..dcc389da3d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -159,6 +159,7 @@ ;;; Copyright © 2024 Aaron Covrig ;;; Copyright © 2024 Evgeny Pisemsky ;;; Copyright © 2024 Markku Korkeala +;;; Copyright © 2025 Arjan Adriaanse ;;; ;;; This file is part of GNU Guix. ;;; @@ -11202,6 +11203,27 @@ (define-public python-executor particularly the AST node being executed.") (license license:expat))) ; MIT license +(define-public python-expandvars + (package + (name "python-expandvars") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "expandvars" version)) + (sha256 + (base32 "0i6q4i8dzsax85w1l2hc7saymyh3fw43vkifh5flpkr8ayjxy6kx")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatchling + python-pytest)) + (home-page "https://github.com/sayanarijit/expandvars") + (synopsis "Expand system variables Unix style") + (description "@code{expandvars} is inspired by GNU bash's variable +expansion features. It can be used as an alternative to Python's +@code{os.path.expandvars} function.") + (license license:expat))) + (define-public python-roifile (package (name "python-roifile")