summaryrefslogtreecommitdiff
path: root/dev-ruby/rr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/rr
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/rr')
-rw-r--r--dev-ruby/rr/Manifest3
-rw-r--r--dev-ruby/rr/metadata.xml11
-rw-r--r--dev-ruby/rr/rr-1.2.1.ebuild39
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/rr/Manifest b/dev-ruby/rr/Manifest
new file mode 100644
index 000000000000..e632acd7c710
--- /dev/null
+++ b/dev-ruby/rr/Manifest
@@ -0,0 +1,3 @@
+DIST rr-1.2.1.tar.gz 137497 BLAKE2B 3db6751d15e54da6ee6777fb7d383c1bfea2e68482dda03ceda9a70f66382cf9aa7c39f27fca9f0ce92b19858b5324bdbb5811809b3ae146e213bb03ddca0772 SHA512 df2d05ff732908da55878cb89cb7d1c4442a18c19f71940244f5bd7dc55632467a1824f55d7fade4b5122486a61277090d7ad05df9f99098030c21aa45b36dd2
+EBUILD rr-1.2.1.ebuild 1132 BLAKE2B bd4f879e27bd626234d7c90d1b519f5266695c388b369568800eebcf1d8c6b4c85d2fbe5e679ecf39165b605af5ce02cd240edb0ca602f84929ad6a088860f8a SHA512 d8cf378a02816cd72f0991c08bd9a4fce45b7c8c14b46d248b62856fd115d82a28b713a7b5cf3745ead3abd2644c199a2771d2d08d2ff947884b7b5014101a8b
+MISC metadata.xml 331 BLAKE2B bb2b9b8afc411541f4cbc3f3ae7034761b8424dc81bcfce4c47d945a974a13c1519c2b46968dee270bc76beeca6902fc42cb0f8ac1ba3d944d96e4146993094c SHA512 3a7b57e7e43fad3270e91950256d20839fa2a4a2d7e7c8a9b82ca9e5bb72bd465427925b7994ece2f882c37b8ba5984bf8949ebe28c3bb0875c8af6cba3cec39
diff --git a/dev-ruby/rr/metadata.xml b/dev-ruby/rr/metadata.xml
new file mode 100644
index 000000000000..81917229658a
--- /dev/null
+++ b/dev-ruby/rr/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rr/rr</remote-id>
+ </upstream>
+</pkgmetadata>
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..4965513bee54
--- /dev/null
+++ b/dev-ruby/rr/rr-1.2.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+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
+}