From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [Patch] ruby-debug-inspector Date: Wed, 1 Jun 2016 10:02:07 +0300 Message-ID: <20160601070207.GA30401@debian-netbook> References: <87vb1uxmxu.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> <20160531175917.GE13578@debian-netbook> <87k2iax8hj.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b80AZ-0001lI-LT for guix-devel@gnu.org; Wed, 01 Jun 2016 03:02:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b80AU-00040b-6P for guix-devel@gnu.org; Wed, 01 Jun 2016 03:02:22 -0400 Received: from flashner.co.il ([178.62.234.194]:50708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b80AT-0003yo-RP for guix-devel@gnu.org; Wed, 01 Jun 2016 03:02:18 -0400 Content-Disposition: inline In-Reply-To: <87k2iax8hj.fsf@mailerver.i-did-not-set--mail-host-address--so-tickle-me> 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: Matthew Jordan Cc: guix-devel --liOOAslEiF7prFVr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 31, 2016 at 04:44:56PM -0400, Matthew Jordan wrote: >=20 > Updated patch with the suggested changes. >=20 > From 20f94a54c63023c3bf3d8d556385f520aaf09a3f Mon Sep 17 00:00:00 2001 > From: Matthew Jordan > Date: Tue, 31 May 2016 07:26:24 -0400 > Subject: [PATCH 1/4] gnu: Add ruby-debug-inspector. >=20 > * gnu/local.mk: Modfied file. this one -^ should be: * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > * gnu/packages/rails.scm: New file. > --- > gnu/local.mk | 1 + > gnu/packages/rails.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++= ++++++ > 2 files changed, 54 insertions(+) > create mode 100644 gnu/packages/rails.scm >=20 > diff --git a/gnu/local.mk b/gnu/local.mk > index 86b56d4..4c21827 100644 > --- a/gnu/local.mk > +++ b/gnu/local.mk > @@ -285,6 +285,7 @@ GNU_SYSTEM_MODULES =3D \ > %D%/packages/qemu.scm \ > %D%/packages/qt.scm \ > %D%/packages/ragel.scm \ > + %D%/packages/rails.scm \ > %D%/packages/ratpoison.scm \ > %D%/packages/rc.scm \ > %D%/packages/rdesktop.scm \ > diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm > new file mode 100644 > index 0000000..4612bb1 > --- /dev/null > +++ b/gnu/packages/rails.scm > @@ -0,0 +1,53 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2016 Matthew Jordan > +;;; > +;;; This file is part of GNU Guix. > +;;; > +;;; GNU Guix is free software; you can redistribute it and/or modify it > +;;; under the terms of the GNU General Public License as published by > +;;; the Free Software Foundation; either version 3 of the License, or (at > +;;; your option) any later version. > +;;; > +;;; GNU Guix is distributed in the hope that it will be useful, but > +;;; WITHOUT ANY WARRANTY; without even the implied warranty of > +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +;;; GNU General Public License for more details. > +;;; > +;;; You should have received a copy of the GNU General Public License > +;;; along with GNU Guix. If not, see . > + it turns out you have a couple of extra modules here: > +(define-module (gnu packages rails) > + #:use-module (guix licenses) > + #:use-module (gnu packages) this one isn't needed -^ > + #:use-module (guix download) > + #:use-module (guix packages) > + #:use-module (gnu packages base) > + #:use-module (gnu packages python) > + #:use-module (gnu packages node) these 3 either -^ > + #:use-module (gnu packages ruby) > + #:use-module (gnu packages gcc) or this one -^ > + #:use-module (guix build-system ruby)) > + > +(define-public ruby-debug-inspector > + (package > + (name "ruby-debug-inspector") > + (version "0.0.2") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "debug_inspector" version)) > + (sha256 > + (base32 > + "109761g00dbrw5q0dfnbqg8blfm699z4jj70l4zrgf9mzn7ii50m")))) > + (build-system ruby-build-system) > + (arguments > + `(#:tests? #f)) ;; tests fail, when attepting to run the bacon comm= and. > + (inputs > + `(("ruby-bacon" ,ruby-bacon))) > + (synopsis "Ruby wrapper for the MRI 2.0 debug_inspector API") > + (description > + "This package provides a Ruby wrapper for the MRI 2.0 debug_inspect= or > +API.") > + (home-page > + "https://github.com/banister/debug_inspector") > + (license expat))) > --=20 > 2.8.3 >=20 >=20 > --=20 > Matthew Jordan > Sent with my mu4e >=20 Here's the error from having the tests enabled: starting phase `check' bacon -Itest -rubygems -a -q Usage: bacon [options] [files | -a] [-- untouched arguments] rake aborted! Command failed with status (1): [bacon -Itest -rubygems -a -q...] /tmp/guix-build-ruby-debug-inspector-0.0.2.drv-0/gem/Rakefile:21:in `block in ' Tasks: TOP =3D> test (See full trace by running task with --trace) I'm not a ruby person so I don't really know what that means. Other than the last few things it looks good to me. I'll push it with the few edits later today unless someone with more ruby experience comes and says I'm missing something :) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXTohsAAoJEPTB05F+rO6TIi0P/0MO2S1SDWFtpUmV6SnGv0uB wJ9SJUmFNxZGudZvZnfhi1amv6bFBeN8hEM0PeGAyU3QtWN40aFcQTe8TA/s6QLW KOb8TWejULr9w+CRjf8AzVmhBaY3i9JX0rIKd4bftWcShpZNi9CX3DJmocpSo9xN PjqvXCS6rfY5RgAoJ8rntsbsRWGT0GaAi+N8w/54JIdqVqFxhzDGM31Ax6mThhJh MnPFRXdTbsE+2dzGItetQGY3CfRct5LXo/nngWIGF25gb1Bsv2yPuREvjhaiXeD4 t9Uv9X+Dy2ZG3Gl06L86MrnPtUuoMtuvQ4hbYgZhTTYQDYXUsK+AbnC1QQPt0bxf fcVaMk+xvKsOwS9OdAKwevbuILv8Lfipk60HF3clii9b/0sugLkuOoYNeYZR/N1G pKW6Y6TtzJ6tIJgC4YN6fm+Kj7CEshJE9XIQZBkhRXUyZJP4pjS721NMRTFLAneA kQVZC058AoHYGfgBS93CgrG0LhIvvpI2Y2BPBPXz7K2cACbnAqDqN23cjGbEopWp ELW07d69hQvC2qQhY4Q2u20DvZfn/oq7dY7JJVmEeWs2puonx7ALnqEPb9xM9tdG i6wD3/XiTObaT8w5ygkAdBsJLMIY4VQF0dZwpMCPs2nfSq0OAVzYKr1rZENuArcA 30JxwFkzl0+84tefs+G8 =Q44a -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--