From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH] gnu: Add ruby-hashie Date: Mon, 21 Nov 2016 19:04:18 +0100 Message-ID: <87wpfw7lr1.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8sx7-0006g2-Sk for guix-devel@gnu.org; Mon, 21 Nov 2016 13:04:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8sx4-0006Lp-Ny for guix-devel@gnu.org; Mon, 21 Nov 2016 13:04:25 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52835) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8sx4-0006Lg-KD for guix-devel@gnu.org; Mon, 21 Nov 2016 13:04:22 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Frederick Muriithi , guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Frederick Muriithi writes: > Added new variable ruby-hashie > > Tests deactivated, since the gem seems to not have the Gemfile > present, leading to failure. > Checking out the repository manually and running rake in it, runs all > tests successfully. > > If this is not acceptable, please let me know, and any pointers to > correct the issues would be appreciated. I've come across similar problems in some python packages, where the pypi release does not have tests enabled. In those cases I think it's acceptable to package the git snapshots, assuming they are properly tagged with version. Could you try that? Thanks! > > --=20 > Frederick M. Muriithi > From aaefbb774a2c0aac4d80ca686bd4b3fbc55ccb1d Mon Sep 17 00:00:00 2001 > From: Muriithi Frederick Muriuki > Date: Mon, 21 Nov 2016 18:12:18 +0300 > Subject: [PATCH] gnu: Add ruby-hashie. > > * gnu/packages/ruby.scm (ruby-hashie): New variable. > --- > gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index 1abea02..d8c36be 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -4221,3 +4221,29 @@ RFC 2617. This enables the use of the digest auth= entication scheme instead > of the more insecure basic authentication scheme.") > (home-page "http://github.com/drbrain/net-http-digest_auth") > (license license:expat))) > + > +(define-public ruby-hashie > + (package > + (name "ruby-hashie") > + (version "3.4.6") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "hashie" version)) > + (sha256 > + (base32 > + "1ny9z0lr8hszx2y2cb07sd6iwvhs9lphl1sqr2vs7bjf7mx8pbcj")))) > + (build-system ruby-build-system) > + (arguments > + ;; Gemfile present in repo, but missing in gem causing test failure = during build > + `(#:tests? #f)) > + (native-inputs > + `(("bundler" ,bundler) > + ("ruby-rspec-core" ,ruby-rspec-core))) > + (synopsis > + "Hashie is a collection of classes and mixins that make hashes more= powerful") > + (description > + "Hashie is a growing collection of tools that extend Hashes and make > +them more powerful") > + (home-page "https://github.com/intridea/hashie") > + (license license:expat))) > --=20 > 2.1.4 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJYMzcjAAoJEKKgbfKjOlT6HecH/1YXHJapUdFmvYzUWrdCNbC3 jwfjee5pXLUYO1AXYi5K9m9dfauty2Jgk3kYWbXwNRiu/Q3Aa6fm3f3X5PCq3ANn WdrXCuzARZujqahDxUvJoCvnajZDsH2uyocL8J8qh94g+FkL1EV8EjF/IRoXInwV +PuWcrl9PpGmw+5MDJjdNqaZMKKIHOoGOcZskvfv70xfcjUDbS4M6lIiruWGELke QJAWSmDwsNetSPW/MKGdBI35jW9uYayYte/X7pRWsoYYY8Gv3eHw0/mOBFDl+U4h qO67zTZnjWsoH0SfqsemgifV0e57GlZJkUXPcsGk/s/L4aGdIT+lQgI1JuzOTB8= =AMIR -----END PGP SIGNATURE----- --=-=-=--