diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-10-21 07:44:40 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-10-21 07:44:40 +0200 |
commit | dc31a51d1f7d505f3c03726e11160efda590d640 (patch) | |
tree | 2cb04e0cb986329b0038bc0e81dbb859cf148336 /dev-ruby/rspec-support | |
parent | x11-misc/urxvt-font-size: version bump to 1.3 (diff) | |
download | gentoo-dc31a51d1f7d505f3c03726e11160efda590d640.tar.gz gentoo-dc31a51d1f7d505f3c03726e11160efda590d640.tar.bz2 gentoo-dc31a51d1f7d505f3c03726e11160efda590d640.zip |
dev-ruby/rspec-support: Add rspec 3.7
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/rspec-support')
-rw-r--r-- | dev-ruby/rspec-support/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rspec-support/rspec-support-3.7.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/rspec-support/Manifest b/dev-ruby/rspec-support/Manifest index 01cabed1842b..49dd6877ef88 100644 --- a/dev-ruby/rspec-support/Manifest +++ b/dev-ruby/rspec-support/Manifest @@ -1,3 +1,4 @@ DIST rspec-support-3.3.0-git.tgz 45380 SHA256 cea58331f616e407c4ee25bb0b74bad26dbdc793fd341010d37749dea15e30a2 SHA512 88f0fdbc7609093c8f14bff220a03d0788847315e5ac73c025cd181d84a3ac120c294aca8ffff9a0c11c9f11e35019dc337f9e43fc2c33cabe4856d87e36fa1e WHIRLPOOL 6f355bb1dc71bbb7804fd3d4a4227042bbe0d166ef336e4121730abce52e1596b25b94ae38e72a6284ca2eac6d0eb6146a02f54d08792b1ff5a6320d40524a2a DIST rspec-support-3.5.0-git.tgz 59824 SHA256 856a052e7fd6d3a368c543580528495e660bb1ce403333001ba4be48e39a518f SHA512 246d86c131dae12d6ca9040dba800ea5e378cfce083b1840492cc2c968e4d17fe67617332aa77d46817356113f81d8d9584698e4fe9e4873291d18ebe04eacbc WHIRLPOOL ed288c0681b14670e6bbb43c5672d7240c408e98be2927b32d38eb330b5b941d2169c4d3c30b1a0c7f715554f4f67d5399451da466a4a15f4c90c9ce208313b1 DIST rspec-support-3.6.0-git.tgz 64987 SHA256 cd02fc3b5fc5cf668ead3192a7bd8301b197c9344433b819c5e1c5fc6ffcd0fd SHA512 550e23ad2da53b445fa5e496eab243ad8c00db69949e50fe9e6c391b77166bbdc94261aae3a2b49c7f2f598abefe40ea4e93940cb493017fcdcc501675c8476e WHIRLPOOL 08ee95290280af2ac1bf811e8016888e9e8157210b7e330cece5e6f543200d14215925701e480684a0f2277687dfe8ceb6b5a4b432fe9f5051aa6272913a2001 +DIST rspec-support-3.7.0-git.tgz 65675 SHA256 2098352c9cead0534de5878580194cf42721e77aab632015804fcea0161d4da7 SHA512 a4a3fc705d4c31d760777513f86d8b0ca4c9e540b0a6f4b6d1152676f252e1276fedebe7cd259f0dbbb60b447cc179eea194f3a3e5bb023907923cbf16fc8033 WHIRLPOOL 7e1950cdf58ff07a98ae5280b953c77150d2580368a3fae9f128f78494d3f287017ded13799ed64bbf540c0cc6d1a108508029bf88bf351f22e12e08bcb95429 diff --git a/dev-ruby/rspec-support/rspec-support-3.7.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.7.0.ebuild new file mode 100644 index 000000000000..859e41514bf1 --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.7.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.7.0:3 dev-ruby/thread_order )" + +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 spec that requires a dependency on git + sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_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 +} |