This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b8735c7479 gnu: ruby-redcarpet: Update to 3.6.1.
b8735c7479 is described below

commit b8735c74790187eba292c05e6c6a3c1eeb2f6cd0
Author: gemmaro <[email protected]>
AuthorDate: Mon Jun 22 09:28:42 2026 +0900

    gnu: ruby-redcarpet: Update to 3.6.1.
    
    * gnu/packages/ruby-xyz.scm (ruby-redcarpet): Update to 3.6.1.
    [source]: Use Git repository for tests, not only conformance tests but also
    unit tests.
    [arguments]<#:phases>{disable-conformance-tests}: Remove the phase.
    Actually, it didn't run unit tests either.
    [native-inputs]: Remove Bundler.  Add Perl and Tidy.
    
    Suggested-by: Carlo Zancanaro <[email protected]>
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/ruby-xyz.scm | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index fd50376ad8..6a2e3a5fd8 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -5256,25 +5256,19 @@ definitions on a Ruby object.")
 (define-public ruby-redcarpet
   (package
     (name "ruby-redcarpet")
-    (version "3.5.0")
+    (version "3.6.1")
     (source (origin
-              (method url-fetch)
-              (uri (rubygems-uri "redcarpet" version))
+              (method git-fetch) ;for tests
+              (uri (git-reference
+                     (url "https://github.com/vmg/redcarpet";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0skcyx1h8b5ms0rp2zm3ql6g322b8c1adnkwkqyv7z3kypb4bm7k"))))
+                "0xb0lqpyrkhb078cwqng67szfa31vlhxsazz3nym0na6dgdj5s3r"))))
     (build-system ruby-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; The gem archive does not include the conformance tests.
-         (add-after 'unpack 'disable-conformance-tests
-          (lambda _
-            (substitute* "Rakefile"
-              (("task :test => %w\\[test:unit test:conformance\\]")
-               "task :test => %w[test:unit]")))))))
     (native-inputs
-     (list bundler ruby-test-unit ruby-rake-compiler))
+     (list ruby-test-unit ruby-rake-compiler perl tidy-html))
     (synopsis "Extensible Markdown to (X)HTML converter")
     (description
      "Redcarpet is an extensible Ruby library for Markdown processing and

Reply via email to