[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/17: gnu: ruby-html-proofer: Update to 5.0.3.
From: |
guix-commits |
Subject: |
15/17: gnu: ruby-html-proofer: Update to 5.0.3. |
Date: |
Sun, 8 Jan 2023 01:46:27 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit d163a379b9dbb57d1f249bf869cff9f535137687
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 6 15:38:06 2023 -0500
gnu: ruby-html-proofer: Update to 5.0.3.
* gnu/packages/ruby.scm (ruby-html-proofer): Update to 5.0.3.
[arguments]: Add replace-git-ls-files and relax-requirements phases.
[native-inputs]: Delete field.
[propagated-inputs]: Replace ruby-nokogumbo with ruby-nokogiri.
---
gnu/packages/ruby.scm | 37 +++++++++++++++++++++++++------------
1 file changed, 25 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 67eec5db4e..f52503f70e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11565,7 +11565,7 @@ characteristics.")
(define-public ruby-html-proofer
(package
(name "ruby-html-proofer")
- (version "3.18.5")
+ (version "5.0.3")
(source
(origin
(method git-fetch)
@@ -11575,22 +11575,35 @@ characteristics.")
(file-name (git-file-name name version))
(sha256
(base32
- "1pxb0fajb3l3lm7sqj548qwl7vx6sx3jy7n4cns9d4lqx7s9r9xb"))))
+ "01ksss3ikppc45z2q33bx8bb9785bqlp1rdqascaqg9mhs392adk"))))
(build-system ruby-build-system)
(arguments
- `(;; FIXME: Tests depend on rubocop-standard.
- #:tests? #f))
- (native-inputs
- (list ruby-awesome-print
- ruby-redcarpet
- ruby-rspec
- ruby-rubocop
- ruby-rubocop-performance
- ruby-pry-byebug))
+ (list
+ ;; Tests require vcr, which is under the Hippocratic license, which is
+ ;; not a free software license (see:
+ ;; https://www.gnu.org/licenses/license-list.html#hippocratic).
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'relax-requirements
+ (lambda _
+ (substitute* "html-proofer.gemspec"
+ (("required_ruby_version = \\[\">= 3.1\"")
+ "required_ruby_version = [\">= 2.6\""))))
+ (replace 'replace-git-ls-files
+ (lambda _
+ ;; The html-proofer.gemspec file contains 'all_files = %x(git
+ ;; ls-files -z).split("\x0")', but the original phase matches on
+ ;; `git ls-files -z`.
+ ;; TODO: Improve ruby-build-system patterns on core-updates.
+ (substitute* "html-proofer.gemspec"
+ (("git ls-files -z")
+ "find . -type f -not -regex '.*\\.gem$' -print0 \
+| sort -z | cut -zc3-")))))))
(propagated-inputs
(list ruby-addressable
ruby-mercenary
- ruby-nokogumbo
+ ruby-nokogiri
ruby-parallel
ruby-rainbow
ruby-typhoeus
- 06/17: gnu: ruby-pdf-core: Update to 0.9.0., (continued)
- 06/17: gnu: ruby-pdf-core: Update to 0.9.0., guix-commits, 2023/01/08
- 07/17: gnu: ruby-prawn: Update to 2.4.0., guix-commits, 2023/01/08
- 08/17: gnu: ruby-asciidoctor-pdf: Update to 2.3.4., guix-commits, 2023/01/08
- 13/17: gnu: ruby-nokogiri: Make it reproducible., guix-commits, 2023/01/08
- 03/17: gnu: Add ruby-prawn-dev., guix-commits, 2023/01/08
- 05/17: gnu: Add ruby-matrix., guix-commits, 2023/01/08
- 01/17: gnu: ruby-asciidoctor-multipage: Update to 0.0.16., guix-commits, 2023/01/08
- 09/17: gnu: ruby-prawn-icon: Update to 3.1.0., guix-commits, 2023/01/08
- 10/17: gnu: ruby-prawn-svg: Update to 0.32.0., guix-commits, 2023/01/08
- 11/17: gnu: ruby-ruby-prof: Update to 1.4.5., guix-commits, 2023/01/08
- 15/17: gnu: ruby-html-proofer: Update to 5.0.3.,
guix-commits <=
- 17/17: gnu: castget: Update to 2.0.0-0.da9727d., guix-commits, 2023/01/08
- 16/17: gnu: ruby-sanitize: Update to 6.0.0., guix-commits, 2023/01/08
- 12/17: gnu: ruby-nokogiri: Update to 1.13.10., guix-commits, 2023/01/08
- 14/17: gnu: ruby-nokogumbo: Deprecate in favor of ruby-nokogiri., guix-commits, 2023/01/08