summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-10-06 11:49:25 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-10-06 11:49:25 +0000
commit7d4c7ef83da7b5105a9e33adcce491105907f3e2 (patch)
tree929717dec13562fd522c57d9c516ab91b331585d /dev-ruby/flexmock
parentStable for ia64, wrt bug #475480 (diff)
downloadgentoo-2-7d4c7ef83da7b5105a9e33adcce491105907f3e2.tar.gz
gentoo-2-7d4c7ef83da7b5105a9e33adcce491105907f3e2.tar.bz2
gentoo-2-7d4c7ef83da7b5105a9e33adcce491105907f3e2.zip
Add ruby20 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/flexmock')
-rw-r--r--dev-ruby/flexmock/ChangeLog7
-rw-r--r--dev-ruby/flexmock/flexmock-1.3.2-r1.ebuild32
2 files changed, 38 insertions, 1 deletions
diff --git a/dev-ruby/flexmock/ChangeLog b/dev-ruby/flexmock/ChangeLog
index d06ed559b878..beb12a9c5d4b 100644
--- a/dev-ruby/flexmock/ChangeLog
+++ b/dev-ruby/flexmock/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/flexmock
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.33 2013/07/27 22:19:11 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.34 2013/10/06 11:49:25 mrueg Exp $
+
+*flexmock-1.3.2-r1 (06 Oct 2013)
+
+ 06 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +flexmock-1.3.2-r1.ebuild:
+ Add ruby20 target.
27 Jul 2013; Agostino Sarubbo <ago@gentoo.org> flexmock-1.3.1.ebuild:
Stable for x86, wrt bug #477450
diff --git a/dev-ruby/flexmock/flexmock-1.3.2-r1.ebuild b/dev-ruby/flexmock/flexmock-1.3.2-r1.ebuild
new file mode 100644
index 000000000000..b0b9ce988704
--- /dev/null
+++ b/dev-ruby/flexmock/flexmock-1.3.2-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.3.2-r1.ebuild,v 1.1 2013/10/06 11:49:25 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple mock object library for Ruby unit testing"
+HOMEPAGE="http://flexmock.rubyforge.org/"
+
+LICENSE="flexmock"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~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
+ )"
+
+each_ruby_test() {
+ ruby-ng_rspec test/rspec_integration
+ ${RUBY} -S testrb -Ilib:. test/*_test.rb || die
+}