1 |
commit: 943c082700f34bd1ad77ac775ad9f7ba7a436ca6 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 1 07:09:20 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 07:55:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=943c0827 |
7 |
|
8 |
dev-ruby/sinatra: add 2.2.2 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/sinatra/Manifest | 1 + |
13 |
dev-ruby/sinatra/sinatra-2.2.2.ebuild | 34 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest |
17 |
index 40464145f181..90e16b34b0b6 100644 |
18 |
--- a/dev-ruby/sinatra/Manifest |
19 |
+++ b/dev-ruby/sinatra/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST sinatra-2.2.0.tar.gz 513752 BLAKE2B e407b9241cab27e326c0a2d4d83593e292de902b6ed19a12f17b0cd114230b0d10f1ffaa8f8b8237d17b547c7e012c57456af357019b228f3d7a88847220cf33 SHA512 be9432a8efa93578accc836cd0fecca128e56989d8596f1b3d33d2d956e90acd80244b98473fff2adae13ed4a1e933c41e73c80755a6f3418a65cdf33c011145 |
22 |
DIST sinatra-2.2.1.tar.gz 513047 BLAKE2B 38cec7c3b2e27ac795044d7d64a00deb09707523a13338328bb1d7657b3d8eee9ab9730c6eb903c04f64acca6d24b8f191f825056baa0e705bf7ebf5594c0d46 SHA512 73f35428e259867a9b9adbf7344dd78dfe3c5ae2749902d438e2bcd95c4e7e9935ecb7761a4c52928e3e05fd99f8497db3fc049c868f9b2e76c653b4271c87b5 |
23 |
+DIST sinatra-2.2.2.tar.gz 513056 BLAKE2B 80904850ce577131ecc6c28917772cda6ab606ff1b4a71b733cde98d56e2906bb0dc5b65c83465e65686571e8752ec7935d89734e7d2e45c544fe14a2c8046d4 SHA512 e69a36738a7c1095968a343113ddba414ff685e941a8b55575e4b2ffa5a8e7394d874966d5532643cdfec997ac4c825c293185f6688c715006e37159eedd2be8 |
24 |
|
25 |
diff --git a/dev-ruby/sinatra/sinatra-2.2.2.ebuild b/dev-ruby/sinatra/sinatra-2.2.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b196d368b135 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/sinatra/sinatra-2.2.2.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+USE_RUBY="ruby27 ruby30" |
36 |
+ |
37 |
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test:core" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md" |
40 |
+ |
41 |
+RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec" |
42 |
+ |
43 |
+inherit ruby-fakegem |
44 |
+ |
45 |
+DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort" |
46 |
+HOMEPAGE="http://www.sinatrarb.com/" |
47 |
+SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="2" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
52 |
+IUSE="" |
53 |
+ |
54 |
+ruby_add_rdepend " |
55 |
+ dev-ruby/mustermann:2 |
56 |
+ dev-ruby/rack:2.2 |
57 |
+ ~dev-ruby/rack-protection-${PV} |
58 |
+ dev-ruby/tilt:2" |
59 |
+ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder <dev-ruby/activesupport-7 )" |
60 |
+ruby_add_bdepend "doc? ( dev-ruby/yard )" |
61 |
+ |
62 |
+all_ruby_prepare() { |
63 |
+ sed -i -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' test/helper.rb || die |
64 |
+} |