[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] build: ruby: Rewrite build system to use gem archives.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] build: ruby: Rewrite build system to use gem archives. |
Date: |
Tue, 18 Aug 2015 17:18:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
"Thompson, David" <address@hidden> skribis:
> Update:
>
> On Tue, Jul 28, 2015 at 9:09 AM, David Thompson
> <address@hidden> wrote:
>
>> One other caveat is that downloading gems from rubygems.org currently
>> *does not* work because the HTTP responses include an invalid
>> Content-Type header. I added a temporary hack to do my development
>> work (not in this patch), and I'm currently waiting on a response from
>> the rubygems.org admins to see if they will fix the issue. So, this
>> patch should not be applied until this is resolved.
>>
>> See:
>> http://help.rubygems.org/discussions/problems/21223-invalid-content-type-header-when-downloading-gem-archive?unresolve=true
>
> This issue has been fixed by the rubygems.org admins!
Nice, thanks to them!
> I would like to apply the below patch ASAP and get to work on 'guix
> import gem' if there are no objections.
No objections here.
> From ee027442dd968734831eb372fcf502dcfaad7623 Mon Sep 17 00:00:00 2001
> From: David Thompson <address@hidden>
> Date: Sun, 26 Jul 2015 22:01:54 -0400
> Subject: [PATCH] build: ruby: Rewrite build system to use gem archives.
>
> Co-Authored-By: Pjotr Prins <address@hidden>
>
> * guix/build-system/ruby.scm (lower): Remove git dependency.
> (rubygems-uri): New procedure.
> * guix/build/ruby-build-system (gitify, build): Delete.
> (unpack): Use 'gem unpack' utility.
> (check): Add docstring.
> (install): Rebuild unpacked gem and install it.
> (%standard-phases): Remove gitify and build phases.
> * gnu/packages/ruby.scm (ruby-hoe, ruby-rake-compiler, ruby-i18n,
> ruby-rspec-support, ruby-rspec-core, ruby-diff-lcs-for-rspec,
> ruby-rspec-expectations, ruby-rspec-mocks, ruby-rspec, bundler,
> ruby-useragent, ruby-bacon, ruby-arel, ruby-connection-pool,
> ruby-net-http-persistent, ruby-minitest, ruby-minitest-sprint,
> ruby-minitest-bacon, ruby-daemons, ruby-git, ruby-slop,
> ruby-multipart-post): Convert to new build system.
Does guix.texi need an update?
Thanks,
Ludo’.