summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-07-22 08:00:18 +0200
committerHans de Graaff <graaff@gentoo.org>2016-07-22 08:00:49 +0200
commitf43ad16a03e0b0ee957ddbdd38e15278891e38a2 (patch)
treed1ee2d3cb16bf543fe772e3161335a56b4db98d9 /dev-util/cucumber-core
parentdev-ruby/yard: add 0.9.4 (diff)
downloadgentoo-f43ad16a03e0b0ee957ddbdd38e15278891e38a2.tar.gz
gentoo-f43ad16a03e0b0ee957ddbdd38e15278891e38a2.tar.bz2
gentoo-f43ad16a03e0b0ee957ddbdd38e15278891e38a2.zip
dev-util/cucumber-core: add 1.5.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-util/cucumber-core')
-rw-r--r--dev-util/cucumber-core/Manifest1
-rw-r--r--dev-util/cucumber-core/cucumber-core-1.5.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/cucumber-core/Manifest b/dev-util/cucumber-core/Manifest
index cde45682d86b..ff34c153d80c 100644
--- a/dev-util/cucumber-core/Manifest
+++ b/dev-util/cucumber-core/Manifest
@@ -1 +1,2 @@
DIST cucumber-core-1.4.0.gem 44544 SHA256 683809be76902c34d056a4554d2ef1c060d256d222e9d304f50926fbf2840538 SHA512 04e96c7abc8088191c3311b3ceae4a36036631369fc051b0ccfefded99adeca2969a49e0f93be07adb49483e9dec498d81373535366c7eb4e4c6f76d53fc45a8 WHIRLPOOL 99a9ee0f6848d235aeca59e452810853f5c2b93191aa77d0c1adb610390c1cf017829efc2eedec12e026cb69c19c75ebeb0732d7c0549f819b051f38c570d94b
+DIST cucumber-core-1.5.0.gem 45056 SHA256 594a30969a33f03693915db7eaa2a137e45fed76d9ae19ed7b96a4bbb1764262 SHA512 544d2c5707bde46d0c12dc975b3858e663776d9bc87ef044681525a547ef2de171a74ba0c53fb28dafcbdf90a153bea5357ec1a129f11b2c0dfedd288c5def74 WHIRLPOOL 7e703d2f7b6131417e0895ee27c0efd511fb98a600a607292e4e9f77e1ca45f7241746b42c4509458b624992a00a60e850f12f8623110359fc0f17a015d37fbe
diff --git a/dev-util/cucumber-core/cucumber-core-1.5.0.ebuild b/dev-util/cucumber-core/cucumber-core-1.5.0.ebuild
new file mode 100644
index 000000000000..5fd5ff6d4002
--- /dev/null
+++ b/dev-util/cucumber-core/cucumber-core-1.5.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 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/gherkin-3.2.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
+}