GNU bug report logs - #74342
[PATCH 1/1] gnu: add ruby-text-table

Previous Next

Package: guix-patches;

Reported by: Quanrong <quanrong <at> mailbox.org>

Date: Wed, 13 Nov 2024 14:06:04 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 74342 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#74342; Package guix-patches. (Wed, 13 Nov 2024 14:06:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Quanrong <quanrong <at> mailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 13 Nov 2024 14:06:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Quanrong <quanrong <at> mailbox.org>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/1] gnu: add ruby-text-table
Date: Wed, 13 Nov 2024 14:12:27 +0200
* gnu/packages/ruby.scm (ruby-text-table): New variable.

Change-Id: If2a1990997333085f0ed5cc2895e47984a376722
---
 gnu/packages/ruby.scm | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 13092bedf2..50d890b731 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -26,7 +26,7 @@
 ;;; Copyright © 2020 Holgr Peters <holger.peters <at> posteo.de>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul <at> autistici.org>
 ;;; Copyright © 2021 EuAndreh <eu <at> euandre.org>
-;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin <at> mailbox.org>
+;;; Copyright © 2020, 2024 Tomás Ortín Fernández <quanrong <at> mailbox.org>
 ;;; Copyright © 2021 Giovanni Biscuolo <g <at> xelera.eu>
 ;;; Copyright © 2022 Philip McGrath <philip <at> philipmcgrath.com>
 ;;; Copyright © 2022-2024 Remco van 't Veer <remco <at> remworks.net>
@@ -14872,6 +14872,26 @@ (define-public ruby-terminal-table
 Unicode formatted tables.")
     (license license:expat)))

+(define-public ruby-text-table
+  (package
+    (name "ruby-text-table")
+    (version "1.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "text-table" version))
+       (sha256
+        (base32 "06yhlnb49fn0fhkmi6lrziyv2hd42gcm2zi3sggm2qab48qxn94j"))))
+    (build-system ruby-build-system)
+    (synopsis
+     "Allows you to easily create and format plain text tables, useful 
when working with the terminal or when you want to quickly print 
formatted tables to a dot-matrix printer.")
+    (description
+     "Allows you to easily create and format plain text tables, useful 
when working
+with the terminal or when you want to quickly print formatted tables to a
+dot-matrix printer.")
+    (home-page "https://github.com/aptinio/text-table")
+    (license license:expat)))
+
 (define-public jekyll
   (package
     (name "jekyll")

base-commit: 1f057603ef59c7b9c32f610a897321fd75dc4dad
prerequisite-patch-id: 1b22355642355a77f0f59a2489da2e31e16c65da
prerequisite-patch-id: a508f4f08de1cfda59ad18891b5f066ed028dac8
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#74342; Package guix-patches. (Tue, 26 Nov 2024 02:30:02 GMT) Full text and rfc822 format available.

Message #8 received at 74342 <at> debbugs.gnu.org (full text, mbox):

From: Aaron Covrig <aaron.covrig.us <at> ieee.org>
To: 74342 <at> debbugs.gnu.org
Cc: Aaron Covrig <aaron.covrig.us <at> ieee.org>
Subject: [PATCH] gnu: add ruby-text-table
Date: Mon, 25 Nov 2024 21:20:04 -0500
* gnu/packages/ruby.scm (ruby-text-table): New variable.
---
Thank you for the addition, I cleaned up some corruption and linting
guidelines in the commit, along with disabling tests as there seem to be
none defined (although I am not particularly familiar with Ruby).
Additionally, I split the Copyright change across two lines to preserve
the original name and email combination while also adding in the new name
and email combination (I'm not sure what Guix's official policy is to
resolve changing name and email relations from the Copyright header, so
someone more familiar with the project will need to finalize that).

Additionally, for reviewers I have only tested this via building and not
attempted to use the package to verify that it works.

v/r,

Aaron

 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f08d52dbc8..c7b66c0482 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -27,6 +27,7 @@
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul <at> autistici.org>
 ;;; Copyright © 2021 EuAndreh <eu <at> euandre.org>
 ;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin <at> mailbox.org>
+;;; Copyright © 2024 Tomás Ortín Fernández <quanrong <at> mailbox.org>
 ;;; Copyright © 2021 Giovanni Biscuolo <g <at> xelera.eu>
 ;;; Copyright © 2022 Philip McGrath <philip <at> philipmcgrath.com>
 ;;; Copyright © 2022-2024 Remco van 't Veer <remco <at> remworks.net>
@@ -15585,6 +15586,27 @@ (define-public ruby-sinatra
     (home-page "https://sinatrarb.com/")
     (license license:expat)))
 
+(define-public ruby-text-table
+  (package
+    (name "ruby-text-table")
+    (version "1.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "text-table" version))
+       (sha256
+        (base32 "06yhlnb49fn0fhkmi6lrziyv2hd42gcm2zi3sggm2qab48qxn94j"))))
+    (build-system ruby-build-system)
+    (arguments (list #:tests? #f))
+    (synopsis "Allows you to easily create and format plain text tables")
+    (description
+     "Allows you to easily create and format plain text tables, useful
+when working
+with the terminal or when you want to quickly print formatted tables to a
+dot-matrix printer.")
+    (home-page "https://github.com/aptinio/text-table")
+    (license license:expat)))
+
 (define-public ruby-timeout
   (package
     (name "ruby-timeout")

base-commit: 9b1fb12978482ffb6d37c456343f05609b28b3e8
-- 
2.46.0





This bug report was last modified 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.