mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ruby/poltergeist: cleanup
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST poltergeist-1.10.0.tar.gz 179598 BLAKE2B f4a65b567ef7969dc42971482542443438edac46ea8866ca5f856694146e2c4e3187d3e29b08fc7177f53cc8feeaa251a35ddc863270436b136c7323ff23eede SHA512 d81f06e45eb0fd8a7d89dea7799b6e2c85dbc34c6220f57acf9bfa4ade8ef464157204dfd76bbd53e65aa62edaecedc80f375de4c47ab9af2bab2a3b96c5fae8
|
||||
DIST poltergeist-1.14.0.tar.gz 185946 BLAKE2B 0f5d95437ad5c2509264ef0230624ac257e8901e98bd4494576c3dc6895fc38c64572b287eb9842c8af2ddbaf0b3c48ecb0a1fb4a2cb72711abba40646dcaeec SHA512 82ab8aec7e5e091fa2924765e077d8b9816319833d438d9246f8ef3d0045d158de6bce1d14e929cc5cb8d0970ea380d44a51511b17623479f3cd64853580ce71
|
||||
DIST poltergeist-1.9.0.tar.gz 175912 BLAKE2B 26635a1ed66742e07439a90019df92b72e7670242f2d9bd5883d66e051e365862e66be89c59052f78dd830f65ec5c28997d940d27a88321a215e2030a5219724 SHA512 667fab321bd8718f604496119efcdd6e3bd88da89b45afca13df53727a4b7a01ab2ca70710afdb3479d4c68ecb155f0136901aaf405bc26cb0430838558c69d1
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
# 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/capybara-2.1
|
||||
>=dev-ruby/websocket-driver-0.2.0"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/sinatra: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
|
||||
sed -i -e '2igem "sinatra", "~>1.0"; gem "rack", "~>1.5"' 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
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user