commit:     8a969b509b90e0c4a41588f72ff22db9c5b8f6e6
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 16 04:25:25 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Jun 16 04:25:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a969b50

dev-ruby/rack: add 2.1.4, 2.2.3

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rack/Manifest          |  2 ++
 dev-ruby/rack/rack-2.1.4.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++
 dev-ruby/rack/rack-2.2.3.ebuild | 49 +++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+)

diff --git a/dev-ruby/rack/Manifest b/dev-ruby/rack/Manifest
index 5e6b58e0239..0e99ebae41d 100644
--- a/dev-ruby/rack/Manifest
+++ b/dev-ruby/rack/Manifest
@@ -3,4 +3,6 @@ DIST rack-2.0.8.gem 256000 BLAKE2B 
30fc53abd2a9389ef00b1803d2d329b10288356fadfea
 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.1.4.tar.gz 251772 BLAKE2B 
9dbd1ac1dade5935a3819b8c23e492b3e637ed2fc99a95ad0592d40501ea4171433ac4bba08a6031cd77521f4ae0f430ea60394c51b7c5f25cd9e82b72067ba8
 SHA512 
ce36902125171d2c9baffdd85a171237b9262a47115f043ce96486fb60fcd77826ae28d9416c43a3549db657a3da1c7be45f14842e4b343517f23dab82abd81a
 DIST rack-2.2.2.tar.gz 277961 BLAKE2B 
5823084cb8b2f66bf46f46d460e93ffc1817371d0cffd711675f5c84e934c5ac5d2a8818d7665eba2490f672344995e3ac54ac8b1dc6d891e800d049ad0db92f
 SHA512 
d0d27d091584b6cabafaa1d1053e013bc28ac0dc7da7b5bf28e528f5479091db1c896052a4ffe75be22011d3bc35c41ce73514a47e66b28ff8d3b723c46fd42c
+DIST rack-2.2.3.tar.gz 278045 BLAKE2B 
2182ab6ee2ca0e40bd131dc96cf15d7e1015570a0702c2419e50da9eae6afedc0f1543a2fdc1fb32022a65788ab486b7add688c8bf201ad46a3d101b6e625a8b
 SHA512 
0daefd1fd7d1c83a5aaf0e8a3c0d734f805f6718c3f2d20673e78242f10fa99c24f8e8d480cb7f0ee299d96a4b691e4a19c967785de946dc863e9b78e0c3ac53

diff --git a/dev-ruby/rack/rack-2.1.4.ebuild b/dev-ruby/rack/rack-2.1.4.ebuild
new file mode 100644
index 00000000000..f3a1f3f6757
--- /dev/null
+++ b/dev-ruby/rack/rack-2.1.4.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="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
+}

diff --git a/dev-ruby/rack/rack-2.2.3.ebuild b/dev-ruby/rack/rack-2.2.3.ebuild
new file mode 100644
index 00000000000..eb76611f07d
--- /dev/null
+++ b/dev-ruby/rack/rack-2.2.3.ebuild
@@ -0,0 +1,49 @@
+# 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.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="rack.gemspec"
+
+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 
!!<dev-ruby/rack-2.1.1-r1:2.1"
+
+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:^:#:' -e "s:require_relative ':require 
'./:" rack.gemspec || die
+}
+
+each_ruby_test() {
+       ${RUBY} -Ilib:test:. -e "require 'test/gemloader.rb'; 
Dir['test/spec_*.rb'].each{|f| require f}" || die
+}

Reply via email to