summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-12-10 07:31:51 +0000
committerHans de Graaff <graaff@gentoo.org>2013-12-10 07:31:51 +0000
commitb35e828b0f215e167d0cb825daf70b508cf20743 (patch)
treeee0dcbf5283a2194794dab1860fb8bf47631a07e /dev-ruby/amqp
parentRemove old. (diff)
downloadgentoo-2-b35e828b0f215e167d0cb825daf70b508cf20743.tar.gz
gentoo-2-b35e828b0f215e167d0cb825daf70b508cf20743.tar.bz2
gentoo-2-b35e828b0f215e167d0cb825daf70b508cf20743.zip
Version bump. Add ruby20.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/amqp')
-rw-r--r--dev-ruby/amqp/ChangeLog7
-rw-r--r--dev-ruby/amqp/amqp-1.1.6.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/amqp/ChangeLog b/dev-ruby/amqp/ChangeLog
index 73b05bb9133c..b7dbcb7b613a 100644
--- a/dev-ruby/amqp/ChangeLog
+++ b/dev-ruby/amqp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/amqp
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amqp/ChangeLog,v 1.9 2013/09/23 06:09:53 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amqp/ChangeLog,v 1.10 2013/12/10 07:31:51 graaff Exp $
+
+*amqp-1.1.6 (10 Dec 2013)
+
+ 10 Dec 2013; Hans de Graaff <graaff@gentoo.org> +amqp-1.1.6.ebuild:
+ Version bump. Add ruby20.
23 Sep 2013; Hans de Graaff <graaff@gentoo.org> -amqp-0.9.8.ebuild:
Cleanup.
diff --git a/dev-ruby/amqp/amqp-1.1.6.ebuild b/dev-ruby/amqp/amqp-1.1.6.ebuild
new file mode 100644
index 000000000000..d7b1f0c5dac1
--- /dev/null
+++ b/dev-ruby/amqp/amqp-1.1.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amqp/amqp-1.1.6.ebuild,v 1.1 2013/12/10 07:31:51 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="AMQP client implementation in Ruby/EventMachine"
+HOMEPAGE="http://amqp.rubyforge.org/"
+
+LICENSE="Ruby"
+SLOT="$(get_version_component_range 1-2)"
+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-client-1.0.2
+ >=dev-ruby/amq-protocol-1.3.0"
+
+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
+}