summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-01-03 07:46:57 +0100
committerHans de Graaff <graaff@gentoo.org>2018-01-03 07:46:57 +0100
commit21aca3ba954f93aab84d67fd5bbaa468bf1f630e (patch)
treee0abf19b3fa5c4496b2025674087de2d4b81cefc /dev-ruby
parentdev-ruby/amqp: cleanup (diff)
downloadgentoo-21aca3ba954f93aab84d67fd5bbaa468bf1f630e.tar.gz
gentoo-21aca3ba954f93aab84d67fd5bbaa468bf1f630e.tar.bz2
gentoo-21aca3ba954f93aab84d67fd5bbaa468bf1f630e.zip
dev-ruby/amqp: add 1.8.0
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/amqp/Manifest1
-rw-r--r--dev-ruby/amqp/amqp-1.8.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/amqp/Manifest b/dev-ruby/amqp/Manifest
index 953ebfb2ac2b..2829af74e439 100644
--- a/dev-ruby/amqp/Manifest
+++ b/dev-ruby/amqp/Manifest
@@ -1 +1,2 @@
DIST amqp-1.7.0.gem 1176576 BLAKE2B 93fd02b1382f08d0f6a3ce7c66ba6c4f224837077e87cae74b7a6c254953822c3a81704494f8dd3b15d64225e113d9e9b592d94bb39c0564fdf3ac37d903c694 SHA512 f7a32e1c33fad13b4b09d489ec04c1110c508905e7c0e0fb970bf7a582c581f8789330dcd989814e475d7583c5be9a37e6bcd8876ca2f3802e668f3a804ba73b
+DIST amqp-1.8.0.gem 1175040 BLAKE2B 5c623201a378ecbd501d0f30d31873cfdc47088659d79a89eab21b510cbacad220df0122b3164f543f00a5587b74aab4ffb5d6879f0c30fc06ee17bd55600dcd SHA512 8575b3704cbaab5937a5880858bcc4610ecab4be66b9ef8633c1d49858a95fbb48b1245ba71ebce1b0d31e319cb6f133640097aaa779b8a32282f6d442098e7f
diff --git a/dev-ruby/amqp/amqp-1.8.0.ebuild b/dev-ruby/amqp/amqp-1.8.0.ebuild
new file mode 100644
index 000000000000..db2b2e7889d7
--- /dev/null
+++ b/dev-ruby/amqp/amqp-1.8.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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.2.0: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
+}