2013-04-19 12:42:15 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2013-11-24 02:57:30 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/selenium-webdriver/selenium-webdriver-2.37.0.ebuild,v 1.2 2013/11/23 08:08:42 graaff Exp $
|
2013-04-19 12:42:15 +04:00
|
|
|
|
|
|
|
EAPI=5
|
2013-11-24 02:57:30 +04:00
|
|
|
USE_RUBY="ruby18 ruby19 ruby20"
|
2013-04-19 12:42:15 +04:00
|
|
|
|
|
|
|
# NOTE: this package contains precompiled code. It appears that all
|
|
|
|
# source code can be found at http://code.google.com/p/selenium/ but the
|
|
|
|
# repository is not organized in a way so that we can easily rebuild the
|
|
|
|
# suited shared object. We'll just try our luck with the precompiled
|
|
|
|
# objects for now.
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_TASK_DOC=""
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_TASK_TEST=""
|
|
|
|
|
|
|
|
RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so"
|
2013-10-21 01:26:45 +04:00
|
|
|
QA_PREBUILT="*/x_ignore_nofocus.so"
|
2013-04-19 12:42:15 +04:00
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
|
|
|
DESCRIPTION="This gem provides Ruby bindings for WebDriver."
|
|
|
|
HOMEPAGE="http://gemcutter.org/gems/selenium-webdriver"
|
|
|
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
ruby_add_rdepend ">=dev-ruby/childprocess-0.2.5
|
|
|
|
>=dev-ruby/multi_json-1.0.4
|
2013-10-21 01:26:45 +04:00
|
|
|
dev-ruby/rubyzip:1"
|
2013-04-19 12:42:15 +04:00
|
|
|
|
|
|
|
all_ruby_prepare() {
|
|
|
|
# Make websocket a development dependency since it is only needed
|
|
|
|
# for the safari driver which we don't support on Gentoo.
|
|
|
|
sed -i -e '/websocket/,/version_requirements/ s/runtime/development/' ../metadata || die
|
|
|
|
}
|