From a84e0727513499ae783809d2d3b4a8e05ec770c2 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 31 Oct 2015 06:58:20 +0100 Subject: [PATCH] dev-util/cucumber-core: add 1.3.0 Package-Manager: portage-2.2.20.1 --- dev-util/cucumber-core/Manifest | 1 + .../cucumber-core/cucumber-core-1.3.0.ebuild | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-util/cucumber-core/cucumber-core-1.3.0.ebuild diff --git a/dev-util/cucumber-core/Manifest b/dev-util/cucumber-core/Manifest index fcdfa118146b5..25ddf2a9c6d52 100644 --- a/dev-util/cucumber-core/Manifest +++ b/dev-util/cucumber-core/Manifest @@ -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 diff --git a/dev-util/cucumber-core/cucumber-core-1.3.0.ebuild b/dev-util/cucumber-core/cucumber-core-1.3.0.ebuild new file mode 100644 index 0000000000000..ed7b162250c08 --- /dev/null +++ b/dev-util/cucumber-core/cucumber-core-1.3.0.ebuild @@ -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 +}