From patchwork Thu Feb 8 09:35:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 59956 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 7A2A927BBE2; Thu, 8 Feb 2024 09:38:57 +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=ham 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 857C227BBEB for ; Thu, 8 Feb 2024 09:38:56 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY0q7-0004qM-Pr; 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 1rY0q6-0004oW-CU for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:02 -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 1rY0q6-00021L-3O for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rY0qK-0006Ng-Bj for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68990] [PATCH 27/28] gnu: Add ruby-fog-xml. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 09:37:16 +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.170738503524511 (code B ref 68990); Thu, 08 Feb 2024 09:37:16 +0000 Received: (at 68990) by debbugs.gnu.org; 8 Feb 2024 09:37:15 +0000 Received: from localhost ([127.0.0.1]:59136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0qI-0006NA-Uf for submit@debbugs.gnu.org; Thu, 08 Feb 2024 04:37:15 -0500 Received: from mail02.noris.net ([62.128.1.232]:55589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0qH-0006MW-Cl for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 04:37:14 -0500 Received: from p57b09e9c.dip0.t-ipconnect.de ([87.176.158.156] helo=hermia.goebel-consult.de) by mail02.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rY0q2-0000xV-HR for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 10:36:58 +0100 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 91E565F571; Thu, 8 Feb 2024 10:36:01 +0100 (CET) From: Hartmut Goebel Date: Thu, 8 Feb 2024 10:35:57 +0100 Message-ID: <4208b3dcdff5d60f52899777d67029379282c3fd.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 * gnu/packages/ruby.scm (ruby-fog-xml): New variable. --- gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index eaff43370b..dc6f6a1b29 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -9749,6 +9749,41 @@ (define-public ruby-fog-json (home-page "https://github.com/fog/fog-json") (license license:expat))) +(define-public ruby-fog-xml + (package + (name "ruby-fog-xml") + (version "0.1.4") + (source (origin + (method git-fetch) ; for tests + (uri (git-reference + (url "https://github.com/fog/fog-xml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0d0n201qzcjxis5wb26bi3s7yfhlmqkwsl6lb9w4szq3b8l1xbwn")))) + (build-system ruby-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; Run tests via bundler so rake picks up the minitest gem from + ;; native-inputs, not the one installed otherwise. This is required + ;; since turn@0.9.7 needs minitest@4 and can not be upgraded to + ;; minitest@5. + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "bundle" "exec" "rake"))))))) + (native-inputs (list ruby-minitest-4 ruby-turn ruby-pry ruby-coveralls)) + (propagated-inputs (list ruby-fog-core ruby-nokogiri)) + (synopsis "XML parsing tools used by @code{fog} providers") + (description "This package containse the XML parsing tools shared between +a number of providers in the @code{fog} gem. @code{fog} is a Ruby cloud +services library.") + (home-page "https://github.com/fog/fog-xml") + (license license:expat))) + (define-public ruby-pry-byebug (package (name "ruby-pry-byebug")