summaryrefslogtreecommitdiff
path: root/dev-ruby/sinatra
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-07 17:30:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-07 17:30:28 +0100
commitdebb2c431b40a6b4750a39956cc5fcfa5a4a6476 (patch)
tree5c5fceb399f1dddaf02d4d8da8f674106cede374 /dev-ruby/sinatra
parenta17b25a10359070f9527893d861369d378021aa9 (diff)
gentoo auto-resync : 07:04:2023 - 17:30:27
Diffstat (limited to 'dev-ruby/sinatra')
-rw-r--r--dev-ruby/sinatra/Manifest1
-rw-r--r--dev-ruby/sinatra/sinatra-3.0.5-r1.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest
index 4fc19d0e3f2c..4a7295af1819 100644
--- a/dev-ruby/sinatra/Manifest
+++ b/dev-ruby/sinatra/Manifest
@@ -5,5 +5,6 @@ DIST sinatra-3.0.5.tar.gz 266205 BLAKE2B 16e0631ed49e62610c7bc1e43f03f21f57ee968
EBUILD sinatra-2.2.3.ebuild 1169 BLAKE2B 945caba2ba540c84ce59ca0394ecefd9593017f8e638a4b5569db6b949cac5d27b28fff3d3938b80ae8e8ec15fbcafe49d51499c52e57ced4ca56bcc1cbaeafc SHA512 2597953c54e9550cc5574b5a64ee1918b8aea67d07e380886800d93efe06455daf5ddee033cebd350f07599d16c27c7a0d8a2092fcd1277009876df8bef47d68
EBUILD sinatra-3.0.2.ebuild 1032 BLAKE2B a318d2bb27f201493c9b1b07d741af8f97ad03c6bea074cfc99946f89fb8513770ef3f584beff328767723b954e4f657c5ae64541ebab365fe322e7bba0c78e5 SHA512 43124a035900095395901af2c0e1766987401eaba394e56c8e830214ff7fd3469f1b5f4bc3a1bd0cdc01a03889b6a57b2837aca1db43a5a8fd4dea42c12e480c
EBUILD sinatra-3.0.4.ebuild 1032 BLAKE2B a318d2bb27f201493c9b1b07d741af8f97ad03c6bea074cfc99946f89fb8513770ef3f584beff328767723b954e4f657c5ae64541ebab365fe322e7bba0c78e5 SHA512 43124a035900095395901af2c0e1766987401eaba394e56c8e830214ff7fd3469f1b5f4bc3a1bd0cdc01a03889b6a57b2837aca1db43a5a8fd4dea42c12e480c
+EBUILD sinatra-3.0.5-r1.ebuild 1399 BLAKE2B dac6495bdc964f72e9d7db7c998a25c39ad956ccb80ea175c7712c0fc73fbd6128a641b2f093beaf999c45c21c19874a2fb7f9635167fe18f25ee4fefd935f4f SHA512 123f99cc67ef072adb36b22b03d4ae1bd194efac1cab437ce966cb1927d8d4a46f94194100e8d93a893048f37eba2b34ebdce385e59e8c42d5ab8e7056a26896
EBUILD sinatra-3.0.5.ebuild 1163 BLAKE2B 3d76cea60668d9c5f458fd20b5abf3f5121f3f9547d6d84d3d3ea6fb62ae6fcf6ab0097e86ce2175d298547cd403be261cf703251186b84db0e908a33919fb6f SHA512 d6d03d8bdd36af7b4cc8d38997d56359813d17dc84157a51636fdb7d929dce93f938bbd752fd85709a03de662fefcb95527a1e0a154637b9ab27970389d3150c
MISC metadata.xml 393 BLAKE2B 730e333a7e2203f0219040e53c2ddd3a894af807a242e62df1fdb94a2eee0350c52348a55699c80d4674f0b6024875627f68e2061b740dced0e2ebd2155e5b38 SHA512 fd922f80dcd2c7c663506680f9b6d86f810c68d1c6f81480063d3c20aa561a972f0fe837dbc636848191092c7b599d7e330ffe296e41c0da6f46dba68d2cea7c
diff --git a/dev-ruby/sinatra/sinatra-3.0.5-r1.ebuild b/dev-ruby/sinatra/sinatra-3.0.5-r1.ebuild
new file mode 100644
index 000000000000..d58ccd568438
--- /dev/null
+++ b/dev-ruby/sinatra/sinatra-3.0.5-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+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="https://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 ~ppc ~ppc64 ~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/builder
+ dev-ruby/erubi
+ dev-ruby/haml
+ >=dev-ruby/rack-test-0.5.6
+ <dev-ruby/activesupport-7
+ )
+"
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+
+all_ruby_prepare() {
+ # Matching dev-ruby/activesupport
+ sed -i -e '/minitest.*~> 5.0/s:.*:&, "< 5.16":' Gemfile || die
+
+ sed -i \
+ -e "/require 'rack'/igem 'rack', '~> 2.2', '>= 2.2.4'" \
+ -e "/require 'minitest'/igem 'minitest', '< 5.16'" \
+ -e '/active_support\/core_ext\/hash/igem "activesupport", "<7"' \
+ test/helper.rb || die
+
+ # Avoid spec broken by newer rack versions, already removed upstream.
+ sed -i -e 's/"bytes=IV-LXVI", //' test/static_test.rb || die
+}