summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-01-07 09:21:36 +0100
committerHans de Graaff <graaff@gentoo.org>2023-01-08 08:49:40 +0100
commit9c07ac914d738f3d5ca57f6a6c4cb8e6b8f33b3e (patch)
treef198aa92a0bcf62da3e2b681a7e1995291117a5c /dev-ruby/sinatra
parentdev-ruby/rack-protection: add 3.0.5 (diff)
downloadgentoo-9c07ac914d738f3d5ca57f6a6c4cb8e6b8f33b3e.tar.gz
gentoo-9c07ac914d738f3d5ca57f6a6c4cb8e6b8f33b3e.tar.bz2
gentoo-9c07ac914d738f3d5ca57f6a6c4cb8e6b8f33b3e.zip
dev-ruby/sinatra: add 3.0.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sinatra')
-rw-r--r--dev-ruby/sinatra/Manifest1
-rw-r--r--dev-ruby/sinatra/sinatra-3.0.5.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest
index 0d1dc498a121..5711fd3b2aba 100644
--- a/dev-ruby/sinatra/Manifest
+++ b/dev-ruby/sinatra/Manifest
@@ -3,3 +3,4 @@ DIST sinatra-2.2.2.tar.gz 513056 BLAKE2B 80904850ce577131ecc6c28917772cda6ab606f
DIST sinatra-2.2.3.tar.gz 513333 BLAKE2B 925b3188cb3f63d58a1078845bf58c6684e176527f29bdb0507e2185613b35930345ef1143319b3bd53170846cc67c8e8ce92b036e39ad03fee0f4f361a2aeaf SHA512 666b7a7fec67b4976ec10a704f1e98f9e815cad887ecaaf5bdee6cb0b5f4e29d99ef806865bc5b8e61d2aedea5b343c14f342d03515f0f6c68de3dc905fe77a1
DIST sinatra-3.0.2.tar.gz 265824 BLAKE2B 87739d8863dd9959b8c3530b19a3f52de31636fcdd77fe1558930749498c73ec4cf0ddf998a9f6029c46842656059f8bd76d1781beb277608ccf265577561447 SHA512 57094e00ca8280401ed76f5c52dded82d42a4a81290a9a990f464ac43abbf350e8325b8f60505bfd005b6c7d92283a3f7a9345c0ccbf227530a8c3cb93c0af38
DIST sinatra-3.0.4.tar.gz 266263 BLAKE2B d338fde60ab57f08d5df8afe240b1ed5cb1cde351b3f57b9700a7019e317cc16fc1a41148c1a75e97ff22844e8555b8fc1723c9d12818406fe28d1399fba9506 SHA512 b0581806261df57d8aa392b920a8998ecec311b1f82ab5ac7093c77ba5044eb9f5029a4d7266db05aa791ab30397fa304295a964b3ec3b58a2c0d13e3abb6328
+DIST sinatra-3.0.5.tar.gz 266205 BLAKE2B 16e0631ed49e62610c7bc1e43f03f21f57ee968b0f3ac98b599748e9572cc0bfc9121dc8731a0dcc9dd1bce04837373f93f198bff56c0de9f50932711b4040e8 SHA512 9ec41c3f0c4e4faaa181fddb2fe3262796a29e93fc07349422ca20dc845632c127c3e82e67f16ca19d2b2bcd43ad48fdca918d70b6747d8a2088ce1c84fd8eb2
diff --git a/dev-ruby/sinatra/sinatra-3.0.5.ebuild b/dev-ruby/sinatra/sinatra-3.0.5.ebuild
new file mode 100644
index 000000000000..affc012e8456
--- /dev/null
+++ b/dev-ruby/sinatra/sinatra-3.0.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 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
+}