From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gp7x6-0000yb-SB for guix-patches@gnu.org; Thu, 31 Jan 2019 03:44:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gp7x5-0005Az-LY for guix-patches@gnu.org; Thu, 31 Jan 2019 03:44:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gp7x4-0005Ad-Fe for guix-patches@gnu.org; Thu, 31 Jan 2019 03:44:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gp7x3-0002Z2-MI for guix-patches@gnu.org; Thu, 31 Jan 2019 03:44:02 -0500 Subject: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:49719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gp7wC-0000cK-5R for guix-patches@gnu.org; Thu, 31 Jan 2019 03:43:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gp7wB-0004gv-8J for guix-patches@gnu.org; Thu, 31 Jan 2019 03:43:08 -0500 Received: from mx1.riseup.net ([198.252.153.129]:49794) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gp7wA-0004gM-TY for guix-patches@gnu.org; Thu, 31 Jan 2019 03:43:07 -0500 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 1A5651A0974 for ; Thu, 31 Jan 2019 00:43:05 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 8901A1C066A for ; Thu, 31 Jan 2019 00:43:04 -0800 (PST) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> <87lg32nw2f.fsf@elephly.net> <754595d3-c267-485d-d0c0-a3782b88c89f@riseup.net> From: swedebugia Message-ID: <1dedc991-9515-3897-cfa1-ae4f55158851@riseup.net> Date: Thu, 31 Jan 2019 09:43:00 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34217@debbugs.gnu.org On 2019-01-30 17:22, swedebugia wrote: > On 2019-01-30 17:11, swedebugia wrote: >> On 2019-01-30 13:56, Ricardo Wurmus wrote: >>> >>> Hi swedebugia, >>> >>>> On 2019-01-27 12:49, Christopher Baines wrote: >>>>> These packages are mutually dependant, so I've put them in one commit. >>>>> >>>>> * gnu/packages/ruby.scm (ruby-aruba, ruby-cucumber): New variables. snip >> I don't know ruby at all so I might not be the best qualified to >> investigate this. :/ I decided to try out latest master, worked a little on it and now it builds without failure! :D I'm unsure what revision number we usually start on, please correct if necessary. (define-public ruby-aruba ;; Take commit from latest master to avoid test failures (let ((commit "688ad050f48990bfac127eaf529a828a0139d85f") (revision "1")) (package (name "ruby-aruba") (version (string-append "0.14.7" "-" revision "." (string-take commit 7))) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/cucumber/aruba.git") (commit commit))) (file-name (string-append name "-" version "-checkout")) (sha256 (base32 "11c9w5rnra3xxzp1i4cazpf5gp6s25l4ymxsn022crk096nq475y")))) (build-system ruby-build-system) (arguments '(#:test-target "spec" #:phases (modify-phases %standard-phases (add-before 'check 'remove-unnecessary-dependencies (lambda _ (substitute* "Gemfile" ((".*byebug.*") "\n") ((".*pry.*") "\n") ((".*yaml.*") "\n") ((".*bcat.*") "\n") ((".*kramdown.*") "\n") ((".*rubocop.*") "\n") ((".*cucumber-pro.*") "\n") ((".*cucumber.*") "\n") ((".*license_finder.*") "\n") ((".*rake.*") "gem 'rake'\n") ((".*simplecov.*") "\n") ((".*relish.*") "\n") ((".*json.*") "\n") ((".*yard-junk.*") "\n") ((".*yard.*") "\n")) (substitute* "spec/spec_helper.rb" ((".*simplecov.*") "") (("^SimpleCov.*") "")) (substitute* "aruba.gemspec" (("spec\\.add\\_runtime\\_dependency 'cucumber'.*") "spec.add_runtime_dependency 'cucumber'\n")) (substitute* "Rakefile" ;; Do not require docker stuff ((".*'aruba/.*") "") ;; No linting ((":lint, :test") ":test")) #t)) (add-before 'check 'set-home (lambda _ (setenv "HOME" "/tmp") #t))))) (native-inputs `(("bundler" ,bundler) ("ruby-rspec" ,ruby-rspec) ("ruby-fuubar" ,ruby-fuubar))) (propagated-inputs `(("ruby-childprocess" ,ruby-childprocess) ("ruby-contracts" ,ruby-contracts) ("ruby-cucumber" ,ruby-cucumber) ("ruby-ffi" ,ruby-ffi) ("ruby-rspec-expectations" ,ruby-rspec-expectations) ("ruby-thor" ,ruby-thor))) (synopsis "Test command-line applications with Cucumber, RSpec or Minitest") (description "Aruba is an extension for Cucumber, RSpec and Minitest for testing command-line applications. It supports applications written in any language.") (home-page "https://github.com/cucumber/aruba") (license license:expat)))) Could you update the patch Christopher? -- Cheers Swedebugia