From 7effa92b511417ca3ae8f475e9849956da00059d Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 3 Mar 2010 07:12:56 +0000 Subject: Version bump with minor bug fixes and new features. Also enable cucumber tests. (Portage version: 2.1.7.17/cvs/Linux x86_64) --- dev-util/cucumber/ChangeLog | 8 ++++- dev-util/cucumber/cucumber-0.6.3.ebuild | 55 +++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 dev-util/cucumber/cucumber-0.6.3.ebuild (limited to 'dev-util') diff --git a/dev-util/cucumber/ChangeLog b/dev-util/cucumber/ChangeLog index d87cc4660bf0..68704d3215a8 100644 --- a/dev-util/cucumber/ChangeLog +++ b/dev-util/cucumber/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/cucumber # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/ChangeLog,v 1.24 2010/03/03 06:57:20 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/ChangeLog,v 1.25 2010/03/03 07:12:56 graaff Exp $ + +*cucumber-0.6.3 (03 Mar 2010) + + 03 Mar 2010; Hans de Graaff +cucumber-0.6.3.ebuild: + Version bump with minor bug fixes and new features. Also enable cucumber + tests. 03 Mar 2010; Hans de Graaff -cucumber-0.4.0.ebuild: Remove old version. diff --git a/dev-util/cucumber/cucumber-0.6.3.ebuild b/dev-util/cucumber/cucumber-0.6.3.ebuild new file mode 100644 index 000000000000..1e05685d7b2a --- /dev/null +++ b/dev-util/cucumber/cucumber-0.6.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/cucumber-0.6.3.ebuild,v 1.1 2010/03/03 07:12:56 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18" + +# Documentation task depends on sdoc which we currently don't have. +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="spec cucumber" + +inherit ruby-fakegem + +DESCRIPTION="Executable feature scenarios" +HOMEPAGE="http://github.com/aslakhellesoy/cucumber/wikis" +LICENSE="Ruby" + +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +SLOT="0" +IUSE="examples" + +ruby_add_bdepend test ">=dev-ruby/rspec-1.3.0 >=dev-ruby/nokogiri-1.4.1" + +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 + >=dev-ruby/json-1.2.0" + +each_ruby_prepare() { + # Remove features checking for optional dependencies that we currently + # don't have in our tree. + rm -f features/drb_server_integration.feature features/cucumber_cli.feature || die "Unable to remove failing feature." +} + +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." +} -- cgit v1.2.3-65-gdbad