From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-ruby/rack/Manifest | 11 +++++ dev-ruby/rack/files/rack-1.2.1-gentoo.patch | 13 ++++++ .../rack/files/rack-1.6-rewindable-ruby23.patch | 38 +++++++++++++++++ dev-ruby/rack/metadata.xml | 10 +++++ dev-ruby/rack/rack-1.6.7.ebuild | 47 ++++++++++++++++++++++ dev-ruby/rack/rack-2.0.3.ebuild | 44 ++++++++++++++++++++ dev-ruby/rack/rack-2.0.4.ebuild | 42 +++++++++++++++++++ dev-ruby/rack/rack-2.0.5.ebuild | 42 +++++++++++++++++++ 8 files changed, 247 insertions(+) create mode 100644 dev-ruby/rack/Manifest create mode 100644 dev-ruby/rack/files/rack-1.2.1-gentoo.patch create mode 100644 dev-ruby/rack/files/rack-1.6-rewindable-ruby23.patch create mode 100644 dev-ruby/rack/metadata.xml create mode 100644 dev-ruby/rack/rack-1.6.7.ebuild create mode 100644 dev-ruby/rack/rack-2.0.3.ebuild create mode 100644 dev-ruby/rack/rack-2.0.4.ebuild create mode 100644 dev-ruby/rack/rack-2.0.5.ebuild (limited to 'dev-ruby/rack') diff --git a/dev-ruby/rack/Manifest b/dev-ruby/rack/Manifest new file mode 100644 index 000000000000..31338c3b5be4 --- /dev/null +++ b/dev-ruby/rack/Manifest @@ -0,0 +1,11 @@ +AUX rack-1.2.1-gentoo.patch 410 BLAKE2B 18246afd31b682e66a5bdd92c08bb9faed9a9fe22fade22f2c124a3a499b67794082e1bd03081c1914793003fe3c0a73b2d42f51395fc2603eb6513a3b404ece SHA512 03dba431bbdd77f87e0f26ccc6022248edbde20930254da1c55db6115dd49be5dd3f16919e15ee7baab40682b3f959b52692d5018b09ad79d4db3acb3adf6f43 +AUX rack-1.6-rewindable-ruby23.patch 1360 BLAKE2B 062c4a474959c4dce61969583b6aec1ae98acff38c1e72f5e22440c4c8938dbaa2142d70a0354948c151eede2b23ca5accadc72aeab366ca1457216d9725292a SHA512 3cb110af584cc3f767a0d3976acb66f37423559865af0726109419728ce6fbe9f484ac2340b1816ae89c1a59ca64330c1bfe4be3910bf6a8ecb05784115a1cda +DIST rack-1.6.7.gem 229888 BLAKE2B b4ea51d9a0606c92c6cc199bcaf3f7068e6360dd972417af7fe8784a5b23a8de1288347431f08d9af1d19f1409f18035d668d6e80f0b2080d761a3e703259d0c SHA512 e1cc22d78a61998c034bbf9217cad5cc0e614697e787f58aed9cfb1c3a12f69b557c9e95a4b09fcc1509cb607332a8655a66159b2492ea6fdc2bda21f588a59e +DIST rack-2.0.3.gem 254464 BLAKE2B c7052ae0210d2c8d9aeaa6e3b5b10b272ea48d6c2601aecd524eeab141d3987b7905d9511814d0ac7a62413ef5eb01e847168a278bafb5a0e8f882c526cdfcc9 SHA512 c48e6681544c2f37797ee697f5c4f0d4de6008a3df2506665b52c248fca1ef7321a892dd28475e4d7b461a0b2d12112903a67e1bed7c7397742833fce85167e1 +DIST rack-2.0.4.gem 254976 BLAKE2B e816bda9969117525d061b2de2e9172d831a1fd0654ee5f4ff0293a95c01b8451204cab034816f7b2382b77cae3c9a735184f3f1c8f5b9e8cb43963001f815da SHA512 d6624d52c456654ab4c98554d544c6cb0bd15fad5a494575ad329bd1892dca2ac612b5730f4e3f6eddf2c0496afc393f215fb7d60795c264d2251896c27f450a +DIST rack-2.0.5.gem 254464 BLAKE2B 91fdb183a7e79b853d5ff8ef0d95799fdcdcb92ae69406666a96742dfe9abf7211c0d3ee0ec21edfb01392006e30c146573acb532a83bbf807f743272fb77dd9 SHA512 ac820997ec5804816e26275630797d0c86e2dc04d43572e66e99a25067d531c8a6fcdfb7b5157ce44d039d1690bb015567d859a13a85dc7d22fa0f7454ea0aa2 +EBUILD rack-1.6.7.ebuild 1650 BLAKE2B 7c921e890048cc0f9db6fc066695dafbf1afdf816ed87aca9c9d1e713ed704a2335b40e7654f0f96a1f511232b30780c82a4ac6232f80f9a054a299bc307da3a SHA512 be28af8b62260dc820f1c52ae44d1e46fd416dad453a0ac03eef8cfbbcaffd056b7744d61e5b5b287de90d5ad745bac5225b6c58b9808e75058638a1f61b9360 +EBUILD rack-2.0.3.ebuild 1508 BLAKE2B f5f9bafb1ca637b1303cbf44a32b77b1969e8b773408141de007781524f40643fa59e9b37bb8feb92e950fecb7fa4b96f0d1fe4e8db2c9ab9e7cbf15f9dfd1b3 SHA512 e62cc26861382a150c813a39a5aef7d9e41858ba415f03f789333e4e9f64187b506df4bee860abfca3a2c120b2251b416c3058179be47ca58a4138437145895a +EBUILD rack-2.0.4.ebuild 1466 BLAKE2B 8d95bf901666ae8b174dd8a7e689ce8687572a796d6a68106277de69507b203b06e6177fd1b531eceac21e86452e278b4df617def2e769b0857dd551d316bbc9 SHA512 e00386ebd69f3ab4a0c39d9507a6f32ee7214e4ca8e24cf9807644644cda7c7896251dc81f553f14655bc4c49ae7d19b31b58c0f64a3162a13e085c65e1f8cf1 +EBUILD rack-2.0.5.ebuild 1466 BLAKE2B 8d95bf901666ae8b174dd8a7e689ce8687572a796d6a68106277de69507b203b06e6177fd1b531eceac21e86452e278b4df617def2e769b0857dd551d316bbc9 SHA512 e00386ebd69f3ab4a0c39d9507a6f32ee7214e4ca8e24cf9807644644cda7c7896251dc81f553f14655bc4c49ae7d19b31b58c0f64a3162a13e085c65e1f8cf1 +MISC metadata.xml 391 BLAKE2B 5ed2f863a5fd68cf57f25afc2c2efa63df1eb25c4e01087130f70edbbd1b79c655ff7455b73ecdd31e083cd35381331fceef52856f946d24fc3d313705fbaef3 SHA512 7ffff4c4cc64855b0c95e2364fa9cfd1e3b06946155cc8244444f5f4e450abda8d8387aabddc224b94a55ff3d5e42391970e5541923e5aae24f408113a65a5c7 diff --git a/dev-ruby/rack/files/rack-1.2.1-gentoo.patch b/dev-ruby/rack/files/rack-1.2.1-gentoo.patch new file mode 100644 index 000000000000..82ea127a8cb7 --- /dev/null +++ b/dev-ruby/rack/files/rack-1.2.1-gentoo.patch @@ -0,0 +1,13 @@ +diff --git a/lib/rack/rewindable_input.rb b/lib/rack/rewindable_input.rb +index accd96b..d71fde6 100644 +--- a/lib/rack/rewindable_input.rb ++++ b/lib/rack/rewindable_input.rb +@@ -94,7 +94,7 @@ module Rack + end + + def filesystem_has_posix_semantics? +- RUBY_PLATFORM !~ /(mswin|mingw|cygwin|java)/ ++ RUBY_PLATFORM !~ /(mswin|mingw|cygwin|java)/ && RUBY_VERSION < '1.9.1' + end + end + end diff --git a/dev-ruby/rack/files/rack-1.6-rewindable-ruby23.patch b/dev-ruby/rack/files/rack-1.6-rewindable-ruby23.patch new file mode 100644 index 000000000000..9d36a7328e2c --- /dev/null +++ b/dev-ruby/rack/files/rack-1.6-rewindable-ruby23.patch @@ -0,0 +1,38 @@ +From 11b5a15dd1c8a41d87eb73df7bb99a3affecd787 Mon Sep 17 00:00:00 2001 +From: deepj +Date: Mon, 25 May 2015 22:41:31 +0200 +Subject: [PATCH] Clean up Rack::Rewindable + +--- + lib/rack/rewindable_input.rb | 11 ----------- + 1 file changed, 11 deletions(-) + +diff --git a/lib/rack/rewindable_input.rb b/lib/rack/rewindable_input.rb +index 64efdda..dd6b784 100644 +--- a/lib/rack/rewindable_input.rb ++++ b/lib/rack/rewindable_input.rb +@@ -57,15 +57,6 @@ def close + + private + +- # Ruby's Tempfile class has a bug. Subclass it and fix it. +- class Tempfile < ::Tempfile +- def _close +- @tmpfile.close if @tmpfile +- @data[1] = nil if @data +- @tmpfile = nil +- end +- end +- + def make_rewindable + # Buffer all data into a tempfile. Since this tempfile is private to this + # RewindableInput object, we chmod it so that nobody else can read or write +@@ -77,8 +68,6 @@ def make_rewindable + @rewindable_io.set_encoding(Encoding::BINARY) if @rewindable_io.respond_to?(:set_encoding) + @rewindable_io.binmode + if filesystem_has_posix_semantics? +- # Use ::File.unlink as 1.9.1 Tempfile has a bug where unlink closes the file! +- ::File.unlink @rewindable_io.path + raise 'Unlink failed. IO closed.' if @rewindable_io.closed? + @unlinked = true + end diff --git a/dev-ruby/rack/metadata.xml b/dev-ruby/rack/metadata.xml new file mode 100644 index 000000000000..a4972c900d78 --- /dev/null +++ b/dev-ruby/rack/metadata.xml @@ -0,0 +1,10 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + Rack provides a common API for connecting web frameworks, web servers and layers +of software inbetween. + diff --git a/dev-ruby/rack/rack-1.6.7.ebuild b/dev-ruby/rack/rack-1.6.7.ebuild new file mode 100644 index 000000000000..bb358d7038c6 --- /dev/null +++ b/dev-ruby/rack/rack-1.6.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md KNOWN-ISSUES README.rdoc SPEC" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem eutils versionator + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="https://rack.github.com/" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_PATCHES=( ${PN}-1.2.1-gentoo.patch ${PN}-1.6-rewindable-ruby23.patch ) + +ruby_add_rdepend "virtual/ruby-ssl" + +# 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. +ruby_add_bdepend "test? ( dev-ruby/bacon )" + +# Block against versions in older slots that also try to install a binary. +RDEPEND="${RDEPEND} !