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/amqp/
Date: Sat, 09 Oct 2021 07:27:58
Message-Id: 1633764469.32669da140788b23ba02cebbe6b8b6344174023e.graaff@gentoo
1 commit: 32669da140788b23ba02cebbe6b8b6344174023e
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 9 07:26:38 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 07:27:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32669da1
7
8 dev-ruby/amqp: EAPI 8; add ruby27
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/amqp/amqp-1.8.0-r1.ebuild | 39 ++++++++++++++++++++++++++++++++++++++
14 1 file changed, 39 insertions(+)
15
16 diff --git a/dev-ruby/amqp/amqp-1.8.0-r1.ebuild b/dev-ruby/amqp/amqp-1.8.0-r1.ebuild
17 new file mode 100644
18 index 00000000000..8dd9260cbc0
19 --- /dev/null
20 +++ b/dev-ruby/amqp/amqp-1.8.0-r1.ebuild
21 @@ -0,0 +1,39 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +USE_RUBY="ruby26 ruby27"
27 +
28 +RUBY_FAKEGEM_TASK_DOC=""
29 +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md"
30 +
31 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
32 +
33 +RUBY_FAKEGEM_BINWRAP=""
34 +
35 +inherit ruby-fakegem
36 +
37 +DESCRIPTION="AMQP client implementation in Ruby/EventMachine"
38 +HOMEPAGE="http://rubyamqp.info/"
39 +
40 +LICENSE="Ruby"
41 +SLOT="1.4"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE=""
44 +
45 +ruby_add_bdepend "test? ( dev-ruby/multi_json dev-ruby/evented-spec )"
46 +ruby_add_rdepend ">=dev-ruby/eventmachine-0.12.4
47 + >=dev-ruby/amq-protocol-2.2.0:2"
48 +
49 +all_ruby_prepare() {
50 + #rm Gemfile || die
51 + sed -i -e '/[Bb]undler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die
52 +
53 + # Many specs require a live rabbit server, but only root can start
54 + # an instance. Skip these specs for now.
55 + rm -rf spec/integration spec/unit/amqp/connection_spec.rb || die
56 +}
57 +
58 +all_ruby_install() {
59 + dodoc -r docs examples
60 +}