gnu: ruby-maxitest: Update to 5.1.0.

* gnu/packages/ruby.scm (ruby-maxitest): Update to 5.1.0.
[arguments]: Update style.
[native-inputs]: Remove ruby-byebug.
This commit is contained in:
Christopher Baines 2023-06-28 08:54:42 +01:00
parent ea9a1e0289
commit 256e18af34
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -5186,7 +5186,7 @@ (define-public ruby-rerun
(define-public ruby-maxitest
(package
(name "ruby-maxitest")
(version "4.4.1")
(version "5.1.0")
(home-page "https://github.com/grosser/maxitest")
(source (origin
;; Pull from git because the gem does not contain tests.
@ -5197,31 +5197,32 @@ (define-public ruby-maxitest
(file-name (git-file-name name version))
(sha256
(base32
"0l646lgrgsfgg9qh05b8a3jd43kgrmr6xzbdvyspmdlhchk1qszg"))))
"0qj410krfm497ggmf71xpnabbb6814y0585by4nlzyjvg9hpgg3m"))))
(build-system ruby-build-system)
(arguments
'(#:test-target "default"
#:phases (modify-phases %standard-phases
(replace 'replace-git-ls-files
(lambda _
(substitute* "maxitest.gemspec"
(("`git ls-files lib/ bin/ MIT-LICENSE Readme.md`")
"`find lib/ bin/ MIT-LICENSE Readme.md -type f | sort`"))))
(add-before 'check 'remove-version-constraints
(lambda _
;; Don't use specific versions of dependencies, instead
;; take whatever is available in Guix.
(delete-file "Gemfile.lock")))
(add-before 'check 'add-mtest-on-PATH
(lambda _
;; Tests use 'mtest' which is not automatically added on
;; PATH.
(setenv "PATH" (string-append (getcwd) "/bin:"
(getenv "PATH"))))))))
(list
#:test-target "default"
#:phases
#~(modify-phases %standard-phases
(replace 'replace-git-ls-files
(lambda _
(substitute* "maxitest.gemspec"
(("`git ls-files lib/ bin/ MIT-LICENSE Readme.md`")
"`find lib/ bin/ MIT-LICENSE Readme.md -type f | sort`"))))
(add-before 'check 'remove-version-constraints
(lambda _
;; Don't use specific versions of dependencies, instead
;; take whatever is available in Guix.
(delete-file "Gemfile.lock")))
(add-before 'check 'add-mtest-on-PATH
(lambda _
;; Tests use 'mtest' which is not automatically added on
;; PATH.
(setenv "PATH" (string-append (getcwd) "/bin:"
(getenv "PATH"))))))))
(native-inputs
(list procps
ruby-bump
ruby-byebug
ruby-rspec
ruby-wwtd))
(propagated-inputs