From patchwork Tue Aug 23 20:27:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 41888 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 A08C827BBE9; Tue, 23 Aug 2022 21:28:13 +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,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 66C0027BBEA for ; Tue, 23 Aug 2022 21:28:11 +0100 (BST) Received: from localhost ([::1]:34470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQaVO-0001dn-JN for patchwork@mira.cbaines.net; Tue, 23 Aug 2022 16:28:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQaVG-0001dR-Sv for guix-patches@gnu.org; Tue, 23 Aug 2022 16:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQaVG-0004OI-KQ for guix-patches@gnu.org; Tue, 23 Aug 2022 16:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQaVG-0007dQ-Ft for guix-patches@gnu.org; Tue, 23 Aug 2022 16:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57368] [PATCH] gnu: Add python-plotext. Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Aug 2022 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57368 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57368@debbugs.gnu.org Cc: Peter Polidoro X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166128647229329 (code B ref -1); Tue, 23 Aug 2022 20:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Aug 2022 20:27:52 +0000 Received: from localhost ([127.0.0.1]:45117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQaV5-0007cy-Gv for submit@debbugs.gnu.org; Tue, 23 Aug 2022 16:27:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:55762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQaV3-0007cr-Kf for submit@debbugs.gnu.org; Tue, 23 Aug 2022 16:27:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQaV3-0001dA-Fp for guix-patches@gnu.org; Tue, 23 Aug 2022 16:27:49 -0400 Received: from olivedrab.birch.relay.mailchannels.net ([23.83.209.135]:63822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQaV0-0004NK-Ld for guix-patches@gnu.org; Tue, 23 Aug 2022 16:27:49 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0EB8E121E26; Tue, 23 Aug 2022 20:27:41 +0000 (UTC) Received: from pdx1-sub0-mail-a220.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5CD53121A38; Tue, 23 Aug 2022 20:27:40 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1661286460; a=rsa-sha256; cv=none; b=nAVeTo7n6yocTQW3GrSsv7OSFVvDUeCU3n4Z92sYV4FwzkmqXqe8GGApxVCGfQwFa3yCcm GKe4TwXN0WhGJZ1GXcH5mjvhnd1v2+ifbOud1n/k3WCURy3Jjlh3nhBorcRAsU9BhTnpPJ zTgaTxxQLc1i7qVtjMEQetUgKabpb9g62xRxrl8VyxKlzs3B8evoDYjmvi09Gvdi6rJ8rN PKRuHeNsupwOjkDmwGEKd650jepRw1culqQIG2SuVqZ4ZLGUJiZjQUuFl3dtKhFoX8inaf xK5PxGBWvy+Ul5IH1gSOzLKs2+NIUf6ly2DdUMe09onRknvsgFGZxSxhdVKi+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1661286460; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=OxLjp1xmeo7IZQb5l7mgSGJZlc4E4IIwEg6wyeIU8lE=; b=pC2tUGBNvSkmESCH64P4qY1WGq8EoIVNQABXZW2DwdSfhl7N2MZQyT1ASS377aqGKegPAk 5zSFC+jubOUS5eQBvH91U72ZT7IH+HoFoBufJSZwYAaZ7FCJH9X8zxHb9pOCzURQ70GZiG AYtHR9hh4A/hxLCSCX1Jpv7+ZSH44qHoWHNmSIiy1/12X2le9Aq2Itx75tYdaLWeO5yCek Z8NT+5HaehHnzHNE6331fZ20nmeDjJYxuSbCmcrjomUwtCLYKtflyQd2BRtAkU7IpTnuoO CUrFocLP6qOJkbjT/MmYtfk0YTUaR/lWC4Rxmxsg61TcUxySEbs3sV7tXZxuZg== ARC-Authentication-Results: i=1; rspamd-647d8dd55-gdb28; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Continue-Desert: 0f5042c1261d3bcc_1661286460608_3004281715 X-MC-Loop-Signature: 1661286460608:894218803 X-MC-Ingress-Time: 1661286460608 Received: from pdx1-sub0-mail-a220.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.112.55.195 (trex/6.7.1); Tue, 23 Aug 2022 20:27:40 +0000 Received: from knave.hhmi.org (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a220.dreamhost.com (Postfix) with ESMTPSA id 4MC14W63Nbz9B; Tue, 23 Aug 2022 13:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1661286460; bh=OxLjp1xmeo7IZQb5l7mgSGJZlc4E4IIwEg6wyeIU8lE=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=RrPCRsq3oceEDs8R18mSZhG8EorgPJocIvX+o0QZXdODTPSyZ66waqUZuEkQGv5bt /yfoAUQYas/gNn8H9I5HEFpkRD4am2T0JEKC0ZwuLUvN9vgvMdDEzpz3eYdKdExnMU tICT6VWyMhJuEo5k5xqFzTc5k0HutTCy2vlrlWK1j7wxpe3tf5sNpf3UwuGYPhzvi/ 06TQH23zDMbl4q7cS0oBZKv7KEkWbz/GJQK6VcKSBBbYqDNAWL1j8f3xKQf+mA0o4t ro8WWl+2kGMFKhHS0aTPTsdtDnREPbCco8gHnXDGddri92WpPEDC/HRHFVPDr/4QpR KqH7lc/peTqgg== From: peter@polidoro.io Date: Tue, 23 Aug 2022 16:27:29 -0400 Message-Id: <28fb9ab00d5ee4e50c993b49915606a098d9c980.1661286389.git.peter@polidoro.io> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Received-SPF: pass client-ip=23.83.209.135; envelope-from=peter@polidoro.io; helo=olivedrab.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches From: Peter Polidoro * gnu/packages/python-xyz.scm (python-plotext): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8b0aae76ac..8e00c9499d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -742,6 +742,31 @@ (define-public python-pymdown-extensions Markdown. All extensions are found under the module namespace of pymdownx.") (license license:expat))) +(define-public python-plotext + (package + (name "python-plotext") + (version "5.0.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "plotext" version)) + (sha256 + (base32 + "1p28hdxgjhdrcwq795nqrglcp6v5cl936mbah31dqhgjk6cy5v71")))) + (build-system python-build-system) + ;; tests pass when run manually with test() function after install + ;; tests fail when run automatically during build with error: + ;; TypeError: don't know how to make test from: unix + (arguments + `(#:tests? #f)) + (propagated-inputs (list python-pillow)) + (home-page "https://github.com/piccolomo/plotext") + (synopsis "2D plotting library for Python to plot directly on a terminal") + (description + "Plotext is a Python 2D plotting library which produces +figures directly on a terminal with syntax similar to matplotlib and can save +plots as text or as colored html.") + (license license:expat))) + (define-public python-mdx-gh-links (package (name "python-mdx-gh-links")