GNU bug report logs - #78826
[PATCH ruby-team 00/88] Switch to ruby@3.3 and build -P1 ruby@3.3

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Wed, 18 Jun 2025 14:22:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


Message #134 received at 78826 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78826 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 54/88] gnu: ruby-bibtex-ruby: Update to 6.1.0.
Date: Wed, 18 Jun 2025 16:27:41 +0200
* gnu/packages/ruby-xyz.scm (ruby-bibtex-ruby): Update to 6.1.0.
  [propagated-inputs]: Add ruby-racc.
  [arguments]{phases}: Refresh and rename phase 'avoid-bundler to
  'sanitize-dependencies.
---
 gnu/packages/ruby-xyz.scm | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index e56935c03e..09bbab4835 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -16263,27 +16263,34 @@ (define-public ruby-rdiscount
 (define-public ruby-bibtex-ruby
   (package
     (name "ruby-bibtex-ruby")
-    (version "6.0.0")
+    (version "6.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "bibtex-ruby" version))
        (sha256
-        (base32 "0vynqa8q9hwghw6sdljr304b5gh11nqzy5nwqqwxmgy7pqyf7qw5"))))
+        (base32 "1ggx2j1gi46f1a6p45l1abk3nryfg1pj0cdlyrnilnqqpr1cfc96"))))
     (build-system ruby-build-system)
-    (propagated-inputs (list ruby-latex-decode ruby-rdf ruby-rdf-vocab))
+    (propagated-inputs (list ruby-latex-decode ruby-racc ruby-rdf
+                             ruby-rdf-vocab))
     (native-inputs (list ruby-cucumber ruby-minitest ruby-yard))
     (arguments
      (list
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'extract-gemspec 'avoid-bundler
-            (lambda args
+          (add-after 'extract-gemspec 'sanitize-dependencies
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* "Gemfile"
+                ((".*(gnuplot|ruby-prof|simplecov|iconv|redcarpet|unicode).*")
+                 ""))
               (substitute* "Rakefile"
                 (("require 'bundler" orig)
                  (string-append "# " orig " # patched for Guix"))
                 (("Bundler\\.setup" orig)
-                 (string-append "true # " orig " # patched for Guix"))))))))
+                 (string-append "true # " orig " # patched for Guix"))
+                (("bundle exec racc")
+                 (string-append "bundle exec "
+                                (search-input-file inputs "/bin/racc")))))))))
     (home-page "https://github.com/inukshuk/bibtex-ruby")
     (synopsis "Rubyist's Swiss Army knife for all things BibTeX")
     (description
-- 
2.49.0





This bug report was last modified 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.