diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-06-12 13:13:56 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-06-12 13:36:46 +0200 |
commit | 997a887d2e44710d3e50d133cc1c3a8a34c1c7f7 (patch) | |
tree | d56ffb5d9d23912b3e910bf84faa2284d133557a /dev-ruby/rack | |
parent | dev-python/locket: Remove longdesc (diff) | |
download | gentoo-997a887d2e44710d3e50d133cc1c3a8a34c1c7f7.tar.gz gentoo-997a887d2e44710d3e50d133cc1c3a8a34c1c7f7.tar.bz2 gentoo-997a887d2e44710d3e50d133cc1c3a8a34c1c7f7.zip |
dev-ruby/rack: add 2.1.3
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack')
-rw-r--r-- | dev-ruby/rack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rack/rack-2.1.3.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-ruby/rack/Manifest b/dev-ruby/rack/Manifest index 22bbc209da14..5e6b58e0239e 100644 --- a/dev-ruby/rack/Manifest +++ b/dev-ruby/rack/Manifest @@ -2,4 +2,5 @@ DIST rack-1.6.12.gem 230912 BLAKE2B 98a3ae6905535b284a5e723d39db7788f97c11b29506 DIST rack-2.0.8.gem 256000 BLAKE2B 30fc53abd2a9389ef00b1803d2d329b10288356fadfeaf80e0b6f7d2327b5aea058626f50d228454716007b1be0b316c6083debee98c0d0ee5eed458600f8315 SHA512 88c406cfe38c3db1a3502fc563272a99d8f2e36bfea1122cdea6b6b49b0e6b5649e1f0864161793eed83cb3d934aa260650b703bb1b059c6e56c6073c2060fb2 DIST rack-2.0.9.gem 256512 BLAKE2B 7da7b239e5679a2f6d19626cbaf8b4ec02a7ce7ffd086732925963ac6fe0397f180548c6065abdbe8d55de802583d7dd09de38da0d4d695559456d852d2b3d4c SHA512 5b56d1aa7bcca11c631f8205605e71f9c661ec9ea7694a16f32f6fdb493cf015d184f924fdf342abebacfbb185e367c9e6dd1288ffe9dabaf4e6566b8853a191 DIST rack-2.1.1.tar.gz 250934 BLAKE2B d7d50c011d963dbfcd5dc456bca5711fa46c062df88f70280407cf617fde0c954f9a9453ae077dcdeeea54ac6291388420f37f25f629193112aaaa1bead6a55e SHA512 806842fdf1df332fc13d1aa8c4fa3f5bf091eaaf5db8684ad2c2de23d41955f850dad5da3ef7ca89ae5c51a0eea78e2d31b2c5465734ec949948a1fbc911427b +DIST rack-2.1.3.tar.gz 251662 BLAKE2B 8e9adc9ab2f8e66db61d39b3b73c1cbe692965ca1ae3131ac269a21fac43c0caca58a7c19a35d2edb70f053c7156b4e7663aadf3014af331e57f6bba780ee59b SHA512 997ebae3db270515881639792ba30b14ac173f86b548304d36dbe0f865fe7b5d8fdd25bc9f791d35ce70c353939722aeae0cd348486ca56a928a692937bfae8d DIST rack-2.2.2.tar.gz 277961 BLAKE2B 5823084cb8b2f66bf46f46d460e93ffc1817371d0cffd711675f5c84e934c5ac5d2a8818d7665eba2490f672344995e3ac54ac8b1dc6d891e800d049ad0db92f SHA512 d0d27d091584b6cabafaa1d1053e013bc28ac0dc7da7b5bf28e528f5479091db1c896052a4ffe75be22011d3bc35c41ce73514a47e66b28ff8d3b723c46fd42c diff --git a/dev-ruby/rack/rack-2.1.3.ebuild b/dev-ruby/rack/rack-2.1.3.ebuild new file mode 100644 index 000000000000..addcd2ddfc45 --- /dev/null +++ b/dev-ruby/rack/rack-2.1.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 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="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 ~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 +} |