mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/sinatra: drop 3.2.0
Bug: https://bugs.gentoo.org/944713 Signed-off-by: Brett A C Sheffield <bacs@librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/284 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
780c0d3a2f
commit
1e6a9190b6
@@ -1,4 +1,3 @@
|
||||
DIST sinatra-3.2.0.tar.gz 273145 BLAKE2B 5d995e3deec3ff9dfe577a7ee816b69321dbc6848e69688c2b0781fbe6440f72eb7a589e0a5609f0f747200bf634e8472006587867e47d30779eb9bdbd4e4cde SHA512 7fa684a1f7f39ad764ae1c6ad304df9020187817d9e6982c1670cb23e7ff03df1968608cfedac13442b59e13032b567e5b46ea7168015f9ff1b40d3b3d3ebd68
|
||||
DIST sinatra-4.1.1.tar.gz 271795 BLAKE2B 6d42ccbc40a3c4df6902a5be78749136ac4dd84149d3d4a748fbe71f8cf882785645a98b735cb899833145f967282b57f0e295e4f35c516daa212175e3f31325 SHA512 d9022acc28048f6424f077216bfc620000887afdc5fb34152610d3f0a5139cea367a165cb6caa1e0b1f02fb8328b563d6993f16419d798bde50e45450b558f2d
|
||||
DIST sinatra-4.2.0.tar.gz 272591 BLAKE2B 1991ec2ac1d0d65adbc5d179e2e5ddcf51351f080311c2813eee5a1df803710a86ca527cb5156d02b7f699f7bd74a663623785b4efce435fc52d78018b0abee2 SHA512 468a7f963240edda9f405fc31e524af91788e55138e3d07707953427b30cc21c12a879dcca2b5c159f7cf4482827367c506c56c8ce7f8015b1b9b3fa09b58b55
|
||||
DIST sinatra-4.2.1.tar.gz 272817 BLAKE2B 1dcfdca0edb8ad598f00e3057aeb875b6abb71c43a090e9b207fcb5e46511ad91d24f226ed029d84793fda002ba0e7ef8a28ba3c9eaf4226eab5546677836453 SHA512 fa3283635f4d66f9c12f315d7c9e9e04e25c65afa4ab4e7a42de4a73b1f17a97aba305335e7c6b6a1522979140936d681a569b24286d656c9a30ac2e4e5fc83a
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32 ruby33"
|
||||
|
||||
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 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/mustermann:3
|
||||
>=dev-ruby/rack-2.2.4:2.2
|
||||
~dev-ruby/rack-protection-${PV}
|
||||
dev-ruby/tilt:2"
|
||||
|
||||
# dev-ruby/haml is an optional test dependency, but it will lead to
|
||||
# circular dependencies so we don't require it for tests.
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/builder
|
||||
dev-ruby/erubi
|
||||
>=dev-ruby/rack-test-0.5.6
|
||||
dev-ruby/activesupport
|
||||
)
|
||||
"
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e "/require 'rack'/igem 'rack', '~> 2.2', '>= 2.2.4'; gem 'rack-protection', '~> 3.0'" \
|
||||
test/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
|
||||
}
|
||||
Reference in New Issue
Block a user