emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#36482: closed ([PATCH] gnu: ruby: Add ruby-backpor


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#36482: closed ([PATCH] gnu: ruby: Add ruby-backport package)
Date: Thu, 04 Jul 2019 10:30:02 +0000

Your message dated Thu, 04 Jul 2019 12:29:08 +0200
with message-id <address@hidden>
and subject line Re: [bug#36482] [PATCH] gnu: ruby: Add ruby-backport package
has caused the debbugs.gnu.org bug report #36482,
regarding [PATCH] gnu: ruby: Add ruby-backport package
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36482: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36482
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#36482] [PATCH] gnu: ruby: Add ruby-backport package Date: Thu, 04 Jul 2019 12:29:08 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
Hi Mikhail,

Mikhail Kirillov <address@hidden> skribis:

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

Applied with the minor changes below.  Thank you!

Ludo’.

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 <address@hidden>
 ;;; Copyright © 2018 Alex Vong <address@hidden>
 ;;; Copyright © 2019 Pierre Neidhardt <address@hidden>
+;;; Copyright © 2019 Mikhail Kirillov <address@hidden>
 ;;;
 ;;; 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)))

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]