summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-10-18 07:09:14 +0000
committerHans de Graaff <graaff@gentoo.org>2012-10-18 07:09:14 +0000
commit26b28af00237316f138b699831bdcf4ec8e7cc8b (patch)
treebc088ca5c4d25961ef6d6ebc93acd355bad9f453
parentVersion bump. (diff)
downloadgentoo-2-26b28af00237316f138b699831bdcf4ec8e7cc8b.tar.gz
gentoo-2-26b28af00237316f138b699831bdcf4ec8e7cc8b.tar.bz2
gentoo-2-26b28af00237316f138b699831bdcf4ec8e7cc8b.zip
Version bump.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
-rw-r--r--dev-ruby/bourne/ChangeLog7
-rw-r--r--dev-ruby/bourne/bourne-1.2.0.ebuild34
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-ruby/bourne/ChangeLog b/dev-ruby/bourne/ChangeLog
index 5c029842d229..cf128ed820b4 100644
--- a/dev-ruby/bourne/ChangeLog
+++ b/dev-ruby/bourne/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/bourne
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bourne/ChangeLog,v 1.5 2012/08/04 06:50:51 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bourne/ChangeLog,v 1.6 2012/10/18 07:09:14 graaff Exp $
+
+*bourne-1.2.0 (18 Oct 2012)
+
+ 18 Oct 2012; Hans de Graaff <graaff@gentoo.org> +bourne-1.2.0.ebuild:
+ Version bump.
04 Aug 2012; Hans de Graaff <graaff@gentoo.org> -bourne-1.1.2.ebuild:
Remove version with broken gemspec.
diff --git a/dev-ruby/bourne/bourne-1.2.0.ebuild b/dev-ruby/bourne/bourne-1.2.0.ebuild
new file mode 100644
index 000000000000..d44ce26eb3ad
--- /dev/null
+++ b/dev-ruby/bourne/bourne-1.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bourne/bourne-1.2.0.ebuild,v 1.1 2012/10/18 07:09:14 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Extends mocha to allow detailed tracking and querying of stub and mock invocations."
+HOMEPAGE="http://github.com/thoughtbot/bourne"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/mocha-0.10.5"
+
+all_ruby_prepare() {
+ sed -i \
+ -e '/git ls-files/d' \
+ -e '/dependency.*mocha/s:0.12.3:>= 0.10.5:' \
+ "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ sed -i -e '/bundler/d' Rakefile || die
+}