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/slow_enumerator_tools/
Date: Sun, 05 Nov 2017 05:50:24
Message-Id: 1509861000.c18b19717f2f46195577027d4f6f22a257cd157e.graaff@gentoo
1 commit: c18b19717f2f46195577027d4f6f22a257cd157e
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 5 05:50:00 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 5 05:50:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18b1971
7
8 dev-ruby/slow_enumerator_tools: initial import of 1.0.0
9
10 New dependency for www-apps/nanoc
11
12 Package-Manager: Portage-2.3.8, Repoman-2.3.3
13
14 dev-ruby/slow_enumerator_tools/Manifest | 1 +
15 dev-ruby/slow_enumerator_tools/metadata.xml | 11 +++++++++
16 .../slow_enumerator_tools-1.0.0.ebuild | 27 ++++++++++++++++++++++
17 3 files changed, 39 insertions(+)
18
19 diff --git a/dev-ruby/slow_enumerator_tools/Manifest b/dev-ruby/slow_enumerator_tools/Manifest
20 new file mode 100644
21 index 00000000000..57e6c6a8ea8
22 --- /dev/null
23 +++ b/dev-ruby/slow_enumerator_tools/Manifest
24 @@ -0,0 +1 @@
25 +DIST slow_enumerator_tools-1.0.0.gem 11264 SHA256 2dedf34d23313fa7e6bad77fc16cd94ccc20f75a3b91b8c9b312b9c40dcb62ff SHA512 d557d913e74f2120e9a91350b5a04314285771b7c943087f943bc6a00dd421e27bd4941052c3cd74e20995ddbaa22ca8e9eb60a240fff54dd66b8e2b16d8c2ce WHIRLPOOL d07ac496fbfba9253b121005bdf0a75459287ec075e01f20bcf65b3f3c27c18099337d8e3fa45b81dcbb823aa48b8e180e14ecbd7247046cfce8d4d683e8ebe6
26
27 diff --git a/dev-ruby/slow_enumerator_tools/metadata.xml b/dev-ruby/slow_enumerator_tools/metadata.xml
28 new file mode 100644
29 index 00000000000..9ec605622c0
30 --- /dev/null
31 +++ b/dev-ruby/slow_enumerator_tools/metadata.xml
32 @@ -0,0 +1,11 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="project">
37 + <email>ruby@g.o</email>
38 + <name>Gentoo Ruby Project</name>
39 + </maintainer>
40 + <upstream>
41 + <remote-id type="github">ddfreyne/slow_enumerator_tools</remote-id>
42 + </upstream>
43 +</pkgmetadata>
44
45 diff --git a/dev-ruby/slow_enumerator_tools/slow_enumerator_tools-1.0.0.ebuild b/dev-ruby/slow_enumerator_tools/slow_enumerator_tools-1.0.0.ebuild
46 new file mode 100644
47 index 00000000000..9c7b8a34053
48 --- /dev/null
49 +++ b/dev-ruby/slow_enumerator_tools/slow_enumerator_tools-1.0.0.ebuild
50 @@ -0,0 +1,27 @@
51 +# Copyright 1999-2017 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=6
55 +
56 +USE_RUBY="ruby22 ruby23 ruby24"
57 +
58 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
59 +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
60 +
61 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
62 +
63 +inherit ruby-fakegem
64 +
65 +DESCRIPTION="Transform Ruby enumerators that produce data slowly and unpredictably"
66 +HOMEPAGE="https://github.com/ddfreyne/slow_enumerator_tools/"
67 +
68 +LICENSE="MIT"
69 +SLOT="1"
70 +KEYWORDS="~amd64"
71 +IUSE=""
72 +
73 +all_ruby_prepare() {
74 + sed -i -e '/simplecov/,/SimpleCov.formatter/ s:^:#:' \
75 + -e '/fuubar/,/^end/ s:^:#:' spec/spec_helper.rb || die
76 + sed -i -e '/Fuubar/d' .rspec || die
77 +}