commit:     15b754163bfba40ad912634db34e569666b2811b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 22 04:21:45 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct 22 04:21:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b75416

dev-ruby/sinatra: add 3.0.2

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/sinatra/Manifest             |  1 +
 dev-ruby/sinatra/sinatra-3.0.2.ebuild | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest
index 68debd3675a2..6cfb075431cb 100644
--- a/dev-ruby/sinatra/Manifest
+++ b/dev-ruby/sinatra/Manifest
@@ -2,3 +2,4 @@ DIST sinatra-2.2.0.tar.gz 513752 BLAKE2B 
e407b9241cab27e326c0a2d4d83593e292de902
 DIST sinatra-2.2.1.tar.gz 513047 BLAKE2B 
38cec7c3b2e27ac795044d7d64a00deb09707523a13338328bb1d7657b3d8eee9ab9730c6eb903c04f64acca6d24b8f191f825056baa0e705bf7ebf5594c0d46
 SHA512 
73f35428e259867a9b9adbf7344dd78dfe3c5ae2749902d438e2bcd95c4e7e9935ecb7761a4c52928e3e05fd99f8497db3fc049c868f9b2e76c653b4271c87b5
 DIST sinatra-2.2.2.tar.gz 513056 BLAKE2B 
80904850ce577131ecc6c28917772cda6ab606ff1b4a71b733cde98d56e2906bb0dc5b65c83465e65686571e8752ec7935d89734e7d2e45c544fe14a2c8046d4
 SHA512 
e69a36738a7c1095968a343113ddba414ff685e941a8b55575e4b2ffa5a8e7394d874966d5532643cdfec997ac4c825c293185f6688c715006e37159eedd2be8
 DIST sinatra-3.0.1.tar.gz 265781 BLAKE2B 
e4fc5dec7045f5a906a91fa8d71ea32e4e1491939047cdfece7d27df3c784a5c3779a4e5de243d87f1eb7e272e3aeeda9fbfc560b1cfaf2cf628d30106567825
 SHA512 
717d4caff1193b158128a22737340329e5d96bea5718702c22b8c8e2c72652b1048352b36454da410a57288c852de2f04bbee6335dfd4ee977eda62093a1a94a
+DIST sinatra-3.0.2.tar.gz 265824 BLAKE2B 
87739d8863dd9959b8c3530b19a3f52de31636fcdd77fe1558930749498c73ec4cf0ddf998a9f6029c46842656059f8bd76d1781beb277608ccf265577561447
 SHA512 
57094e00ca8280401ed76f5c52dded82d42a4a81290a9a990f464ac43abbf350e8325b8f60505bfd005b6c7d92283a3f7a9345c0ccbf227530a8c3cb93c0af38

diff --git a/dev-ruby/sinatra/sinatra-3.0.2.ebuild 
b/dev-ruby/sinatra/sinatra-3.0.2.ebuild
new file mode 100644
index 000000000000..1f4309cd5174
--- /dev/null
+++ b/dev-ruby/sinatra/sinatra-3.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test:core"
+
+RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md"
+
+RUBY_FAKEGEM_GEMSPEC="sinatra.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal 
effort"
+HOMEPAGE="http://www.sinatrarb.com/";
+SRC_URI="https://github.com/sinatra/sinatra/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+       dev-ruby/mustermann:3
+       >=dev-ruby/rack-2.2.4:2.2
+       ~dev-ruby/rack-protection-${PV}
+       dev-ruby/tilt:2"
+ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis 
dev-ruby/builder <dev-ruby/activesupport-7 )"
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+
+all_ruby_prepare() {
+       sed -i -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' 
test/helper.rb || die
+}

Reply via email to