summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rr')
-rw-r--r--dev-ruby/rr/ChangeLog7
-rw-r--r--dev-ruby/rr/rr-1.1.2-r1.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-ruby/rr/ChangeLog b/dev-ruby/rr/ChangeLog
index ac063e31b100..0c21b72ec224 100644
--- a/dev-ruby/rr/ChangeLog
+++ b/dev-ruby/rr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rr
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rr/ChangeLog,v 1.37 2014/04/05 15:01:42 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rr/ChangeLog,v 1.38 2014/04/20 17:32:46 graaff Exp $
+
+*rr-1.1.2-r1 (20 Apr 2014)
+
+ 20 Apr 2014; Hans de Graaff <graaff@gentoo.org> +rr-1.1.2-r1.ebuild:
+ Add ruby21. Drop alpha, sparc due to unkeyworded dependencies, bug 465948.
05 Apr 2014; Manuel Rüger <mrueg@gentoo.org> rr-1.0.4.ebuild, rr-1.1.2.ebuild:
Remove ruby18 target. Remove virtual/ruby-test-unit.
diff --git a/dev-ruby/rr/rr-1.1.2-r1.ebuild b/dev-ruby/rr/rr-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..51b397f81316
--- /dev/null
+++ b/dev-ruby/rr/rr-1.1.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rr/rr-1.1.2-r1.ebuild,v 1.1 2014/04/20 17:32:46 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 jruby ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A double framework that features a rich selection of double techniques and a terse syntax"
+HOMEPAGE="http://pivotallabs.com/"
+SRC_URI="http://github.com/rr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~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
+ dev-ruby/minitest
+ dev-ruby/session
+ dev-ruby/diff-lcs )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '1,2 s:^:#:' spec/suites/rspec_2/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ # Only run the rspec 2 case since we don't have appraisals. Setting
+ # up everything correctly without it seems very complicated.
+ ${RUBY} -S rspec --format progress spec/suites/rspec_2/unit || die
+}