summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-05-20 05:52:17 +0000
committerHans de Graaff <graaff@gentoo.org>2010-05-20 05:52:17 +0000
commitbbd4a852ee7c26bbfaaa5156fabc061dbc0b7c77 (patch)
tree03df188caf002c8ac8d79704f05b7c63656ef040 /dev-util/cucumber
parentdepend on media-fonts/liberation-fonts (diff)
downloadgentoo-2-bbd4a852ee7c26bbfaaa5156fabc061dbc0b7c77.tar.gz
gentoo-2-bbd4a852ee7c26bbfaaa5156fabc061dbc0b7c77.tar.bz2
gentoo-2-bbd4a852ee7c26bbfaaa5156fabc061dbc0b7c77.zip
Version bump. Minor new features.
(Portage version: 2.1.8.3/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.7.3.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-util/cucumber/ChangeLog b/dev-util/cucumber/ChangeLog
index 96b26e0efe08..cb20b899a22b 100644
--- a/dev-util/cucumber/ChangeLog
+++ b/dev-util/cucumber/ChangeLog
@@ -1,6 +1,11 @@
# 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.28 2010/05/08 08:16:05 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/ChangeLog,v 1.29 2010/05/20 05:52:17 graaff Exp $
+
+*cucumber-0.7.3 (20 May 2010)
+
+ 20 May 2010; Hans de Graaff <graaff@gentoo.org> +cucumber-0.7.3.ebuild:
+ Version bump. Minor new features.
*cucumber-0.7.2 (08 May 2010)
diff --git a/dev-util/cucumber/cucumber-0.7.3.ebuild b/dev-util/cucumber/cucumber-0.7.3.ebuild
new file mode 100644
index 000000000000..972ffe41af24
--- /dev/null
+++ b/dev-util/cucumber/cucumber-0.7.3.ebuild
@@ -0,0 +1,56 @@
+# 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.7.3.ebuild,v 1.1 2010/05/20 05:52:17 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"
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Executable feature scenarios"
+HOMEPAGE="http://github.com/aslakhellesoy/cucumber/wikis"
+LICENSE="Ruby"
+
+KEYWORDS="~amd64"
+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/builder-2.1.2
+ >=dev-ruby/diff-lcs-1.1.2
+ >=dev-ruby/gherkin-1.0.27
+ >=dev-ruby/json-1.2.4
+ >=dev-ruby/term-ansicolor-1.0.4
+"
+
+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 unsupported features."
+}
+
+each_ruby_install() {
+ each_fakegem_install
+
+ ruby_fakegem_doins VERSION.yml
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ if use examples; then
+ cp -pPR examples "${D}/usr/share/doc/${PF}" || die "Failed installing example files."
+ fi
+}
+
+pkg_postinst() {
+ ewarn "Cucumber 0.7.x has minor parsing incompatibilities. Check the upgrade guide"
+ ewarn "for details: http://wiki.github.com/aslakhellesoy/cucumber/upgrading"
+}