Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/simplecov_json_formatter/
Date: Tue, 05 Jul 2022 05:15:44
Message-Id: 1656998136.337c9695711cc16ecffe7b45951450069e4dea27.graaff@gentoo
1 commit: 337c9695711cc16ecffe7b45951450069e4dea27
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 5 04:59:14 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 5 05:15:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337c9695
7
8 dev-ruby/simplecov_json_formatter: initial import of 0.1.4
9
10 Restrict tests because there are not many tests and they are strongly
11 bound to a specific simplecov version. They are also not packaged in the
12 gem.
13
14 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
15
16 dev-ruby/simplecov_json_formatter/Manifest | 1 +
17 dev-ruby/simplecov_json_formatter/metadata.xml | 11 +++++++++++
18 .../simplecov_json_formatter-0.1.4.ebuild | 22 ++++++++++++++++++++++
19 3 files changed, 34 insertions(+)
20
21 diff --git a/dev-ruby/simplecov_json_formatter/Manifest b/dev-ruby/simplecov_json_formatter/Manifest
22 new file mode 100644
23 index 000000000000..1bb9762f6cd8
24 --- /dev/null
25 +++ b/dev-ruby/simplecov_json_formatter/Manifest
26 @@ -0,0 +1 @@
27 +DIST simplecov_json_formatter-0.1.4.gem 6656 BLAKE2B 57a03ca27911ed798ec2aa7e84a8d037e4565b0b9fec261d0a72d9276355ba27eb8fedea31195bc8b6e6b67b94b9a5f903f326720b862a46790bacd282e83c63 SHA512 1b90167acf4ad9565084488b455ee25ab8930a70a849191228e2868c15f29d257dc5256bb578e11351a942d887dcdeda9191a541cd0fb70e3f0eb8466fb13ddf
28
29 diff --git a/dev-ruby/simplecov_json_formatter/metadata.xml b/dev-ruby/simplecov_json_formatter/metadata.xml
30 new file mode 100644
31 index 000000000000..0670a7dfae0d
32 --- /dev/null
33 +++ b/dev-ruby/simplecov_json_formatter/metadata.xml
34 @@ -0,0 +1,11 @@
35 +<?xml version="1.0" encoding="UTF-8"?>
36 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
37 +<pkgmetadata>
38 + <maintainer type="project">
39 + <email>ruby@g.o</email>
40 + <name>Gentoo Ruby Project</name>
41 + </maintainer>
42 + <upstream>
43 + <remote-id type="github">codeclimate-community/simplecov_json_formatter</remote-id>
44 + </upstream>
45 +</pkgmetadata>
46
47 diff --git a/dev-ruby/simplecov_json_formatter/simplecov_json_formatter-0.1.4.ebuild b/dev-ruby/simplecov_json_formatter/simplecov_json_formatter-0.1.4.ebuild
48 new file mode 100644
49 index 000000000000..5201e28824d9
50 --- /dev/null
51 +++ b/dev-ruby/simplecov_json_formatter/simplecov_json_formatter-0.1.4.ebuild
52 @@ -0,0 +1,22 @@
53 +# Copyright 1999-2022 Gentoo Authors
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=8
57 +USE_RUBY="ruby26 ruby27 ruby30 ruby31"
58 +
59 +RUBY_FAKEGEM_BINWRAP=""
60 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
61 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
62 +
63 +inherit ruby-fakegem
64 +
65 +DESCRIPTION="JSON formatter for SimpleCov"
66 +HOMEPAGE="https://github.com/codeclimate-community/simplecov_json_formatter"
67 +LICENSE="MIT"
68 +
69 +KEYWORDS="~amd64 ~riscv"
70 +SLOT="$(ver_cut 1)"
71 +IUSE="doc"
72 +
73 +# Not packaged in the gem and very fragile for e.g. simplecov versions
74 +RESTRICT="test"