1 |
commit: 7154eba7f91a610c6eba40ecdb04186302062208 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 9 06:52:15 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 9 07:27:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7154eba7 |
7 |
|
8 |
dev-ruby/async_sinatra: EAPI 8; add ruby27 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
.../async_sinatra/async_sinatra-1.3.0-r1.ebuild | 42 ++++++++++++++++++++++ |
14 |
1 file changed, 42 insertions(+) |
15 |
|
16 |
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 |
17 |
new file mode 100644 |
18 |
index 00000000000..9c694e67db8 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/async_sinatra/async_sinatra-1.3.0-r1.ebuild |
21 |
@@ -0,0 +1,42 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+USE_RUBY="ruby26 ruby27" |
27 |
+ |
28 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc" |
29 |
+ |
30 |
+RUBY_FAKEGEM_GEMSPEC="async_sinatra.gemspec" |
31 |
+ |
32 |
+inherit ruby-fakegem |
33 |
+ |
34 |
+DESCRIPTION="Asynchronous response API for Sinatra and Thin" |
35 |
+HOMEPAGE="https://github.com/raggi/async_sinatra" |
36 |
+SRC_URI="https://github.com/raggi/async_sinatra/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64" |
41 |
+IUSE="test" |
42 |
+ |
43 |
+ruby_add_bdepend "test? ( |
44 |
+ >=dev-ruby/hoe-3.13 |
45 |
+ >=dev-ruby/minitest-5.6:5 |
46 |
+ >=dev-ruby/eventmachine-0.12.11 |
47 |
+ dev-ruby/rake |
48 |
+ dev-ruby/rack-test |
49 |
+ )" |
50 |
+ |
51 |
+ruby_add_rdepend ">=dev-ruby/sinatra-1.3.2 |
52 |
+ >=dev-ruby/rack-1.4.1:*" |
53 |
+ |
54 |
+each_ruby_test() { |
55 |
+ MT_NO_PLUGINS=true ${RUBY} -S rake test || die |
56 |
+} |
57 |
+ |
58 |
+all_ruby_install() { |
59 |
+ all_fakegem_install |
60 |
+ |
61 |
+ insinto /usr/share/doc/${PF}/ |
62 |
+ doins -r examples |
63 |
+} |