From patchwork Mon Jan 13 22:53:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 19795 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 C96C617A94; Mon, 13 Jan 2020 22:54:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7E8D117A92 for ; Mon, 13 Jan 2020 22:54:19 +0000 (GMT) Received: from localhost ([::1]:56716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir8bC-0002Mg-Is for patchwork@mira.cbaines.net; Mon, 13 Jan 2020 17:54:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47980) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir8ay-0002Hw-Nf for guix-patches@gnu.org; Mon, 13 Jan 2020 17:54:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ir8ax-0002cY-Hr for guix-patches@gnu.org; Mon, 13 Jan 2020 17:54:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ir8ax-0002cQ-Ey for guix-patches@gnu.org; Mon, 13 Jan 2020 17:54:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ir8ax-0004hc-Ej for guix-patches@gnu.org; Mon, 13 Jan 2020 17:54:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39120] [PATCH 05/12] gnu: ruby-yard: Update to 0.9.20. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Jan 2020 22:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 39120@debbugs.gnu.org Received: via spool by 39120-submit@debbugs.gnu.org id=B39120.157895602717974 (code B ref 39120); Mon, 13 Jan 2020 22:54:03 +0000 Received: (at 39120) by debbugs.gnu.org; 13 Jan 2020 22:53:47 +0000 Received: from localhost ([127.0.0.1]:60335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ir8ah-0004fp-3v for submit@debbugs.gnu.org; Mon, 13 Jan 2020 17:53:47 -0500 Received: from mira.cbaines.net ([212.71.252.8]:35324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ir8aZ-0004e2-KG for 39120@debbugs.gnu.org; Mon, 13 Jan 2020 17:53:40 -0500 Received: from localhost (unknown [46.237.162.0]) by mira.cbaines.net (Postfix) with ESMTPSA id 0635917A96 for <39120@debbugs.gnu.org>; Mon, 13 Jan 2020 22:53:39 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id e71fc5b5 for <39120@debbugs.gnu.org>; Mon, 13 Jan 2020 22:53:36 +0000 (UTC) From: Christopher Baines Date: Mon, 13 Jan 2020 22:53:29 +0000 Message-Id: <20200113225336.15160-5-mail@cbaines.net> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200113225336.15160-1-mail@cbaines.net> References: <20200113225336.15160-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-yard): Update to 0.9.20. [arguments]: Delete the Gemfile before running the tests. [native-inputs]: Add ruby-redcloth and ruby-asciidoctor. --- gnu/packages/ruby.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d7c9383b45..140cdb9aab 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5747,7 +5747,7 @@ A modified copy of yajl is used, and included in the package.") (define-public ruby-yard (package (name "ruby-yard") - (version "0.9.16") + (version "0.9.20") (source (origin (method git-fetch) @@ -5758,20 +5758,24 @@ A modified copy of yajl is used, and included in the package.") (file-name (git-file-name name version)) (sha256 (base32 - "0a4r1pfs0ms4vlccsf1x2jckx35lqm8b8lh6rdjxqfr5fia5izpf")))) + "1v48zz8hzazrg79jksj9siys21d2axvzijvkxw2j42zh86syi1wi")))) (build-system ruby-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ + ;; Delete the Gemfile to avoid errors relating to it + (delete-file "Gemfile") ;; $HOME needs to be set to somewhere writeable for tests to run (setenv "HOME" "/tmp") ;; Run tests without using 'rake' to avoid dependencies. (invoke "rspec")))))) (native-inputs `(("ruby-rspec" ,ruby-rspec) - ("ruby-rack" ,ruby-rack))) + ("ruby-rack" ,ruby-rack) + ("ruby-redcloth" ,ruby-redcloth) + ("ruby-asciidoc" ,ruby-asciidoctor))) (synopsis "Documentation generation tool for Ruby") (description "YARD is a documentation generation tool for the Ruby programming