GNU bug report logs - #36482
[PATCH] gnu: ruby: Add ruby-backport package

Previous Next

Package: guix-patches;

Reported by: Mikhail Kirillov <w96k.ru <at> gmail.com>

Date: Tue, 2 Jul 2019 22:53:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 36482 in the body.
You can then email your comments to 36482 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#36482; Package guix-patches. (Tue, 02 Jul 2019 22:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mikhail Kirillov <w96k.ru <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 02 Jul 2019 22:53:03 GMT) Full text and rfc822 format available.

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

From: Mikhail Kirillov <w96k.ru <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Mikhail Kirillov <w96k.ru <at> gmail.com>
Subject: [PATCH] gnu: ruby: Add ruby-backport package
Date: Wed,  3 Jul 2019 01:49:47 +0300
* gnu/packages/ruby.scm (ruby): add ruby-backport package
---
 gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 49e0b9fe73..c779bc4e7d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8725,3 +8725,35 @@ app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server,
 then check out http://127.0.0.1:1080 to see the mail.")
     (home-page "https://mailcatcher.me")
     (license license:expat)))
+
+(define-public ruby-backport
+  (let ((commit "5074f249cc12a95e388d2a16080fd3252013ffd4"))
+    (package
+      (name "ruby-backport")
+      (version "1.1.1")
+      (source
+       (origin
+         ;; The gem does not include test code, so fetch from the Git repository
+         ;; Repo doesn't have release tags either
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/castwide/backport.git")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "0ii3y1wx1n48nd2mhlv0v61b2m21h7dg30if9vc2idza7k4afyw8"))))
+      (build-system ruby-build-system)
+      (arguments
+       `(#:test-target "spec"))
+      (native-inputs
+       `(("bundler" ,bundler)
+         ("ruby-rspec" ,ruby-rspec)))
+      (inputs
+       `(("ruby-simplecov" ,ruby-simplecov)))
+      (synopsis
+       "A pure Ruby library for event-driven IO")
+      (description
+       "This package provides a pure Ruby library for event-driven IO")
+      (home-page "http://github.com/castwide/backport")
+      (license license:expat))))
-- 
2.22.0





Information forwarded to guix-patches <at> gnu.org:
bug#36482; Package guix-patches. (Wed, 03 Jul 2019 17:52:02 GMT) Full text and rfc822 format available.

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

From: Mikhail Kirillov <w96k.ru <at> gmail.com>
To: 36482 <at> debbugs.gnu.org
Cc: Mikhail Kirillov <w96k.ru <at> gmail.com>
Subject: [PATCH] gnu: ruby: Add ruby-backport package
Date: Wed,  3 Jul 2019 20:10:27 +0300
* gnu/packages/ruby.scm (ruby): add ruby-backport package
---
 gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 49e0b9fe73..e25b527f5c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8725,3 +8725,33 @@ app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server,
 then check out http://127.0.0.1:1080 to see the mail.")
     (home-page "https://mailcatcher.me")
     (license license:expat)))
+
+(define-public ruby-backport
+  (package
+    (name "ruby-backport")
+    (version "1.1.1")
+    (source
+     (origin
+       ;; The gem does not include test code, so fetch from the Git repository
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/castwide/backport.git")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0ii3y1wx1n48nd2mhlv0v61b2m21h7dg30if9vc2idza7k4afyw8"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:test-target "spec"))
+    (native-inputs
+     `(("bundler" ,bundler)
+       ("ruby-rspec" ,ruby-rspec)))
+    (inputs
+     `(("ruby-simplecov" ,ruby-simplecov)))
+    (synopsis
+     "A pure Ruby library for event-driven IO")
+    (description
+     "This package provides a pure Ruby library for event-driven IO")
+    (home-page "http://github.com/castwide/backport")
+    (license license:expat)))
-- 
2.22.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 04 Jul 2019 10:30:02 GMT) Full text and rfc822 format available.

Notification sent to Mikhail Kirillov <w96k.ru <at> gmail.com>:
bug acknowledged by developer. (Thu, 04 Jul 2019 10:30:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Mikhail Kirillov <w96k.ru <at> gmail.com>
Cc: 36482-done <at> debbugs.gnu.org
Subject: Re: [bug#36482] [PATCH] gnu: ruby: Add ruby-backport package
Date: Thu, 04 Jul 2019 12:29:08 +0200
[Message part 1 (text/plain, inline)]
Hi Mikhail,

Mikhail Kirillov <w96k.ru <at> gmail.com> skribis:

> * gnu/packages/ruby.scm (ruby): add ruby-backport package

Applied with the minor changes below.  Thank you!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e25b527f5c..5f613cfe60 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2018 Vasile Dumitrascu <va511e <at> yahoo.com>
 ;;; Copyright © 2018 Alex Vong <alexvong1995 <at> gmail.com>
 ;;; Copyright © 2019 Pierre Neidhardt <mail <at> ambrevar.xyz>
+;;; Copyright © 2019 Mikhail Kirillov <w96k.ru <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -8736,7 +8737,7 @@ then check out http://127.0.0.1:1080 to see the mail.")
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/castwide/backport.git")
-             (commit version)))
+             (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
@@ -8749,9 +8750,8 @@ then check out http://127.0.0.1:1080 to see the mail.")
        ("ruby-rspec" ,ruby-rspec)))
     (inputs
      `(("ruby-simplecov" ,ruby-simplecov)))
-    (synopsis
-     "A pure Ruby library for event-driven IO")
+    (synopsis "Pure Ruby library for event-driven IO")
     (description
-     "This package provides a pure Ruby library for event-driven IO")
-    (home-page "http://github.com/castwide/backport")
+     "This package provides a pure Ruby library for event-driven IO.")
+    (home-page "https://github.com/castwide/backport")
     (license license:expat)))

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

This bug report was last modified 4 years and 268 days ago.

Previous Next


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