diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-11-14 11:11:38 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-11-14 11:13:21 +0100 |
commit | 49b4de1e8c35a099ef050652e2ac5dfa6501e034 (patch) | |
tree | d8d5c5effdd392bff48c88b2ad0984d3ebae393d /dev-ruby/rspec-expectations | |
parent | dev-ruby/rspec-mocks: add rspec 3.4.0 (diff) | |
download | gentoo-49b4de1e8c35a099ef050652e2ac5dfa6501e034.tar.gz gentoo-49b4de1e8c35a099ef050652e2ac5dfa6501e034.tar.bz2 gentoo-49b4de1e8c35a099ef050652e2ac5dfa6501e034.zip |
dev-ruby/rspec-expectations: 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-expectations')
-rw-r--r-- | dev-ruby/rspec-expectations/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rspec-expectations/rspec-expectations-3.4.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest index db692eb554d3..18bc45abfa39 100644 --- a/dev-ruby/rspec-expectations/Manifest +++ b/dev-ruby/rspec-expectations/Manifest @@ -3,3 +3,4 @@ DIST rspec-expectations-2.99.2-git.tgz 106884 SHA256 4c1b38198d214ab2d4e297fdfbd DIST rspec-expectations-3.2.1-git.tgz 157533 SHA256 fd3813bb56818fcea59a71aec649546c33c3d10ad1473deb4b051ab8f2bd1940 SHA512 144609a9b148daeb95e23e421bdd00ba3571f6e751915ba699089d52567f9cd7a35a51be37772947d7fe59945281bf8c5afea6a68b6d0e87007266333342b773 WHIRLPOOL 5046afddb29a42b3456b25077d3f1f2be83e5db6a8e69c02e93711725466ecbe792c4670cd8bbd371e405b0706a1eaadb7c7d7b81df50c7c88732e98d1e32cf4 DIST rspec-expectations-3.3.0-git.tgz 170643 SHA256 1bf5062cd45c12cfa048deb73caa572372767513fffe9f12328ffaf8970a0891 SHA512 edbe9ec9482fb93ba4834b023b3574f6771936a17df7b0f049b090b10077bb2d336a30a2bf734fa2d2f207b04bcb63be9a4e1a33c905d3614c93bec1a23be51c WHIRLPOOL 2a396b888261094efce98cea6d2359ce1b604801de20884b69f2b6f0c6ea16d0546ce9a5c101a10ad19ae225c498e6e80068958aef2ee12e350c31a228fcb0ef DIST rspec-expectations-3.3.1-git.tgz 171117 SHA256 a40feb73c5c54fd6464ca262af4be50ef9d5e4a785b5ae7862946da42837e112 SHA512 fe0e5fc4e00c8d51866bc9699bc25b1e702c765c5443abbebe2f016833c6f09f9f8f35d86520b59d51ad0a196551f68c39a5ec707658826af838ed274f4986ff WHIRLPOOL 5dc55d62ec1df5add711c07470d2d7020b875bf43a57788ceb84b05807ec9d3b2e395fde16f14c06d265e8c36b44e9a9c9da306c049a019289a1bc3d265e18e1 +DIST rspec-expectations-3.4.0-git.tgz 181527 SHA256 4cfdedf39382d27335208fc1ce7efbf3babd3212e021ece5593e39feb3e51556 SHA512 688fcee04517e1354ce7d180c9e8c8e55614261af416b80dfc663293f9d66348fc2c17dc9b31aec7bc12fd9045d6507d9f11017bb5a757e41dbcaea18efa684f WHIRLPOOL 3d9a8f9b7515433b80dc70ba922813f0b2564bd0e1a0f1fe6dd370befef76a8453b1ce59b8fede435a99f8f604a24a56c158bd5c0be5bc3627c0b2181193ca16 diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.4.0.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.4.0.ebuild new file mode 100644 index 000000000000..03b80e8a0e0b --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.4.0.ebuild @@ -0,0 +1,47 @@ +# 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_TASK_DOC="" +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-expectations" +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="" + +SUBVERSION="$(get_version_component_range 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2 + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +} |