From patchwork Tue Oct 5 09:47:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 33612 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 7993827BBE1; Tue, 5 Oct 2021 10:50:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F017C27BBE3 for ; Tue, 5 Oct 2021 10:50:18 +0100 (BST) Received: from localhost ([::1]:58180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXh5V-0001Jw-VS for patchwork@mira.cbaines.net; Tue, 05 Oct 2021 05:50:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXh5G-0001JZ-Cw for guix-patches@gnu.org; Tue, 05 Oct 2021 05:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXh5G-0001yn-5W for guix-patches@gnu.org; Tue, 05 Oct 2021 05:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXh5G-0008FQ-3J for guix-patches@gnu.org; Tue, 05 Oct 2021 05:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51028] [PATCH 2/7] gnu: Add julia-pyplot. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 09:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51028 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51028@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 51028-submit@debbugs.gnu.org id=B51028.163342739831684 (code B ref 51028); Tue, 05 Oct 2021 09:50:02 +0000 Received: (at 51028) by debbugs.gnu.org; 5 Oct 2021 09:49:58 +0000 Received: from localhost ([127.0.0.1]:39117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXh5C-0008Ex-EC for submit@debbugs.gnu.org; Tue, 05 Oct 2021 05:49:58 -0400 Received: from flashner.co.il ([178.62.234.194]:36506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXh5B-0008El-6W for 51028@debbugs.gnu.org; Tue, 05 Oct 2021 05:49:57 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 6150940085; Tue, 5 Oct 2021 09:49:51 +0000 (UTC) From: Efraim Flashner Date: Tue, 5 Oct 2021 12:47:31 +0300 Message-Id: X-Mailer: git-send-email 2.33.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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia-xyz.scm (julia-pyplot): New variable. --- gnu/packages/julia-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 2238acf103..5925ca2417 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -3280,6 +3280,35 @@ (define-public julia-pycall share large data structures between Julia and Python without copying them.") (license license:expat))) +(define-public julia-pyplot + (package + (name "julia-pyplot") + (version "2.10.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaPy/PyPlot.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "007zs0imfgs69f30pp2a3rc93kl0qiq7qjx6ig35z4wzkmps4skd")))) + (build-system julia-build-system) + (propagated-inputs + `(("julia-colors" ,julia-colors) + ("julia-latexstrings" ,julia-latexstrings) + ("julia-pycall" ,julia-pycall) + ("julia-versionparsing" ,julia-versionparsing) + ;; python-matplotlib is expected to be available at runtime. + ("python-matplotlib" ,python-matplotlib))) + (home-page "https://github.com/JuliaPy/PyPlot.jl") + (synopsis "Plotting for Julia based on matplotlib.pyplot") + (description "This module provides a Julia interface to the Matplotlib +plotting library from Python, and specifically to the @code{matplotlib.pyplot} +module. PyPlot uses the Julia PyCall package to call Matplotlib directly from +Julia with little or no overhead (arrays are passed without making a copy).") + (license license:expat))) + (define-public julia-quadgk (package (name "julia-quadgk")