summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2009-12-18 09:43:50 +0000
committerHans de Graaff <graaff@gentoo.org>2009-12-18 09:43:50 +0000
commita70212352ad3047832700149dad77a45cc9cf6ca (patch)
tree5a7eab67e93733cfd902a7a650bfe0b628da076d /dev-util/cucumber
parentInitial import. (diff)
downloadgentoo-2-a70212352ad3047832700149dad77a45cc9cf6ca.tar.gz
gentoo-2-a70212352ad3047832700149dad77a45cc9cf6ca.tar.bz2
gentoo-2-a70212352ad3047832700149dad77a45cc9cf6ca.zip
Install cucumber binary.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/cucumber')
-rw-r--r--dev-util/cucumber/ChangeLog7
-rw-r--r--dev-util/cucumber/cucumber-0.5.1-r1.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-util/cucumber/ChangeLog b/dev-util/cucumber/ChangeLog
index 54b8840bc621..c84f392ef826 100644
--- a/dev-util/cucumber/ChangeLog
+++ b/dev-util/cucumber/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cucumber
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/ChangeLog,v 1.13 2009/12/18 08:42:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/ChangeLog,v 1.14 2009/12/18 09:43:50 graaff Exp $
+
+*cucumber-0.5.1-r1 (18 Dec 2009)
+
+ 18 Dec 2009; Hans de Graaff <graaff@gentoo.org> +cucumber-0.5.1-r1.ebuild:
+ Install cucumber binary.
*cucumber-0.5.1 (18 Dec 2009)
diff --git a/dev-util/cucumber/cucumber-0.5.1-r1.ebuild b/dev-util/cucumber/cucumber-0.5.1-r1.ebuild
new file mode 100644
index 000000000000..eb3f05d8358f
--- /dev/null
+++ b/dev-util/cucumber/cucumber-0.5.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/cucumber-0.5.1-r1.ebuild,v 1.1 2009/12/18 09:43:50 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST="-f gem_tasks/rspec.rake spec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Executable feature scenarios"
+HOMEPAGE="http://github.com/aslakhellesoy/cucumber/wikis"
+LICENSE="Ruby"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="examples"
+
+ruby_add_bdepend test dev-ruby/rspec
+
+ruby_add_rdepend ">=dev-ruby/term-ansicolor-1.0.4
+ >=dev-ruby/treetop-1.4.2
+ >=dev-ruby/polyglot-0.2.9
+ >=dev-ruby/diff-lcs-1.1.2
+ >=dev-ruby/builder-2.1.2"
+
+each_ruby_install() {
+ each_fakegem_install
+
+ ruby_fakegem_doins VERSION.yml
+}
+
+all_ruby_install() {
+ ruby_fakegem_binwrapper cucumber
+ dodoc History.txt README.rdoc
+
+ if use examples; then
+ cp -pPR examples "${D}/usr/share/doc/${PF}" || die "Failed installing example files."
+ fi
+}
+
+pkg_postinst() {
+ ewarn "Starting with cucumber 0.5.0 support for the Rails framework has been spun off."
+ ewarn "Please install dev-util/cucumber-rails if you need support for Rails."
+}