summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-26 10:06:48 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-27 07:56:26 +0100
commit6926c2557cb780d0a1db5a7f39492288704dd882 (patch)
tree0831c22d7f82312f8c854dee1a684348606dcbca /dev-ruby/bunny
parentdev-ruby/bundler: add 2.4.1 (diff)
downloadgentoo-6926c2557cb780d0a1db5a7f39492288704dd882.tar.gz
gentoo-6926c2557cb780d0a1db5a7f39492288704dd882.tar.bz2
gentoo-6926c2557cb780d0a1db5a7f39492288704dd882.zip
dev-ruby/bunny: add 2.20.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/bunny')
-rw-r--r--dev-ruby/bunny/Manifest1
-rw-r--r--dev-ruby/bunny/bunny-2.20.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/bunny/Manifest b/dev-ruby/bunny/Manifest
index 0a8dfab18b55..41e6abd380d4 100644
--- a/dev-ruby/bunny/Manifest
+++ b/dev-ruby/bunny/Manifest
@@ -1 +1,2 @@
DIST bunny-2.19.0.tar.gz 208864 BLAKE2B 81d17b98e7fd944aa0ffedc02015c7696f0553888d2c11ccb05cda977b09ca7f79746a1b1a651ca0fbd17fcbf2b56fa297919ea3d03ee77491481ebdaa27baba SHA512 39e9b785853275d469c5af0977ea8a5d0e2e13c5ca0f51dfe39552da728345b9852c637e81ad468f92f089d10fdc701abd8105d0eb336b55a071d3329018b111
+DIST bunny-2.20.1.tar.gz 264063 BLAKE2B 03f27d9a7be3995dece690531f2fa4f6e26fdb1b95b8e0c08ddff42ae6b9bf34f149183e993f2357d0e4c91d81f3f2d50af4e693774cfa9033fbd5737a4ee5d1 SHA512 bd07aa86e68d4777860650c817181bb5c772533e1645d451ca0bc7172bf93510e79f8fe46d15cf814ee5f239f2fc361fdef1b20a0ff5194b52b7f1ed953c888e
diff --git a/dev-ruby/bunny/bunny-2.20.1.ebuild b/dev-ruby/bunny/bunny-2.20.1.ebuild
new file mode 100644
index 000000000000..0af75b29bd43
--- /dev/null
+++ b/dev-ruby/bunny/bunny-2.20.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+
+# Tests require a live AMQP server.
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="bunny.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Another synchronous Ruby AMQP client"
+HOMEPAGE="https://github.com/ruby-amqp/bunny"
+SRC_URI="https://github.com/ruby-amqp/bunny/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/amq-protocol-2.3.1:2
+ >=dev-ruby/sorted_set-1.0.2:0"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ dodoc -r examples
+}