GNU bug report logs - #57542
[PATCH 0/2] Add ruby-pry-doc

Previous Next

Package: guix-patches;

Reported by: Taiju HIGASHI <higashi <at> taiju.info>

Date: Fri, 2 Sep 2022 09:02:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57542 in the body.
You can then email your comments to 57542 AT debbugs.gnu.org in the normal way.

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#57542; Package guix-patches. (Fri, 02 Sep 2022 09:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Taiju HIGASHI <higashi <at> taiju.info>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 02 Sep 2022 09:02:02 GMT) Full text and rfc822 format available.

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

From: Taiju HIGASHI <higashi <at> taiju.info>
To: guix-patches <at> gnu.org
Cc: Taiju HIGASHI <higashi <at> taiju.info>
Subject: [PATCH 0/2] Add ruby-pry-doc
Date: Fri,  2 Sep 2022 18:00:15 +0900
Hi,

I'm setting up a Ruby development environment on Emacs with Guix.
I want to add ruby-pry-doc because the official Guix channel distributes
emacs-robe and ruby-pry (emacs-robe required pry), but ruby-pry-doc is not.
(Strictly speaking, installing pry-doc when using robe is optional, but it is
inconvenient without it.)

Thanks,
taiju

Taiju HIGASHI (2):
  gnu: Add ruby-latest-ruby.
  gnu: Add ruby-pry-doc.

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

--
2.37.2




Information forwarded to guix-patches <at> gnu.org:
bug#57542; Package guix-patches. (Fri, 02 Sep 2022 09:04:01 GMT) Full text and rfc822 format available.

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

From: Taiju HIGASHI <higashi <at> taiju.info>
To: 57542 <at> debbugs.gnu.org
Cc: Taiju HIGASHI <higashi <at> taiju.info>
Subject: [PATCH 2/2] gnu: Add ruby-pry-doc.
Date: Fri,  2 Sep 2022 18:03:14 +0900
* gnu/packages/ruby.scm (ruby-pry-doc): New variable.
---
 gnu/packages/ruby.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d658581ed0..94c3bfeb6f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5440,6 +5440,29 @@ (define-public ruby-pry
     (home-page "https://cobaltbluemedia.com/pryrepl/")
     (license license:expat)))
 
+(define-public ruby-pry-doc
+  (package
+    (name "ruby-pry-doc")
+    (version "1.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "pry-doc" version))
+              (sha256
+               (base32
+                "0wyvql6pb6m8jl8bsamabxhxhd86bnqblspaxzz05sl0fm2ynj0r"))))
+    (build-system ruby-build-system)
+    (propagated-inputs (list ruby-pry ruby-yard))
+    (native-inputs (list ruby-latest-ruby ruby-rspec ruby-rake)) ;for tests
+    (synopsis "Provides YARD and extended documentation support for Pry")
+    (description
+     "Pry Doc is a Pry REPL plugin.  It provides extended documentation
+support for the REPL by means of improving the @code{show-doc} and
+@code{show-source} commands.  With help of the plugin the commands are
+be able to display the source code and the docs of Ruby methods and
+classes implemented in C.")
+    (home-page "https://github.com/pry/pry-doc")
+    (license license:expat)))
+
 (define-public ruby-single-cov
   (package
     (name "ruby-single-cov")
-- 
2.37.2





Information forwarded to guix-patches <at> gnu.org:
bug#57542; Package guix-patches. (Fri, 02 Sep 2022 09:04:02 GMT) Full text and rfc822 format available.

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

From: Taiju HIGASHI <higashi <at> taiju.info>
To: 57542 <at> debbugs.gnu.org
Cc: Taiju HIGASHI <higashi <at> taiju.info>
Subject: [PATCH 1/2] gnu: Add ruby-latest-ruby.
Date: Fri,  2 Sep 2022 18:03:13 +0900
* gnu/packages/ruby.scm (ruby-latest-ruby): New variable.
---
 gnu/packages/ruby.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a2cafbf1f1..d658581ed0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -30,6 +30,7 @@
 ;;; Copyright © 2021 Giovanni Biscuolo <g <at> xelera.eu>
 ;;; Copyright © 2022 Philip McGrath <philip <at> philipmcgrath.com>
 ;;; Copyright © 2022 Remco van 't Veer <remco <at> remworks.net>
+;;; Copyright © 2022 Taiju HIGASHI <higashi <at> taiju.info>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5398,6 +5399,24 @@ (define-public ruby-progressbar
     (home-page "https://github.com/jfelchner/ruby-progressbar")
     (license license:expat)))
 
+(define-public ruby-latest-ruby
+  (package
+    (name "ruby-latest-ruby")
+    (version "3.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "latest_ruby" version))
+              (sha256
+               (base32
+                "15rqwgxzpnkzdiz8m02jra0zq5sx0fiz61vkfrj1ls6slqfhnzqg"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f)) ; No Rakefile
+    (synopsis "Answers the question of what the latest Ruby version is")
+    (description "Knows about MRI, Rubinius, JRuby, MagLev and MacRuby.")
+    (home-page "https://github.com/kyrylo/latest_ruby")
+    (license license:zlib)))
+
 (define-public ruby-pry
   (package
     (name "ruby-pry")
-- 
2.37.2





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Fri, 02 Sep 2022 18:57:01 GMT) Full text and rfc822 format available.

Notification sent to Taiju HIGASHI <higashi <at> taiju.info>:
bug acknowledged by developer. (Fri, 02 Sep 2022 18:57:02 GMT) Full text and rfc822 format available.

Message #16 received at 57542-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Taiju HIGASHI <higashi <at> taiju.info>
Cc: 57542-done <at> debbugs.gnu.org
Subject: Re: [bug#57542] [PATCH 0/2] Add ruby-pry-doc
Date: Fri, 02 Sep 2022 19:56:09 +0100
[Message part 1 (text/plain, inline)]
Taiju HIGASHI <higashi <at> taiju.info> writes:

> I'm setting up a Ruby development environment on Emacs with Guix.
> I want to add ruby-pry-doc because the official Guix channel distributes
> emacs-robe and ruby-pry (emacs-robe required pry), but ruby-pry-doc is not.
> (Strictly speaking, installing pry-doc when using robe is optional, but it is
> inconvenient without it.)
>
> Thanks,
> taiju
>
> Taiju HIGASHI (2):
>   gnu: Add ruby-latest-ruby.
>   gnu: Add ruby-pry-doc.
>
>  gnu/packages/ruby.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 42 insertions(+)

Thanks Taiju, I've gone ahead and pushed these as
34766a6631c97af0f13af6c16e1c9d26780e5cb5.

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Oct 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 206 days ago.

Previous Next


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