[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 041/223] gnu: ruby-cucumber-messages: Update to 21.0.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 041/223] gnu: ruby-cucumber-messages: Update to 21.0.1. |
Date: |
Mon, 20 Mar 2023 13:13:33 -0400 |
* 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 d328fe67b3..df88c6c083 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7992,40 +7992,30 @@ (define ruby-cucumber-compatibility-kit-bootstrap
(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
--
2.39.1
- [bug#62196] [PATCH 042/223] gnu: Remove ruby-protobuf-cucumber., (continued)
- [bug#62196] [PATCH 042/223] gnu: Remove ruby-protobuf-cucumber., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 082/223] gnu: ruby-sinatra: Update to 3.0.5., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 076/223] gnu: ruby-rack: Update home page URL., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 092/223] gnu: Add ruby-concurrent-ruby-ext., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 086/223] gnu: Add ruby-prettier-print., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 093/223] gnu: Add ruby-concurrent-ruby-edge., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 091/223] gnu: ruby-concurrent: Replace with ruby-concurrent-ruby., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 098/223] gnu: ruby-faraday: Update to 2.7.4 and enable test suite., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 034/223] gnu: Add ruby-dotenv., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 038/223] gnu: ruby-minitest-5.14: Update to 5.15.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 041/223] gnu: ruby-cucumber-messages: Update to 21.0.1.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 027/223] gnu: ruby-rubocop: Update to 1.48.1, Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 043/223] gnu: ruby-cucumber-tag-expressions: Update to 5.0.1, fixing build., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 044/223] gnu: ruby-cucumber-core: Update to 11.1.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 073/223] gnu: ruby-puma: Build with SSL support., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 080/223] gnu: ruby-rack-test: Update home page., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 081/223] gnu: ruby-rack-test: Honor #:tests? argument., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 084/223] gnu: Add ruby-rackup., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 085/223] gnu: Add ruby-vcr-expat., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 094/223] gnu: Add ruby-sorbet-runtime., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 089/223] gnu: Add ruby-rake-compiler-dock., Maxim Cournoyer, 2023/03/20