From patchwork Mon Mar 13 13:53:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: gemmaro X-Patchwork-Id: 47937 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 4830A16DDF; Mon, 13 Mar 2023 13:54:19 +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=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 780C216D2A for ; Mon, 13 Mar 2023 13:54:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbicm-0000pA-F6; Mon, 13 Mar 2023 09:54:04 -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 1pbick-0000oT-Mp for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -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 1pbick-00035g-Ev for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbick-0005HX-81 for guix-patches@gnu.org; Mon, 13 Mar 2023 09:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62161] [PATCH 2/3] gnu: Add ruby-unicode-plot. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Mar 2023 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62161 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62161@debbugs.gnu.org Cc: gemmaro Received: via spool by 62161-submit@debbugs.gnu.org id=B62161.167871562720260 (code B ref 62161); Mon, 13 Mar 2023 13:54:02 +0000 Received: (at 62161) by debbugs.gnu.org; 13 Mar 2023 13:53:47 +0000 Received: from localhost ([127.0.0.1]:33951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbicU-0005Gh-MK for submit@debbugs.gnu.org; Mon, 13 Mar 2023 09:53:47 -0400 Received: from mail-pj1-f51.google.com ([209.85.216.51]:43876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbicS-0005GS-2c for 62161@debbugs.gnu.org; Mon, 13 Mar 2023 09:53:44 -0400 Received: by mail-pj1-f51.google.com with SMTP id y15-20020a17090aa40f00b00237ad8ee3a0so11762308pjp.2 for <62161@debbugs.gnu.org>; Mon, 13 Mar 2023 06:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678715618; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/8Py4IudDvfjhsz3ZOBbJTKbgRS8x/JU4P594X1fxNU=; b=dYHJ8k+NOjympg6YRmvw/i3wZVg0fe78k4SNO57eCNI1rV8J1SdBRE7khDZYtdEFAd llmYxMjk5689Nsl+Bl7OAZcd8O6SZ2ZULP0mgPFTXHJp7JhURZz2A7Wx62YUc2fJx0R4 JAduvY3aGAfblycKcnhSyymOK/QVrShYjMFH925w/BmWv+KrLm2JokX473ecZh/SjOaJ TOiEHG8mlegdldtk+NDNdgRtmqtQeBPBH+IqEMsGquovzimX24RSYwx+9UEgaOj9zcGJ fHcONV0oIop471eFp1sL23pFe22tpuGWbpVqPO29/3dR6Mlk+XV6bIM1lf3ta/oJp/JL MqnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678715618; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/8Py4IudDvfjhsz3ZOBbJTKbgRS8x/JU4P594X1fxNU=; b=Ai74W83686xa6VuKME/PTB1zIreZ9oVjG/j9qbrpcJwooIs7o0Jl+Ctq/HQS/5lfmL zz0HMYtmf2H5wdO76HoJuK2/heTL+Sx6WlIL5oLun/+Pz0yZD0TZ59nvKnRQxDAjITI8 1PtlgBBTIuq5ztBLsERV4cfRi0+cYSEQddo2M1DbTVpLhAAVbM2dIouy1+9a/+/Ru7E5 Vgeb3sHfVCFaX9vov04gBVeVTdGnhqzrirGUJcItSLUc5tWkQbTs88RK4FR8aN1uTn06 bmR5zfKzyMosqM5462MYpZKldbDrD5YfZ3MufcELPF4GVNs+dUrn6dIiyrnUi51xGCTL 8Smg== X-Gm-Message-State: AO0yUKUeMtqL9VVceFTAJQ2l8LQLMXECuOhllXhu/zk84BL9YDztMXiD LWTz2kkKQaAFFKM4VowXZGaTmL7ATFPRJw== X-Google-Smtp-Source: AK7set8JpLZRxKhvyS/xV4z44sQFBp602tOqYpX9BUiZioae4vJYda1yYYkmlLzkLJeLkpaSdEYdOA== X-Received: by 2002:a17:902:e5d0:b0:19d:6f7:70d2 with SMTP id u16-20020a170902e5d000b0019d06f770d2mr18909972plf.50.1678715618323; Mon, 13 Mar 2023 06:53:38 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id kc13-20020a17090333cd00b00199023c688esm4877485plb.26.2023.03.13.06.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 06:53:38 -0700 (PDT) From: gemmaro Date: Mon, 13 Mar 2023 22:53:02 +0900 Message-Id: <27b987b3ea326da884b88b2dc210584da1fc2faa.1678715004.git.gemmaro.dev@gmail.com> X-Mailer: git-send-email 2.39.2 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/plotutils.scm (ruby-unicode-plot): New variable. --- gnu/packages/plotutils.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index 963587ca2e..34f507e825 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016-2023 Nicolas Goaziou ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2023 gemmaro ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ (define-module (gnu packages plotutils) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (guix build-system ruby) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) #:use-module (gnu packages bash) @@ -50,7 +52,9 @@ (define-module (gnu packages plotutils) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) + #:use-module (gnu packages ruby) #:use-module (gnu packages qt) + #:use-module (gnu packages statistics) #:use-module (gnu packages texinfo) #:use-module (gnu packages tex) #:use-module (gnu packages web) @@ -427,3 +431,28 @@ (define-public asymptote ;; noted otherwise, are released under version 3 (or later) of the GNU ;; Lesser General Public License" (license license:lgpl3+))) + +(define-public ruby-unicode-plot + (package + (name "ruby-unicode-plot") + (version "0.0.5") + ;; Source at RubyGems.org doesn't have test fixtures. + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/red-data-tools/unicode_plot.rb") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0g67brnb7zp1xx9cp1x7bmyxwnvi2i8gplw7p1j7cppzin4kr1vj")))) + (build-system ruby-build-system) + (native-inputs (list bundler ruby-rake ruby-test-unit ruby-yard)) + (propagated-inputs (list ruby-enumerable-statistics)) + (synopsis "Library to plot your data by Unicode characters") + (description "UnicodePlot provides the feature to make charts with Unicode +characters. Supported charts are: barplot, boxplot, densityplot, +histogram, lineplot, and scatterplot.") + (home-page "https://github.com/red-data-tools/unicode_plot.rb") + (license license:expat)))