From patchwork Thu Feb 8 09:35:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 59952 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3ABA527BBEA; Thu, 8 Feb 2024 09:38:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D7B2027BBE2 for ; Thu, 8 Feb 2024 09:38:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY0q7-0004pj-BI; Thu, 08 Feb 2024 04:37:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rY0q4-0004lV-EW for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rY0q4-000203-6X for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rY0qI-0006N0-EB for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68990] [PATCH 23/28] gnu: ruby-childprocess: Update to 4.1.0. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 09:37:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68990 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68990@debbugs.gnu.org Received: via spool by 68990-submit@debbugs.gnu.org id=B68990.170738502724341 (code B ref 68990); Thu, 08 Feb 2024 09:37:14 +0000 Received: (at 68990) by debbugs.gnu.org; 8 Feb 2024 09:37:07 +0000 Received: from localhost ([127.0.0.1]:59109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0qA-0006KQ-LC for submit@debbugs.gnu.org; Thu, 08 Feb 2024 04:37:07 -0500 Received: from mail01.noris.net ([62.128.1.221]:58941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0q8-0006Jb-Fo for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 04:37:04 -0500 Received: from p57b09e9c.dip0.t-ipconnect.de ([87.176.158.156] helo=hermia.goebel-consult.de) by mail01.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rY0pt-00036K-Jv for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 10:36:49 +0100 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 5A7A85F52F; Thu, 8 Feb 2024 10:36:01 +0100 (CET) From: Hartmut Goebel Date: Thu, 8 Feb 2024 10:35:53 +0100 Message-ID: <833090e4552a00de1025d5c71c4c4cd370bfd05a.1707383695.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Noris-IP: 87.176.158.156 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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 d07562f654..09f8876d0c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13133,21 +13133,26 @@ (define-public ruby-sfl (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.")