Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/oauth/files: oauth-0.3.6-newgem.patch
Date: Fri, 26 Feb 2010 07:06:08
Message-Id: E1NkuH0-0007JK-Ki@stork.gentoo.org
1 graaff 10/02/26 07:06:06
2
3 Added: oauth-0.3.6-newgem.patch
4 Log:
5 Convert to ruby-fakegem.
6 (Portage version: 2.1.7.16/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-ruby/oauth/files/oauth-0.3.6-newgem.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/oauth/files/oauth-0.3.6-newgem.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/oauth/files/oauth-0.3.6-newgem.patch?rev=1.1&content-type=text/plain
13
14 Index: oauth-0.3.6-newgem.patch
15 ===================================================================
16 Patch out newgem since we don't need it to install and it currently
17 isn't available in Gentoo.
18
19 --- Rakefile.orig 2010-02-25 07:56:59.000000000 +0100
20 +++ Rakefile 2010-02-25 07:56:28.000000000 +0100
21 @@ -1,4 +1,4 @@
22 -%w[rubygems rake rake/clean fileutils newgem rubigen hoe].each { |f| require f }
23 +%w[rubygems rake rake/clean fileutils rubigen hoe].each { |f| require f }
24 $LOAD_PATH << File.dirname(__FILE__) + '/lib'
25 require 'oauth'
26 require 'oauth/version'
27 @@ -18,7 +18,6 @@
28 ['ruby-hmac','>= 0.3.1']
29 ]
30 p.extra_dev_deps = [
31 - ['newgem', ">= #{::Newgem::VERSION}"],
32 ['actionpack'],
33 ['rack']
34 ]
35 @@ -29,7 +28,6 @@
36 p.rsync_args = '-av --delete --ignore-errors'
37 end
38
39 -require 'newgem/tasks' # load /tasks/*.rake
40 Dir['tasks/**/*.rake'].each { |t| load t }
41
42 # TODO - want other tests/tasks run by default? Add them to the list