[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
181/229: gnu: ruby-protobuf: Update to 3.10.3.
From: |
guix-commits |
Subject: |
181/229: gnu: ruby-protobuf: Update to 3.10.3. |
Date: |
Tue, 28 Mar 2023 22:29:20 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 9b0c794d2cd2969a0949fde6cc1011c44d54a79f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 15 11:09:23 2023 -0400
gnu: ruby-protobuf: Update to 3.10.3.
* gnu/packages/protobuf.scm (ruby-protobuf): Update to 3.10.3. Delete
trailing #t.
[arguments]: Use search-input-file in patch-protoc phase. Honor #:tests? in
check phase.
---
gnu/packages/protobuf.scm | 37 ++++++++++++++++++-------------------
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index a746b7de9c..82cf8f452d 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2018, 2019, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer
<maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
@@ -513,7 +513,7 @@ source files.")
(define-public ruby-protobuf
(package
(name "ruby-protobuf")
- (version "3.10.3")
+ (version "3.10.7")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -522,7 +522,7 @@ source files.")
(file-name (git-file-name name version))
(sha256
(base32
- "1yzz7jgpp6qip5d6qhzbkf5gqaydfk3z3c1ngccwzp6w6wa75g8a"))))
+ "12hp1clg83jfl35x1h2ymzpj5w83wrnqw7hjfc6mqa8lsvpw535r"))))
(build-system ruby-build-system)
(arguments
`(#:phases
@@ -530,8 +530,7 @@ source files.")
(add-after 'unpack 'do-not-use-bundler-for-tests
(lambda _
(substitute* "spec/spec_helper.rb"
- (("Bundler\\.setup.*") ""))
- #t))
+ (("Bundler\\.setup.*") ""))))
(add-after 'unpack 'relax-version-requirements
(lambda _
(substitute* ((@@ (guix build ruby-build-system) first-gemspec))
@@ -540,33 +539,30 @@ source files.")
(("\"rubocop\",.*")
"'rubocop'\n")
(("\"parser\",.*")
- "'parser'\n"))
- #t))
+ "'parser'\n"))))
(add-after 'unpack 'patch-protoc
(lambda* (#:key inputs #:allow-other-keys)
- (let ((protoc (assoc-ref inputs "protobuf")))
- (substitute* "lib/protobuf/tasks/compile.rake"
- (("\"protoc\"")
- (string-append "\"" protoc "/bin/protoc" "\"")))
- #t)))
+ (substitute* "lib/protobuf/tasks/compile.rake"
+ (("\"protoc\"")
+ (string-append "\"" (search-input-file inputs "bin/protoc")
+ "\"")))))
(add-after 'unpack 'skip-failing-test
;; See: https://github.com/ruby-protobuf/protobuf/issues/419
(lambda _
(substitute* "spec/lib/protobuf/rpc/connectors/ping_spec.rb"
(("expect\\(::IO\\)\\.to receive\\(:select\\).*" all)
- (string-append " pending\n" all)))
- #t))
+ (string-append " pending\n" all)))))
(add-after 'replace-git-ls-files 'replace-more-git-ls-files
(lambda _
(substitute* ((@@ (guix build ruby-build-system) first-gemspec))
(("`git ls-files -- \\{test,spec,features\\}/*`")
"`find test spec features -type f | sort`")
(("`git ls-files -- bin/*`")
- "`find bin -type f | sort`"))
- #t))
+ "`find bin -type f | sort`"))))
(replace 'check
- (lambda _
- (invoke "rspec"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec")))))))
(native-inputs
(list ruby-benchmark-ips
ruby-ffi-rzmq
@@ -584,7 +580,10 @@ source files.")
(inputs
(list protobuf))
(propagated-inputs
- (list ruby-activesupport ruby-middleware ruby-thor ruby-thread-safe))
+ (list ruby-activesupport
+ ruby-middleware
+ ruby-thor
+ ruby-thread-safe))
(home-page "https://github.com/ruby-protobuf/protobuf")
(synopsis "Implementation of Google's Protocol Buffers in Ruby")
(description "Protobuf is an implementation of Google's Protocol Buffers
- 198/229: gnu: Add ruby-rspec-stubbed-env., (continued)
- 198/229: gnu: Add ruby-rspec-stubbed-env., guix-commits, 2023/03/28
- 204/229: gnu: ruby-hashie: Update to 5.0.0 and enable tests., guix-commits, 2023/03/28
- 208/229: gnu: ruby-omniauth-oauth2: Update to 1.8.0., guix-commits, 2023/03/28
- 217/229: gnu: Add ruby-truthy., guix-commits, 2023/03/28
- 218/229: gnu: ruby-coveralls: Propagate ruby-simplecov and enable tests., guix-commits, 2023/03/28
- 224/229: Revert "lint: Append "/info/refs" to git-reference-url.", guix-commits, 2023/03/28
- 227/229: services: fstrim: Fix schedule ungexp., guix-commits, 2023/03/28
- 228/229: gnu: geeqie: Update to 2.0.1., guix-commits, 2023/03/28
- 210/229: gnu: ruby-single-cov: Update to 1.9.1., guix-commits, 2023/03/28
- 168/229: gnu: Add ruby-turbo-rails., guix-commits, 2023/03/28
- 181/229: gnu: ruby-protobuf: Update to 3.10.3.,
guix-commits <=
- 185/229: gnu: ruby-web-console: Update to 4.2.0., guix-commits, 2023/03/28
- 186/229: gnu: Add ruby-minitest-profile., guix-commits, 2023/03/28
- 197/229: gnu: jekyll: Update to 4.3.2 and enable tests., guix-commits, 2023/03/28
- 199/229: gnu: Add ruby-silent-stream., guix-commits, 2023/03/28
- 202/229: gnu: Add ruby-rspec-block-is-expected., guix-commits, 2023/03/28
- 212/229: gnu: Add ruby-sassc-rails., guix-commits, 2023/03/28
- 216/229: gnu: ruby-autoprefixer-rails: Update to 10.4.13.0., guix-commits, 2023/03/28
- 225/229: gnu: ruby-mustermann: Update to 3.0.0., guix-commits, 2023/03/28
- 139/229: gnu: Add ruby-websocket-native., guix-commits, 2023/03/28
- 161/229: gnu: Add ruby-bootsnap., guix-commits, 2023/03/28