diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-01-31 07:03:09 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-01-31 07:03:09 +0100 |
commit | 1a223c0614db81eee1220f4766837a1e2ebc76cc (patch) | |
tree | a3ad62c28d9f9fc5bc9578fa87dac270f29dabcb /dev-ruby/rspec-support | |
parent | dev-ruby/patron: add 0.11.1 (diff) | |
download | gentoo-1a223c0614db81eee1220f4766837a1e2ebc76cc.tar.gz gentoo-1a223c0614db81eee1220f4766837a1e2ebc76cc.tar.bz2 gentoo-1a223c0614db81eee1220f4766837a1e2ebc76cc.zip |
dev-ruby/rspec-support: add 3.7.1
Package-Manager: Portage-2.3.19, Repoman-2.3.6
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.1.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/rspec-support/Manifest b/dev-ruby/rspec-support/Manifest index b2a5fa103b1c..fbc916baad74 100644 --- a/dev-ruby/rspec-support/Manifest +++ b/dev-ruby/rspec-support/Manifest @@ -1,3 +1,4 @@ DIST rspec-support-3.5.0-git.tgz 59824 BLAKE2B 8e970af2f060344f842664e3afad7ba18d6884ef4a0e5b47ca3f2544f27a80df7227b98e853fea5a1091a6727d075d6a033e23dae930bbad854a181f8aa1662a SHA512 246d86c131dae12d6ca9040dba800ea5e378cfce083b1840492cc2c968e4d17fe67617332aa77d46817356113f81d8d9584698e4fe9e4873291d18ebe04eacbc DIST rspec-support-3.6.0-git.tgz 64987 BLAKE2B 9337da63047a1b33e8534a74a6dd4004287f0f057278b78160465ad66d43d5b543b9039d68e3488752e963308764b74a1343868f692b0ff26559b0c90cd3b674 SHA512 550e23ad2da53b445fa5e496eab243ad8c00db69949e50fe9e6c391b77166bbdc94261aae3a2b49c7f2f598abefe40ea4e93940cb493017fcdcc501675c8476e DIST rspec-support-3.7.0-git.tgz 65675 BLAKE2B abc204f641014b16cbb433c10b5d5953c8fb1f94491bec359febb627ce1864776ab59e0b706ca908d00c79e75d8c95dc5c8673937c4bb24a2c7c90e6ec5f4e7e SHA512 a4a3fc705d4c31d760777513f86d8b0ca4c9e540b0a6f4b6d1152676f252e1276fedebe7cd259f0dbbb60b447cc179eea194f3a3e5bb023907923cbf16fc8033 +DIST rspec-support-3.7.1-git.tgz 65831 BLAKE2B 8595c496bc8d13e36fdfd4a8be8e055db4ac1e85af63f99158d191c9ef9e0a6ba0a2972ad7661a63eeda959e2969139a99ded71219777fd493544b711b6fea53 SHA512 a5760d696048897d76c665a756474bbb1a1995891e577c989cf68a205644c8608c538bf3d87c558428e2c412e02d3552d47567a0679cd4f8793c06f43eccf459 diff --git a/dev-ruby/rspec-support/rspec-support-3.7.1.ebuild b/dev-ruby/rspec-support/rspec-support-3.7.1.ebuild new file mode 100644 index 000000000000..d53ae2925ed0 --- /dev/null +++ b/dev-ruby/rspec-support/rspec-support-3.7.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 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 +} |