1 |
commit: d5e119f2f16a1072259ddd19ed72946683b92983 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 2 04:52:50 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 2 04:54:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e119f2 |
7 |
|
8 |
dev-ruby/simplecov: add 0.16.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-ruby/simplecov/Manifest | 1 + |
13 |
dev-ruby/simplecov/simplecov-0.16.1.ebuild | 46 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/simplecov/Manifest b/dev-ruby/simplecov/Manifest |
17 |
index 310b2501412..3d3026c4c87 100644 |
18 |
--- a/dev-ruby/simplecov/Manifest |
19 |
+++ b/dev-ruby/simplecov/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST simplecov-0.14.1.gem 58880 BLAKE2B 61882c34341555ce47df82f8931a8c457d0c6d69a143fa4c9999ff0b3aafb8510d2957627e1dfa9e3819c1509670fdc0a062021eb6655914cc935f9abbd584a1 SHA512 7b62fef6df1d3b395b03a5444d65430ae645aca7c13e6694f4377b35a82c0b4503e5d53a94512ff06e634a6d81331a8bce31787dba793517ecd3e502220afbaf |
22 |
+DIST simplecov-0.16.1.tar.gz 62296 BLAKE2B f9ebe2c7ec3d8b5bb80f642be3e9803210f9af334a2e7eacc2d1339567750027bf0505106e9fd641c42b3ad41e5e74ebbe730d8ff80947b1ec2ff23f6ee8fef1 SHA512 5b3c16bcdcbfcbd5282bd91375d1593292ad421a73b88cbdf18fc8f57364e20e1eec44bb084be3619684f9871612ca81f790eea8eec98b61cf523bf38b4a997f |
23 |
|
24 |
diff --git a/dev-ruby/simplecov/simplecov-0.16.1.ebuild b/dev-ruby/simplecov/simplecov-0.16.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c52ad77e32f |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/simplecov/simplecov-0.16.1.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+USE_RUBY="ruby23 ruby24" |
36 |
+ |
37 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
38 |
+ |
39 |
+RUBY_FAKEGEM_DOCDIR="doc" |
40 |
+RUBY_FAKEGEM_TASK_DOC="" |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="Code coverage with a configuration library and merging across test suites" |
45 |
+HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov" |
46 |
+SRC_URI="https://github.com/colszowka/simplecov/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+LICENSE="MIT" |
48 |
+ |
49 |
+KEYWORDS="~amd64" |
50 |
+SLOT="0.8" |
51 |
+IUSE="doc" |
52 |
+ |
53 |
+ruby_add_rdepend ">=dev-ruby/json-1.8:0 <dev-ruby/json-3:0 |
54 |
+ dev-ruby/simplecov-html:0.10 |
55 |
+ >=dev-ruby/docile-1.1:0" |
56 |
+ |
57 |
+ruby_add_bdepend "test? ( |
58 |
+ dev-ruby/rspec:3 |
59 |
+ dev-ruby/test-unit:2 |
60 |
+)" |
61 |
+ |
62 |
+# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem. |
63 |
+ |
64 |
+all_ruby_prepare() { |
65 |
+ sed -i -e '/[Bb]undler/ s:^:#:' spec/helper.rb features/support/env.rb || die |
66 |
+ |
67 |
+ # Avoid test depending on spawning ruby and having timing issues |
68 |
+ sed -i -e '/blocks other processes/askip "gentoo"' spec/result_merger_spec.rb || die |
69 |
+} |
70 |
+ |
71 |
+each_ruby_test() { |
72 |
+ RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die |
73 |
+ |
74 |
+ #${RUBY} -S cucumber features || die |
75 |
+} |