1 |
commit: 300a6e682e72c22ab566d389a48abc3b50669122 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 9 07:19:22 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=300a6e68 |
7 |
|
8 |
dev-ruby/amq-client: 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/amq-client/amq-client-1.0.4-r1.ebuild | 35 ++++++++++++++++++++++++++ |
14 |
1 file changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild b/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..34a9498d399 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild |
21 |
@@ -0,0 +1,35 @@ |
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="README.textile" |
30 |
+ |
31 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec" |
32 |
+ |
33 |
+RUBY_FAKEGEM_BINWRAP="" |
34 |
+ |
35 |
+inherit ruby-fakegem |
36 |
+ |
37 |
+DESCRIPTION="A fully-featured, low-level AMQP 0.9.1 client" |
38 |
+HOMEPAGE="https://github.com/ruby-amqp/amq-client" |
39 |
+ |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="test" |
44 |
+ |
45 |
+ruby_add_rdepend ">=dev-ruby/amq-protocol-1.2.0 dev-ruby/eventmachine" |
46 |
+ |
47 |
+ruby_add_bdepend "test? ( dev-ruby/evented-spec )" |
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 |
+ sed -i -e '7i require "evented-spec"' spec/spec_helper.rb || die |
53 |
+ |
54 |
+ # Drop integration tests since these require a running AMQP server. |
55 |
+ rm -rf spec/integration spec/regression/bad_frame_slicing_in_adapters_spec.rb spec/unit/client_spec.rb || die |
56 |
+} |