blob: 7f7ec0199077fb5d54b55a22be44603cd1e942d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth/oauth-0.3.6-r1.ebuild,v 1.1 2010/02/26 07:06:05 graaff Exp $
EAPI="2"
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc TODO"
RUBY_FAKEGEM_EXTRAINSTALL="script"
inherit ruby-fakegem
DESCRIPTION="A RubyGem for implementing both OAuth clients and servers."
HOMEPAGE="http://oauth.rubyforge.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RUBY_PATCHES=( "oauth-0.3.6-newgem.patch" )
ruby_add_bdepend test virtual/ruby-test-unit
ruby_add_rdepend ">=dev-ruby/ruby-hmac-0.3.1 dev-ruby/rubigen"
all_ruby_prepare() {
# Remove test that requires an insecure version of actionpack
# http://github.com/mojodna/oauth/issues/#issue/12
rm -f test/test_action_controller_request_proxy.rb || die "Unable to remove failing test."
}
|