summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-11-24 08:21:37 +0000
committerHans de Graaff <graaff@gentoo.org>2012-11-24 08:21:37 +0000
commite5a35bcf9590bb1aa7389626e3c441cca2cb73f5 (patch)
treed76669dc8b4d873aee52de435a25adc5a9fc0087 /dev-util/aruba
parent[bump] dev-perl/Error-0.170.190 (diff)
downloadgentoo-2-e5a35bcf9590bb1aa7389626e3c441cca2cb73f5.tar.gz
gentoo-2-e5a35bcf9590bb1aa7389626e3c441cca2cb73f5.tar.bz2
gentoo-2-e5a35bcf9590bb1aa7389626e3c441cca2cb73f5.zip
Version bump.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-util/aruba')
-rw-r--r--dev-util/aruba/ChangeLog7
-rw-r--r--dev-util/aruba/aruba-0.5.0.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-util/aruba/ChangeLog b/dev-util/aruba/ChangeLog
index d6f14ecd1abf..5f673c48ee66 100644
--- a/dev-util/aruba/ChangeLog
+++ b/dev-util/aruba/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/aruba
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/aruba/ChangeLog,v 1.19 2012/10/28 18:16:58 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/aruba/ChangeLog,v 1.20 2012/11/24 08:21:37 graaff Exp $
+
+*aruba-0.5.0 (24 Nov 2012)
+
+ 24 Nov 2012; Hans de Graaff <graaff@gentoo.org> +aruba-0.5.0.ebuild:
+ Version bump.
28 Oct 2012; Raúl Porcel <armin76@gentoo.org> aruba-0.4.11.ebuild:
Add ~alpha/~ia64/~sparc wrt #417573
diff --git a/dev-util/aruba/aruba-0.5.0.ebuild b/dev-util/aruba/aruba-0.5.0.ebuild
new file mode 100644
index 000000000000..c6919801d2da
--- /dev/null
+++ b/dev-util/aruba/aruba-0.5.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/aruba/aruba-0.5.0.ebuild,v 1.1 2012/11/24 08:21:37 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="cucumber"
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="aruba.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Cucumber steps for driving out command line applications."
+HOMEPAGE="https://github.com/cucumber/aruba"
+LICENSE="MIT"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND="${DEPEND} test? ( sys-devel/bc )"
+RDEPEND="${RDEPEND}"
+
+ruby_add_rdepend "
+ >=dev-ruby/bcat-0.6.1
+ >=dev-ruby/childprocess-0.2.3
+ >=dev-ruby/rspec-2.6
+ >=dev-util/cucumber-1.1.1"
+
+all_ruby_prepare() {
+ # Remove bundler-related code.
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+ rm Gemfile || die
+
+ # Relax childprocess dependency. We don't have this old version
+ # anymore and this is only done to handle changed semantics for
+ # non-existing files. Also remove references to git ls-files.
+ sed -i -e 's/= 0.2.3/>= 0.2.3/' \
+ -e '/git ls-files/d' \
+ aruba.gemspec || die
+
+ # see https://github.com/cucumber/aruba/issues/106
+ # Avoid features depending on deprecated childprocess behavior.
+ sed -i -e '34,39 s/@posix/@posix @wip/' features/exit_statuses.feature || die
+ sed -i -e '7 s/@posix/@posix @wip/' features/output.feature || die
+}