all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#71184] [PATCH] gnu: Add ruby-appraisal.
@ 2024-05-24 21:38 Adam Quandour
  2024-06-30 21:02 ` Nicolas Graves via Guix-patches via
  2024-07-02 13:35 ` [bug#71184] [PATCH 1/2] gnu: Add ruby-thor-0.14.6 Adam Quandour
  0 siblings, 2 replies; 5+ messages in thread
From: Adam Quandour @ 2024-05-24 21:38 UTC (permalink / raw)
  To: 71184; +Cc: Adam Quandour

* gnu/packages/ruby.scm (ruby-appraisal): New variable.
---
 gnu/packages/ruby.scm | 50 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5c1e666..53b411b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1495,6 +1495,33 @@ (define-public ruby-atoulme-saikuro
     ;; of the Expat license.
     (license license:bsd-3)))
 
+(define-public ruby-appraisal
+  (package
+    (name "ruby-appraisal")
+    (version "2.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "appraisal" version))
+       (sha256
+        (base32
+         "1knkxrjagaqf418lkgd7xvfb5rh143d19ld8vfq16y8jpqhr561n"))))
+    (build-system ruby-build-system)
+    ;; tests need Internet access.
+    (arguments '(#:tests? #f))
+    (native-inputs
+     (list ruby-activesupport
+           ruby-rspec
+           ruby-thor-0.14.6))
+    (synopsis "A Ruby library for testing your library against different versions of dependencies")
+    (description "Appraisal integrates with bundler and rake to test
+your library against different versions of dependencies in repeatable
+scenarios called \"appraisals\".  Appraisal is designed to make it
+easy to check for regressions in your library without interfering
+ with day-to-day development using Bundler.")
+    (home-page "https://github.com/thoughtbot/appraisal")
+    (license license:expat)))
+
 (define-public ruby-awesome-print
   (package
     (name "ruby-awesome-print")
@@ -3383,6 +3410,29 @@ (define-public ruby-thor
     (home-page "http://whatisthor.com/")
     (license license:expat)))
 
+(define-public ruby-thor-0.14.6
+  ;; needed for ruby-appraisal
+  (package
+    (name "ruby-thor")
+    (version "0.14.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "thor" version))
+       (sha256
+        (base32
+         "18qmgv38gfw9clhq6szyw5kcxkkk8xr7c0klp3pk3cyznzbapif7"))))
+    (build-system ruby-build-system)
+    ;; couldn't run tests
+    ;; "No Rakefile found"
+    (arguments `(#:tests? #f))
+    (native-inputs (list ruby-rspec ruby-simplecov ruby-webmock))
+    (synopsis "Ruby toolkit for building command-line interfaces")
+    (description "Thor is a toolkit for building powerful command-line
+interfaces.")
+    (home-page "http://whatisthor.com/")
+    (license license:expat)))
+
 (define-public ruby-lumberjack
   (package
     (name "ruby-lumberjack")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#71184] [PATCH] gnu: Add ruby-appraisal.
  2024-05-24 21:38 [bug#71184] [PATCH] gnu: Add ruby-appraisal Adam Quandour
@ 2024-06-30 21:02 ` Nicolas Graves via Guix-patches via
  2024-07-02 12:58   ` Adam
  2024-07-02 13:35 ` [bug#71184] [PATCH 1/2] gnu: Add ruby-thor-0.14.6 Adam Quandour
  1 sibling, 1 reply; 5+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-06-30 21:02 UTC (permalink / raw)
  To: Adam Quandour, 71184; +Cc: Adam Quandour


Hi,

I notice two different packages, can you split the commit please?

Also notice the lint warning on https://qa.guix.gnu.org/issue/71184 :

gnu/packages/ruby.scm:1530:0: ruby-appraisal@2.5.0: line 1530 is way too long (99 characters)
gnu/packages/ruby.scm:1530:14: ruby-appraisal@2.5.0: no article allowed at the beginning of the synopsis
gnu/packages/ruby.scm:1530:14: ruby-appraisal@2.5.0: synopsis should be
less than 80 characters long

Otherwise: built reproducibly, package definitions themselves LGTM.

-- 
Best regards,
Nicolas Graves




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#71184] [PATCH] gnu: Add ruby-appraisal.
  2024-06-30 21:02 ` Nicolas Graves via Guix-patches via
@ 2024-07-02 12:58   ` Adam
  0 siblings, 0 replies; 5+ messages in thread
From: Adam @ 2024-07-02 12:58 UTC (permalink / raw)
  To: Nicolas Graves; +Cc: 71184

Hi,
Yeah, I will prepare new patches.


On Mon, Jul 1, 2024 at 12:02 AM Nicolas Graves <ngraves@ngraves.fr> wrote:
>
>
> Hi,
>
> I notice two different packages, can you split the commit please?
>
> Also notice the lint warning on https://qa.guix.gnu.org/issue/71184 :
>
> gnu/packages/ruby.scm:1530:0: ruby-appraisal@2.5.0: line 1530 is way too long (99 characters)
> gnu/packages/ruby.scm:1530:14: ruby-appraisal@2.5.0: no article allowed at the beginning of the synopsis
> gnu/packages/ruby.scm:1530:14: ruby-appraisal@2.5.0: synopsis should be
> less than 80 characters long
>
> Otherwise: built reproducibly, package definitions themselves LGTM.
>
> --
> Best regards,
> Nicolas Graves




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#71184] [PATCH 1/2] gnu: Add ruby-thor-0.14.6.
  2024-05-24 21:38 [bug#71184] [PATCH] gnu: Add ruby-appraisal Adam Quandour
  2024-06-30 21:02 ` Nicolas Graves via Guix-patches via
@ 2024-07-02 13:35 ` Adam Quandour
  2024-07-02 13:35   ` [bug#71184] [PATCH 2/2] gnu: Add ruby-appraisal Adam Quandour
  1 sibling, 1 reply; 5+ messages in thread
From: Adam Quandour @ 2024-07-02 13:35 UTC (permalink / raw)
  To: ngraves, 71184; +Cc: Adam Quandour

* gnu/packages/ruby.scm (ruby-thor-0.14.6): New variable.
---
 gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9547481..59d5446 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3397,6 +3397,31 @@ (define-public ruby-thor
     (home-page "http://whatisthor.com/")
     (license license:expat)))
 
+(define-public ruby-thor-0.14.6
+  ;; this package is needed for packaging ruby-appraisal
+  ;; for some reason ruby-appraisal depends on this exact
+  ;; version of this package
+  (package
+    (name "ruby-thor")
+    (version "0.14.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "thor" version))
+       (sha256
+        (base32
+         "18qmgv38gfw9clhq6szyw5kcxkkk8xr7c0klp3pk3cyznzbapif7"))))
+    (build-system ruby-build-system)
+    ;; couldn't run tests
+    ;; "No Rakefile found"
+    (arguments `(#:tests? #f))
+    (native-inputs (list ruby-rspec ruby-simplecov ruby-webmock))
+    (synopsis "Ruby toolkit for building command-line interfaces")
+    (description "Thor is a toolkit for building powerful command-line
+interfaces.")
+    (home-page "http://whatisthor.com/")
+    (license license:expat)))
+
 (define-public ruby-lumberjack
   (package
     (name "ruby-lumberjack")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#71184] [PATCH 2/2] gnu: Add ruby-appraisal.
  2024-07-02 13:35 ` [bug#71184] [PATCH 1/2] gnu: Add ruby-thor-0.14.6 Adam Quandour
@ 2024-07-02 13:35   ` Adam Quandour
  0 siblings, 0 replies; 5+ messages in thread
From: Adam Quandour @ 2024-07-02 13:35 UTC (permalink / raw)
  To: ngraves, 71184; +Cc: Adam Quandour

* gnu/packages/ruby.scm (ruby-appraisal): New variable.
---
 gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 59d5446..e7f25ac 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -14627,6 +14627,33 @@ (define-public ruby-m
     (home-page "https://github.com/qrush/m")
     (license license:expat)))
 
+(define-public ruby-appraisal
+  (package
+    (name "ruby-appraisal")
+    (version "2.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "appraisal" version))
+       (sha256
+        (base32
+         "1knkxrjagaqf418lkgd7xvfb5rh143d19ld8vfq16y8jpqhr561n"))))
+    (build-system ruby-build-system)
+    ;; tests need Internet access.
+    (arguments '(#:tests? #f))
+    (native-inputs
+     (list ruby-activesupport
+           ruby-rspec
+           ruby-thor-0.14.6))
+    (synopsis "Library for testing your library against dependencies")
+    (description "Appraisal integrates with bundler and rake to test
+your library against different versions of dependencies in repeatable
+scenarios called \"appraisals\".  Appraisal is designed to make it
+easy to check for regressions in your library without interfering
+ with day-to-day development using Bundler.")
+    (home-page "https://github.com/thoughtbot/appraisal")
+    (license license:expat)))
+
 (define-public ruby-mercenary
   (package
     (name "ruby-mercenary")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-07-02 17:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-24 21:38 [bug#71184] [PATCH] gnu: Add ruby-appraisal Adam Quandour
2024-06-30 21:02 ` Nicolas Graves via Guix-patches via
2024-07-02 12:58   ` Adam
2024-07-02 13:35 ` [bug#71184] [PATCH 1/2] gnu: Add ruby-thor-0.14.6 Adam Quandour
2024-07-02 13:35   ` [bug#71184] [PATCH 2/2] gnu: Add ruby-appraisal Adam Quandour

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.