gnu: ruby-m: Update to 1.6.2.

* gnu/packages/ruby-xyz.scm (ruby-m): Update to 1.6.2.
  [arguments]{phases}: Adapt phase 'sanitize-dependencies accordingly.
This commit is contained in:
Nicolas Graves 2025-06-18 16:26:56 +02:00 committed by Andreas Enge
parent 15c88b6717
commit bc5a550ac5
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -13393,7 +13393,7 @@ own right, and also constitutes a row or column of a @code{Matrix}.")
(define-public ruby-m (define-public ruby-m
(package (package
(name "ruby-m") (name "ruby-m")
(version "1.6.1") (version "1.6.2")
(source (origin (source (origin
(method git-fetch) ;for tests (method git-fetch) ;for tests
(uri (git-reference (uri (git-reference
@ -13402,7 +13402,7 @@ own right, and also constitutes a row or column of a @code{Matrix}.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1aycfc8l1bsln1y300fv75fknn4amjcvc4rm2kd8hb6cqivjq5rg")))) "0za9jsq341xyqjaswx2wrd4x42w9a2xygarh9spsvsxaxf5b1sz3"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
(list (list
@ -13411,24 +13411,13 @@ own right, and also constitutes a row or column of a @code{Matrix}.")
(add-after 'unpack 'sanitize-dependencies (add-after 'unpack 'sanitize-dependencies
(lambda _ (lambda _
(delete-file "Gemfile") (delete-file "Gemfile")
(delete-file "Gemfile.lock")
;; Rocco is unmaintained as of 2023/01/08; avoid depending on
;; it.
(substitute* "m.gemspec" (substitute* "m.gemspec"
;; The rdiscount and rocco dependencies are used for
;; generating the documentation.
((".*rdiscount.*") "")
((".*rocco.*") "")
((".*appraisal.*") "")
((".*coveralls.*") "")) ((".*coveralls.*") ""))
(substitute* "Rakefile" (substitute* "Rakefile"
;; ruby-appraisal is not packaged, and is used to test against ((".*require \"coveralls\".*") "")
;; various dependencies; circumvent its use. ((".*require \"standard/rake\".*") "")
((".*require 'appraisal'.*") "") (("Coveralls.push!") "")
((".*require 'coveralls'.*") "") (("\"standard:fix\"") ""))))
(("appraisal [:graphic:]+ rake")
"rake")
(("Coveralls.push!") ""))))
(add-before 'replace-git-ls-files 'pre-replace-git-ls-files (add-before 'replace-git-ls-files 'pre-replace-git-ls-files
(lambda _ (lambda _
(substitute* "m.gemspec" (substitute* "m.gemspec"