From patchwork Sat Nov 4 15:02:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 55920 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 CBAA427BBEA; Sat, 4 Nov 2023 15:04: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 392DD27BBE2 for ; Sat, 4 Nov 2023 15:04:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzICJ-0008IA-Bd; Sat, 04 Nov 2023 11:04:27 -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 1qzICI-0008Hp-Eq for guix-patches@gnu.org; Sat, 04 Nov 2023 11:04:26 -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 1qzICI-0006tf-3S for guix-patches@gnu.org; Sat, 04 Nov 2023 11:04:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzICs-0005KU-8c for guix-patches@gnu.org; Sat, 04 Nov 2023 11:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66929] [PATCH 02/10] gnu: Add python-matplotx. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Nov 2023 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66929@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 66929-submit@debbugs.gnu.org id=B66929.169911024320303 (code B ref 66929); Sat, 04 Nov 2023 15:05:02 +0000 Received: (at 66929) by debbugs.gnu.org; 4 Nov 2023 15:04:03 +0000 Received: from localhost ([127.0.0.1]:35533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIBv-0005HO-2k for submit@debbugs.gnu.org; Sat, 04 Nov 2023 11:04:03 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIBs-0005GY-8k for 66929@debbugs.gnu.org; Sat, 04 Nov 2023 11:04:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6C760240101 for <66929@debbugs.gnu.org>; Sat, 4 Nov 2023 16:03:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699110198; bh=6eH2igZG0lWXbmu8aRDR51I+LdFD6CQg0kbGR7HeR4c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=cR2sdAlZ/538PzT6rYN4loiC1h4pILTNVxVW79dKx9DafNDkJ/tC5APQmQ0GRV7di l4C2pPc8HSto3xeQHuZcMeZHq2NGzcKOnen09jzVnHWrTiGVhbZtAyRfmdGgsFVT4R AOH2yTGiYRJ1YKFAu9G7QizuQnDuhK5UFwtwSegv0pCuqr0CdeLrlClRnR2lIgOdSW jxfTf/LfG9t7Rr9IeXJpgfTrUQItX3I8+82kiLTGTFTwfTSV8+ykJhFCn6OazFMo6N /HrJ4pyLbsfFySvl3vvpaxXRyOHLTz7T0mdypVPbqfFLCBC5FMcYMVRMTWl7rnD3KV ZR6MdKslKkfXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SN18600cGz9rxG; Sat, 4 Nov 2023 16:03:17 +0100 (CET) From: Felix Gruber Date: Sat, 4 Nov 2023 15:02:31 +0000 Message-ID: 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-matplotx): New variable. Change-Id: I354732edeaa30cbae506e78a16f42e66edb3011b --- gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e521c1580d..33b0c401ef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,7 +108,7 @@ ;;; Copyright © 2021 Simon Streit ;;; Copyright © 2021, 2022, 2023 Daniel Meißner ;;; Copyright © 2021, 2022 Pradana Aumars -;;; Copyright © 2021, 2022 Felix Gruber +;;; Copyright © 2021, 2022, 2023 Felix Gruber ;;; Copyright © 2021 Sébastien Lerique ;;; Copyright © 2021 Raphaël Mélotte ;;; Copyright © 2021 ZmnSCPxj @@ -8262,6 +8262,43 @@ (define-public python-matplotlib-venn three-way Venn diagrams in @code{matplotlib}.") (license license:expat))) +(define-public python-matplotx + (package + (name "python-matplotx") + (version "0.3.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nschloe/matplotx") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1j301mr7ai2jmbm5mkva0jd99fzxhyq585pqzqfmrf5pil8j4q8i")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-matplotlib + python-numpy + ;; optional dependencies + python-networkx + python-pypng + python-scipy)) + (native-inputs (list python-imageio + python-meshzoo + python-pytest + python-scikit-fem)) + (arguments + (list + #:test-flags + ;; This test fails with ValueError: not enough values to unpack. + #~(list "--deselect" "tests/test_spy.py::test_cli"))) + (home-page "https://github.com/nschloe/matplotx") + (synopsis "Minimal matplotlib styles") + (description + "This package includes some extensions for Matplotlib to create +clean plots with a minimalistic style.") + (license license:expat))) + (define-public python-pysnptools (package (name "python-pysnptools")