unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 65131@debbugs.gnu.org
Subject: [bug#65131] [PATCH 22/32] gnu: ruby-childprocess: Update to 4.1.0.
Date: Mon,  7 Aug 2023 20:26:26 +0200	[thread overview]
Message-ID: <51672e41e8c43a2a2bb25faf80fff57ff9395f52.1691432343.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <cover.1691432343.git.h.goebel@crazy-compilers.com>

This change include code for making more tests pass.  Anyhow, one is still
failing for unclear reason, thus tests are still disabled.

* gnu/packages/ruby.scm (ruby-childprocess): Update to 4.1.0.
[arguments]{test-target}: New argument. {phases}: New argument
[propagated-inputs]: Remove ruby-ffi.
[native-inputs]: Remove bundler; add ruby-coveralls.
---
 gnu/packages/ruby.scm | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0ee9d447a1..5204f42895 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13093,21 +13093,26 @@ almost perfectly compatible with ruby 1.9's.")
 (define-public ruby-childprocess
   (package
     (name "ruby-childprocess")
-    (version "3.0.0")
+    (version "4.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "childprocess" version))
        (sha256
         (base32
-         "1ic028k8xgm2dds9mqnvwwx3ibaz32j8455zxr9f4bcnviyahya5"))))
+         "1lvcp8bsd35g57f7wz4jigcw2sryzzwrpcgjwwf3chmjrjcww5in"))))
     (build-system ruby-build-system)
     (arguments
-     `(#:tests? #f))
+     `(#:tests? #f  ;; one failing test, even with fixes below
+       #:test-target "spec"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda _
+             (substitute* "spec/spec_helper.rb"
+               (("#!/bin/sh\\\\n") (string-append "#!" (which "sh") "\\n"))))))))
     (native-inputs
-     (list bundler ruby-rspec))
-    (propagated-inputs
-     (list ruby-ffi))
+     (list ruby-coveralls ruby-rspec))
     (synopsis "Control external programs running in the background, in Ruby")
     (description "@code{childprocess} provides a gem to control external
 programs running in the background, in Ruby.")
-- 
2.30.9





  parent reply	other threads:[~2023-08-07 18:28 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-07 18:24 [bug#65131] [PATCH 00/32] Add vagrant, some vagrant plugins and required ruby modules Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 01/32] gnu: Add ruby-excon Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 02/32] gnu: Add ruby-ipaddr Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 03/32] gnu: Add ruby-net-ftp Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 04/32] gnu: Add ruby-fake-ftp Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 05/32] gnu: Add ruby-net-sftp Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 06/32] gnu: Add ruby-net-telnet Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 07/32] gnu: Add ruby-pairing-heap Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 08/32] gnu: Add ruby-stringio Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 09/32] gnu: Add ruby-stream Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 10/32] gnu: Add ruby-rgl Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 11/32] gnu: Add ruby-sfl Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 12/32] gnu: Add ruby-specinfra Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 13/32] gnu: Add ruby-serverspec Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 14/32] gnu: Add ruby-time Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 15/32] gnu: Add ruby-google-protobuf Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 16/32] gnu: Add ruby-googleapis-common-protos-types Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 17/32] gnu: Add ruby-grpc Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 18/32] gnu: Add ruby-vagrant-cloud Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 19/32] gnu: Add ruby-vagrant-spec Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 20/32] gnu: Add ruby-vagrant-spec-helper-basic Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 21/32] gnu: Add ruby-hashicorp-checkpoint Hartmut Goebel
2023-08-07 18:26 ` Hartmut Goebel [this message]
2023-08-07 18:26 ` [bug#65131] [PATCH 23/32] gnu: Add vagrant Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 24/32] gnu: Add vagrant-vai Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 25/32] gnu: Add vagrant-cachier Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 26/32] gnu: Add vagrant-reload Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 27/32] gnu: Add ruby-libvirt Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 28/32] gnu: Add ruby-fog-core Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 29/32] gnu: Add ruby-fog-json Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 30/32] gnu: Add ruby-fog-xml Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 31/32] gnu: Add ruby-fog-libvirt Hartmut Goebel
2023-08-07 18:26 ` [bug#65131] [PATCH 32/32] gnu: Add vagrant-libvirt Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51672e41e8c43a2a2bb25faf80fff57ff9395f52.1691432343.git.h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=65131@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).