Diff rack-2.2.7 with a rack-2.2.7-r1
/usr/portage/dev-ruby/rack/rack-2.2.7-r1.ebuild 2023-10-09 14:52:30.452368374 +0300 | ||
---|---|---|
17 | 17 | |
18 | 18 |
LICENSE="MIT" |
19 | 19 |
SLOT="$(ver_cut 1-2)" |
20 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" |
|
20 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
21 | 21 |
IUSE="" |
22 | 22 | |
23 | 23 |
ruby_add_rdepend "virtual/ruby-ssl" |
... | ... | |
43 | 43 | |
44 | 44 |
# Avoid test failing due to security version number usage |
45 | 45 |
sed -i -e '/support -v option to get version/askip "broken with security version number"' test/spec_server.rb || die |
46 | ||
47 |
# Rename rackup command and force gem version to allow rack 2.x applications to work |
|
48 |
mv bin/rackup bin/rackup-2 || die |
|
49 |
sed -i -e '4igem "rack", "~> 2.2.0"' bin/rackup-2 |
|
46 | 50 |
} |
47 | 51 | |
48 | 52 |
each_ruby_test() { |
49 | 53 |
${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; Dir['test/spec_*.rb'].each{|f| require f}" || die |
50 | 54 |
} |
55 | ||
56 |
all_ruby_install() { |
|
57 |
all_fakegem_install |
|
58 | ||
59 |
einfo "The rackup command is installed as 'rackup-2' to allow parallel installation with rack 3" |
|
60 |
} |