summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-11-14 10:59:02 +0100
committerHans de Graaff <graaff@gentoo.org>2015-11-14 11:13:16 +0100
commitb894cae21dfdb1090ec3e091825d8fedad13a737 (patch)
treeecc36348dd7e46f6be6398ea7d2c76513c177878 /dev-ruby/rspec-support
parentdev-ruby/childprocess: add 0.5.8 (diff)
downloadgentoo-b894cae21dfdb1090ec3e091825d8fedad13a737.tar.gz
gentoo-b894cae21dfdb1090ec3e091825d8fedad13a737.tar.bz2
gentoo-b894cae21dfdb1090ec3e091825d8fedad13a737.zip
dev-ruby/rspec-support: add rspec 3.4.0
Drop arches for unkeyworded rspec-core version, bug 562452 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/rspec-support')
-rw-r--r--dev-ruby/rspec-support/Manifest1
-rw-r--r--dev-ruby/rspec-support/rspec-support-3.4.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/rspec-support/Manifest b/dev-ruby/rspec-support/Manifest
index 2b8f70f8974e..d5697bc15676 100644
--- a/dev-ruby/rspec-support/Manifest
+++ b/dev-ruby/rspec-support/Manifest
@@ -1,2 +1,3 @@
DIST rspec-support-3.2.1-git.tgz 38054 SHA256 5b4349b9139124d2dfc6900ddde20583503f2147b452b59afaf0a2ec858987a4 SHA512 2813bbd7c875aa3aa958e7ce0ac01f4ad19c581814369daee67d73130de0d0de136a78930ee2da38333892edd3e64bcdb67ac2f8ccd2fa468f4f8a99f96b1344 WHIRLPOOL 98e62fffe7c7f45769c1ec5751ad7b20884c3826183d773da5dc46f9c5652067472f00d1c24318ebd42ae23591c3d94c0e591777455e485b3826653a20c01867
DIST rspec-support-3.3.0-git.tgz 45380 SHA256 cea58331f616e407c4ee25bb0b74bad26dbdc793fd341010d37749dea15e30a2 SHA512 88f0fdbc7609093c8f14bff220a03d0788847315e5ac73c025cd181d84a3ac120c294aca8ffff9a0c11c9f11e35019dc337f9e43fc2c33cabe4856d87e36fa1e WHIRLPOOL 6f355bb1dc71bbb7804fd3d4a4227042bbe0d166ef336e4121730abce52e1596b25b94ae38e72a6284ca2eac6d0eb6146a02f54d08792b1ff5a6320d40524a2a
+DIST rspec-support-3.4.0-git.tgz 55405 SHA256 07826d61234ab87ff935c74ce15b5b96a2cc5ad0c66e6aea2ebe906f986081c0 SHA512 a309e86b57c6c0e89c39f9bccf01479a1ef42b51017d4e012de4a223a3d6d7f348362c4b5da3bdaafaf53564761b1c8d4e3d19e1a058923116b40f086a6eb9b7 WHIRLPOOL 62a5c1be1b4fb1ca39965826c1a3ab10af74c6b10c89a37677dc737d10baf9d99c9f73742145ee42f6b06206aabe43710a83014feff8df3d27e70458ed660707
diff --git a/dev-ruby/rspec-support/rspec-support-3.4.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.4.0.ebuild
new file mode 100644
index 000000000000..4697dd03780e
--- /dev/null
+++ b/dev-ruby/rspec-support/rspec-support-3.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
+HOMEPAGE="https://github.com/rspec/rspec-support"
+SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc64"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.4.0:3 )"
+
+all_ruby_prepare() {
+ sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Remove spec that, by following symlinks, tries to scan pretty much
+ # the whole filesystem.
+ rm spec/rspec/support/caller_filter_spec.rb || die
+
+ # Avoid a spec requiring a specific locale
+ sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die
+}