From patchwork Mon Mar 11 18:22:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 61670 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 F372827BBEE; Mon, 11 Mar 2024 18:23:49 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 7352627BBE2 for ; Mon, 11 Mar 2024 18:23:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjkJK-0001tw-9T; Mon, 11 Mar 2024 14:23:42 -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 1rjkJD-0001nU-Ia for guix-patches@gnu.org; Mon, 11 Mar 2024 14:23:35 -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 1rjkJD-0007vI-9k; Mon, 11 Mar 2024 14:23:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjkJf-000428-3s; Mon, 11 Mar 2024 14:24:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69736] [PATCH 4/7] gnu: Add python-prefixed. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: arunisaac@systemreboot.net, lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 18:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69736 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69736@debbugs.gnu.org Cc: Arun Isaac , Arun Isaac , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Arun Isaac , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69736-submit@debbugs.gnu.org id=B69736.171018143615446 (code B ref 69736); Mon, 11 Mar 2024 18:24:03 +0000 Received: (at 69736) by debbugs.gnu.org; 11 Mar 2024 18:23:56 +0000 Received: from localhost ([127.0.0.1]:41252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjkJY-000414-E9 for submit@debbugs.gnu.org; Mon, 11 Mar 2024 14:23:56 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:54498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjkJU-00040X-7Z for 69736@debbugs.gnu.org; Mon, 11 Mar 2024 14:23:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XiZpfltOJZJcwZkW32nc5lERMQI/MZO9AULisDl1r6c=; b=CQJhIc3GtfZrq/akKhkOMS/4bH ert8y0gKxTeS+dg5CpV0U6mmPc22CvMBEXJ1+yF3fBhNW3Mu7zN8FkQARQtpLbzGqSKMK//rwkU6I PzzPlbCdhr08xcR41sE779l+LlDhXyQ5qI5iBl1+W7zuBK48nfuD3yvhDCBGw/pquWvAXj26xUS90 gpyoemXFfg6/m2tgBOu7ShytOfn5H+QhurB43wvfwnn4x2VyE7mwaMwO+lGsXLxVl/EvA6FTj5Y5/ X9EecV1rAjv93hLL/2CfCYFW75nSLC1ts/6JrC8Yn2pTvaVxcduvMyTDfvwHtDnw49Ou4wIdYGaJ1 2ty4llSQ==; Received: from [192.168.2.1] (port=54074 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1rjkHI-0007WI-1H; Mon, 11 Mar 2024 18:21:37 +0000 From: Arun Isaac Date: Mon, 11 Mar 2024 18:22:39 +0000 Message-ID: <6bcc582851650c6bdf19b944b92a8ac174728a25.1710180345.git.arunisaac@systemreboot.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-prefixed): New variable. Change-Id: I1398953059feb740dfdd9abe12bd0aa7abe3714e --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 34b894a351..87204b392f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32516,6 +32516,24 @@ (define-public python-quicktions is the cythonized version of @code{fractions.Fraction}.") (license license:psfl))) +(define-public python-prefixed + (package + (name "python-prefixed") + (version "0.7.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "prefixed" version)) + (sha256 + (base32 + "1sdvxwy4kvcxvnq1nx70j1ccx5ga6wdb478vqd5azf1fc1gd2m0b")))) + (build-system pyproject-build-system) + (home-page "https://github.com/Rockhopper-Technologies/prefixed") + (synopsis "Prefixed alternative numeric library") + (description "@code{python-prefixed} provides an alternative +implementation of the built-in float which supports formatted output with +SI (decimal) and IEC (binary) prefixes.") + (license license:mpl2.0))) + (define-public python-pathvalidate (package (name "python-pathvalidate")