commit:     7154eba7f91a610c6eba40ecdb04186302062208
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  9 06:52:15 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct  9 07:27:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7154eba7

dev-ruby/async_sinatra: EAPI 8; add ruby27

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 .../async_sinatra/async_sinatra-1.3.0-r1.ebuild    | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/dev-ruby/async_sinatra/async_sinatra-1.3.0-r1.ebuild 
b/dev-ruby/async_sinatra/async_sinatra-1.3.0-r1.ebuild
new file mode 100644
index 00000000000..9c694e67db8
--- /dev/null
+++ b/dev-ruby/async_sinatra/async_sinatra-1.3.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="async_sinatra.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Asynchronous response API for Sinatra and Thin"
+HOMEPAGE="https://github.com/raggi/async_sinatra";
+SRC_URI="https://github.com/raggi/async_sinatra/archive/v${PV}.tar.gz -> 
${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_bdepend "test? (
+       >=dev-ruby/hoe-3.13
+       >=dev-ruby/minitest-5.6:5
+       >=dev-ruby/eventmachine-0.12.11
+       dev-ruby/rake
+       dev-ruby/rack-test
+       )"
+
+ruby_add_rdepend ">=dev-ruby/sinatra-1.3.2
+       >=dev-ruby/rack-1.4.1:*"
+
+each_ruby_test() {
+       MT_NO_PLUGINS=true ${RUBY} -S rake test || die
+}
+
+all_ruby_install() {
+       all_fakegem_install
+
+       insinto /usr/share/doc/${PF}/
+       doins -r examples
+}

Reply via email to