summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-07-23 07:18:29 +0200
committerHans de Graaff <graaff@gentoo.org>2017-07-23 07:18:29 +0200
commitb42d69f0336bb7c716bd4b08887782dcbc69a6a8 (patch)
tree87f02b954c0df64c397e43767ddaeda9c3a1dde7 /dev-ruby
parentmedia-video/aegisub: drop obsolete compiler check in 9999 (diff)
downloadgentoo-b42d69f0336bb7c716bd4b08887782dcbc69a6a8.tar.gz
gentoo-b42d69f0336bb7c716bd4b08887782dcbc69a6a8.tar.bz2
gentoo-b42d69f0336bb7c716bd4b08887782dcbc69a6a8.zip
dev-ruby/rr: add 1.2.1
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rr/Manifest1
-rw-r--r--dev-ruby/rr/rr-1.2.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/rr/Manifest b/dev-ruby/rr/Manifest
index d2f1ef7f6aad..f1fd372f2c00 100644
--- a/dev-ruby/rr/Manifest
+++ b/dev-ruby/rr/Manifest
@@ -1,2 +1,3 @@
DIST rr-1.1.2.tar.gz 89970 SHA256 17396ac98c63d57ef83dea3904de2e86f5b78c9893b8f64e66d434dcd2e32438 SHA512 e0954206b8118cf0acd785cc300e267556cd62bc73dbbca885848205df6456e43463cc46ed1fc47c672574bdf33c42d288c403e550a89c74cac452a54c30a384 WHIRLPOOL bb6a7c128a84f17a690a35f904822324664471b366cb8d6a3677c45f025cebbd38f2f5afbd2bdafe861a979b6260fd21204395a61abc37e75c18b93efc7c07d4
DIST rr-1.2.0.tar.gz 137694 SHA256 80d78995ebc7be2ce07ba9415597d10cf1a018205accb7853ce1610da4b40942 SHA512 d693dd720067c6d2cf04da6e980ec4d34fdb461fc9d316b4740d7c19047e349ddc7938e2965890dfe5ee35d7d45b7d53185e37460b202fd3108214ef894f17c4 WHIRLPOOL 92fb38b89851422ff25c33f7fbf7e083407b49d1e716baf3aeb086e8c3582166c8109267dc7b3ca60cc910fcb8a8c161d1961c3eadab610781cbef1bffec1c99
+DIST rr-1.2.1.tar.gz 137497 SHA256 b0dda83de6713d631a3bd5782f974dfb736639fcc5cb1f9eae029a696f7ce05f SHA512 df2d05ff732908da55878cb89cb7d1c4442a18c19f71940244f5bd7dc55632467a1824f55d7fade4b5122486a61277090d7ad05df9f99098030c21aa45b36dd2 WHIRLPOOL 1650fc24e410d8c7034427655ef86bdd2ce0a09d6f5ee82ac5870638040c83e80f1c7fc2a16cb1a429c47832bc473546c06d2aac7465abed4b81c46b9fd97ccf
diff --git a/dev-ruby/rr/rr-1.2.1.ebuild b/dev-ruby/rr/rr-1.2.1.ebuild
new file mode 100644
index 000000000000..7e7bd031d312
--- /dev/null
+++ b/dev-ruby/rr/rr-1.2.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A double framework featuring a selection of double techniques and a terse syntax"
+HOMEPAGE="https://rr.github.io/rr"
+SRC_URI="https://github.com/rr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~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-ng_rspec --format progress spec/suites/rspec_2/unit || die
+}