diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-10-01 09:09:20 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-10-01 09:55:48 +0200 |
commit | 943c082700f34bd1ad77ac775ad9f7ba7a436ca6 (patch) | |
tree | de024d8b401d7847682271efcbfe5b9900b6e53f /dev-ruby/sinatra | |
parent | sys-apps/portage: Stabilize 3.0.37 ppc, #872440 (diff) | |
download | gentoo-943c082700f34bd1ad77ac775ad9f7ba7a436ca6.tar.gz gentoo-943c082700f34bd1ad77ac775ad9f7ba7a436ca6.tar.bz2 gentoo-943c082700f34bd1ad77ac775ad9f7ba7a436ca6.zip |
dev-ruby/sinatra: add 2.2.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sinatra')
-rw-r--r-- | dev-ruby/sinatra/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sinatra/sinatra-2.2.2.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/sinatra/Manifest b/dev-ruby/sinatra/Manifest index 40464145f181..90e16b34b0b6 100644 --- a/dev-ruby/sinatra/Manifest +++ b/dev-ruby/sinatra/Manifest @@ -1,2 +1,3 @@ DIST sinatra-2.2.0.tar.gz 513752 BLAKE2B e407b9241cab27e326c0a2d4d83593e292de902b6ed19a12f17b0cd114230b0d10f1ffaa8f8b8237d17b547c7e012c57456af357019b228f3d7a88847220cf33 SHA512 be9432a8efa93578accc836cd0fecca128e56989d8596f1b3d33d2d956e90acd80244b98473fff2adae13ed4a1e933c41e73c80755a6f3418a65cdf33c011145 DIST sinatra-2.2.1.tar.gz 513047 BLAKE2B 38cec7c3b2e27ac795044d7d64a00deb09707523a13338328bb1d7657b3d8eee9ab9730c6eb903c04f64acca6d24b8f191f825056baa0e705bf7ebf5594c0d46 SHA512 73f35428e259867a9b9adbf7344dd78dfe3c5ae2749902d438e2bcd95c4e7e9935ecb7761a4c52928e3e05fd99f8497db3fc049c868f9b2e76c653b4271c87b5 +DIST sinatra-2.2.2.tar.gz 513056 BLAKE2B 80904850ce577131ecc6c28917772cda6ab606ff1b4a71b733cde98d56e2906bb0dc5b65c83465e65686571e8752ec7935d89734e7d2e45c544fe14a2c8046d4 SHA512 e69a36738a7c1095968a343113ddba414ff685e941a8b55575e4b2ffa5a8e7394d874966d5532643cdfec997ac4c825c293185f6688c715006e37159eedd2be8 diff --git a/dev-ruby/sinatra/sinatra-2.2.2.ebuild b/dev-ruby/sinatra/sinatra-2.2.2.ebuild new file mode 100644 index 000000000000..b196d368b135 --- /dev/null +++ b/dev-ruby/sinatra/sinatra-2.2.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" + +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="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + dev-ruby/mustermann:2 + dev-ruby/rack: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 +} |