summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-07-16 08:17:05 +0200
committerHans de Graaff <graaff@gentoo.org>2017-07-16 08:45:29 +0200
commitfea66c0ab1f681b31d59dfda4a0e5b74cb0ba463 (patch)
treef26dbb6c56efb76c67bf59c157c7a4b2e4713396 /dev-ruby
parentdev-ruby/autoprefixer-rails: add 7.1.2.2 (diff)
downloadgentoo-fea66c0ab1f681b31d59dfda4a0e5b74cb0ba463.tar.gz
gentoo-fea66c0ab1f681b31d59dfda4a0e5b74cb0ba463.tar.bz2
gentoo-fea66c0ab1f681b31d59dfda4a0e5b74cb0ba463.zip
dev-ruby/async_sinatra: add 1.3.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/async_sinatra/Manifest1
-rw-r--r--dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/async_sinatra/Manifest b/dev-ruby/async_sinatra/Manifest
index fc236b05a20e..9203c0477f90 100644
--- a/dev-ruby/async_sinatra/Manifest
+++ b/dev-ruby/async_sinatra/Manifest
@@ -1 +1,2 @@
DIST async_sinatra-1.2.1-git.tgz 8314 SHA256 431d5b229d2e795707184caaf9e9bf0d4e1cb3402b9bfa9d7a6ee624f6ca8712 SHA512 f1c7dc5aeeae366836bc2db6ae1c34967fa4a8d89d2f0fdcbcfeb7737e7b39615990c67ba9d55428cc0873329b5b54e9a1df727b09c5d79b03210b4e209b56ba WHIRLPOOL d13fa0d3e19a3b4a22d8b8321248a635e8ca17ed78f1ec39f38bf2a3130e4d37fe2a929a28df9032ea5b9b8c8329b80fa43d1baf6284ff3a1285b08dc810e243
+DIST async_sinatra-1.3.0-git.tgz 8657 SHA256 74edb50699b1666e40b6198f72e23a4719b1fc451b95d659b0cd1fac8de74ed1 SHA512 2975e41557da539e1b6427a43d41811f4e17315c01da8d1141dbdafad68702395bfce011844b8b1db2c24bbf19d09b5e680cd10e039ceaab1263ea66bcb8f9f6 WHIRLPOOL 322ed103d7df57e6080cc81ba74233ee3bd833a503633fa13f81242251a232be99d1b819535a3596bc8a1c68c467820107f0544645d2b8384a232f07d17ad84c
diff --git a/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild b/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild
new file mode 100644
index 000000000000..389334c6b89e
--- /dev/null
+++ b/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
+
+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/rack-test
+ )"
+
+ruby_add_rdepend ">=dev-ruby/sinatra-1.3.2
+ >=dev-ruby/rack-1.4.1:*"
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}/
+ doins -r examples || die "Failed to install examples"
+}