mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-ruby/rack: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST rack-2.0.9.gem 256512 BLAKE2B 7da7b239e5679a2f6d19626cbaf8b4ec02a7ce7ffd086732925963ac6fe0397f180548c6065abdbe8d55de802583d7dd09de38da0d4d695559456d852d2b3d4c SHA512 5b56d1aa7bcca11c631f8205605e71f9c661ec9ea7694a16f32f6fdb493cf015d184f924fdf342abebacfbb185e367c9e6dd1288ffe9dabaf4e6566b8853a191
|
||||
DIST rack-2.1.4.tar.gz 251772 BLAKE2B 9dbd1ac1dade5935a3819b8c23e492b3e637ed2fc99a95ad0592d40501ea4171433ac4bba08a6031cd77521f4ae0f430ea60394c51b7c5f25cd9e82b72067ba8 SHA512 ce36902125171d2c9baffdd85a171237b9262a47115f043ce96486fb60fcd77826ae28d9416c43a3549db657a3da1c7be45f14842e4b343517f23dab82abd81a
|
||||
DIST rack-2.2.3.tar.gz 278045 BLAKE2B 2182ab6ee2ca0e40bd131dc96cf15d7e1015570a0702c2419e50da9eae6afedc0f1543a2fdc1fb32022a65788ab486b7add688c8bf201ad46a3d101b6e625a8b SHA512 0daefd1fd7d1c83a5aaf0e8a3c0d734f805f6718c3f2d20673e78242f10fa99c24f8e8d480cb7f0ee299d96a4b691e4a19c967785de946dc863e9b78e0c3ac53
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.rdoc SPEC"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A modular Ruby webserver interface"
|
||||
HOMEPAGE="https://rack.github.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/minitest:5
|
||||
dev-ruby/minitest-global_expectations
|
||||
dev-ruby/concurrent-ruby
|
||||
)"
|
||||
|
||||
# The gem has automagic dependencies over mongrel, ruby-openid,
|
||||
# memcache-client, thin, mongrel and camping; not sure if we should
|
||||
# make them dependencies at all.
|
||||
|
||||
# Block against versions in older slots that also try to install a binary.
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.5.2-r4:1.5 !<dev-ruby/rack-1.6.4-r2:1.6"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# The build system tries to generate the ChangeLog from git. Create
|
||||
# an empty file to avoid a needless dependency on git.
|
||||
touch ChangeLog || die
|
||||
|
||||
# Avoid development dependency
|
||||
sed -i -e '/minitest-sprint/ s:^:#:' rack.gemspec || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc SPEC"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="rack.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A modular Ruby webserver interface"
|
||||
HOMEPAGE="https://rack.github.com/"
|
||||
SRC_URI="https://github.com/rack/rack/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/minitest:5
|
||||
dev-ruby/minitest-global_expectations
|
||||
dev-ruby/concurrent-ruby
|
||||
)"
|
||||
|
||||
# The gem has automagic dependencies over mongrel, ruby-openid,
|
||||
# memcache-client, thin, mongrel and camping; not sure if we should
|
||||
# make them dependencies at all.
|
||||
|
||||
# Block against versions in older slots that also try to install a binary.
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.6.4-r2:1.6 !!<dev-ruby/rack-2.0.8-r1:2.0"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# The build system tries to generate the ChangeLog from git. Create
|
||||
# an empty file to avoid a needless dependency on git.
|
||||
touch ChangeLog || die
|
||||
|
||||
# Avoid development dependency
|
||||
sed -i -e '/minitest-sprint/ s:^:#:' rack.gemspec || die
|
||||
|
||||
# Skip tests failing due to encoding
|
||||
sed -e '/correctly escape script name with spaces/askip "encoding"' \
|
||||
-e '/uri escape path parts/askip "encoding"' \
|
||||
-e '/correctly escape script name/askip "encoding"' \
|
||||
-i test/spec_directory.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die
|
||||
}
|
||||
Reference in New Issue
Block a user