diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild')
-rw-r--r-- | dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild b/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild new file mode 100644 index 000000000000..2f704cd316c2 --- /dev/null +++ b/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-its" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rspec-core-3.0.0 >=dev-ruby/rspec-expectations-3.0.0" + +each_ruby_prepare() { + case ${RUBY} in + *ruby24) + sed -i -e 's/Fixnum/Integer/' spec/rspec/its_spec.rb || die + ;; + esac +} |