summaryrefslogtreecommitdiff
blob: 6b8fbad10ad6ee1007aa90b98f09e8523826aab8 (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
35
36
37
38
39
40
41
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"

RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"

RUBY_FAKEGEM_EXTRAINSTALL="init.rb"

inherit ruby-fakegem

DESCRIPTION="Extension of the Authlogic library to add OpenID support."
HOMEPAGE="http://authlogic-oid.rubyforge.org/"
LICENSE="MIT"

KEYWORDS="~amd64"
SLOT="0"
IUSE=""

# Use a fork in the network that has many, many bug fixes and seems the
# most coherent fork
#SRC_URI="https://github.com/whitequark/authlogic_openid/tarball/0a5b3772437ac0ebb3b5ecd7ce53f51688d60345 -> ${P}.tgz"
SRC_URI="http://moving-innovations.com/~graaff/authlogic-oid-1.0.4.tgz"
RUBY_S="whitequark-authlogic_openid-*"

# Tests use hardcoded path to authlogic
RESTRICT="test"

ruby_add_bdepend "doc? ( dev-ruby/hoe )"

ruby_add_rdepend ">=dev-ruby/authlogic-3.8:*"

all_ruby_prepare() {
	# Remove reference to documenation template we don't have.
	sed -i -e 's/-T hanna//' Rakefile || die

	eapply "${FILESDIR}/${P}-rails51.patch"
}