From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:15:46 2019 Received: (at submit) by debbugs.gnu.org; 27 Jan 2019 11:15:46 +0000 Received: from localhost ([127.0.0.1]:47009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniPi-0007gk-5S for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:15:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniPf-0007gW-PV for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:15:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:39619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gniPR-00086M-2x for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:15:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gniPP-0005rp-4G for guix-patches@gnu.org; Sun, 27 Jan 2019 06:15:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gniGy-0003QE-DY for guix-patches@gnu.org; Sun, 27 Jan 2019 06:06:44 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:39538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gniGy-0003Oz-7k for guix-patches@gnu.org; Sun, 27 Jan 2019 06:06:44 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id A539E16AAC for ; Sun, 27 Jan 2019 11:06:41 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id a7f61b2f for ; Sun, 27 Jan 2019 11:06:41 +0000 (UTC) User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH 00/11] Add ruby-cucumber along with dependencies and a couple of updates. Date: Sun, 27 Jan 2019 11:06:38 +0000 Message-ID: <87zhrmgy0x.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain These are some of the patches working up to packaging Rails (a Ruby web framework). Christopher Baines (11): gnu: Add ruby-cucumber-wire. gnu: Add ruby-contracts. gnu: Add ruby-ruby-progressbar. gnu: Add ruby-fuubar. gnu: Add ruby-cucumber-expressions. gnu: Add ruby-mspec. gnu: Add ruby-backports. gnu: Add ruby-cucumber-tag-expressions. gnu: ruby-cucumber-core: Update to 3.2.1. gnu: ruby-gherkin: Update to 5.1.0. gnu: Add ruby-cucumber and ruby-aruba. gnu/packages/ruby.scm | 412 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 404 insertions(+), 8 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxNkL5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdaEQ/9GN4AMdIj5MZmrNs4EM7/Ds63ZDPyKg7fLlvZzfRg1crPz0TfqLeNJAXR 8PdKRnWR76D1ol7NxAeet+ZCF29c6wIzPhdNkQigjCQoYVwWQ6SE75ar624OTD5x D/jCFax9ctBMSVjuUzTPy+H/VrGhZkhDEIw0e4HTZPRyj+zJNO/WULtAeYy/ztPo cufKf7+PIQQTiNUIYnpOqDlWXNw9yYcPrwB9ctI8c8CRvZrM67DPY3qBQQF+ba+K u4rO0RavlD5xG5AkfesBSy1J3YCDCRf42KoA0GLsDSp0AzcT6mgr0iGUFwakyBKJ /CIWog5zL9hIkiXBaTCOvfqNhyjP0v7Ojf65natvyd5HaXaGQ0y0IXoIbc8S2Dw+ MU2HyQGsnAVAh4hFruJvITj3+o2Bd8IliYHtjJvznp5SyoF83uJFoCzr37PE9ENb CMpMHRMOCwW8FJZQ1Hnm1aVB2ahLJKDrGHgbHKuK+FG4N5UMSNNBcyosX8X6saoM mFe1K2icKJ/jR7jlNfeK9KV2s4VKF075cl7kdGJpe8RjcqEyG2iI6KJTeF5c0GTr HRxUcIxDY6bBiiQy6XdYEb8vx0EeOcpgT4Ej7oB2t0e+cVXCQacK/At8tpsfpzwe gx2ne06oktm5qhbue7smtv8q0ULrHfboK8IMhH4sbBpq+bQbPLg= =5Vfa -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:01 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:01 +0000 Received: from localhost ([127.0.0.1]:47028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwo-0000Ae-T2 for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:59 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57776 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwn-0000AA-5V for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:58 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 7364816AAD for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5552068f for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 02/11] gnu: Add ruby-contracts. Date: Sun, 27 Jan 2019 11:49:47 +0000 Message-Id: <20190127114956.26570-2-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ruby.scm (ruby-contracts): New variable. --- gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 649c7aa464..808b2d8686 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -721,6 +721,40 @@ format.") (home-page "https://github.com/nicksieger/ci_reporter") (license license:expat))) +(define-public ruby-contracts + (package + (name "ruby-contracts") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "contracts" version)) + (sha256 + (base32 + "119f5p1n6r5svbx8h09za6a4vrsnj5i1pzr9cqdn9hj3wrxvyl3a")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "spec" + #:phases + (modify-phases %standard-phases + ;; Don't run or require rubocop, the code linting tool, as this is a + ;; bit unnecessary. + (add-after 'unpack 'dont-run-rubocop + (lambda _ + (substitute* "Rakefile" + ((".*rubocop.*") "") + ((".*RuboCop.*") "")) + #t))))) + (native-inputs + `(("ruby-rspec" ,ruby-rspec))) + (synopsis "Method contracts for Ruby") + (description + "This library provides contracts for Ruby. A contract describes the +correct inputs and output for a method, and will raise an error if a incorrect +value is found.") + (home-page "https://github.com/egonSchiele/contracts.ruby") + (license license:bsd-2))) + (define-public ruby-czmq-ffi-gen (package (name "ruby-czmq-ffi-gen") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:02 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:02 +0000 Received: from localhost ([127.0.0.1]:47032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwr-0000B5-Fu for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:02 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57780 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwn-0000AC-6k for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:58 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 965B816AB0 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 8afc3284 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 04/11] gnu: Add ruby-fuubar. Date: Sun, 27 Jan 2019 11:49:49 +0000 Message-Id: <20190127114956.26570-4-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ruby.scm (ruby-fuubar): New variable. --- gnu/packages/ruby.scm | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 15382de017..510f0d6bbc 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1147,6 +1147,54 @@ standard output stream.") (home-page "https://github.com/geemus/formatador") (license license:expat))) +(define-public ruby-fuubar + (package + (name "ruby-fuubar") + (version "2.3.2") + (source + (origin + ;; Fetch from the git repository, as the gem package doesn't include + ;; the tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/thekompanee/fuubar.git") + (commit (string-append "releases/v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jm1x2xp13csbnadixaikj7mlkp5yk4byx51npm56zi13izp7259")))) + (build-system ruby-build-system) + (arguments + '(;; TODO: Some tests fail, unsure why. + ;; 21 examples, 7 failures + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'build 'delete-certificate + (lambda _ + ;; Remove 's.cert_chain' as we do not build with a private key + (substitute* "fuubar.gemspec" + ((".*cert_chain.*") "") + ((".*signing_key.*") "")) + #t)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (native-inputs + `(("bundler" ,bundler))) + (propagated-inputs + `(("ruby-rspec-core" ,ruby-rspec-core) + ("ruby-ruby-progressbar" ,ruby-ruby-progressbar))) + (synopsis "Fuubar is an RSpec formatter that uses a progress bar") + (description + "Fuubar is an RSpec formatter that uses a progress bar instead of a +string of letters and dots as feedback. It also stops on the first test +failure.") + (home-page "https://github.com/thekompanee/fuubar") + (license license:expat))) + (define-public ruby-shindo (package (name "ruby-shindo") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:02 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:02 +0000 Received: from localhost ([127.0.0.1]:47034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniws-0000Bf-6Y for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:02 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57782 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwn-0000AD-8w for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:58 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id A2CF616AB1 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 47b007c5 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 05/11] gnu: Add ruby-cucumber-expressions. Date: Sun, 27 Jan 2019 11:49:50 +0000 Message-Id: <20190127114956.26570-5-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ruby.scm (ruby-cucumber-expressions): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 510f0d6bbc..fe06ee455e 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3754,6 +3754,31 @@ and trust on your team.") (home-page "https://cucumber.io/") (license license:expat))) +(define-public ruby-cucumber-expressions + (package + (name "ruby-cucumber-expressions") + (version "6.0.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "cucumber-expressions" version)) + (sha256 + (base32 + "0zwmv6hznyz9vk81f5dhwcr9jhxx2vmbk8yyazayvllvhy0fkpdw")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "spec")) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec) + ("ruby-simplecov" ,ruby-simplecov))) + (synopsis "Simpler alternative to Regular Expressions") + (description "Cucumber Expressions offer similar functionality to Regular +Expressions, with a syntax that is easier to read and write. Cucumber +Expressions are extensible with parameter types.") + (home-page "https://github.com/cucumber/cucumber-expressions-ruby") + (license license:expat))) + (define-public ruby-cucumber-wire (package (name "ruby-cucumber-wire") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:03 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:03 +0000 Received: from localhost ([127.0.0.1]:47036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniws-0000Bv-Rz for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:03 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57778 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwn-0000AB-D2 for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:59 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 829B816AAF for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 214be430 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 03/11] gnu: Add ruby-ruby-progressbar. Date: Sun, 27 Jan 2019 11:49:48 +0000 Message-Id: <20190127114956.26570-3-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ruby.scm (ruby-ruby-progressbar): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 808b2d8686..15382de017 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2507,6 +2507,28 @@ rate.") (home-page "https://github.com/paul/progress_bar") (license license:wtfpl2))) +(define-public ruby-ruby-progressbar + (package + (name "ruby-ruby-progressbar") + (version "1.10.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "ruby-progressbar" version)) + (sha256 + (base32 + "1cv2ym3rl09svw8940ny67bav7b2db4ms39i4raaqzkf59jmhglk")))) + (build-system ruby-build-system) + (arguments + '(;; TODO: There looks to be a circular dependency with ruby-fuubar. + #:tests? #f)) + (synopsis "Text progress bar library for Ruby") + (description + "Ruby/ProgressBar is an flexible text progress bar library for Ruby. +The output can be customized with a formatting system.") + (home-page "https://github.com/jfelchner/ruby-progressbar") + (license license:expat))) + (define-public ruby-pry (package (name "ruby-pry") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:03 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:04 +0000 Received: from localhost ([127.0.0.1]:47039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwt-0000C4-C0 for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:03 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57786 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwo-0000AP-II for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:59 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id C1AB816AB3 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f96045e0 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 07/11] gnu: Add ruby-backports. Date: Sun, 27 Jan 2019 11:49:52 +0000 Message-Id: <20190127114956.26570-7-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ruby.scm (ruby-backports): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 5a9a9a7c6d..115e132b95 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1350,6 +1350,31 @@ User Agents.") (home-page "https://github.com/gshutler/useragent") (license license:expat))) +(define-public ruby-backports + (package + (name "ruby-backports") + (version "3.11.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "backports" version)) + (sha256 + (base32 + "1hshjxww2h7s0dk57njrygq4zpp0nlqrjfya7zwm27iq3rhc3y8g")))) + (build-system ruby-build-system) + (arguments + '(;; TODO: This should be default, but there is one test failure + #:test-target "all_spec")) + (native-inputs + `(("ruby-mspec" ,ruby-mspec) + ("ruby-activesupport" ,ruby-activesupport))) + (synopsis "Backports of the features in newer Ruby versions") + (description + "Backports enables more compatibility across Ruby versions by providing +backports of some features.") + (home-page "https://github.com/marcandre/backports") + (license license:expat))) + (define-public ruby-bacon (package (name "ruby-bacon") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:04 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:04 +0000 Received: from localhost ([127.0.0.1]:47041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwt-0000CD-Qx for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:04 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57774 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwn-0000A9-9s for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:59 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 62DA916AAC for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 35a1afc4 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 01/11] gnu: Add ruby-cucumber-wire. Date: Sun, 27 Jan 2019 11:49:46 +0000 Message-Id: <20190127114956.26570-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87zhrmgy0x.fsf@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Package version 0.0.1 initially, as this is what's needed by Cucumber 3, and Cucumber 4 hasn't been released yet. * gnu/packages/ruby.scm (ruby-cucumber-wire): New variable. --- gnu/packages/ruby.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c6a65ffc58..649c7aa464 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3650,6 +3650,39 @@ and trust on your team.") (home-page "https://cucumber.io/") (license license:expat))) +(define-public ruby-cucumber-wire + (package + (name "ruby-cucumber-wire") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "cucumber-wire" version)) + (sha256 + (base32 + "09ymvqb0sbw2if1nxg8rcj33sf0va88ancq5nmp8g01dfwzwma2f")))) + (build-system ruby-build-system) + (arguments + '(;; TODO: Currently, the tests can't be run as cucumber is required, + ;; which would lead to a circular dependency. + #:tests? #f + #:test-target "default" + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-CUCUMBER_USE_RELEASED_GEMS + (lambda _ + (setenv "CUCUMBER_USE_RELEASED_GEMS" "true") + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "Cucumber wire protocol plugin") + (description + "Cucumber's wire protocol allows step definitions to be implemented and +invoked on any platform.") + (home-page "https://github.com/cucumber/cucumber-ruby-wire") + (license license:expat))) + (define-public ruby-bio-logger (package (name "ruby-bio-logger") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:05 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:05 +0000 Received: from localhost ([127.0.0.1]:47044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwu-0000CR-CN for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:05 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57794 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwp-0000Ad-0e for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:00 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 0888516AB7 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:57 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6fd00989 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. Date: Sun, 27 Jan 2019 11:49:56 +0000 Message-Id: <20190127114956.26570-11-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) These packages are mutually dependant, so I've put them in one commit. * gnu/packages/ruby.scm (ruby-aruba, ruby-cucumber): New variables. --- gnu/packages/ruby.scm | 136 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e507c816c8..59895240f8 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -32,6 +32,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) @@ -3795,6 +3796,141 @@ It is intended be used by all Cucumber implementations to parse (home-page "https://github.com/cucumber-attic/gherkin") (license license:expat))) +(define-public ruby-aruba + (package + (name "ruby-aruba") + (version "0.14.7") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "aruba" version)) + (sha256 + (base32 + "0x27352n15dsyf5ak246znfawbrm502q15r4msjw3cis17jlcy1l")))) + (build-system ruby-build-system) + (arguments + '(;; TODO: There are a few test failures + ;; 357 examples, 7 failures + #:tests? #f + #: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")) + (substitute* "spec/spec_helper.rb" + ((".*simplecov.*") "") + (("^SimpleCov.*") "")) + (substitute* "aruba.gemspec" + (("spec\\.add\\_runtime\\_dependency 'cucumber'.*") + "spec.add_runtime_dependency 'cucumber'")) + #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))) + +;; A version of ruby-aruba without tests run so that circular dependencies can +;; be avoided. +(define ruby-aruba-without-tests + (package + (inherit ruby-aruba) + (arguments '(#:tests? #f)) + (propagated-inputs + (map (lambda (input) + (if (string=? (car input) "ruby-cucumber") + `("ruby-cucumber" ,ruby-cucumber-without-tests) + input)) + (package-propagated-inputs ruby-aruba))) + (native-inputs '()))) + +(define-public ruby-cucumber + (package + (name "ruby-cucumber") + (version "3.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cucumber/cucumber-ruby.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0764wp2cjg60qa3l69q1dxda5g06a01n5w92szqbf89d2hgl47n3")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "spec" + #:phases + (modify-phases %standard-phases + ;; Don't run or require rubocop, the code linting tool, as this is a + ;; bit unnecessary. + (add-after 'unpack 'dont-run-rubocop + (lambda _ + (substitute* "Rakefile" + ((".*rubocop/rake\\_task.*") "") + ((".*RuboCop.*") "")) + #t))))) + (propagated-inputs + `(("ruby-builder" ,ruby-builder) + ("ruby-cucumber-core" ,ruby-cucumber-core) + ("ruby-cucumber-wire" ,ruby-cucumber-wire) + ("ruby-cucumber-expressions" ,ruby-cucumber-expressions) + ("ruby-diff-lcs" ,ruby-diff-lcs) + ("ruby-gherkin" ,ruby-gherkin) + ("ruby-multi-json" ,ruby-multi-json) + ("ruby-multi-test" ,ruby-multi-test))) + (native-inputs + `(("bundler" ,bundler) + ;; Use a untested version of aruba, to avoid a circular dependency, as + ;; ruby-aruba depends on ruby-cucumber. + ("ruby-aruba", ruby-aruba-without-tests) + ("ruby-rspec" ,ruby-rspec) + ("ruby-pry" ,ruby-pry) + ("ruby-nokogiri" ,ruby-nokogiri))) + (synopsis "Describe automated tests in plain language") + (description + "Cucumber is a tool for running automated tests written in plain +language. It's designed to support a Behaviour Driven Development (BDD) +software development workflow.") + (home-page "https://cucumber.io/") + (license license:expat))) + +(define ruby-cucumber-without-tests + (package (inherit ruby-cucumber) + (arguments + '(#:tests? #f)) + (native-inputs + '()))) + (define-public ruby-cucumber-core (package (name "ruby-cucumber-core") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:07 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:07 +0000 Received: from localhost ([127.0.0.1]:47046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwv-0000Cf-3O for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:05 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57792 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwo-0000Ac-Vx for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:00 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id EE0BE16AB6 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 54ac6950 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 10/11] gnu: ruby-gherkin: Update to 5.1.0. Date: Sun, 27 Jan 2019 11:49:55 +0000 Message-Id: <20190127114956.26570-10-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Don't upgrade all the way to version 6, as version 5 is needed for Cucumber 3. * gnu/packages/ruby.scm (ruby-gherkin): Update to 5.1.0. [description]: Use @file{ }. --- gnu/packages/ruby.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ddaf9e1bc3..e507c816c8 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3775,14 +3775,14 @@ Ruby classes.") (define-public ruby-gherkin (package (name "ruby-gherkin") - (version "4.1.3") + (version "5.1.0") (source (origin (method url-fetch) (uri (rubygems-uri "gherkin" version)) (sha256 (base32 - "1d18r8mf2qyd9jbq9xxvca8adyysdzvwdy8v9c2s5hrd6p02kg79")))) + "1cgcdchwwdm10rsk44frjwqd4ihprhxjbm799nscqy2q1raqfj5s")))) (build-system ruby-build-system) (native-inputs `(("bundler" ,bundler))) @@ -3790,9 +3790,9 @@ Ruby classes.") '(#:tests? #f)) ; needs simplecov, among others (synopsis "Gherkin parser for Ruby") (description "Gherkin is a parser and compiler for the Gherkin language. -It is intended be used by all Cucumber implementations to parse '.feature' -files.") - (home-page "https://github.com/cucumber/gherkin3") +It is intended be used by all Cucumber implementations to parse +@file{.feature} files.") + (home-page "https://github.com/cucumber-attic/gherkin") (license license:expat))) (define-public ruby-cucumber-core -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:07 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:07 +0000 Received: from localhost ([127.0.0.1]:47049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwx-0000Cu-0u for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:07 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57788 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwo-0000AU-Ln for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:59 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id D05C916AB4 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 54cec9e7 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 08/11] gnu: Add ruby-cucumber-tag-expressions. Date: Sun, 27 Jan 2019 11:49:53 +0000 Message-Id: <20190127114956.26570-8-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ruby.scm (ruby-cucumber-tag-expressions): New variable. --- gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 115e132b95..538cae9021 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3880,6 +3880,34 @@ invoked on any platform.") (home-page "https://github.com/cucumber/cucumber-ruby-wire") (license license:expat))) +(define-public ruby-cucumber-tag-expressions + (package + (name "ruby-cucumber-tag-expressions") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "cucumber-tag_expressions" version)) + (sha256 + (base32 + "0cvmbljybws0qzjs1l67fvr9gqr005l8jk1ni5gcsis9pfmqh3vc")))) + (build-system ruby-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "rspec") + #t))))) + (native-inputs + `(("ruby-rspec" ,ruby-rspec))) + (synopsis "Cucumber tag expressions for Ruby") + (description + "Cucumber tag expression parser for Ruby. A tag expression is an infix +boolean expression used by Cucumber.") + (home-page "https://github.com/cucumber/tag-expressions-ruby") + (license license:expat))) + (define-public ruby-bio-logger (package (name "ruby-bio-logger") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:08 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:08 +0000 Received: from localhost ([127.0.0.1]:47052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwx-0000D5-Js for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:08 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57784 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwo-0000AO-Hz for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:59 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id B19A116AB2 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 8c3a8dc0 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 06/11] gnu: Add ruby-mspec. Date: Sun, 27 Jan 2019 11:49:51 +0000 Message-Id: <20190127114956.26570-6-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ruby.scm (ruby-mspec): New variable. --- gnu/packages/ruby.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index fe06ee455e..5a9a9a7c6d 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1606,6 +1606,49 @@ objects.") (home-page "https://github.com/floehopper/metaclass") (license license:expat))) +(define-public ruby-mspec + (package + (name "ruby-mspec") + (version "1.9.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mspec" version)) + (sha256 + (base32 + "0wmyh2n40m4srwdx9z6h6g6p46k02pzyhcsja3hqcw5h5b0hfmhd")))) + (build-system ruby-build-system) + (arguments + '(;; TODO: 3 test failures + ;; ./spec/mocks/mock_spec.rb:82 + ;; ./spec/utils/name_map_spec.rb:151 + ;; ./spec/utils/name_map_spec.rb:155 + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'extract-gemspec 'change-dependency-constraints + (lambda _ + (substitute* "mspec.gemspec" + (("rake.*") "rake>)\n") + (("rspec.*") "rspec>)\n")) + #t)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec" "spec")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rake" ,ruby-rake) + ("ruby-rspec" ,ruby-rspec))) + (synopsis "MSpec is a specialized framework for RubySpec") + (description + "MSpec is a specialized framework that is syntax-compatible with RSpec 2 +for basic features. MSpec contains additional features that assist in writing +specs for Ruby implementations in ruby/spec.") + (home-page "http://rubyspec.org") + (license license:expat))) + (define-public ruby-blankslate (package (name "ruby-blankslate") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 06:50:10 2019 Received: (at 34217) by debbugs.gnu.org; 27 Jan 2019 11:50:10 +0000 Received: from localhost ([127.0.0.1]:47054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwy-0000DG-6a for submit@debbugs.gnu.org; Sun, 27 Jan 2019 06:50:08 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57790 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gniwo-0000AV-Ll for 34217@debbugs.gnu.org; Sun, 27 Jan 2019 06:49:59 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id DF99016AB5 for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id e7b9bded for <34217@debbugs.gnu.org>; Sun, 27 Jan 2019 11:49:56 +0000 (UTC) From: Christopher Baines To: 34217@debbugs.gnu.org Subject: [PATCH 09/11] gnu: ruby-cucumber-core: Update to 3.2.1. Date: Sun, 27 Jan 2019 11:49:54 +0000 Message-Id: <20190127114956.26570-9-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Just update to major version 3, as version 4 of Cucumber hasn't been released yet. * gnu/packages/ruby.scm (ruby-cucumber-core): Update to 3.2.1. [propagated-inputs]: Add ruby-backports, ruby-gherkin and ruby-cucumber-tag-expressions. --- gnu/packages/ruby.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 538cae9021..ddaf9e1bc3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3798,17 +3798,19 @@ files.") (define-public ruby-cucumber-core (package (name "ruby-cucumber-core") - (version "2.0.0") + (version "3.2.1") (source (origin (method url-fetch) (uri (rubygems-uri "cucumber-core" version)) (sha256 (base32 - "136hnvqv444qyxzcgy1k60y4i6cn3sn9lbqr4wan9dzz1yzllqbm")))) + "1iavlh8hqj9lwljbpkw06259gdicbr1bdb6pbj5yy3n8szgr8k3c")))) (build-system ruby-build-system) (propagated-inputs - `(("ruby-gherkin" ,ruby-gherkin))) + `(("ruby-backports" ,ruby-backports) + ("ruby-gherkin" ,ruby-gherkin) + ("ruby-cucumber-tag-expressions" ,ruby-cucumber-tag-expressions))) (native-inputs `(("bundler" ,bundler))) (arguments -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 12:09:26 2019 Received: (at control) by debbugs.gnu.org; 27 Jan 2019 17:09:26 +0000 Received: from localhost ([127.0.0.1]:47826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnvj-0001oI-Ta for submit@debbugs.gnu.org; Sun, 27 Jan 2019 12:09:26 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:58008 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnnvh-0001o9-U2 for control@debbugs.gnu.org; Sun, 27 Jan 2019 12:09:10 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 7B6B316AB5 for ; Sun, 27 Jan 2019 17:09:09 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id b9c4245b for ; Sun, 27 Jan 2019 17:09:09 +0000 (UTC) Date: Sun, 27 Jan 2019 17:09:09 +0000 Message-Id: <87womqgh8q.fsf@cbaines.net> To: control@debbugs.gnu.org From: Christopher Baines Subject: control message for bug #30689 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) block 30689 by 34222 34217 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 28 00:52:54 2019 Received: (at submit) by debbugs.gnu.org; 28 Jan 2019 05:52:54 +0000 Received: from localhost ([127.0.0.1]:48147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnzqn-0007PT-Qt for submit@debbugs.gnu.org; Mon, 28 Jan 2019 00:52:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnzqi-0007PB-1z for submit@debbugs.gnu.org; Mon, 28 Jan 2019 00:52:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:54626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnzqZ-0002vx-VF for submit@debbugs.gnu.org; Mon, 28 Jan 2019 00:52:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnzqZ-0002aI-6f for guix-patches@gnu.org; Mon, 28 Jan 2019 00:52:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnzqX-0002uv-9r for guix-patches@gnu.org; Mon, 28 Jan 2019 00:52:38 -0500 Received: from mx1.riseup.net ([198.252.153.129]:40670) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnzqV-0002sI-DQ for guix-patches@gnu.org; Mon, 28 Jan 2019 00:52:36 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (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 60D161A05A3; Sun, 27 Jan 2019 21:52:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1548654751; bh=aGR/wO2pvnEMFXErvXJa6AYP/8y7kJBjYOGuyxxe9iw=; h=Date:In-Reply-To:References:Subject:To:From:From; b=bbxnI8qj3lWabQexhtD+YUV2nJ6MWMp0wAmYvmNZ/M4YFPMYZMUr7nOlfDIgNyWfF +qAC1W55UaCdLZV/A3jSgm4Y5f22ZsxEHd4HUyaeZ51U23AUstMmcFbnPbZEI56v9Y 2WIambP1Q3aZMafOWvh+qtxr7pOWeWa/iftre2hs= X-Riseup-User-ID: 261F1D22F9FFCE465CEE59EAB1A9BBA2C541A12C543C7F6EFAB33FD81AD47FA2 Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 61D7C428B1; Sun, 27 Jan 2019 21:52:30 -0800 (PST) Date: Mon, 28 Jan 2019 06:52:36 +0100 In-Reply-To: <87zhrmgy0x.fsf@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----P7CYUX4RCKDXL0VM8XVY87Y5R2COO3" Content-Transfer-Encoding: 7bit Subject: Re: [bug#34217] [PATCH 00/11] Add ruby-cucumber along with dependencies and a couple of updates. To: guix-patches@gnu.org, Christopher Baines , 34217@debbugs.gnu.org From: swedebugia Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 198.252.153.129 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) ------P7CYUX4RCKDXL0VM8XVY87Y5R2COO3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Christopher Baines skrev: (27 januari 2019 12:06:38 CE= T) >These are some of the patches working up to packaging Rails (a Ruby web >framework)=2E > > >Christopher Baines (11): > gnu: Add ruby-cucumber-wire=2E > gnu: Add ruby-contracts=2E > gnu: Add ruby-ruby-progressbar=2E > gnu: Add ruby-fuubar=2E > gnu: Add ruby-cucumber-expressions=2E > gnu: Add ruby-mspec=2E > gnu: Add ruby-backports=2E > gnu: Add ruby-cucumber-tag-expressions=2E > gnu: ruby-cucumber-core: Update to 3=2E2=2E1=2E > gnu: ruby-gherkin: Update to 5=2E1=2E0=2E > gnu: Add ruby-cucumber and ruby-aruba=2E > > gnu/packages/ruby=2Escm | 412 +++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 404 insertions(+), 8 deletions(-) Nice =F0=9F=98=83 I'm interested in Rails because some of the OSM tools I would like to pack= age depend on it=2E --=20 Sent from my k-9 mail for Android=2E ------P7CYUX4RCKDXL0VM8XVY87Y5R2COO3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Christopher Baines <= mail@cbaines=2Enet> skrev: (27 januari 2019 12:06:38 CET)
These are some of the patches working up to packagin=
g Rails (a Ruby web
framework)=2E


Christopher Baines (11): gnu: Add ruby-cucumber-wire=2E
gnu: Add ruby-contracts=2E
gnu:= Add ruby-ruby-progressbar=2E
gnu: Add ruby-fuubar=2E
gnu: Add ru= by-cucumber-expressions=2E
gnu: Add ruby-mspec=2E
gnu: Add ruby-b= ackports=2E
gnu: Add ruby-cucumber-tag-expressions=2E
gnu: ruby-c= ucumber-core: Update to 3=2E2=2E1=2E
gnu: ruby-gherkin: Update to 5=2E= 1=2E0=2E
gnu: Add ruby-cucumber and ruby-aruba=2E

gnu/packages= /ruby=2Escm | 412 +++++++++++++++++++++++++++++++++++++++++-
1 file cha= nged, 404 insertions(+), 8 deletions(-)

Nice =F0=9F=98=83
I'm interested in Rails because some of the= OSM tools I would like to package depend on it=2E
--
Sent from my k= -9 mail for Android=2E
------P7CYUX4RCKDXL0VM8XVY87Y5R2COO3-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 29 16:45:03 2019 Received: (at 34217) by debbugs.gnu.org; 29 Jan 2019 21:45:03 +0000 Received: from localhost ([127.0.0.1]:50899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gobBm-00086t-JR for submit@debbugs.gnu.org; Tue, 29 Jan 2019 16:45:03 -0500 Received: from mx1.riseup.net ([198.252.153.129]:43086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gobBk-00086A-A0 for 34217@debbugs.gnu.org; Tue, 29 Jan 2019 16:45:01 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (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 72A361A0842; Tue, 29 Jan 2019 13:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1548798299; bh=6ziU8vVTl1zMqxrsgL8GWwf/8zyFsq1e/+P/rZ38CVU=; h=Subject:To:References:From:Date:In-Reply-To:From; b=gFq4RwOSmuz77RqKWahDaihBcevfuc3utRbrZ11OE6V8S3WYHd5UmmO9qcA7Wwuhs XFh05dZlLpnL17646f0T6DQ9sjM7I+zf4hdfm1uyOoaL77ZNwadnVt8b2JWoETuKpV sgS/JJdhabDAGIjnxPI042/FsvdxT9hVwOY+KKzs= X-Riseup-User-ID: C2F09F0EAA8F9BECFCEDABE5DF2C9D9F495542F1D86905263225F34C9E81ADFE Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 5D911424E2; Tue, 29 Jan 2019 13:44:57 -0800 (PST) Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. To: Christopher Baines , 34217@debbugs.gnu.org References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> From: swedebugia Message-ID: Date: Tue, 29 Jan 2019 22:44:55 +0100 MIME-Version: 1.0 In-Reply-To: <20190127114956.26570-11-mail@cbaines.net> Content-Type: multipart/mixed; boundary="------------88264DB34A1D2A1B46181058" Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------88264DB34A1D2A1B46181058 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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. > --- > gnu/packages/ruby.scm | 136 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 136 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index e507c816c8..59895240f8 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -32,6 +32,7 @@ > #:use-module ((guix licenses) #:prefix license:) > #:use-module (gnu packages) > #:use-module (gnu packages base) > + #:use-module (gnu packages check) > #:use-module (gnu packages compression) > #:use-module (gnu packages databases) > #:use-module (gnu packages dbm) > @@ -3795,6 +3796,141 @@ It is intended be used by all Cucumber implementations to parse > (home-page "https://github.com/cucumber-attic/gherkin") > (license license:expat))) > > +(define-public ruby-aruba > + (package > + (name "ruby-aruba") > + (version "0.14.7") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "aruba" version)) > + (sha256 > + (base32 > + "0x27352n15dsyf5ak246znfawbrm502q15r4msjw3cis17jlcy1l")))) > + (build-system ruby-build-system) > + (arguments > + '(;; TODO: There are a few test failures > + ;; 357 examples, 7 failures I investigated this and found: Failed examples: rspec ./spec/aruba/api_spec.rb:389 # Aruba::Api files #touch when directory when exist and the mtim\ e should be set statically rspec ./spec/aruba/api_spec.rb:388 # Aruba::Api files #touch when directory when exist and the mtim\ e should be set statically behaves like an existing directory rspec ./spec/aruba/api_spec.rb:362 # Aruba::Api files #touch when file when does not exist and the \ mtime should be set statically rspec ./spec/aruba/api_spec.rb:361 # Aruba::Api files #touch when file when does not exist and the \ mtime should be set statically behaves like an existing file rspec ./spec/aruba/matchers/command_spec.rb:165 # Command Matchers #to_have_output_on_stderr when h\ ave output hello world on stderr ave output hello world on stderr rspec ./spec/aruba/matchers/command_spec.rb:128 # Command Matchers #to_have_output_on_stdout when h\ ave output hello world on stderr rspec ./spec/aruba/matchers/command_spec.rb:91 # Command Matchers #to_have_output when have output \ hello world on stderr The offending lines are in spec/aruba/api_spec.rb beginning on line: 321, ending on 393 I tried creating a patch with diff for this file. I don't know if this is the way others here usually create patches. If not please enlighten me! :) -- Cheers Swedebugia --------------88264DB34A1D2A1B46181058 Content-Type: text/x-patch; name="failed-test-ruby-aruba-api-spec.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="failed-test-ruby-aruba-api-spec.patch" 321,393c321,393 < describe 'files' do < describe '#touch' do < let(:name) { @file_name } < let(:path) { @file_path } < let(:options) { {} } < < before :each do < @aruba.set_environment_variable 'HOME', File.expand_path(@aruba.aruba.current_directory) < end < < context 'when file' do < before :each do < @aruba.touch(name, options) < end < < context 'when does not exist' do < context 'and should be created in existing directory' do < it { expect(File.size(path)).to eq 0 } < it_behaves_like 'an existing file' < end < < context 'and should be created in non-existing directory' do < let(:name) { 'directory/test' } < let(:path) { File.join(@aruba.aruba.current_directory, 'directory/test') } < < it_behaves_like 'an existing file' < end < < context 'and path includes ~' do < let(:string) { random_string } < let(:name) { File.join('~', string) } < let(:path) { File.join(@aruba.aruba.current_directory, string) } < < it_behaves_like 'an existing file' < end < < context 'and the mtime should be set statically' do < let(:time) { Time.parse('2014-01-01 10:00:00') } < let(:options) { { :mtime => Time.parse('2014-01-01 10:00:00') } } < < it_behaves_like 'an existing file' < it { expect(File.mtime(path)).to eq time } < end < < context 'and multiple file names are given' do < let(:name) { %w(file1 file2 file3) } < let(:path) { %w(file1 file2 file3).map { |p| File.join(@aruba.aruba.current_directory, p) } } < it_behaves_like 'an existing file' < end < end < end < < context 'when directory' do < let(:name) { %w(directory1) } < let(:path) { Array(name).map { |p| File.join(@aruba.aruba.current_directory, p) } } < < context 'when exist' do < before(:each) { Array(path).each { |p| Aruba.platform.mkdir p } } < < before :each do < @aruba.touch(name, options) < end < < context 'and the mtime should be set statically' do < let(:time) { Time.parse('2014-01-01 10:00:00') } < let(:options) { { :mtime => Time.parse('2014-01-01 10:00:00') } } < < it_behaves_like 'an existing directory' < it { Array(path).each { |p| expect(File.mtime(p)).to eq time } } < end < end < end < end --- > # describe 'files' do > # describe '#touch' do > # let(:name) { @file_name } > # let(:path) { @file_path } > # let(:options) { {} } > > # before :each do > # @aruba.set_environment_variable 'HOME', File.expand_path(@aruba.aruba.current_directory) > # end > > # context 'when file' do > # before :each do > # @aruba.touch(name, options) > # end > > # context 'when does not exist' do > # context 'and should be created in existing directory' do > # it { expect(File.size(path)).to eq 0 } > # it_behaves_like 'an existing file' > # end > > # context 'and should be created in non-existing directory' do > # let(:name) { 'directory/test' } > # let(:path) { File.join(@aruba.aruba.current_directory, 'directory/test') } > > # it_behaves_like 'an existing file' > # end > > # context 'and path includes ~' do > # let(:string) { random_string } > # let(:name) { File.join('~', string) } > # let(:path) { File.join(@aruba.aruba.current_directory, string) } > > # it_behaves_like 'an existing file' > # end > > # context 'and the mtime should be set statically' do > # let(:time) { Time.parse('2014-01-01 10:00:00') } > # let(:options) { { :mtime => Time.parse('2014-01-01 10:00:00') } } > > # it_behaves_like 'an existing file' > # it { expect(File.mtime(path)).to eq time } > # end > > # context 'and multiple file names are given' do > # let(:name) { %w(file1 file2 file3) } > # let(:path) { %w(file1 file2 file3).map { |p| File.join(@aruba.aruba.current_directory, p) } } > # it_behaves_like 'an existing file' > # end > # end > # end > > # context 'when directory' do > # let(:name) { %w(directory1) } > # let(:path) { Array(name).map { |p| File.join(@aruba.aruba.current_directory, p) } } > > # context 'when exist' do > # before(:each) { Array(path).each { |p| Aruba.platform.mkdir p } } > > # before :each do > # @aruba.touch(name, options) > # end > > # context 'and the mtime should be set statically' do > # let(:time) { Time.parse('2014-01-01 10:00:00') } > # let(:options) { { :mtime => Time.parse('2014-01-01 10:00:00') } } > > # it_behaves_like 'an existing directory' > # it { Array(path).each { |p| expect(File.mtime(p)).to eq time } } > # end > # end > # end > # end --------------88264DB34A1D2A1B46181058-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 30 09:43:16 2019 Received: (at 34217) by debbugs.gnu.org; 30 Jan 2019 14:43:17 +0000 Received: from localhost ([127.0.0.1]:51111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gor5A-00051i-J3 for submit@debbugs.gnu.org; Wed, 30 Jan 2019 09:43:16 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gor58-00051Y-Gd for 34217@debbugs.gnu.org; Wed, 30 Jan 2019 09:43:15 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1548852974; cv=none; d=zoho.com; s=zohoarc; b=g1KjCUqoFkQPDRkfAfsW4VqkltB2etNPn0fnNUCO8ENV1LooG6mlufoFXA6guIyUavng4GjzHWzb5mjFFHLT7Q15aGpcFADWty+hU8zRttuF6kLu10orWXNRjnHzxon7o4qA+vkOMVm0FAtThXvZ7/IIGSUY6SxzQCFSC/wZtpY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1548852974; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=WvcIXm8snwQGwoowDchaTrI1iYtYpRyayAjbJSzzwG0=; b=ZzgDZ38EsrufQgbRnP6BzWMDblCAyjCAEz0coMEsfy974afFB11ezTrR7BjqouJ1laNCHI47J+BUJMi31I5i2T26JFqzmENAPQMjHE+HjAlG7WiKfu87X4X3LcbIk5wPALldeHnGY/M04BTvBdFhnSke793j5EI9zTuafAyxPNg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548852974; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2456; bh=WvcIXm8snwQGwoowDchaTrI1iYtYpRyayAjbJSzzwG0=; b=IH/3rIMruQ017lT2T920IRkuuG61fpzn/njoiaI8H6w2KYJzHMOINMpllQ1536yS 0fBN2o98TKS7wezJ936afk37Evsb7oc9T3IZe9sjn1YyBIYbzhI4xI4X5/E3aiwYu2E xhZDqZHByMdt9mJ4quir755J2qqvQDnXQjm10dxQ= Received: from localhost (141.80.247.117 [141.80.247.117]) by mx.zohomail.com with SMTPS id 1548852972578130.75475341574224; Wed, 30 Jan 2019 04:56:12 -0800 (PST) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: swedebugia Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 30 Jan 2019 13:56:08 +0100 Message-ID: <87lg32nw2f.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org, Christopher Baines X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi swedebugia, > On 2019-01-27 12:49, Christopher Baines wrote: >> These packages are mutually dependant, so I've put them in one commit. >>=20 >> * gnu/packages/ruby.scm (ruby-aruba, ruby-cucumber): New variables. [=E2=80=A6] >> +(define-public ruby-aruba >> + (package >> + (name "ruby-aruba") >> + (version "0.14.7") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (rubygems-uri "aruba" version)) >> + (sha256 >> + (base32 >> + "0x27352n15dsyf5ak246znfawbrm502q15r4msjw3cis17jlcy1l")))) >> + (build-system ruby-build-system) >> + (arguments >> + '(;; TODO: There are a few test failures >> + ;; 357 examples, 7 failures > > I investigated this and found: > Failed examples: > > rspec ./spec/aruba/api_spec.rb:389 # Aruba::Api files #touch when=20 > directory when exist and the mtim\ > e should be set statically > rspec ./spec/aruba/api_spec.rb:388 # Aruba::Api files #touch when=20 > directory when exist and the mtim\ > e should be set statically behaves like an existing directory > rspec ./spec/aruba/api_spec.rb:362 # Aruba::Api files #touch when file=20 > when does not exist and the \ > mtime should be set statically > rspec ./spec/aruba/api_spec.rb:361 # Aruba::Api files #touch when file=20 > when does not exist and the \ > mtime should be set statically behaves like an existing file > rspec ./spec/aruba/matchers/command_spec.rb:165 # Command Matchers=20 > #to_have_output_on_stderr when h\ > ave output hello world on stderr > ave output hello world on stderr > rspec ./spec/aruba/matchers/command_spec.rb:128 # Command Matchers=20 > #to_have_output_on_stdout when h\ > ave output hello world on stderr > rspec ./spec/aruba/matchers/command_spec.rb:91 # Command Matchers=20 > #to_have_output when have output \ > hello world on stderr What does this mean? > The offending lines are in spec/aruba/api_spec.rb > beginning on line: 321, ending on 393 > I tried creating a patch with diff for this file. I don't know if this=20 > is the way others here usually create patches. > > If not please enlighten me! :) We usually use =E2=80=9Cdiff -u=E2=80=9D to generate patches in unified dif= f format (that=E2=80=99s the one with plus and minus prefixes). Your patch only disables the test. I would rather like to know why it fails and then fix the problem at the root. Have you figured out why they fail and how the failure can be prevented? --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 30 13:00:22 2019 Received: (at 34217) by debbugs.gnu.org; 30 Jan 2019 18:00:22 +0000 Received: from localhost ([127.0.0.1]:51897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gou9t-0001j1-SV for submit@debbugs.gnu.org; Wed, 30 Jan 2019 13:00:22 -0500 Received: from mx1.riseup.net ([198.252.153.129]:35232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gou9r-0001iq-Ux for 34217@debbugs.gnu.org; Wed, 30 Jan 2019 13:00:20 -0500 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (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 1A77D1A6F94; Wed, 30 Jan 2019 08:11:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1548864668; bh=rkJg2C1FBfB5k7ne8Zd3hQ8lovh6GQY7egF5iuN/CbQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=FyPjxi8I+KDdoXjK5a7w+Oi3OmLrnLnFYRSLhT+Aro9AcWsyPcNoDDfBkz1Vz6jxD J6YCj7D0y9E0jdcdAYAHtSeK/2W+H2IFfu703N8/3mT2iU6n9U9WGgDWcffU6zJ+gW CvPkC0rFLRsq0J1hIERsI83jTZoJlBlnD4j2IRBw= X-Riseup-User-ID: 2259593EF76DF63CF401CCD48E90CC1AE55BF02056FA93BC8F75D53B7CF744AC Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net with ESMTPSA id A03CA120D2F; Wed, 30 Jan 2019 08:11:05 -0800 (PST) Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. To: Ricardo Wurmus References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> <87lg32nw2f.fsf@elephly.net> From: swedebugia Message-ID: <754595d3-c267-485d-d0c0-a3782b88c89f@riseup.net> Date: Wed, 30 Jan 2019 17:11:01 +0100 MIME-Version: 1.0 In-Reply-To: <87lg32nw2f.fsf@elephly.net> Content-Type: multipart/mixed; boundary="------------15E409A9755296FA669448FA" Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org, Christopher Baines X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------15E409A9755296FA669448FA Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. > […] >>> +(define-public ruby-aruba >>> + (package >>> + (name "ruby-aruba") >>> + (version "0.14.7") >>> + (source >>> + (origin >>> + (method url-fetch) >>> + (uri (rubygems-uri "aruba" version)) >>> + (sha256 >>> + (base32 >>> + "0x27352n15dsyf5ak246znfawbrm502q15r4msjw3cis17jlcy1l")))) >>> + (build-system ruby-build-system) >>> + (arguments >>> + '(;; TODO: There are a few test failures >>> + ;; 357 examples, 7 failures >> >> I investigated this and found: >> Failed examples: >> >> rspec ./spec/aruba/api_spec.rb:389 # Aruba::Api files #touch when >> directory when exist and the mtim\ >> e should be set statically >> rspec ./spec/aruba/api_spec.rb:388 # Aruba::Api files #touch when >> directory when exist and the mtim\ >> e should be set statically behaves like an existing directory >> rspec ./spec/aruba/api_spec.rb:362 # Aruba::Api files #touch when file >> when does not exist and the \ >> mtime should be set statically >> rspec ./spec/aruba/api_spec.rb:361 # Aruba::Api files #touch when file >> when does not exist and the \ >> mtime should be set statically behaves like an existing file >> rspec ./spec/aruba/matchers/command_spec.rb:165 # Command Matchers >> #to_have_output_on_stderr when h\ >> ave output hello world on stderr >> ave output hello world on stderr >> rspec ./spec/aruba/matchers/command_spec.rb:128 # Command Matchers >> #to_have_output_on_stdout when h\ >> ave output hello world on stderr >> rspec ./spec/aruba/matchers/command_spec.rb:91 # Command Matchers >> #to_have_output when have output \ >> hello world on stderr > > What does this mean? > >> The offending lines are in spec/aruba/api_spec.rb >> beginning on line: 321, ending on 393 >> I tried creating a patch with diff for this file. I don't know if this >> is the way others here usually create patches. >> >> If not please enlighten me! :) > > We usually use “diff -u” to generate patches in unified diff format > (that’s the one with plus and minus prefixes). > > Your patch only disables the test. I would rather like to know why it > fails and then fix the problem at the root. Have you figured out why > they fail and how the failure can be prevented? > No but I attached the full error message. The relevant section is here: Randomized with seed 46150 ............................../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized ......................................................................................................................................F.....F.F......................................../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized ................................../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: warning: instance variable @timed_out not initialized ................../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/runtime.rb:84: warning: instance variable @fixtures_directory not initialized ......../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/runtime.rb:84: warning: instance variable @fixtures_directory not initialized .......FF.....FF............................................................... Failures: 1) Command Matchers #to_have_output_on_stdout when have output hello world on stderr Failure/Error: raise LaunchError, "It tried to start #{cmd}. " + e.message NameError: undefined local variable or method `cmd' for # Did you mean? @cmd # ./lib/aruba/processes/spawn_process.rb:89:in `rescue in start' # ./lib/aruba/processes/spawn_process.rb:83:in `start' # ./lib/aruba/command.rb:69:in `start' # ./lib/aruba/api/command.rb:213:in `run' # ./spec/aruba/matchers/command_spec.rb:126:in `block (4 levels) in ' # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # ChildProcess::LaunchError: # No such file or directory - /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/tmp/aruba/cmd.sh # ./lib/aruba/processes/spawn_process.rb:85:in `block in start' 2) Command Matchers #to_have_output when have output hello world on stderr Failure/Error: raise LaunchError, "It tried to start #{cmd}. " + e.message NameError: undefined local variable or method `cmd' for # Did you mean? @cmd # ./lib/aruba/processes/spawn_process.rb:89:in `rescue in start' # ./lib/aruba/processes/spawn_process.rb:83:in `start' # ./lib/aruba/command.rb:69:in `start' # ./lib/aruba/api/command.rb:213:in `run' # ./spec/aruba/matchers/command_spec.rb:89:in `block (4 levels) in ' # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # ChildProcess::LaunchError: # No such file or directory - /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/tmp/aruba/cmd.sh # ./lib/aruba/processes/spawn_process.rb:85:in `block in start' 3) Command Matchers #to_have_output_on_stderr when have output hello world on stderr Failure/Error: raise LaunchError, "It tried to start #{cmd}. " + e.message NameError: undefined local variable or method `cmd' for # Did you mean? @cmd # ./lib/aruba/processes/spawn_process.rb:89:in `rescue in start' # ./lib/aruba/processes/spawn_process.rb:83:in `start' # ./lib/aruba/command.rb:69:in `start' # ./lib/aruba/api/command.rb:213:in `run' # ./spec/aruba/matchers/command_spec.rb:163:in `block (4 levels) in ' # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # ChildProcess::LaunchError: # No such file or directory - /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/tmp/aruba/cmd.sh # ./lib/aruba/processes/spawn_process.rb:85:in `block in start' 4) Aruba::Api files #touch when directory when exist and the mtime should be set statically Failure/Error: let(:options) { { :mtime => Time.parse('2014-01-01 10:00:00') } } NoMethodError: undefined method `parse' for Time:Class # ./spec/aruba/api_spec.rb:386:in `block (7 levels) in ' # ./spec/aruba/api_spec.rb:381:in `block (6 levels) in ' # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' 5) Aruba::Api files #touch when directory when exist and the mtime should be set statically behaves like an existing directory Failure/Error: let(:options) { { :mtime => Time.parse('2014-01-01 10:00:00') } } NoMethodError: undefined method `parse' for Time:Class Shared Example Group: "an existing directory" called from ./spec/aruba/api_spec.rb:388 # ./spec/aruba/api_spec.rb:386:in `block (7 levels) in ' # ./spec/aruba/api_spec.rb:381:in `block (6 levels) in ' # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' 6) Aruba::Api files #touch when file when does not exist and the mtime should be set statically Failure/Error: let(:options) { { :mtime => Time.parse('2014-01-01 10:00:00') } } NoMethodError: undefined method `parse' for Time:Class # ./spec/aruba/api_spec.rb:359:in `block (7 levels) in ' # ./spec/aruba/api_spec.rb:333:in `block (5 levels) in ' # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' 7) Aruba::Api files #touch when file when does not exist and the mtime should be set statically behaves like an existing file Failure/Error: let(:options) { { :mtime => Time.parse('2014-01-01 10:00:00') } } NoMethodError: undefined method `parse' for Time:Class Shared Example Group: "an existing file" called from ./spec/aruba/api_spec.rb:361 # ./spec/aruba/api_spec.rb:359:in `block (7 levels) in ' # ./spec/aruba/api_spec.rb:333:in `block (5 levels) in ' # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' I don't know ruby at all so I might not be the best qualified to investigate this. :/ -- Cheers Swedebugia --------------15E409A9755296FA669448FA Content-Type: application/x-bzip; name="8wpsbz3zkk66m2hvrkw8bl0y7kxky6-ruby-aruba-0.14.7.drv.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="8wpsbz3zkk66m2hvrkw8bl0y7kxky6-ruby-aruba-0.14.7.drv.bz2" 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 IPUQbOo= --------------15E409A9755296FA669448FA-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 30 13:01:43 2019 Received: (at 34217) by debbugs.gnu.org; 30 Jan 2019 18:01:43 +0000 Received: from localhost ([127.0.0.1]:51901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gouBC-0001lH-UV for submit@debbugs.gnu.org; Wed, 30 Jan 2019 13:01:43 -0500 Received: from mx1.riseup.net ([198.252.153.129]:59100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gouBA-0001l6-QI for 34217@debbugs.gnu.org; Wed, 30 Jan 2019 13:01:41 -0500 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (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 18BC51A7C3D; Wed, 30 Jan 2019 08:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1548865348; bh=fa/MtfOcX+z0PVlRALQOwXo1JMtXxHv+FYM7mcZSe/s=; h=Subject:From:To:Cc:References:Date:In-Reply-To:From; b=ppmBPdOr8UOr2aasNFdc1agVU56S1yR/Rc1SVVtWxQc+vFriVzAhqs921/0GS5Sku A1KkFLNrWbIigN9boAyTK0HkWwX8IXMj6u/QlCm6hY2vOjDGNSJZM2mCzS4GQNOJIY kICSUJnsagX6Cbxgzfx6i1sargLrBcYdeDpxM0FM= X-Riseup-User-ID: 62056442672219A662554B45F44D249FA5062CC49260B714947C899C7DBA4A4E Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net with ESMTPSA id 3F345120419; Wed, 30 Jan 2019 08:22:24 -0800 (PST) Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. From: swedebugia To: Ricardo Wurmus 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> Message-ID: Date: Wed, 30 Jan 2019 17:22:23 +0100 MIME-Version: 1.0 In-Reply-To: <754595d3-c267-485d-d0c0-a3782b88c89f@riseup.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org, Christopher Baines X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. >> […] >>>> +(define-public ruby-aruba >>>> +  (package >>>> +    (name "ruby-aruba") >>>> +    (version "0.14.7") >>>> +    (source >>>> +     (origin >>>> +       (method url-fetch) >>>> +       (uri (rubygems-uri "aruba" version)) >>>> +       (sha256 >>>> +        (base32 >>>> +         "0x27352n15dsyf5ak246znfawbrm502q15r4msjw3cis17jlcy1l")))) >>>> +    (build-system ruby-build-system) >>>> +    (arguments >>>> +     '(;; TODO: There are a few test failures >>>> +       ;; 357 examples, 7 failures >>> >>> I investigated this and found: >>> Failed examples: >>> >>> rspec ./spec/aruba/api_spec.rb:389 # Aruba::Api files #touch when >>> directory when exist and the mtim\ >>> e should be set statically >>> rspec ./spec/aruba/api_spec.rb:388 # Aruba::Api files #touch when >>> directory when exist and the mtim\ >>> e should be set statically behaves like an existing directory >>> rspec ./spec/aruba/api_spec.rb:362 # Aruba::Api files #touch when file >>> when does not exist and the \ >>> mtime should be set statically >>> rspec ./spec/aruba/api_spec.rb:361 # Aruba::Api files #touch when file >>> when does not exist and the \ >>> mtime should be set statically behaves like an existing file >>> rspec ./spec/aruba/matchers/command_spec.rb:165 # Command Matchers >>> #to_have_output_on_stderr when h\ >>> ave output hello world on stderr >>> ave output hello world on stderr >>> rspec ./spec/aruba/matchers/command_spec.rb:128 # Command Matchers >>> #to_have_output_on_stdout when h\ >>> ave output hello world on stderr >>> rspec ./spec/aruba/matchers/command_spec.rb:91 # Command Matchers >>> #to_have_output when have output \ >>> hello world on stderr >> >> What does this mean? >> >>> The offending lines are in spec/aruba/api_spec.rb >>> beginning on line: 321, ending on 393 >>> I tried creating a patch with diff for this file. I don't know if this >>> is the way others here usually create patches. >>> >>> If not please enlighten me! :) >> >> We usually use “diff -u” to generate patches in unified diff format >> (that’s the one with plus and minus prefixes). >> >> Your patch only disables the test.  I would rather like to know why it >> fails and then fix the problem at the root.  Have you figured out why >> they fail and how the failure can be prevented? >> > > No but I attached the full error message. > > The relevant section is here: > > Randomized with seed 46150 > ............................../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > ......................................................................................................................................F.....F.F......................................../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > ................................../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > ./tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/processes/basic_process.rb:100: > warning: instance variable @timed_out not initialized > ................../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/runtime.rb:84: > warning: instance variable @fixtures_directory not initialized > ......../tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/lib/aruba/runtime.rb:84: > warning: instance variable @fixtures_directory not initialized > .......FF.....FF............................................................... > > > Failures: > >   1) Command Matchers #to_have_output_on_stdout when have output hello > world on stderr >      Failure/Error: raise LaunchError, "It tried to start #{cmd}. " + > e.message > >      NameError: >        undefined local variable or method `cmd' for > # >        Did you mean?  @cmd >      # ./lib/aruba/processes/spawn_process.rb:89:in `rescue in start' >      # ./lib/aruba/processes/spawn_process.rb:83:in `start' >      # ./lib/aruba/command.rb:69:in `start' >      # ./lib/aruba/api/command.rb:213:in `run' >      # ./spec/aruba/matchers/command_spec.rb:126:in `block (4 levels) > in ' >      # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' >      # ------------------ >      # --- Caused by: --- >      # ChildProcess::LaunchError: >      #   No such file or directory - > /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/tmp/aruba/cmd.sh >      #   ./lib/aruba/processes/spawn_process.rb:85:in `block in start' > >   2) Command Matchers #to_have_output when have output hello world on > stderr >      Failure/Error: raise LaunchError, "It tried to start #{cmd}. " + > e.message > >      NameError: >        undefined local variable or method `cmd' for > # >        Did you mean?  @cmd >      # ./lib/aruba/processes/spawn_process.rb:89:in `rescue in start' >      # ./lib/aruba/processes/spawn_process.rb:83:in `start' >      # ./lib/aruba/command.rb:69:in `start' >      # ./lib/aruba/api/command.rb:213:in `run' >      # ./spec/aruba/matchers/command_spec.rb:89:in `block (4 levels) in > ' >      # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' >      # ------------------ >      # --- Caused by: --- >      # ChildProcess::LaunchError: >      #   No such file or directory - > /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/tmp/aruba/cmd.sh >      #   ./lib/aruba/processes/spawn_process.rb:85:in `block in start' > >   3) Command Matchers #to_have_output_on_stderr when have output hello > world on stderr >      Failure/Error: raise LaunchError, "It tried to start #{cmd}. " + > e.message > >      NameError: >        undefined local variable or method `cmd' for > # >        Did you mean?  @cmd >      # ./lib/aruba/processes/spawn_process.rb:89:in `rescue in start' >      # ./lib/aruba/processes/spawn_process.rb:83:in `start' >      # ./lib/aruba/command.rb:69:in `start' >      # ./lib/aruba/api/command.rb:213:in `run' >      # ./spec/aruba/matchers/command_spec.rb:163:in `block (4 levels) > in ' >      # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' >      # ------------------ >      # --- Caused by: --- >      # ChildProcess::LaunchError: >      #   No such file or directory - > /tmp/guix-build-ruby-aruba-0.14.7.drv-0/gem/tmp/aruba/cmd.sh >      #   ./lib/aruba/processes/spawn_process.rb:85:in `block in start' > >   4) Aruba::Api files #touch when directory when exist and the mtime > should be set statically >      Failure/Error: let(:options) { { :mtime => Time.parse('2014-01-01 > 10:00:00') } } > >      NoMethodError: >        undefined method `parse' for Time:Class >      # ./spec/aruba/api_spec.rb:386:in `block (7 levels) in (required)>' >      # ./spec/aruba/api_spec.rb:381:in `block (6 levels) in (required)>' >      # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' > >   5) Aruba::Api files #touch when directory when exist and the mtime > should be set statically behaves like an existing directory >      Failure/Error: let(:options) { { :mtime => Time.parse('2014-01-01 > 10:00:00') } } > >      NoMethodError: >        undefined method `parse' for Time:Class >      Shared Example Group: "an existing directory" called from > ./spec/aruba/api_spec.rb:388 >      # ./spec/aruba/api_spec.rb:386:in `block (7 levels) in (required)>' >      # ./spec/aruba/api_spec.rb:381:in `block (6 levels) in (required)>' >      # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' > >   6) Aruba::Api files #touch when file when does not exist and the > mtime should be set statically >      Failure/Error: let(:options) { { :mtime => Time.parse('2014-01-01 > 10:00:00') } } > >      NoMethodError: >        undefined method `parse' for Time:Class >      # ./spec/aruba/api_spec.rb:359:in `block (7 levels) in (required)>' >      # ./spec/aruba/api_spec.rb:333:in `block (5 levels) in (required)>' >      # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' > >   7) Aruba::Api files #touch when file when does not exist and the > mtime should be set statically behaves like an existing file >      Failure/Error: let(:options) { { :mtime => Time.parse('2014-01-01 > 10:00:00') } } > >      NoMethodError: >        undefined method `parse' for Time:Class >      Shared Example Group: "an existing file" called from > ./spec/aruba/api_spec.rb:361 >      # ./spec/aruba/api_spec.rb:359:in `block (7 levels) in (required)>' >      # ./spec/aruba/api_spec.rb:333:in `block (5 levels) in (required)>' >      # ./lib/aruba/rspec.rb:22:in `block (2 levels) in ' > > > I don't know ruby at all so I might not be the best qualified to > investigate this. :/ > I suspect a path-error. I found this, but dunno if it is related: https://github.com/cucumber/aruba/issues/418 I submitted this: https://github.com/cucumber/aruba/issues/589 -- Cheers Swedebugia From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 31 03:43:17 2019 Received: (at submit) by debbugs.gnu.org; 31 Jan 2019 08:43:17 +0000 Received: from localhost ([127.0.0.1]:52146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gp7wL-0002Xt-80 for submit@debbugs.gnu.org; Thu, 31 Jan 2019 03:43:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gp7wI-0002Xd-EN for submit@debbugs.gnu.org; Thu, 31 Jan 2019 03:43:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:40141) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gp7wD-0004hi-9K for submit@debbugs.gnu.org; Thu, 31 Jan 2019 03:43:09 -0500 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1548924185; bh=twZAchvcvlpp9UzOywDiZLs7lZ40zXUR5eDfYIHy1Bw=; h=Subject:To:References:From:Date:In-Reply-To:From; b=ZB6n5Q/Q8xeJEXFx5jBeV9fTHIap/oRI+do/BdP3pYiVEahFHhcfSNfb8dWgzzuZb 8My0H2q06GJT+e6snRd3uILGP3Cdfz1crNHv52IYVrFVA/36mWLF7Xd4kabuY1wyzD e6MNfC279wJIDEDCVBKcGN/9+TWHYOSOb7cpUBq4= X-Riseup-User-ID: CEA01D6CF0CE8C104FE8F5FA5C4A61F9B6A978EAA6D96ED085D90BAF955C84EB 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) Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. To: guix-patches@gnu.org 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 198.252.153.129 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 31 03:53:32 2019 Received: (at submit) by debbugs.gnu.org; 31 Jan 2019 08:53:32 +0000 Received: from localhost ([127.0.0.1]:52154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gp86F-0002oA-M5 for submit@debbugs.gnu.org; Thu, 31 Jan 2019 03:53:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gp86E-0002nt-9p for submit@debbugs.gnu.org; Thu, 31 Jan 2019 03:53:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:58881) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gp869-0000ue-1U for submit@debbugs.gnu.org; Thu, 31 Jan 2019 03:53:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gp868-0004Xp-4I for guix-patches@gnu.org; Thu, 31 Jan 2019 03:53:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gp867-0000tp-44 for guix-patches@gnu.org; Thu, 31 Jan 2019 03:53:24 -0500 Received: from mx1.riseup.net ([198.252.153.129]:52428) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gp866-0000sd-QM for guix-patches@gnu.org; Thu, 31 Jan 2019 03:53:23 -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 4CBDF1A0A2E for ; Thu, 31 Jan 2019 00:53:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1548924801; bh=8eZbqn8AjkOkla6NWV3CYqoMztokO7oyzwhblVClY+A=; h=Subject:To:References:From:Date:In-Reply-To:From; b=DizzOeWxofMoDMBDmV13+ACIbzatVD5ha6iklv6ale3JhVj4ARSar4T5Lyitr8lqd C3kgZKjUgG8kTXyhdh1AZ7dXPU+MGFDHGdvtjwI1TLvraPtpx+pJgkMiOQWm2l3JW2 ri4nyC9P1DV/36nCrqBW19KlHgxRNzYFwk7VV9Lg= X-Riseup-User-ID: 129F8A655772EDDEF40495905FD9E36510056666BE7933004B2E8C1D32372D6A Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 493FD1C0606 for ; Thu, 31 Jan 2019 00:53:19 -0800 (PST) Subject: Re: [bug#34217] [PATCH 07/11] gnu: Add ruby-backports. To: guix-patches@gnu.org References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-7-mail@cbaines.net> From: swedebugia Message-ID: <87d7347f-bea8-092d-7c54-d9fa6973be60@riseup.net> Date: Thu, 31 Jan 2019 09:53:17 +0100 MIME-Version: 1.0 In-Reply-To: <20190127114956.26570-7-mail@cbaines.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 198.252.153.129 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On 2019-01-27 12:49, Christopher Baines wrote: > * gnu/packages/ruby.scm (ruby-backports): New variable. > --- > gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index 5a9a9a7c6d..115e132b95 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -1350,6 +1350,31 @@ User Agents.") > (home-page "https://github.com/gshutler/useragent") > (license license:expat))) > > +(define-public ruby-backports > + (package > + (name "ruby-backports") > + (version "3.11.4") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "backports" version)) > + (sha256 > + (base32 > + "1hshjxww2h7s0dk57njrygq4zpp0nlqrjfya7zwm27iq3rhc3y8g")))) > + (build-system ruby-build-system) > + (arguments > + '(;; TODO: This should be default, but there is one test failure > + #:test-target "all_spec")) The failure is reported upstream, see https://github.com/marcandre/backports/issues/127 -- Cheers Swedebugia From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 10:41:32 2019 Received: (at 34217) by debbugs.gnu.org; 1 Feb 2019 15:41:32 +0000 Received: from localhost ([127.0.0.1]:55151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpawe-0002zp-5x for submit@debbugs.gnu.org; Fri, 01 Feb 2019 10:41:32 -0500 Received: from mx1.riseup.net ([198.252.153.129]:55738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpawc-0002zg-Cu for 34217@debbugs.gnu.org; Fri, 01 Feb 2019 10:41:31 -0500 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (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 8CE821A3579; Fri, 1 Feb 2019 07:41:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1549035689; bh=z1ulkGgpbjv9odR8FxGd7QR5Ye4Sy89gDfywCyaTTYM=; h=Date:In-Reply-To:References:Subject:To:From:From; b=rqfZr9qmzncLDGSJuA11aDrki1bihRfI7KXaCGisQQpT1BVl90j7O0ZxYcoTXXz47 /3OUQjpzJ/Dym8Z+mwoDDTaw8mpstvcMi2U4IVI24jUwv97BvnVihKf5I8OvvWwUKj nVOjQSpBHlJlHTqtdcL5bj/U8CCZbBQIcSv6pmlE= X-Riseup-User-ID: D5D3DCAE179CB6B4EA88402A77B89C2B5902929C41246E31C7FAEA54CF9625DB Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net with ESMTPSA id AE236120418; Fri, 1 Feb 2019 07:41:28 -0800 (PST) Date: Fri, 01 Feb 2019 16:41:38 +0100 In-Reply-To: <87d7347f-bea8-092d-7c54-d9fa6973be60@riseup.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-7-mail@cbaines.net> <87d7347f-bea8-092d-7c54-d9fa6973be60@riseup.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----XUSX7G39XKVBPXYCYPFO7XHWVG7RAD" Content-Transfer-Encoding: 7bit Subject: Re: [bug#34217] [PATCH 07/11] gnu: Add ruby-backports. To: guix-patches@gnu.org,34217@debbugs.gnu.org From: swedebugia Message-ID: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34217 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) ------XUSX7G39XKVBPXYCYPFO7XHWVG7RAD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable swedebugia skrev: (31 januari 2019 09:53:17 CET) >On 2019-01-27 12:49, Christopher Baines wrote: >> * gnu/packages/ruby=2Escm (ruby-backports): New variable=2E >> --- >> gnu/packages/ruby=2Escm | 25 +++++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) >>=20 >> diff --git a/gnu/packages/ruby=2Escm b/gnu/packages/ruby=2Escm >> index 5a9a9a7c6d=2E=2E115e132b95 100644 >> --- a/gnu/packages/ruby=2Escm >> +++ b/gnu/packages/ruby=2Escm >> @@ -1350,6 +1350,31 @@ User Agents=2E") >> (home-page "https://github=2Ecom/gshutler/useragent") >> (license license:expat))) >> =20 >> +(define-public ruby-backports >> + (package >> + (name "ruby-backports") >> + (version "3=2E11=2E4") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (rubygems-uri "backports" version)) >> + (sha256 >> + (base32 >> + "1hshjxww2h7s0dk57njrygq4zpp0nlqrjfya7zwm27iq3rhc3y8g")))) >> + (build-system ruby-build-system) >> + (arguments >> + '(;; TODO: This should be default, but there is one test failure >> + #:test-target "all_spec")) > >The failure is reported upstream, see=20 >https://github=2Ecom/marcandre/backports/issues/127 > >--=20 >Cheers >Swedebugia From=20upstream: Sorry the failure is quite obscure=2E Backports wants to make sure it is defining the right methods only when ne= cessary=2E The test is failing because the method=C2=A0alias_method_chainap= pears to have been added to all modules (Array,=C2=A0Binding, =2E=2E=2E)=2E= Maybe the old=C2=A0backports/rails/module/alias_method_chain=C2=A0is someh= ow loaded, but I don't see how or why=2E=2E=2E --=20 Sent from my k-9 mail for Android=2E ------XUSX7G39XKVBPXYCYPFO7XHWVG7RAD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
swedebugia <swedebug= ia@riseup=2Enet> skrev: (31 januari 2019 09:53:17 CET)
On 2019-01-27 12:49, Christopher Baines wrote:
* gnu/packages/ruby=2Escm (r= uby-backports): New variable=2E
gnu/packages/ruby=2Escm | 25 +++++++++= ++++++++++++++++
1 file changed, 25 insertions(+)

diff --git a/= gnu/packages/ruby=2Escm b/gnu/packages/ruby=2Escm
index 5a9a9a7c6d=2E=2E= 115e132b95 100644
--- a/gnu/packages/ruby=2Escm
+++ b/gnu/packages/ru= by=2Escm
@@ -1350,6 +1350,31 @@ User Agents=2E")
(home-page "ht= tps://github=2Ecom/gshutler/useragent")
(license license:expat)))<= br>
+(define-public ruby-backports
+ (package
+ (name "ruby-ba= ckports")
+ (version "3=2E11=2E4")
+ (source
+ (origin
+ = (method url-fetch)
+ (uri (rubygems-uri "backports" version))+ (sha256
+ (base32
+ "1hshjxww2h7s0dk57njrygq= 4zpp0nlqrjfya7zwm27iq3rhc3y8g"))))
+ (build-system ruby-build-system)+ (arguments
+ '(;; TODO: This should be default, but there is one = test failure
+ #:test-target "all_spec"))

The fa= ilure is reported upstream, see
https://github=2Ecom/marcandre/backports/issues/12= 7

From upstream:
Sorry= the failure is quite obscure=2E

Backports wants to make sure it is = defining the right methods only when necessary=2E The test is failing becau= se the method=C2=A0alias_method_chainappears to have been added to all modu= les (Array,=C2=A0Binding, =2E=2E=2E)=2E Maybe the old=C2=A0backports/rails/= module/alias_method_chain=C2=A0is somehow loaded, but I don't see how or wh= y=2E=2E=2E

--
Sent from my k-9 mail for Android=2E
------XUSX7G39XKVBPXYCYPFO7XHWVG7RAD-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 16:03:45 2019 Received: (at 34217) by debbugs.gnu.org; 3 Feb 2019 21:03:45 +0000 Received: from localhost ([127.0.0.1]:57812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqOvY-0004f8-Mh for submit@debbugs.gnu.org; Sun, 03 Feb 2019 16:03:44 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:33908 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqOvW-0004ey-Fu for 34217@debbugs.gnu.org; Sun, 03 Feb 2019 16:03:43 -0500 Received: from alma-ubu (unknown [10.9.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 6F4C43FD1B; Sun, 3 Feb 2019 22:03:40 +0100 (CET) Date: Sun, 3 Feb 2019 22:03:39 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Christopher Baines Subject: Re: [bug#34217] [PATCH 01/11] gnu: Add ruby-cucumber-wire. Message-ID: <20190203220328.747b1454@alma-ubu> In-Reply-To: <20190127114956.26570-1-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) On Sun, 27 Jan 2019 11:49:46 +0000 Christopher Baines wrote: > Package version 0.0.1 initially, as this is what's needed by Cucumber > 3, and Cucumber 4 hasn't been released yet. I would prefer to see this hint as a comment in the code, not in the commit message: When I as a developer stumble upon the package definition and see it is outdated, I would just update it and not search all commit messages to find out it shouldn't. A comment near the package definition or version would prevent that mistake. Otherwise, LGTM. Thanks, Bj=C3=B6rn From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 16:40:27 2019 Received: (at 34217) by debbugs.gnu.org; 3 Feb 2019 21:40:27 +0000 Received: from localhost ([127.0.0.1]:57830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqPV5-0005Wa-AS for submit@debbugs.gnu.org; Sun, 03 Feb 2019 16:40:27 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:33912 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqPV2-0005WP-Sf for 34217@debbugs.gnu.org; Sun, 03 Feb 2019 16:40:25 -0500 Received: from alma-ubu (unknown [10.9.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 986E83FE3F; Sun, 3 Feb 2019 22:40:22 +0100 (CET) Date: Sun, 3 Feb 2019 22:40:22 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Christopher Baines Subject: Re: [bug#34217] [PATCH 03/11] gnu: Add ruby-ruby-progressbar. Message-ID: <20190203224015.0cf8fd3d@alma-ubu> In-Reply-To: <20190127114956.26570-3-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-3-mail@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) On Sun, 27 Jan 2019 11:49:48 +0000 Christopher Baines wrote: > * gnu/packages/ruby.scm (ruby-ruby-progressbar): New variable. > --- > gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) >=20 > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index 808b2d8686..15382de017 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -2507,6 +2507,28 @@ rate.") > (home-page "https://github.com/paul/progress_bar") > (license license:wtfpl2))) > =20 > +(define-public ruby-ruby-progressbar > + (package > + (name "ruby-ruby-progressbar") Although we do not have a specific section about Ruby packages, I would stick to the rules for Python packages: https://www.gnu.org/software/guix/manual/en/guix.html#Python-Modules "If a project already contains the word python, we drop this; for instance, the module python-dateutil is packaged under the names python-dat= eutil" Thus, rename the package to just "ruby-progressbar". Otherwise, LGTM. Thanks, Bj=C3=B6rn From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 17:18:30 2019 Received: (at 34217) by debbugs.gnu.org; 3 Feb 2019 22:18:30 +0000 Received: from localhost ([127.0.0.1]:57847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqQ5r-0006RX-68 for submit@debbugs.gnu.org; Sun, 03 Feb 2019 17:18:29 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:33916 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqQ5o-0006RN-SR for 34217@debbugs.gnu.org; Sun, 03 Feb 2019 17:18:25 -0500 Received: from alma-ubu (unknown [10.9.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id A02233FE3F; Sun, 3 Feb 2019 23:18:22 +0100 (CET) Date: Sun, 3 Feb 2019 23:18:22 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Christopher Baines Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. Message-ID: <20190203231817.0a722915@alma-ubu> In-Reply-To: <20190127114956.26570-11-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) On Sun, 27 Jan 2019 11:49:56 +0000 Christopher Baines wrote: > These packages are mutually dependant, so I've put them in one commit. >=20 > * gnu/packages/ruby.scm (ruby-aruba, ruby-cucumber): New variables. You missed to add the "...-without-tests" variables here. [...] > +(define-public ruby-aruba > + (package > + (name "ruby-aruba") > + (version "0.14.7") There is another update since yesterday: 0.14.8 - February 02, 2019 (169 KB)=20 [..] > +;; A version of ruby-aruba without tests run so that circular > dependencies can +;; be avoided. > +(define ruby-aruba-without-tests > + (package > + (inherit ruby-aruba) > + (arguments '(#:tests? #f)) > + (propagated-inputs > + (map (lambda (input) > + (if (string=3D? (car input) "ruby-cucumber") > + `("ruby-cucumber" ,ruby-cucumber-without-tests) > + input)) > + (package-propagated-inputs ruby-aruba))) This is really nit-picking, I haven't tried it out myself and I haven't used it much myself, but I think this could be written more elegant with match-lambda [syntax errors might be included]: (map (match-lambda (("ruby-cucumber" . pkg) `("ruby-cucumber" ,ruby-cucumber-without-tests)) (input input) ...) Bj=C3=B6rn From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 17:20:07 2019 Received: (at 34217) by debbugs.gnu.org; 3 Feb 2019 22:20:07 +0000 Received: from localhost ([127.0.0.1]:57851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqQ7T-0006UX-7C for submit@debbugs.gnu.org; Sun, 03 Feb 2019 17:20:07 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:33920 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqQ7R-0006UL-FD for 34217@debbugs.gnu.org; Sun, 03 Feb 2019 17:20:05 -0500 Received: from alma-ubu (unknown [10.9.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 66B0F3FE3F; Sun, 3 Feb 2019 23:20:04 +0100 (CET) Date: Sun, 3 Feb 2019 23:20:03 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Christopher Baines Subject: Re: [bug#34217] [PATCH 09/11] gnu: ruby-cucumber-core: Update to 3.2.1. Message-ID: <20190203231959.7ba72f92@alma-ubu> In-Reply-To: <20190127114956.26570-9-mail@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-9-mail@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) On Sun, 27 Jan 2019 11:49:54 +0000 Christopher Baines wrote: > Just update to major version 3, as version 4 of Cucumber hasn't been > released yet. Can u move this into a comment in the source, such that it sticks directly to the package? Otherwise LGTM. Bj=C3=B6rn From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 17:22:03 2019 Received: (at 34217) by debbugs.gnu.org; 3 Feb 2019 22:22:03 +0000 Received: from localhost ([127.0.0.1]:57855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqQ9J-0006Xg-Lh for submit@debbugs.gnu.org; Sun, 03 Feb 2019 17:22:03 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:33924 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqQ9I-0006XY-7E for 34217@debbugs.gnu.org; Sun, 03 Feb 2019 17:22:00 -0500 Received: from alma-ubu (unknown [10.9.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 9E7563FE3F; Sun, 3 Feb 2019 23:21:59 +0100 (CET) Date: Sun, 3 Feb 2019 23:21:58 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Christopher Baines Subject: Re: [bug#34217] [PATCH 00/11] Add ruby-cucumber along with dependencies and a couple of updates. Message-ID: <20190203232158.10a2c04a@alma-ubu> In-Reply-To: <87zhrmgy0x.fsf@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) On Sun, 27 Jan 2019 11:06:38 +0000 Christopher Baines wrote: > These are some of the patches working up to packaging Rails (a Ruby > web framework). >=20 >=20 > Christopher Baines (11): > gnu: Add ruby-cucumber-wire. > gnu: Add ruby-contracts. > gnu: Add ruby-ruby-progressbar. > gnu: Add ruby-fuubar. > gnu: Add ruby-cucumber-expressions. > gnu: Add ruby-mspec. > gnu: Add ruby-backports. > gnu: Add ruby-cucumber-tag-expressions. > gnu: ruby-cucumber-core: Update to 3.2.1. > gnu: ruby-gherkin: Update to 5.1.0. > gnu: Add ruby-cucumber and ruby-aruba. >=20 > gnu/packages/ruby.scm | 412 > +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 404 > insertions(+), 8 deletions(-) Besides from small individual comments per package, this patchset looks good for me. Thank you, Bj=C3=B6rn From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 22:13:40 2019 Received: (at 34217) by debbugs.gnu.org; 4 Feb 2019 03:13:40 +0000 Received: from localhost ([127.0.0.1]:57946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqUhX-0000pG-EJ for submit@debbugs.gnu.org; Sun, 03 Feb 2019 22:13:40 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqUhU-0000p4-NG for 34217@debbugs.gnu.org; Sun, 03 Feb 2019 22:13:37 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549236424; cv=none; d=zoho.com; s=zohoarc; b=ZdtEo4mq701EQ9Ba/M9P9C2YORf+jZOdx5V0cdeE2xZDyYmM36S8AXdwfDYL+Ppz9fXa7DguLIlxxzLyXMn4Ut5lSSPDEujOJqf62Iaa5F2UmuNRP8RrqpDjLMCqW0tN1GFtO0OmroWPShQDs9DF4NaWDI4h1oUwqiuDB1sI/hI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549236424; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=Vs3VFEnDP158A7vzWAHx8whMbzRJhoMd2utLrpok7tA=; b=Ezv/7qfIYZe5eZhKVNGldaKfcnsOK8giYllnUxXq+w95Ps67v8WqDiUDX2SJ+swzw69bABMVCkCQjmi4K3tPx5H+6pYUE+Z9OjKJ1K+ieYJmJ3sira6epz/Sc3LSR4YKsjaGd1JZQtywYHFUkUUJ/0Ft9ZaIT2rlmT+aP7BOT9M= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549236424; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=790; bh=Vs3VFEnDP158A7vzWAHx8whMbzRJhoMd2utLrpok7tA=; b=VPyhtgJ+hmwI66FU+uTDMdNt5r6+2pxbvt6zWBH8PhBa7cXyb23I54ICS6OibOhf hOK4BvuLfXT1joKtEn5OJION+XrNAfrjizHufidejIEPPj29VA9JYz/m+n4NuvhXHcH ork+mnX18h6nLTBgVUxWzagzdRGmTwtgKg/Ujn2s= Received: from localhost (252.139-78-194.adsl-static.isp.belgacom.be [194.78.139.252]) by mx.zohomail.com with SMTPS id 1549236422442186.63523253107326; Sun, 3 Feb 2019 15:27:02 -0800 (PST) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> <20190203231817.0a722915@alma-ubu> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. In-reply-to: <20190203231817.0a722915@alma-ubu> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 04 Feb 2019 00:26:59 +0100 Message-ID: <87r2cowj0c.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org, Christopher Baines X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Bj=C3=B6rn H=C3=B6fling writes: >> + (propagated-inputs >> + (map (lambda (input) >> + (if (string=3D? (car input) "ruby-cucumber") >> + `("ruby-cucumber" ,ruby-cucumber-without-tests) >> + input)) >> + (package-propagated-inputs ruby-aruba))) > > This is really nit-picking, I haven't tried it out myself and I haven't > used it much myself, but I think this could be written more elegant with > match-lambda [syntax errors might be included]: > > (map (match-lambda > (("ruby-cucumber" . pkg) > `("ruby-cucumber" ,ruby-cucumber-without-tests)) > (input input) > ...) Or like this `(("ruby-cucumber" ,ruby-cucumber-without-tests) ,@(alist-delete "ruby-cucumber" (package-propagated-inputs ruby-aruba))) --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 12:19:35 2019 Received: (at 34217) by debbugs.gnu.org; 8 Feb 2019 17:19:35 +0000 Received: from localhost ([127.0.0.1]:40096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs9oM-0003Gb-TE for submit@debbugs.gnu.org; Fri, 08 Feb 2019 12:19:35 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39056 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs9oJ-0003GP-8h for 34217@debbugs.gnu.org; Fri, 08 Feb 2019 12:19:33 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 6AF0E16B7A; Fri, 8 Feb 2019 17:19:29 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 762eba1a; Fri, 8 Feb 2019 17:19:29 +0000 (UTC) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> <20190203231817.0a722915@alma-ubu> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. In-reply-to: <20190203231817.0a722915@alma-ubu> Date: Fri, 08 Feb 2019 17:19:26 +0000 Message-ID: <87h8de5hb5.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn H=C3=B6fling writes: > On Sun, 27 Jan 2019 11:49:56 +0000 > 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. > > You missed to add the "...-without-tests" variables here. I wasn't quite sure whether to put only public things in the changelog, or everything. I've included them in the changelog now. >> +(define-public ruby-aruba >> + (package >> + (name "ruby-aruba") >> + (version "0.14.7") > > There is another update since yesterday: > 0.14.8 - February 02, 2019 (169 KB) Cool, I've updated to this new version. >> +;; A version of ruby-aruba without tests run so that circular >> dependencies can +;; be avoided. >> +(define ruby-aruba-without-tests >> + (package >> + (inherit ruby-aruba) >> + (arguments '(#:tests? #f)) >> + (propagated-inputs >> + (map (lambda (input) >> + (if (string=3D? (car input) "ruby-cucumber") >> + `("ruby-cucumber" ,ruby-cucumber-without-tests) >> + input)) >> + (package-propagated-inputs ruby-aruba))) > > This is really nit-picking, I haven't tried it out myself and I haven't > used it much myself, but I think this could be written more elegant with > match-lambda [syntax errors might be included]: > > (map (match-lambda > (("ruby-cucumber" . pkg) > `("ruby-cucumber" ,ruby-cucumber-without-tests)) > (input input) > ...) I've changed this to use alist-delete which Ricardo suggested as I think that's the most straight forward. Thanks for the your comments, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxduh5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcoAQ/+PsfkYX6SLS0tkPCfgzBPZbtihHs3mlTYTZ1TOdJBCBdedQXWk1Bvkaop 5cCV9mLWnocfC8bygh0HSgTP2fGOuNT/9i4hwcrDEukHUxAuCgDSnzrU98FAoppZ q9L7TZP+2bjsBPDQ+a7EgoUggOl2cfN1wL9+u/2K85K627TK9KaXXG9eAhnezvtw 64B8yHRLk/bPgy5hd8MjYf/L5QbC5yHFpTMopuFv0B5KkZvMQVjDRH69H+FA2l/d 01MsqXtJpgGtmphXQp+LurTXRRbXD4WW26CUy43L1MtmPbP0oBxNJKcLQ6hm6bNw vpo+f0pmV2RUZ+HpkU9hsGHxtO3n3BO4rZlrXlErpEY6bawKwqV4fkALqSDjE5at fAwuJNIE7Rwu0cm9Kve1FHvakAPjss9Om0nrfTueS8BFPN65GMkEKjrCJhPY+wRP eZjnS6qdxGR2XT6+HENRX8pSvY3l+2+D2hp6TjZC5mvMAgOrYwc7KQapTC8rsQ7B 9/RzSgvel8UbgL6RLVdwc1WRty29PNXQui0gFZ5F3LsA0UhAB7qJ/rBqglU7YkRh ozvo1wG1gJpj5/TWmQzSfniv90fh2eNFPaGtCy2ScdnXOJRCUPM128dyl2MgWCqU sHSfgOaI7hldpKS/27lsJ9L1SmCpF8ekSAoZkoTURLSC2zO9hT4= =cELK -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 12:19:48 2019 Received: (at 34217) by debbugs.gnu.org; 8 Feb 2019 17:19:48 +0000 Received: from localhost ([127.0.0.1]:40099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs9oa-0003H4-D2 for submit@debbugs.gnu.org; Fri, 08 Feb 2019 12:19:48 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39058 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs9oY-0003Gw-D2 for 34217@debbugs.gnu.org; Fri, 08 Feb 2019 12:19:47 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id EC3AD16B7A; Fri, 8 Feb 2019 17:19:45 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c9f46356; Fri, 8 Feb 2019 17:19:45 +0000 (UTC) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> <20190203231817.0a722915@alma-ubu> <87r2cowj0c.fsf@elephly.net> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: Ricardo Wurmus Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. In-reply-to: <87r2cowj0c.fsf@elephly.net> Date: Fri, 08 Feb 2019 17:19:45 +0000 Message-ID: <87ftsy5ham.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= , 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > Bj=C3=B6rn H=C3=B6fling writes: > >>> + (propagated-inputs >>> + (map (lambda (input) >>> + (if (string=3D? (car input) "ruby-cucumber") >>> + `("ruby-cucumber" ,ruby-cucumber-without-tests) >>> + input)) >>> + (package-propagated-inputs ruby-aruba))) >> >> This is really nit-picking, I haven't tried it out myself and I haven't >> used it much myself, but I think this could be written more elegant with >> match-lambda [syntax errors might be included]: >> >> (map (match-lambda >> (("ruby-cucumber" . pkg) >> `("ruby-cucumber" ,ruby-cucumber-without-tests)) >> (input input) >> ...) > > Or like this > > `(("ruby-cucumber" ,ruby-cucumber-without-tests) > ,@(alist-delete "ruby-cucumber" > (package-propagated-inputs ruby-aruba))) Yep, that looks good to me, thanks :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxdujFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcLSw/+PnL3vG38MeVx6Ibb7weOBxaRtV5rScDJ8FR1Coz4I/vmPJSVUNg2ZHDu ZwyVSV8y+c7OqCcYeeD+NL9Z3a1nFC+Ex9uA2iGEn6CAB1kshI4uPrefBjiqzOP4 ehMD1pYIci5W9ayd6hgTbKFsZUXDO6kGStY9cYezQdjy3YIvRi5IQRLIO0Fn/GIX CLKfQJE4afJkMEmjYiCbXKZS7h3ZRpoErmhmtVjfgLXXFoHjMd6MLsdb0dvseUys Zxy1gasZM5AynEksEhU0mU30KWWByewmQaOlF/olaMtGV3mZuZP2w1P7eBF9Geqc qU245OJzmdhw7DJeOUZp7tXw2RyjP7dcvmNCo/S4vHwlg6+NiIKcosVXbkLXU9su bUBmMO8TFJh4GTtJtObKohpNhzdQRfJUIBjQdWAnnDNCmHcAjKm1Yg0x/89+KX0t lP6P9IwyKK1iG2b8Jh0iadC9jiZc+YFfpxDb/VHyahSVzkxIbtLZDx4JWJ7kdadG p0IFVo45cg7bGB+MRpwVd0AGgtO+LhVsyoTHFZkZjdRa/DP1zwlVVLSAJ8t49Q51 orIQjGJEyYJX/p315qaPDqHheNeiwlGLw7CJBl1/uuKOyJqcqf+chVHTuBzddtRk DaI/V7Q2PspxpZfzZiNAgXxFYHkXl+pYFo4reJF+X/7CT9QUTK8= =bH4X -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 13:46:10 2019 Received: (at 34217) by debbugs.gnu.org; 8 Feb 2019 18:46:10 +0000 Received: from localhost ([127.0.0.1]:40123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBAA-0005Rr-0Q for submit@debbugs.gnu.org; Fri, 08 Feb 2019 13:46:10 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39104 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBA7-0005Ri-BY for 34217@debbugs.gnu.org; Fri, 08 Feb 2019 13:46:08 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 679DC16BCD; Fri, 8 Feb 2019 18:46:05 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id ffaa25db; Fri, 8 Feb 2019 18:46:05 +0000 (UTC) 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> <1dedc991-9515-3897-cfa1-ae4f55158851@riseup.net> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: swedebugia Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. In-reply-to: <1dedc991-9515-3897-cfa1-ae4f55158851@riseup.net> Date: Fri, 08 Feb 2019 18:46:02 +0000 Message-ID: <87ef8i5dat.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain swedebugia writes: > 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")) ... > Could you update the patch Christopher? Thanks for trying this out. Today I tried updating to 0.14.8, and working around the test failures. I've added the following phase, which works around the test failures. (add-after 'unpack 'patch (lambda _ (substitute* "spec/aruba/api_spec.rb" ;; This resolves some errors in the specs ;; ;; undefined method `parse' for Time:Class (("require 'spec_helper'") "require 'spec_helper'\nrequire 'time'")) ;; Avoid shebang issues in this spec file (substitute* "spec/aruba/matchers/command_spec.rb" (("/usr/bin/env bash") (which "bash"))) #t)) The first change, adding require 'time' is present on the upstream master branch [1], which explains why this helped. 1: https://github.com/cucumber/aruba/commit/7d11cad400bbbfd1ec039e39062f7f2576d970f6#diff-b014353d9f47f067ea8e078d34a1826b As for the second set of test failures, the ones relating to "@cmd", I think that's down to the spec's using "/usr/bin/env bash". I'm unsure why using the master branch would have fixed this. Even though sticking with 0.14.8 requires patching the tests, I'm inclined to stick with patching this release, rather than using the master branch as the source, as I think using upstream releases is preferable. Anyway, thanks for your help in looking in to this :) Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxdzmpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XczIhAAs2Z9srF1/lAfLASqJaCEx5+TALY30rFsb4ggV4cZLS2U4I62TVeXjlJU kZnURT3uNV2Ku195UOMNlQAujLz0gPi22fuc1+E24HHBKAgUZfkP9QZDn04ihihh MWU5evGgeW6eKYChA1dXWie6lunvDHYbgCVw//eo2SLiBpRf9R/T/I9QPzxiWEV7 KKDMaMZBMwnnx5FIRO6kEVy/6pPjxzzbNMzRR5NYBDhz3qvEwsq/9PMqRw+s4bm4 7i4/nTFqy4jCFzqqKwOgQAxD6PbbjjjOdXSw5naYg8xT1QcYAddoDdbsA9cyqLDt ZYgwNH4MGNLyI67TSjdxTMh6/tj9j1ltfosEWb9l/NDuTwxEUgOsBO8s/sCk9n6T hHpmM/coF+tFe3+FdsL/fxUlr0r7iqQaiYVTz6GA9Qd4NOMhrk3/lBsmo1KX/g7s DatJg6ITByHLWZThP6g8MGEXWasyFG3ede8asw4w2qLdP4YxTzU+yY25LI6Ap9/w kDYO9sq+O9lJ+7R5UymJmnZcyWHyN99a7kGmnRLtqO90i8i/fFFu1t1G1yEWh8b7 hcwXH/VpXrriTrUPS2U8n70zsLehci0rTuiTrqVHpkcgSt6QeTc6mDjeUqa6AfZf 0VNzO7iSG0+jG/jJjAaYtficDei31sGBqUf+2skdTu3ndV0cdIY= =dTl/ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 13:48:32 2019 Received: (at 34217) by debbugs.gnu.org; 8 Feb 2019 18:48:32 +0000 Received: from localhost ([127.0.0.1]:40127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBCS-0005V4-HM for submit@debbugs.gnu.org; Fri, 08 Feb 2019 13:48:32 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39106 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBCQ-0005Uw-Ox for 34217@debbugs.gnu.org; Fri, 08 Feb 2019 13:48:31 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 45F7816BCD; Fri, 8 Feb 2019 18:48:30 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0e8498e8; Fri, 8 Feb 2019 18:48:30 +0000 (UTC) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-9-mail@cbaines.net> <20190203231959.7ba72f92@alma-ubu> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: [bug#34217] [PATCH 09/11] gnu: ruby-cucumber-core: Update to 3.2.1. In-reply-to: <20190203231959.7ba72f92@alma-ubu> Date: Fri, 08 Feb 2019 18:48:29 +0000 Message-ID: <87d0o25d6q.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn H=C3=B6fling writes: > On Sun, 27 Jan 2019 11:49:54 +0000 > Christopher Baines wrote: > >> Just update to major version 3, as version 4 of Cucumber hasn't been >> released yet. > > Can u move this into a comment in the source, such that it sticks > directly to the package? Sure, I've added the following comment to the patch. ;; Stick to major version 3, until version 4 of Cucumber is released. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxdzv1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdjnQ//W+P1hMUFbVivkV7QQyHknioirFksnElQjeu2yhtVwetB469Kmfrr0Rzl d3SPs9Xg55sI138CXwA0qM+3ERDLtD5WGm6zllf91Nl63EsRnlvYtqxQ3Al2fbsK YZwQcjVwv1hW0ulcpwmY0XkyW7Y0WMXg9so4GwbzxlvHT1ORA9tliU6LGaCmD8ae qSxGb9QaR3gK3LbUBkZ3QusKWYFYl+JGB8WXlNRLubH0to+22cj9KLzu1EOlgyY+ OoIaGItqj3P3AoLvPI7IKHjviL3uDVy2ONPhpAtH703Hw5Eg30tXFK06398WjTw4 1jbzVO/p/Om75EBbXkX6UtiEheQBUozRbDhTgveKLbuxPSB2JoQSZbcz1nkODjYE 1BFn600G/+pWR5J/P/nXv15gx9g7HcrdIFUMXACNtcUno0oNytcWj9m1B46D+HoF sNkm5I7il13lgWG0Q+BNUrPWvQF7+12R0NeSquHnFwOLYNDuJxkEML2ILonCILGW zvyubFoD9HCBrzRR3C6NNE8hzUXmlrNkMxmQLtCq26Sh3fwp6T8zwZEw2Z7hVLk/ bFF9VFHHE7WrJY7W1g6YZppHIdKPaFIzyrkds5fINBx5thQAwTUOnfo1NJ9/JDCQ 8cjVHCjBMDAOaPS5Z6Zbwa4tH9zuctxx/ZwqnBr8SB1OoNsFjhI= =q13C -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 13:58:20 2019 Received: (at 34217) by debbugs.gnu.org; 8 Feb 2019 18:58:20 +0000 Received: from localhost ([127.0.0.1]:40131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBLw-0005iW-JM for submit@debbugs.gnu.org; Fri, 08 Feb 2019 13:58:20 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39114 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBLu-0005iO-S9 for 34217@debbugs.gnu.org; Fri, 08 Feb 2019 13:58:19 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 072B916BCF; Fri, 8 Feb 2019 18:58:18 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 3a0a5cd9; Fri, 8 Feb 2019 18:58:17 +0000 (UTC) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-3-mail@cbaines.net> <20190203224015.0cf8fd3d@alma-ubu> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: [bug#34217] [PATCH 03/11] gnu: Add ruby-ruby-progressbar. In-reply-to: <20190203224015.0cf8fd3d@alma-ubu> Date: Fri, 08 Feb 2019 18:58:15 +0000 Message-ID: <87bm3m5cqg.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn H=C3=B6fling writes: > On Sun, 27 Jan 2019 11:49:48 +0000 > Christopher Baines wrote: > >> * gnu/packages/ruby.scm (ruby-ruby-progressbar): New variable. >> --- >> gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ >> 1 file changed, 22 insertions(+) >> >> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm >> index 808b2d8686..15382de017 100644 >> --- a/gnu/packages/ruby.scm >> +++ b/gnu/packages/ruby.scm >> @@ -2507,6 +2507,28 @@ rate.") >> (home-page "https://github.com/paul/progress_bar") >> (license license:wtfpl2))) >> >> +(define-public ruby-ruby-progressbar >> + (package >> + (name "ruby-ruby-progressbar") > > Although we do not have a specific section about Ruby packages, I would > stick to the rules for Python packages: > > https://www.gnu.org/software/guix/manual/en/guix.html#Python-Modules > > "If a project already contains the word python, we drop this; for > instance, the module python-dateutil is packaged under the names python-d= ateutil" > > Thus, rename the package to just "ruby-progressbar". That makes sense, I've updated the name of the package and the references. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxd0UdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xcg/hAAoRx5Pty0UtvdTd6bWxYsaAV46kDzRPO22LlPuO5dsdwMeQY+I1w2tkJJ bz5cQmdFgEHtBS1/2MQFueSNtVp7+U3I/io4WWG41Z159XRvFAYZSOXcwae9b0aD 0wmhZb3RwvM12yIUpmtUUVNYP5dwANQ4YaiTWeNWt+yogN74yRur0OWE6dUIqpPn aPBTGA6RRoo1s4Ec6o2vsTFKDvx85keSmQhb4DlAo5PPXSlk5/x5K6I40tThawHO roV4+x2j/6SWS2uYggP4W3N5DoeoSAfiO/u4gwvMinosVj5OumaF/AsVJLSody0K mMxOZBe2XSwE+3gqMThEw7T/hCeZZebaL8JjIxW0iifC5EqrUln8XROl+heGCxmi kFaDh3T3s17mq400fl3tIGNaIKfY3myt2hPGrHXB8hdjAEWSg+7AcfQQDv5KjraA Rh34VwPBj3HYH244Kdl4PsPClxMWPvcSaW2VPjsGtUm7Gjox+qIetyg5Axs+sVwO gYmSd1oiBlcuS/a5SPjxhX6u3vDYRdMwJTFx1ObCs7mkHmN9QhKNKZ6LKdDiM1i7 FtGkIZfLlJ643A0nz0dEW0mOFPI0l8mkWCs1n/U8JNwlfpoI8+lRlQKYottrpnYm Q0PH4vgBJHnaTcmzsvNjiseSW7dv6IL8aGKJCFQnc80iKFe4QYo= =C+of -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 14:02:18 2019 Received: (at 34217) by debbugs.gnu.org; 8 Feb 2019 19:02:18 +0000 Received: from localhost ([127.0.0.1]:40134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBPm-0005pK-6W for submit@debbugs.gnu.org; Fri, 08 Feb 2019 14:02:18 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:53224 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBPj-0005pA-DK for 34217@debbugs.gnu.org; Fri, 08 Feb 2019 14:02:17 -0500 Received: from alma-ubu (pD951F5A8.dip0.t-ipconnect.de [217.81.245.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id D1FE73F995; Fri, 8 Feb 2019 20:02:11 +0100 (CET) Date: Fri, 8 Feb 2019 20:02:11 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Christopher Baines Subject: Re: [bug#34217] [PATCH 11/11] gnu: Add ruby-cucumber and ruby-aruba. Message-ID: <20190208200211.5a1c60af@alma-ubu> In-Reply-To: <87h8de5hb5.fsf@cbaines.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-11-mail@cbaines.net> <20190203231817.0a722915@alma-ubu> <87h8de5hb5.fsf@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/wXCC1MA19C=8Ir.S7V.GjYO"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --Sig_/wXCC1MA19C=8Ir.S7V.GjYO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 08 Feb 2019 17:19:26 +0000 Christopher Baines wrote: > Bj=C3=B6rn H=C3=B6fling writes: > >> * gnu/packages/ruby.scm (ruby-aruba, ruby-cucumber): New > >> variables. =20 > > > > You missed to add the "...-without-tests" variables here. =20 >=20 > I wasn't quite sure whether to put only public things in the > changelog, or everything. I've included them in the changelog now. Uh, I haven't seen that they are private, which of cause makes sense. In that case I'm unsure what to do, but adding them doesn't hurt. Bj=C3=B6rn --Sig_/wXCC1MA19C=8Ir.S7V.GjYO Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXF3SMwAKCRC/KGy2WT5f /YfVAJ9y9LG49l3PBkulznjZsNRgFCUXOwCeNOjsqvw/gY5oh92knSThxGHG4eM= =0qpw -----END PGP SIGNATURE----- --Sig_/wXCC1MA19C=8Ir.S7V.GjYO-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 14:05:27 2019 Received: (at 34217) by debbugs.gnu.org; 8 Feb 2019 19:05:27 +0000 Received: from localhost ([127.0.0.1]:40138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBSo-0005tc-Ln for submit@debbugs.gnu.org; Fri, 08 Feb 2019 14:05:27 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39122 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBSm-0005tT-HH for 34217@debbugs.gnu.org; Fri, 08 Feb 2019 14:05:25 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id B6BF516BD0; Fri, 8 Feb 2019 19:05:23 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id de08b8c7; Fri, 8 Feb 2019 19:05:23 +0000 (UTC) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190203220328.747b1454@alma-ubu> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: [bug#34217] [PATCH 01/11] gnu: Add ruby-cucumber-wire. In-reply-to: <20190203220328.747b1454@alma-ubu> Date: Fri, 08 Feb 2019 19:05:23 +0000 Message-ID: <87a7j65cek.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn H=C3=B6fling writes: > On Sun, 27 Jan 2019 11:49:46 +0000 > Christopher Baines wrote: > >> Package version 0.0.1 initially, as this is what's needed by Cucumber >> 3, and Cucumber 4 hasn't been released yet. > > I would prefer to see this hint as a comment in the code, not in the > commit message: When I as a developer stumble upon the package > definition and see it is outdated, I would just update it and not > search all commit messages to find out it shouldn't. A comment near the > package definition or version would prevent that mistake. Sure, I've added a comment to the package definition. Thanks for taking a look, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxd0vNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xcd1w//U+Ln9xWnWeUShlKiHF5zDYA0rZkM45lZfR2Lry2O8/Wi9fMP6C+G/kBk lO3Sw00wkcjvD6XhSL5Az3sby3qwFQjbSG8ebAdr/HRRtnwK/v28WAqXmfLkTjtk QZAyI7k5F34F1lAd6W0FAu+LWaDx6mauH14pSqQcbWhhv62kPCRPpTCFW6hphais vibSem72B1GXaFwhPFAPusqEjiyqkPbmVCZHY0Mnfb0N1UJjlyD9nxOLwiH3GhYg lzhHxymQysqf33Z6HifUKQGyJIjF1eBMNMtMIn5M3WT+mv5aha7rmvxNhxqwTmUZ 2BzyE00y0t+g4tymHK61tu77r0gc73eBDPn+v9hkOnW/wIUjcVbMLdm7fPMUVVFz 5PUA74dGwMcOTqxhCICTCORQrrAQhKTIakm6IDlSPAfFq9tViCi6W2+W+ObOH/oa tdI4c3jlMQrlHfBGuJt+G3bfv8V4Bupxy+IRHCPQdaLekAUrEwiS21vlQOZ/2W+C AYtHtMlLDN0xJqcOB+ubG/zfV/R+WsJIYDGe6G3aHaiF3SJOVVibNiyik5OSE/aQ MMTCGTX9lpIVg89GmeMiprMM0QC0ImqPRln2yndsX73OJay81PrsrRuKJZC6SvtH zP0OIOC4vNtRTFUoJuno3rc/j7TDNiYJBU2qyZHjVxy2sGxJOYU= =LbA0 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 08 14:10:30 2019 Received: (at 34217) by debbugs.gnu.org; 8 Feb 2019 19:10:30 +0000 Received: from localhost ([127.0.0.1]:40141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBXh-000613-VM for submit@debbugs.gnu.org; Fri, 08 Feb 2019 14:10:30 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39128 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsBXg-00060v-Ef for 34217@debbugs.gnu.org; Fri, 08 Feb 2019 14:10:29 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id BCE1816BD1; Fri, 8 Feb 2019 19:10:27 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id a8214481; Fri, 8 Feb 2019 19:10:27 +0000 (UTC) References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-7-mail@cbaines.net> <87d7347f-bea8-092d-7c54-d9fa6973be60@riseup.net> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: swedebugia Subject: Re: [bug#34217] [PATCH 07/11] gnu: Add ruby-backports. In-reply-to: Date: Fri, 08 Feb 2019 19:10:25 +0000 Message-ID: <878syq5c66.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217 Cc: 34217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable swedebugia writes: > swedebugia skrev: (31 januari 2019 09:53:17 CET) >>On 2019-01-27 12:49, Christopher Baines wrote: >>> * gnu/packages/ruby.scm (ruby-backports): New variable. >>> --- >>> gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ >>> 1 file changed, 25 insertions(+) >>>=20 >>> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm >>> index 5a9a9a7c6d..115e132b95 100644 >>> --- a/gnu/packages/ruby.scm >>> +++ b/gnu/packages/ruby.scm >>> @@ -1350,6 +1350,31 @@ User Agents.") >>> (home-page "https://github.com/gshutler/useragent") >>> (license license:expat))) >>>=20=20=20 >>> +(define-public ruby-backports >>> + (package >>> + (name "ruby-backports") >>> + (version "3.11.4") >>> + (source >>> + (origin >>> + (method url-fetch) >>> + (uri (rubygems-uri "backports" version)) >>> + (sha256 >>> + (base32 >>> + "1hshjxww2h7s0dk57njrygq4zpp0nlqrjfya7zwm27iq3rhc3y8g")))) >>> + (build-system ruby-build-system) >>> + (arguments >>> + '(;; TODO: This should be default, but there is one test failure >>> + #:test-target "all_spec")) >> >>The failure is reported upstream, see=20 >>https://github.com/marcandre/backports/issues/127 >> >>--=20 >>Cheers >>Swedebugia > > From upstream: > Sorry the failure is quite obscure. > > Backports wants to make sure it is defining the right methods only when n= ecessary. The test is failing because the methodalias_method_chainappears t= o have been added to all modules (Array,Binding, ...). Maybe the oldbackpor= ts/rails/module/alias_method_chainis somehow loaded, but I don't see how or= why... Thanks for taking a look, I'll keep an eye on that upstream issue. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxd1CFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfQwRAApGR2wtLqbbWAD+QQqoUXeiXvV3NtlVdhP4dl4Rn2w7s+Ulfc6sB/JDoX KarDow/e5e0q2Leb9rj8Vv2mJMI97O4QiOE0D+G5W/iIZTn/LF8IXhMo4mf/XcDt e6iCXL/e+r16pfG3KXVQlWpKk8Jd83TOTokis9cZx+iT1UHrfNDxvnFlNfOnkljk CSpu2aNahA946icAeUS8YZwDA8K++F3s5iL+Izi7ysVA47+4gxDKQZ2Jg4gL6mL6 cOqhNhbAmgknBmhrPiu6wULWKzgUVWlDkxRqEKxaOY/2qLAs5CNir+GVgwcuRyzC IstLFauPYdw4CVPn60VfREaLudY5pthcakec7TSm1Ol1MD75wJ8VbFJD7mODlmL5 Ns5L9X+Rd5JFhJcLzBsRBtqesTmWZ+yf53S/xJJiAIXY1eEeenJBMgj3/iSU5qKQ AySVTbhW8gs+VzRujOAOYYI8GBFLXh6O+KEtfNkcMkHATd5kPdsIKJPFAE45oMkO AWeX8rs1fkW2RLZil4yQ3lFMTvsac+uejZodgE01iRKdKjVUq1sMWuhJjw9uFkXj K1BtyJrioAw7ayFHkPYWf6gX0ZW4N6rLQok+GxhEn//4NWY1K1++2kqy3XHiIStl RJv6sXDjb7QiH8LWOPotDKsOTtqkOiXMiHzUECnU50/GKi5/UZ0= =TPJ9 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 14 16:58:01 2019 Received: (at 34217-done) by debbugs.gnu.org; 14 Feb 2019 21:58:02 +0000 Received: from localhost ([127.0.0.1]:48427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guP17-0006VK-KT for submit@debbugs.gnu.org; Thu, 14 Feb 2019 16:58:01 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:45224 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guP14-0006Us-Ii; Thu, 14 Feb 2019 16:57:59 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 5583716C2F; Thu, 14 Feb 2019 21:57:57 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 45b42790; Thu, 14 Feb 2019 21:57:57 +0000 (UTC) User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: 30689-done@debbugs.gnu.org, 34217-done@debbugs.gnu.org, 34222-done@debbugs.gnu.org Subject: Ruby on Rails Date: Thu, 14 Feb 2019 21:57:54 +0000 Message-ID: <87lg2it4m5.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34217-done Cc: Ben Woodcroft X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain So, I've merged 66 patches now which were tracked across these 3 bugs so the master branch now contains the ruby-rails gem! I think I've even done this without breaking anything, I believe all the packages I added or changed build, and all of there dependencies as reported by guix lint build too. If anyone still has any comments on the patches, I'd still love to hear them. Thanks for everyone who's reviewed these patches so far, and thanks to Ben for kicking this work off many months ago. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxl5GJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcXeA/9Ew+h+HVMeipbeKaDjgK/pKrY7d7DegpisO/sRz8M82iH8nwUjjHkIykH hmA13/8qkx9vximijJ8B0UZM6gTTakdz4yRMtKBnt9OVpySj393kwunsoEma3qnJ 7o6x+wJmNsxV0UeJpJfOOVySmFsxqw3rD5NG7f1RROHEa2DoR8CWJhGmNugSqm2u OCFdEJgu4e2jJyBqI+Q/CqjcbSAFInQhnAELidgAYb4KEeyP/sMzHtV0b8A5RPMl ZjWOTaDJPKr273h1qev1XbwYV14OSdBsYLi4WW+mUWMmQHXWYxGzQlO4ixWDcSgA 07rXbMgI9TG8JDaWTLUdCxQfzBGG/qitTRcROu5dVzNp0QxUiRHeZwT8Evi5EpQt bg4iL3mjNZVVPUKnumdzrcQ8xr4jTuzXg0ZABjQBMzTOXQ0uxBzg4gDSHTmECS01 Nwnh0Pnmh5w0nwIrLWjSBfG+ypdkhDrGWNuC8v6eq0g2ozkY73t6CAymk7LdhysT siCOqzQ8nScb8qNORCLnPRfr1VPtxQ/kZqBwFLEMHi6bzWqphW8mJ9uNJwVHIdTX oOLN1FF500OSjLTAt1skxhc5r3OzXcM5Za3ujpVDF1P5gnj7bA1qM7g5PWBwIUg6 8wTAUBMs2pNE3/Lt/I+BlTOU/Jqv+NZIv7Tp3tCqomdnXfJojvA= =BsXZ -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 22:11:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 15 Mar 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator