1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 USE_RUBY="ruby24 ruby25 ruby26"
8 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
10 RUBY_FAKEGEM_RECIPE_TEST="none"
12 RUBY_FAKEGEM_EXTRAINSTALL="NEWS.md README.md"
14 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
16 RUBY_FAKEGEM_BINWRAP=""
20 DESCRIPTION="Making tests easy on the fingers and eyes"
21 HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers"
22 SRC_URI="https://github.com/thoughtbot/shoulda-matchers/archive/v${PV}.tar.gz -> ${P}.tar.gz"
26 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
29 ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*"
32 sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
33 sed -i -e '/s.files/,/^ end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die