* [bug#37017] [PATCH] Add and update Ruby packages.
@ 2019-08-13 6:39 Brian Leung
2019-08-13 21:53 ` Brian Leung
0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2019-08-13 6:39 UTC (permalink / raw)
To: 37017
[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]
See attached.
[-- Attachment #1.2: Type: text/html, Size: 39 bytes --]
[-- Attachment #2: 0001-gnu-Add-ruby-htmlentities.patch --]
[-- Type: text/x-patch, Size: 1615 bytes --]
From 4f3cea946612ce06abe6daaefa0fa950762bbcac Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Tue, 13 Aug 2019 06:44:20 +0200
Subject: [PATCH 1/3] gnu: Add ruby-htmlentities.
* gnu/packages/ruby.scm (ruby-htmlentities): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1b70f842ae..8044c62b69 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8570,6 +8570,34 @@ characteristics.")
(home-page "https://github.com/sinatra/mustermann")
(license license:expat)))
+(define-public ruby-htmlentities
+ (package
+ (name "ruby-htmlentities")
+ (version "4.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "htmlentities" version))
+ (sha256
+ (base32
+ "1nkklqsn8ir8wizzlakncfv42i32wc0w9hxp00hvdlgjr7376nhj"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (map (lambda (file)
+ (invoke "ruby" "-Itest" file))
+ (find-files "./test" ".*_test\\.rb")))))))
+ (synopsis
+ "A module for encoding and decoding (X)HTML entities.")
+ (description
+ "This package provides a module for encoding and decoding (X)HTML entities.")
+ (home-page
+ "https://github.com/threedaymonk/htmlentities")
+ (license license:expat)))
+
(define-public ruby-sinatra
(package
(name "ruby-sinatra")
--
2.22.0
[-- Attachment #3: 0002-gnu-ruby-simplecov-Update-to-0.17.0.patch --]
[-- Type: text/x-patch, Size: 1201 bytes --]
From 17a376a8a2365f7ca44358138dae036a49af7d05 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Tue, 13 Aug 2019 08:04:19 +0200
Subject: [PATCH 2/3] gnu: ruby-simplecov: Update to 0.17.0.
* gnu/packages/ruby.scm (ruby-simplecov): Update to 0.17.0.
---
gnu/packages/ruby.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8044c62b69..41bbc7d1bc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2034,13 +2034,13 @@ the SimpleCov code coverage tool for Ruby version 1.9 and above.")
(define-public ruby-simplecov
(package
(name "ruby-simplecov")
- (version "0.12.0")
+ (version "0.17.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "simplecov" version))
(sha256
(base32
- "0ffhyrfnq2zm2mc1742a4hqy475g3qa1zf6yfldwg1ldh5sn3qbx"))))
+ "0dq0nkaxvbsnl70hkimy35g4yjfs3blx4s7nbpzbvgqx72hxgv5v"))))
(build-system ruby-build-system)
;; Simplecov depends on rubocop for code style checking at build time.
;; Rubocop needs simplecov at build time.
--
2.22.0
[-- Attachment #4: 0003-gnu-ruby-nokogiri-Update-to-1.10.4.patch --]
[-- Type: text/x-patch, Size: 1135 bytes --]
From 2b9b07c1f551b8d2e116da37e90febe6fe04c91e Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Tue, 13 Aug 2019 08:14:16 +0200
Subject: [PATCH 3/3] gnu: ruby-nokogiri: Update to 1.10.4.
* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.10.4.
---
gnu/packages/ruby.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 41bbc7d1bc..b4f58c9110 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3648,13 +3648,13 @@ to reproduce user environments.")
(define-public ruby-nokogiri
(package
(name "ruby-nokogiri")
- (version "1.8.0")
+ (version "1.10.4")
(source (origin
(method url-fetch)
(uri (rubygems-uri "nokogiri" version))
(sha256
(base32
- "1nffsyx1xjg6v5n9rrbi8y1arrcx2i5f21cp6clgh9iwiqkr7rnn"))))
+ "0nmdrqqz1gs0fwkgzxjl4wr554gr8dc1fkrqjc2jpsvwgm41rygv"))))
(build-system ruby-build-system)
(arguments
;; Tests fail because Nokogiri can only test with an installed extension,
--
2.22.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#37017] [PATCH] Add and update Ruby packages.
2019-08-13 6:39 [bug#37017] [PATCH] Add and update Ruby packages Brian Leung
@ 2019-08-13 21:53 ` Brian Leung
2019-08-23 21:33 ` bug#37017: " Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2019-08-13 21:53 UTC (permalink / raw)
To: 37017
[-- Attachment #1.1: Type: text/plain, Size: 395 bytes --]
It turns out that one of those recipes needed something else to be updated
first, so I've redone all the commits from before.
I've also added ruby-solargraph, a LSP-compliant server for Ruby, but I'm
not very experienced with Ruby, so I can't quite figure out how to make the
test suite work on Guix.
On Tue, Aug 13, 2019 at 8:39 AM Brian Leung <bkleung89@gmail.com> wrote:
> See attached.
>
[-- Attachment #1.2: Type: text/html, Size: 767 bytes --]
[-- Attachment #2: 0001-gnu-ruby-mini-portile-2-Update-to-2.4.0.patch --]
[-- Type: application/x-patch, Size: 1071 bytes --]
[-- Attachment #3: 0002-gnu-ruby-simplecov-Update-to-0.17.0.patch --]
[-- Type: application/x-patch, Size: 1201 bytes --]
[-- Attachment #4: 0005-gnu-Add-ruby-htmlentities.patch --]
[-- Type: application/x-patch, Size: 1615 bytes --]
[-- Attachment #5: 0003-gnu-ruby-nokogiri-Update-to-1.10.4.patch --]
[-- Type: application/x-patch, Size: 1135 bytes --]
[-- Attachment #6: 0004-gnu-Add-ruby-reverse-markdown.patch --]
[-- Type: application/x-patch, Size: 1888 bytes --]
[-- Attachment #7: 0006-gnu-Add-ruby-solargraph.patch --]
[-- Type: application/x-patch, Size: 2520 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#37017: [PATCH] Add and update Ruby packages.
2019-08-13 21:53 ` Brian Leung
@ 2019-08-23 21:33 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-08-23 21:33 UTC (permalink / raw)
To: Brian Leung; +Cc: 37017-done
Hi Brian,
Brian Leung <bkleung89@gmail.com> skribis:
> It turns out that one of those recipes needed something else to be updated
> first, so I've redone all the commits from before.
>
> I've also added ruby-solargraph, a LSP-compliant server for Ruby, but I'm
> not very experienced with Ruby, so I can't quite figure out how to make the
> test suite work on Guix.
Applied all the patches with minor changes to address lint warnings.
Thanks!
Ludo’.
PS: The MIME type should be “text/x-patch”, not “application/x-patch”. :-)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-23 21:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 6:39 [bug#37017] [PATCH] Add and update Ruby packages Brian Leung
2019-08-13 21:53 ` Brian Leung
2019-08-23 21:33 ` bug#37017: " Ludovic Courtès
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).