forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.20.1
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST cucumber-core-1.2.0.gem 41984 SHA256 390e4d05a99d4b648f75343b553cb22c59aa9b4e461ab383323d4ca381b4b4bb SHA512 b24a108a0147afca99d292df7c64320190a1fa0b2fcc08038f3a98eb09d29f3f02e0581004a168e80e0c2091e7e981494f86e9086ff81504a014b52f5fe5ceeb WHIRLPOOL e49a4814d2810abfb1f8d4b79d858c87ce128c98d2e238147d0599eab7acdafa25fa438f1f1addd50dd195484f79fb0257f29dfb5fa5bbba07f173f313b6bedb | ||
DIST cucumber-core-1.3.0.gem 44032 SHA256 28dfebe5e003a28c60266468f781968e30fe26858a823001be3f9aa481fbb98a SHA512 82d5185669ff8962cd4a1da7257e1144028cf0718c6a324facf4686a287526abb5c7848898bb25a848ba535ef0526daea13ec3de93b2b2ffce76c49cfd60ed0b WHIRLPOOL 7278feb976665e7bee4a7b43b0ca320bf95747c919addef167ef56d20293b0a878bf06d2669f97454c63675fad79801c6b906e08a2b3c8991f5d44eaf8d40634 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# 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_DOC="rdoc" | ||
RUBY_FAKEGEM_RECIPE_TEST="rspec3" | ||
RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" | ||
|
||
inherit ruby-fakegem | ||
|
||
DESCRIPTION="Executable feature scenarios" | ||
HOMEPAGE="https://github.com/aslakhellesoy/cucumber/wikis" | ||
LICENSE="Ruby" | ||
|
||
KEYWORDS="~amd64" | ||
SLOT="0" | ||
IUSE="test" | ||
|
||
ruby_add_bdepend " | ||
test? ( | ||
>=dev-ruby/unindent-1.0 | ||
)" | ||
|
||
USE_RUBY=${USE_RUBY/ruby22} ruby_add_bdepend "test? ( >=dev-ruby/kramdown-1.4.2 )" | ||
|
||
ruby_add_rdepend " | ||
>=dev-ruby/gherkin3-3.1.0:3 | ||
" | ||
|
||
each_ruby_prepare() { | ||
case ${RUBY} in | ||
*ruby22) | ||
# Avoid dependency on kramdown so we can add the ruby22 | ||
# target. | ||
rm -f spec/readme_spec.rb || die | ||
;; | ||
esac | ||
} |