[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/229: gnu: ruby-cucumber-messages: Update to 21.0.1.
From: |
guix-commits |
Subject: |
41/229: gnu: ruby-cucumber-messages: Update to 21.0.1. |
Date: |
Tue, 28 Mar 2023 22:28:59 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 860fc8b895a64278547053ad08c56110f59cec3c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Mar 6 15:12:27 2023 -0500
gnu: ruby-cucumber-messages: Update to 21.0.1.
* gnu/packages/ruby.scm (ruby-cucumber-messages): Update to 21.0.1.
[source]: Adjust to upstream URI change and use url-fetch.
[phases]: Delete patch-protobuf.rb and compile phases. Move check phase
after
install phase, and augment GEM_PATH in check phase.
[propagated-inputs]: Delete field.
[native-inputs]: Add ruby-cucumber-compatibility-kit-bootstrap.
[home-page]: Update URL.
---
gnu/packages/ruby.scm | 48 +++++++++++++++++++-----------------------------
1 file changed, 19 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d6bd371bfb..de9583aa6b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7992,40 +7992,30 @@ Cucumber implementation's support for the Cucumber
Messages protocol.")
(define-public ruby-cucumber-messages
(package
(name "ruby-cucumber-messages")
- (version "12.2.0")
+ (version "21.0.1")
(source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/cucumber/messages-ruby")
- (commit "12cd07eac87bce7843fd1bb0bf64bc4da09f097c")))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (rubygems-uri "cucumber-messages" version))
(sha256
(base32
- "16wwqfpsq7crvxc3q08lphgyh12cl2d83p1c79p312q4jmy9cn5a"))))
+ "0482a63y7my0arn2bv208g401dq8525f0gwhnwaa11mhv6ph0q5i"))))
(build-system ruby-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (add-after 'unpack 'patch-protobuf.rb
- (lambda _
- (substitute* "rake/protobuf.rb"
- (("load 'protobuf/tasks/compile.rake'")
- "require 'protobuf/tasks'"))
- #t))
- (add-before 'build 'compile
- (lambda _
- (substitute* "Makefile"
- (("bundle exec ") "")
- (("include default.mk.*" all)
- (string-append "#" all)))
- (invoke "make")))
- (replace 'check
- (lambda _
- (invoke "rspec"))))))
- (propagated-inputs
- `(("ruby-protobuf" ,ruby-protobuf-cucumber)))
- (native-inputs
- (list ruby-rspec))
- (home-page "https://github.com/cucumber/messages-ruby")
+ (list #:phases
+ #~(modify-phases %standard-phases
+ ;; The test suite requires the gem to be installed, so move it
+ ;; after the install phase.
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (setenv "GEM_PATH" (string-append
+ (getenv "GEM_PATH") ":"
+ #$output "/lib/ruby/vendor_ruby"))
+ (when tests?
+ (invoke "rspec")))))))
+ (native-inputs
+ (list ruby-cucumber-compatibility-kit-bootstrap ruby-rspec))
+ (home-page "https://github.com/cucumber/messages/")
(synopsis "Cucumber Messages for Ruby (Protocol Buffers)")
(description "Cucumber Messages for Ruby is a library which allows
serialization and deserialization of the protocol buffer messages used in
- 52/229: gnu: ruby-cucumber: Update to 8.0.0., (continued)
- 52/229: gnu: ruby-cucumber: Update to 8.0.0., guix-commits, 2023/03/28
- 59/229: gnu: ruby-activemodel: Update to 7.0.4.3 and enable tests., guix-commits, 2023/03/28
- 63/229: gnu: Add ruby-delayed-job., guix-commits, 2023/03/28
- 53/229: gnu: Remove ruby-cucumber-create-meta., guix-commits, 2023/03/28
- 54/229: gnu: Add ruby-rake-manifest., guix-commits, 2023/03/28
- 57/229: gnu: ruby-railties: Update to 7.0.4.3., guix-commits, 2023/03/28
- 61/229: gnu: Add ruby-simplecov-lcov., guix-commits, 2023/03/28
- 68/229: gnu: Add ruby-xpath., guix-commits, 2023/03/28
- 72/229: gnu: Add ruby-selenium-webdriver., guix-commits, 2023/03/28
- 76/229: gnu: ruby-rack: Update home page URL., guix-commits, 2023/03/28
- 41/229: gnu: ruby-cucumber-messages: Update to 21.0.1.,
guix-commits <=
- 34/229: gnu: Add ruby-dotenv., guix-commits, 2023/03/28
- 47/229: gnu: ruby-cucumber-html-formatter: Honor #:tests? argument., guix-commits, 2023/03/28
- 14/229: gnu: ruby-rspec-core: Update to 3.12.1., guix-commits, 2023/03/28
- 29/229: gnu: Add ruby-minitest-power-assert., guix-commits, 2023/03/28
- 38/229: gnu: ruby-minitest-5.14: Update to 5.15.0., guix-commits, 2023/03/28
- 40/229: gnu: Add ruby-cucumber-compatibility-kit., guix-commits, 2023/03/28
- 45/229: gnu: ruby-cucumber-wire: Update to 6.2.1., guix-commits, 2023/03/28
- 50/229: gnu: ruby-gherkin: Update to 26.1.0, fixing build., guix-commits, 2023/03/28
- 55/229: gnu: ruby-aruba: Update to 2.1.0., guix-commits, 2023/03/28
- 62/229: gnu: ruby-actionview: Update to 7.0.4.3., guix-commits, 2023/03/28