diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-05-12 07:16:10 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-05-12 07:16:10 +0200 |
commit | 37f4418cf13b0073c7fecfc1aa8741694a896ca2 (patch) | |
tree | 4ec73646dc3577dba4a59def48f487f75a3a9fa5 /dev-ruby/poltergeist | |
parent | dev-ruby/websocket-extensions: add ruby23 (diff) | |
download | gentoo-37f4418cf13b0073c7fecfc1aa8741694a896ca2.tar.gz gentoo-37f4418cf13b0073c7fecfc1aa8741694a896ca2.tar.bz2 gentoo-37f4418cf13b0073c7fecfc1aa8741694a896ca2.zip |
dev-ruby/poltergeist: add 1.9.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/poltergeist')
-rw-r--r-- | dev-ruby/poltergeist/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/poltergeist/poltergeist-1.9.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/poltergeist/Manifest b/dev-ruby/poltergeist/Manifest index 98f4d47c43c5..6f77c1e7eacd 100644 --- a/dev-ruby/poltergeist/Manifest +++ b/dev-ruby/poltergeist/Manifest @@ -1,2 +1,3 @@ DIST poltergeist-1.6.0.tar.gz 147447 SHA256 6a62976b6c1364be817c87daf84830d50284e3d693d8c9155d74514755d86c29 SHA512 298af6798095d78cd662dd58231ababec4a3b9925dd7d45ebb9d28c1211a3838605ba5c2ed75033439dc28d7ef84060407495e87e2fe248b1965bd3f5ccd8250 WHIRLPOOL 162e4aa97da121dd392f333550032657a199ab27225b76ed05f2f0e04e9c2c2971932fb48117ecd72f144ba194ab35c317afca1041fedf066697368f8a3429df DIST poltergeist-1.7.0.tar.gz 152255 SHA256 fe47b424986d1d19b90284dc231a9635a7d2e01ba1d4bee563d7108c28ed50d6 SHA512 33d63eac89d6b19f7b11b6d021f7ac59061fb6990ed2fab80f7b522f7ea0e7fcb78035ac9baea2e54228da174d064a97f683ad823557ef9bd56bb0916d6fa5c4 WHIRLPOOL 41c174850db7f1950b0b47d58d2d2a50b7c4c12d7040866da005120070cf1b53cd55a5c9164e89d35905a9d8ed16e22dbc2dc8daf4b8f7f2dfeff4984a6f218c +DIST poltergeist-1.9.0.tar.gz 175912 SHA256 781f81c00bc97323585045a9b2123ca14cd95b0183ac7b794f326274a652f8dc SHA512 667fab321bd8718f604496119efcdd6e3bd88da89b45afca13df53727a4b7a01ab2ca70710afdb3479d4c68ecb155f0136901aaf405bc26cb0430838558c69d1 WHIRLPOOL 6ae722748f150907ffde624107e7e4d3f218271f5a08addafbc40a453f6f9d4deaffa2911132b77b2f544d622300103b3fa44e0766a5fd0d2249f84b4fbdbb75 diff --git a/dev-ruby/poltergeist/poltergeist-1.9.0.ebuild b/dev-ruby/poltergeist/poltergeist-1.9.0.ebuild new file mode 100644 index 000000000000..b2825a6062f6 --- /dev/null +++ b/dev-ruby/poltergeist/poltergeist-1.9.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +# There are tests but they require several unpackaged dependencies. +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A PhantomJS driver for Capybara" +HOMEPAGE="https://github.com/jonleighton/poltergeist" +SRC_URI="https://github.com/jonleighton/poltergeist/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND+=" www-client/phantomjs" + +ruby_add_rdepend ">=dev-ruby/cliver-0.3.1 + dev-ruby/multi_json + >=dev-ruby/capybara-2.1 + >=dev-ruby/websocket-driver-0.2.0" + +all_ruby_prepare() { + # Fix cliver versioning to accept all 0.x versions + sed -i -e 's/0.3.1/0.3/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die + + # Remove integration tests for now since they require additional dependencies. + rm -rf spec/integration + + # Avoid a spec failing only in our ebuild test environment + sed -i -e '/can pause indefinitely/,/^ end/ s:^:#:' spec/unit/driver_spec.rb || die +} |