summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-22 07:30:18 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-22 07:30:18 +0000
commitf1ce8a8614820e5cab3f972c8aac766bce7bf7ef (patch)
tree105b5d1bc53a0208ac0ef9498818375a96ff7d2f /dev-ruby/flexmock
parentBump. Still in package.mask because swig refuses to build, with libtool looki... (diff)
downloadgentoo-2-f1ce8a8614820e5cab3f972c8aac766bce7bf7ef.tar.gz
gentoo-2-f1ce8a8614820e5cab3f972c8aac766bce7bf7ef.tar.bz2
gentoo-2-f1ce8a8614820e5cab3f972c8aac766bce7bf7ef.zip
Version bump.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/flexmock')
-rw-r--r--dev-ruby/flexmock/ChangeLog7
-rw-r--r--dev-ruby/flexmock/flexmock-1.2.0.ebuild31
2 files changed, 37 insertions, 1 deletions
diff --git a/dev-ruby/flexmock/ChangeLog b/dev-ruby/flexmock/ChangeLog
index 304ac72e874c..a49d392cbbd8 100644
--- a/dev-ruby/flexmock/ChangeLog
+++ b/dev-ruby/flexmock/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/flexmock
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.22 2012/10/18 07:18:21 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.23 2012/12/22 07:30:18 graaff Exp $
+
+*flexmock-1.2.0 (22 Dec 2012)
+
+ 22 Dec 2012; Hans de Graaff <graaff@gentoo.org> +flexmock-1.2.0.ebuild:
+ Version bump.
*flexmock-1.0.4 (18 Oct 2012)
diff --git a/dev-ruby/flexmock/flexmock-1.2.0.ebuild b/dev-ruby/flexmock/flexmock-1.2.0.ebuild
new file mode 100644
index 000000000000..da00661dae5d
--- /dev/null
+++ b/dev-ruby/flexmock/flexmock-1.2.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.2.0.ebuild,v 1.1 2012/12/22 07:30:18 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 jruby ree18"
+
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc doc/*.rdoc doc/releases/*"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple mock object library for Ruby unit testing"
+HOMEPAGE="http://${PN}.rubyforge.org/"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+
+all_ruby_prepare() {
+ # Custom template not found in package
+ sed -i -e '/jamis/d' Rakefile || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S testrb -Ilib:. test/*_test.rb || die
+ ${RUBY} -S rspec test/rspec_integration || die
+}