summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/amqp')
-rw-r--r--dev-ruby/amqp/Manifest1
-rw-r--r--dev-ruby/amqp/amqp-1.7.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/amqp/Manifest b/dev-ruby/amqp/Manifest
index d0d7be650947..e700bbb031df 100644
--- a/dev-ruby/amqp/Manifest
+++ b/dev-ruby/amqp/Manifest
@@ -1 +1,2 @@
DIST amqp-1.6.0.gem 1177088 SHA256 e9ab76e77b40645f18878f55e4b3118fd0840acfc58e2bc4013bc927afc5794d SHA512 389dd0cdd9dfaff3da5f692fb585ebb29eef55ddef59e489721b78184d9e7b9c585c5cd43fd51d2517f5bc1fe195856a3a1130cfd4aa8f720808119d116c967f WHIRLPOOL 257fbaf77ca7deea6a6134c4ada725f47d71ed97de95972e08e7ae01e5e4e68f13315dbb5f19e516079680ec7a12d67e758968b056cf66bce69dc92a3abf7945
+DIST amqp-1.7.0.gem 1176576 SHA256 a508f705f87c329a9c92b48e6ad06c7dffcb6f7d4782bc9b87ccac9737d5ea63 SHA512 f7a32e1c33fad13b4b09d489ec04c1110c508905e7c0e0fb970bf7a582c581f8789330dcd989814e475d7583c5be9a37e6bcd8876ca2f3802e668f3a804ba73b WHIRLPOOL 22981e8e8c5714e328d695406b8a8f7704353dd1fe7da1b4830a811656008369fab5a30e02206da16af4ce0a3449434b545dd0065fe1c6eab41a7cac9e550c8c
diff --git a/dev-ruby/amqp/amqp-1.7.0.ebuild b/dev-ruby/amqp/amqp-1.7.0.ebuild
new file mode 100644
index 000000000000..6998606f6562
--- /dev/null
+++ b/dev-ruby/amqp/amqp-1.7.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="AMQP client implementation in Ruby/EventMachine"
+HOMEPAGE="http://rubyamqp.info/"
+
+LICENSE="Ruby"
+SLOT="1.4"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/multi_json dev-ruby/evented-spec )"
+ruby_add_rdepend ">=dev-ruby/eventmachine-0.12.4
+ >=dev-ruby/amq-protocol-2.0.1:2"
+
+all_ruby_prepare() {
+ #rm Gemfile || die
+ sed -i -e '/[Bb]undler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die
+
+ # Many specs require a live rabbit server, but only root can start
+ # an instance. Skip these specs for now.
+ rm -rf spec/integration spec/unit/amqp/connection_spec.rb || die
+}
+
+all_ruby_install() {
+ dodoc -r docs examples
+}