me
/
guix
Archived
1
0
Fork 0

gnu: ruby-maxitest: Update to 4.4.1.

* gnu/packages/ruby.scm (ruby-maxitest): Update to 4.4.1.
[arguments]: Delete trailing #t.
[native-inputs]: Delete labels.
master
Maxim Cournoyer 2023-01-08 23:30:17 -05:00
parent 03be7a3612
commit 45c9d6937d
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 10 additions and 13 deletions

View File

@ -4416,7 +4416,7 @@ Ruby, but can be used for all programs.")
(define-public ruby-maxitest (define-public ruby-maxitest
(package (package
(name "ruby-maxitest") (name "ruby-maxitest")
(version "3.6.0") (version "4.4.1")
(home-page "https://github.com/grosser/maxitest") (home-page "https://github.com/grosser/maxitest")
(source (origin (source (origin
;; Pull from git because the gem does not contain tests. ;; Pull from git because the gem does not contain tests.
@ -4427,7 +4427,7 @@ Ruby, but can be used for all programs.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"07b3j0bv3dx5j42jlvpvl07aaxplyi6wq688y3jl8y528ww2hjz8")))) "0l646lgrgsfgg9qh05b8a3jd43kgrmr6xzbdvyspmdlhchk1qszg"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
'(#:test-target "default" '(#:test-target "default"
@ -4436,27 +4436,24 @@ Ruby, but can be used for all programs.")
(lambda _ (lambda _
(substitute* "maxitest.gemspec" (substitute* "maxitest.gemspec"
(("`git ls-files lib/ bin/ MIT-LICENSE Readme.md`") (("`git ls-files lib/ bin/ MIT-LICENSE Readme.md`")
"`find lib/ bin/ MIT-LICENSE Readme.md -type f | sort`")) "`find lib/ bin/ MIT-LICENSE Readme.md -type f | sort`"))))
#t))
(add-before 'check 'remove-version-constraints (add-before 'check 'remove-version-constraints
(lambda _ (lambda _
;; Don't use specific versions of dependencies, instead ;; Don't use specific versions of dependencies, instead
;; take whatever is available in Guix. ;; take whatever is available in Guix.
(delete-file "Gemfile.lock") (delete-file "Gemfile.lock")))
#t))
(add-before 'check 'add-mtest-on-PATH (add-before 'check 'add-mtest-on-PATH
(lambda _ (lambda _
;; Tests use 'mtest' which is not automatically added on ;; Tests use 'mtest' which is not automatically added on
;; PATH. ;; PATH.
(setenv "PATH" (string-append (getcwd) "/bin:" (setenv "PATH" (string-append (getcwd) "/bin:"
(getenv "PATH"))) (getenv "PATH"))))))))
#t)))))
(native-inputs (native-inputs
`(("ps" ,procps) (list procps
("ruby-bump" ,ruby-bump) ruby-bump
("ruby-byebug" ,ruby-byebug) ruby-byebug
("ruby-rspec" ,ruby-rspec) ruby-rspec
("ruby-wwtd" ,ruby-wwtd))) ruby-wwtd))
(propagated-inputs (propagated-inputs
(list ruby-minitest)) (list ruby-minitest))
(synopsis "Minitest with extra features") (synopsis "Minitest with extra features")