unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45641] [PATCH] Add ruby-html-proofer and dependencies.
@ 2021-01-04  0:28 paul
  2021-01-04  0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
  2021-02-05 21:00 ` bug#45641: [PATCH] Add ruby-html-proofer and dependencies Christopher Baines
  0 siblings, 2 replies; 8+ messages in thread
From: paul @ 2021-01-04  0:28 UTC (permalink / raw)
  To: 45641

Dear Guixers,

I'm sending a patch series to add ruby-html-proofer and its dependencies.

Thank you,

Giacomo





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

* [bug#45641] [PATCH 1/6] gnu: Add ruby-yell.
  2021-01-04  0:28 [bug#45641] [PATCH] Add ruby-html-proofer and dependencies paul
@ 2021-01-04  0:32 ` Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 2/6] gnu: Add ruby-patron Giacomo Leidi
                     ` (4 more replies)
  2021-02-05 21:00 ` bug#45641: [PATCH] Add ruby-html-proofer and dependencies Christopher Baines
  1 sibling, 5 replies; 8+ messages in thread
From: Giacomo Leidi @ 2021-01-04  0:32 UTC (permalink / raw)
  To: 45641; +Cc: Giacomo Leidi

* gnu/packages/ruby.scm (ruby-yell): 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 c5b1af79d3..f1194c4c3d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11758,3 +11758,30 @@ defined in @file{.travis.yml} on your local machine, using @code{rvm},
 you the speed and portability of libgit2 with the beauty of the Ruby
 language.")
     (license license:expat)))
+
+(define-public ruby-yell
+  (package
+    (name "ruby-yell")
+    (version "2.2.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "yell" version))
+        (sha256
+          (base32
+            "1g16kcdhdfvczn7x81jiq6afg3bdxmb73skqjyjlkp5nqcy6y5hx"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "rake" "examples")))))) ; there is no test target.
+    (synopsis
+      "Yell - Your Extensible Logging Library")
+    (description
+      "Yell  is a comprehensive logging replacement for Ruby.  It defines
+multiple adapters, various log level combinations and message formatting
+options.")
+    (home-page "https://github.com/rudionrails/yell")
+    (license license:expat)))
-- 
2.29.2





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

* [bug#45641] [PATCH 2/6] gnu: Add ruby-patron.
  2021-01-04  0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
@ 2021-01-04  0:32   ` Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 3/6] gnu: Add ruby-ethon Giacomo Leidi
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Giacomo Leidi @ 2021-01-04  0:32 UTC (permalink / raw)
  To: 45641; +Cc: Giacomo Leidi

* gnu/packages/ruby.scm (ruby-patron): 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 f1194c4c3d..d9ff47bf03 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2020 Holgr Peters <holger.peters@posteo.de>
+;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -49,6 +50,7 @@
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
+  #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages rails)
@@ -11785,3 +11787,28 @@ multiple adapters, various log level combinations and message formatting
 options.")
     (home-page "https://github.com/rudionrails/yell")
     (license license:expat)))
+
+(define-public ruby-patron
+  (package
+    (name "ruby-patron")
+    (version "0.13.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "patron" version))
+       (sha256
+        (base32
+         "0523gddx88zql2mq6655k60gy2ac8vybpzkcf90lmd9nx7wl3fi9"))))
+    (build-system ruby-build-system)
+    (inputs `(("curl" ,curl)))
+    (arguments
+     `(#:tests? #f))                    ;there are none
+    (synopsis
+     "Ruby HTTP client library based on @code{libcurl}")
+    (description
+     "Patron is a Ruby HTTP client library based on @code{libcurl}.  It does
+not try to expose the full \"power\" (read complexity) of @code{libcurl} but
+instead tries to provide a sane API while taking advantage of @code{libcurl}
+under the hood.")
+    (home-page "https://github.com/toland/patron")
+    (license license:expat)))
-- 
2.29.2





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

* [bug#45641] [PATCH 3/6] gnu: Add ruby-ethon.
  2021-01-04  0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 2/6] gnu: Add ruby-patron Giacomo Leidi
@ 2021-01-04  0:32   ` Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 4/6] gnu: Add ruby-typhoeus Giacomo Leidi
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Giacomo Leidi @ 2021-01-04  0:32 UTC (permalink / raw)
  To: 45641; +Cc: Giacomo Leidi

* gnu/packages/ruby.scm (ruby-ethon): 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 d9ff47bf03..06d4637df4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11812,3 +11812,26 @@ instead tries to provide a sane API while taking advantage of @code{libcurl}
 under the hood.")
     (home-page "https://github.com/toland/patron")
     (license license:expat)))
+
+(define-public ruby-ethon
+  (package
+    (name "ruby-ethon")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "ethon" version))
+       (sha256
+        (base32
+         "0gggrgkcq839mamx7a8jbnp2h7x2ykfn34ixwskwb0lzx2ak17g9"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))                    ;there are none
+    (inputs `(("curl" ,curl)))
+    (propagated-inputs `(("ruby-ffi" ,ruby-ffi)))
+    (synopsis "Very lightweight @code{libcurl} wrapper")
+    (description "In Greek mythology, Ethon, the son of Typhoeus and Echidna,
+is a gigantic eagle.  So much for the history.  In the modern world, Ethon
+is a very basic @code{libcurl} wrapper using ffi.")
+    (home-page "https://github.com/typhoeus/ethon")
+    (license license:expat)))
-- 
2.29.2





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

* [bug#45641] [PATCH 4/6] gnu: Add ruby-typhoeus.
  2021-01-04  0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 2/6] gnu: Add ruby-patron Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 3/6] gnu: Add ruby-ethon Giacomo Leidi
@ 2021-01-04  0:32   ` Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 5/6] gnu: Add ruby-awesome-print Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 6/6] gnu: Add ruby-html-proofer Giacomo Leidi
  4 siblings, 0 replies; 8+ messages in thread
From: Giacomo Leidi @ 2021-01-04  0:32 UTC (permalink / raw)
  To: 45641; +Cc: Giacomo Leidi

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 06d4637df4..4999b95c04 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11835,3 +11835,27 @@ is a gigantic eagle.  So much for the history.  In the modern world, Ethon
 is a very basic @code{libcurl} wrapper using ffi.")
     (home-page "https://github.com/typhoeus/ethon")
     (license license:expat)))
+
+(define-public ruby-typhoeus
+  (package
+    (name "ruby-typhoeus")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "typhoeus" version))
+       (sha256
+        (base32
+         "1m22yrkmbj81rzhlny81j427qdvz57yk5wbcf3km0nf3bl6qiygz"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f))                    ;there are none
+    (propagated-inputs `(("ruby-ethon" ,ruby-ethon)))
+    (synopsis
+     "Typhoeus wraps @code{libcurl} in order to make fast and reliable requests ")
+    (description
+     "Like a modern code version of the mythical beast with 100 serpent heads, Typhoeus
+runs HTTP requests in parallel while cleanly encapsulating handling logic.")
+    (home-page
+     "https://github.com/typhoeus/typhoeus")
+    (license license:expat)))
-- 
2.29.2





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

* [bug#45641] [PATCH 5/6] gnu: Add ruby-awesome-print.
  2021-01-04  0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
                     ` (2 preceding siblings ...)
  2021-01-04  0:32   ` [bug#45641] [PATCH 4/6] gnu: Add ruby-typhoeus Giacomo Leidi
@ 2021-01-04  0:32   ` Giacomo Leidi
  2021-01-04  0:32   ` [bug#45641] [PATCH 6/6] gnu: Add ruby-html-proofer Giacomo Leidi
  4 siblings, 0 replies; 8+ messages in thread
From: Giacomo Leidi @ 2021-01-04  0:32 UTC (permalink / raw)
  To: 45641; +Cc: Giacomo Leidi

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4999b95c04..9784e9cde9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11859,3 +11859,42 @@ runs HTTP requests in parallel while cleanly encapsulating handling logic.")
     (home-page
      "https://github.com/typhoeus/typhoeus")
     (license license:expat)))
+
+(define-public ruby-awesome-print
+  (package
+    (name "ruby-awesome-print")
+    (version "1.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "awesome_print" version))
+       (sha256
+        (base32
+         "14arh1ixfsd6j5md0agyzvksm5svfkvchb90fp32nn7y3avcmc2h"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             ;; Remove failing test.
+             (for-each delete-file
+                       '("spec/ext/nokogiri_spec.rb"
+                         "spec/colors_spec.rb"
+                         "spec/formats_spec.rb"
+                         "spec/methods_spec.rb"
+                         "spec/misc_spec.rb"
+                         "spec/objects_spec.rb"))
+             (invoke "rspec" "-c" "spec"))))))
+    (native-inputs
+     `(("ruby-nokogiri" ,ruby-nokogiri)
+       ("ruby-rspec" ,ruby-rspec)
+       ("ruby-simplecov" ,ruby-simplecov)))
+    (synopsis
+     "Pretty print Ruby objects to visualize their structure")
+    (description
+     "Great Ruby dubugging companion: pretty print Ruby objects to visualize
+their structure.  Supports custom object formatting via plugins")
+    (home-page
+     "https://github.com/awesome-print/awesome_print")
+    (license license:expat)))
-- 
2.29.2





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

* [bug#45641] [PATCH 6/6] gnu: Add ruby-html-proofer.
  2021-01-04  0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
                     ` (3 preceding siblings ...)
  2021-01-04  0:32   ` [bug#45641] [PATCH 5/6] gnu: Add ruby-awesome-print Giacomo Leidi
@ 2021-01-04  0:32   ` Giacomo Leidi
  4 siblings, 0 replies; 8+ messages in thread
From: Giacomo Leidi @ 2021-01-04  0:32 UTC (permalink / raw)
  To: 45641; +Cc: Giacomo Leidi

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9784e9cde9..b83d62a318 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11898,3 +11898,47 @@ their structure.  Supports custom object formatting via plugins")
     (home-page
      "https://github.com/awesome-print/awesome_print")
     (license license:expat)))
+
+(define-public ruby-html-proofer
+  (package
+    (name "ruby-html-proofer")
+    (version "3.18.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/gjtorikian/html-proofer")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1pxb0fajb3l3lm7sqj548qwl7vx6sx3jy7n4cns9d4lqx7s9r9xb"))))
+    (build-system ruby-build-system)
+    ;; FIXME: Tests depend on rubocop-standard.
+    (arguments
+     `(#:tests? #f))
+    (native-inputs
+     `(("ruby-awesome-print" ,ruby-awesome-print)
+       ("ruby-redcarpet" ,ruby-redcarpet)
+       ("ruby-rspec" ,ruby-rspec)
+       ("ruby-rubocop" ,ruby-rubocop)
+       ("ruby-rubocop-performance" ,ruby-rubocop-performance)
+       ("ruby-pry-byebug" ,ruby-pry-byebug)))
+    (propagated-inputs
+     `(("ruby-addressable" ,ruby-addressable)
+       ("ruby-mercenary" ,ruby-mercenary)
+       ("ruby-nokogumbo" ,ruby-nokogumbo)
+       ("ruby-parallel" ,ruby-parallel)
+       ("ruby-rainbow" ,ruby-rainbow)
+       ("ruby-typhoeus" ,ruby-typhoeus)
+       ("ruby-yell" ,ruby-yell)))
+    (synopsis
+     "Test your rendered HTML files to make sure they're accurate")
+    (description
+     "HTMLProofer is a set of tests to validate your HTML output.  These
+tests check if your image references are legitimate, if they have alt tags,
+if your internal links are working, and so on.  It's intended to be an
+all-in-one checker for your output.")
+    (home-page
+     "https://github.com/gjtorikian/html-proofer")
+    (license license:expat)))
-- 
2.29.2





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

* bug#45641: [PATCH] Add ruby-html-proofer and dependencies.
  2021-01-04  0:28 [bug#45641] [PATCH] Add ruby-html-proofer and dependencies paul
  2021-01-04  0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
@ 2021-02-05 21:00 ` Christopher Baines
  1 sibling, 0 replies; 8+ messages in thread
From: Christopher Baines @ 2021-02-05 21:00 UTC (permalink / raw)
  To: paul; +Cc: 45641-done

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]


paul <goodoldpaul@autistici.org> writes:

> I'm sending a patch series to add ruby-html-proofer and its dependencies.

Thanks, I've made a few tweaks and pushed these to master as
9539d6bd072ed618ab737242c7f94640da0130c2.

Most importantly, I moved most packages up off the bottom of the
file. If all new packages go at the bottom of files, this increases the
chance of Git conflicts, so it's better to avoid.

Thanks again,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

end of thread, other threads:[~2021-02-05 21:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-04  0:28 [bug#45641] [PATCH] Add ruby-html-proofer and dependencies paul
2021-01-04  0:32 ` [bug#45641] [PATCH 1/6] gnu: Add ruby-yell Giacomo Leidi
2021-01-04  0:32   ` [bug#45641] [PATCH 2/6] gnu: Add ruby-patron Giacomo Leidi
2021-01-04  0:32   ` [bug#45641] [PATCH 3/6] gnu: Add ruby-ethon Giacomo Leidi
2021-01-04  0:32   ` [bug#45641] [PATCH 4/6] gnu: Add ruby-typhoeus Giacomo Leidi
2021-01-04  0:32   ` [bug#45641] [PATCH 5/6] gnu: Add ruby-awesome-print Giacomo Leidi
2021-01-04  0:32   ` [bug#45641] [PATCH 6/6] gnu: Add ruby-html-proofer Giacomo Leidi
2021-02-05 21:00 ` bug#45641: [PATCH] Add ruby-html-proofer and dependencies Christopher Baines

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).