diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-04-23 09:47:31 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-04-23 09:47:31 +0000 |
commit | 6878670b99c3200033aa1e8aeb3bcd23e96d0f26 (patch) | |
tree | d1092dbefe81c06025d3270b36eff8dda78a12dd /dev-ruby/selenium-webdriver | |
parent | net-analyzer/linkchecker: Cleaned old (diff) | |
download | gentoo-2-6878670b99c3200033aa1e8aeb3bcd23e96d0f26.tar.gz gentoo-2-6878670b99c3200033aa1e8aeb3bcd23e96d0f26.tar.bz2 gentoo-2-6878670b99c3200033aa1e8aeb3bcd23e96d0f26.zip |
Turn websocket into a development dependency.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/selenium-webdriver')
-rw-r--r-- | dev-ruby/selenium-webdriver/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/selenium-webdriver/selenium-webdriver-2.21.2-r1.ebuild | 40 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/selenium-webdriver/ChangeLog b/dev-ruby/selenium-webdriver/ChangeLog index f4bab9c8a707..4723c5660948 100644 --- a/dev-ruby/selenium-webdriver/ChangeLog +++ b/dev-ruby/selenium-webdriver/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/selenium-webdriver # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/selenium-webdriver/ChangeLog,v 1.26 2012/04/21 07:03:48 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/selenium-webdriver/ChangeLog,v 1.27 2012/04/23 09:47:31 graaff Exp $ + +*selenium-webdriver-2.21.2-r1 (23 Apr 2012) + + 23 Apr 2012; Hans de Graaff <graaff@gentoo.org> + +selenium-webdriver-2.21.2-r1.ebuild: + Turn websocket into a development dependency. *selenium-webdriver-2.21.2 (21 Apr 2012) diff --git a/dev-ruby/selenium-webdriver/selenium-webdriver-2.21.2-r1.ebuild b/dev-ruby/selenium-webdriver/selenium-webdriver-2.21.2-r1.ebuild new file mode 100644 index 000000000000..ac39e0522976 --- /dev/null +++ b/dev-ruby/selenium-webdriver/selenium-webdriver-2.21.2-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/selenium-webdriver/selenium-webdriver-2.21.2-r1.ebuild,v 1.1 2012/04/23 09:47:31 graaff Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +# 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" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so" + +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/ffi-1.0.9 + >=dev-ruby/multi_json-1.0.4 + dev-ruby/rubyzip" + +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 '/libwebsocket/,/version_requirements/ s/runtime/development/' ../metadata || die +} |