diff options
Diffstat (limited to 'dev-ruby/kicks')
-rw-r--r-- | dev-ruby/kicks/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/kicks/kicks-3.1.1.ebuild | 48 | ||||
-rw-r--r-- | dev-ruby/kicks/metadata.xml | 9 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-ruby/kicks/Manifest b/dev-ruby/kicks/Manifest new file mode 100644 index 00000000..a879e3fd --- /dev/null +++ b/dev-ruby/kicks/Manifest @@ -0,0 +1 @@ +DIST kicks-3.1.1.gem 41472 BLAKE2B e158b3a5897d37e0910edb48e5c4e6b2c319661c9e1224b22b251feefa8de283d0caa97584a4d1925c430bac4463a99961afa5d2373ebf1ecc652f51c45517af SHA512 66dbed926f53741c0f50ce08528830fb07c96433f1d80339fff8128030dfa8ab4b5773bf427f16a432a3bb58ecbd24ccae871d02993f80e8267ccfc4450b9ddd diff --git a/dev-ruby/kicks/kicks-3.1.1.ebuild b/dev-ruby/kicks/kicks-3.1.1.ebuild new file mode 100644 index 00000000..f0d56772 --- /dev/null +++ b/dev-ruby/kicks/kicks-3.1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="kicks.gemspec" + +RUBY_FAKEGEM_BINWRAP="kicks" + +inherit ruby-fakegem + +DESCRIPTION="Fast background processing framework for Ruby and RabbitMQ" +HOMEPAGE="https://github.com/ruby-amqp/kicks" +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/bunny-2.19 =dev-ruby/bunny-2* + dev-ruby/concurrent-ruby:1 + >=dev-ruby/rake-12.3 + >=dev-ruby/serverengine-2.1:0 + dev-ruby/thor +" + +ruby_add_bdepend "test? ( + dev-ruby/rr +)" + +all_ruby_prepare() { + sed -i -e '/bundler/,/^end/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e '/metric_fu/ s:^:#:' Rakefile || die + + sed -e 's/git ls-files/find * -print/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Integration specs require more dependencies and runtime requirements + rm -f spec/sneakers/integration_spec.rb || die + + # ActiveJob specs require unpackaged rabbitmq_http_api_client + rm -f spec/sneakers/active_job_integration_spec.rb || die +} diff --git a/dev-ruby/kicks/metadata.xml b/dev-ruby/kicks/metadata.xml new file mode 100644 index 00000000..1a852aea --- /dev/null +++ b/dev-ruby/kicks/metadata.xml @@ -0,0 +1,9 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"><email>graaff@gentoo.org</email></maintainer> + <upstream> + <remote-id type="github">ruby-amqp/kicks</remote-id> + <remote-id type="rubygems">kicks</remote-id> + </upstream> +</pkgmetadata> |