From patchwork Fri Jun 9 03:49:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 50778 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 B25A427BBE9; Fri, 9 Jun 2023 04:51:35 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS 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 C36CC16F9E for ; Fri, 9 Jun 2023 04:51:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7T9W-0001Ht-HR; Thu, 08 Jun 2023 23:51:06 -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 1q7T9U-0001GQ-TH for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7T9U-0006yn-JS for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7T9U-0008IF-Ft for guix-patches@gnu.org; Thu, 08 Jun 2023 23:51:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63619] [PATCH v2 7/9] gnu: Add python-fastprogress. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jun 2023 03:51:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63619@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 63619-submit@debbugs.gnu.org id=B63619.168628265631807 (code B ref 63619); Fri, 09 Jun 2023 03:51:04 +0000 Received: (at 63619) by debbugs.gnu.org; 9 Jun 2023 03:50:56 +0000 Received: from localhost ([127.0.0.1]:58024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7T9M-0008Gw-0Y for submit@debbugs.gnu.org; Thu, 08 Jun 2023 23:50:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7T9K-0008GY-VG for 63619@debbugs.gnu.org; Thu, 08 Jun 2023 23:50:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 68F78240101 for <63619@debbugs.gnu.org>; Fri, 9 Jun 2023 05:50:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686282649; bh=kcRmTFEGj2N42DQiZBp8PIV74ka5120dQIfp5YeRWKg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=Igx7E7Uy/66jH1JCsiolD6TCqqcuv8dIusEwITOhzwQ28kTux07BX06qfxGPW1juM WDyqJAhEZpoMpb8xXOdtpjFaMRIxJWE0XnMH+wgD3/LKAqE3WjcLmwBYPEjbSa8PJO ICMGNGTu2V2gf4e5/GsPdGg5+zkyxZF8DsvOgXq88V01StJb+YOJ6NVNLV6MwfVwPG vwgNZs8JAbzQNM5+ANcashD/c88rLdRe38/umwa75tppoyqN1N4BPYZsGhJAB+JN1x mpjLrOjEpsQh2VG3BAuESq6FbR3zlYPY5axCxfIi3idmQq09pRaLmSc/L8FD20m1UP cucpfEdz6mrTA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QcnDS0Mc0z6tvw; Fri, 9 Jun 2023 05:50:47 +0200 (CEST) From: Vinicius Monego Date: Fri, 9 Jun 2023 03:49:39 +0000 Message-Id: <20230609034941.1807600-7-monego@posteo.net> In-Reply-To: <20230609034941.1807600-1-monego@posteo.net> References: <20230609034941.1807600-1-monego@posteo.net> 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-fastprogress): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index efac1130a9..7798bf20ce 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3041,6 +3041,32 @@ (define-public python-capturer for additional processing.") (license license:expat))) +(define-public python-fastprogress + (package + (name "python-fastprogress") + (version "1.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fastai/fastprogress") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01h8f786wgmmd3fj98wk1n5id67nsp19gs8bbgims04aciwhvj21")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f ;there are no tests + #:phases #~(modify-phases %standard-phases + ;; XXX: Fails with: "In procedure utime: No such file + ;; or directory". + (delete 'ensure-no-mtimes-pre-1980)))) + (home-page "https://github.com/fastai/fastprogress") + (synopsis "Progress bar for Jupyter Notebook and console") + (description + "Fastprogress is a progress bar for Jupyter Notebook and console.") + (license license:asl2.0))) + (define-public python-case (package (name "python-case")