diff options
Diffstat (limited to 'dev-ruby/rack')
-rw-r--r-- | dev-ruby/rack/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rack/rack-1.6.7.ebuild | 47 | ||||
-rw-r--r-- | dev-ruby/rack/rack-2.0.3.ebuild | 44 |
3 files changed, 93 insertions, 0 deletions
diff --git a/dev-ruby/rack/Manifest b/dev-ruby/rack/Manifest index 6b6198e7d313..aa363e610ef7 100644 --- a/dev-ruby/rack/Manifest +++ b/dev-ruby/rack/Manifest @@ -3,5 +3,7 @@ DIST rack-1.5.5.gem 216576 SHA256 4ae4a74f555008ecc541060515c37baa9e16f131538447 DIST rack-1.6.4.gem 228864 SHA256 455ec4545a54b40dae9937bc5f61ee0e32134191cc1ef9a7959a19ec4b127a25 SHA512 304a6ae21bfd38008fd7d147f82c44397f3a1d2e689bd01de689aedc6ea0e8784605207fd314bc796974edc5dfcab81636664ea2becb0489302999f99501d41a WHIRLPOOL e99b545a783eaf09bc1c0cf3b4abfafa3341980cfebf1840e25ab25d5801d911da7dfbb232f70df291b7494cc8f8c089fe8a654502aa808850801c02b1e481c6 DIST rack-1.6.5.gem 229376 SHA256 ff9d8fc9e89af3f59ba1708d5dec642e3ec421dbeca567bc460b5b8ba0efe48c SHA512 469711832b9a2a4a5816607712a0dfe4c59fae5c4cfa37819f0f2b695f477a56040bb71d48ef7c05bad32cd48c02b8c20402d59f84acd299d5266858ff9bbf04 WHIRLPOOL f2625c8861f822e668d16f8972157107149aad87e5e4205037aba50c9db1a6187538c99cb2e49b4e0a910c8b00eff5359af946a23539d438af679c2843b22817 DIST rack-1.6.6.gem 229888 SHA256 5d098ff67ab8c44a9a9007a445fac67db7f53075d943bda0ec6439fc64366d1c SHA512 d44c48b75b36695373492bcb1f1830c5c5ff74092267863da8fd9dd0ab974f2e4be6d9e488c4afab1335699d3f2dc1359c44796255623dba3e024c0d78aa6732 WHIRLPOOL ef8e5a3f07e0609af848b784ad8499b5d78baae38be54d8f781d2a1d440e794a7224033fe25ba8d8c5972139070cf0aedc13223bc43febc67c4efadab60414bc +DIST rack-1.6.7.gem 229888 SHA256 485c1bf52521ff354be7dd2a9f529423ee976a51ddec5aace4cf2eebc2ce9c59 SHA512 e1cc22d78a61998c034bbf9217cad5cc0e614697e787f58aed9cfb1c3a12f69b557c9e95a4b09fcc1509cb607332a8655a66159b2492ea6fdc2bda21f588a59e WHIRLPOOL 683a709dcd758e4f546ae84c217d59171cccecc35ed76724221a1661ddd7aa03120591c87a81901dd05a789284ab4581a7a443dd5eb21f9ddffc342d11ce8d72 DIST rack-2.0.1.gem 253952 SHA256 61f78033bf5b1cd0221549ecce7c7b73205d4634b0e63c66e1f295dcf3c26b14 SHA512 6ad5060ce56e279eb01029a699e86ee3f3cd6fe15b282f4c38ecc095d8bdf359dee0ff3fbe699bcac0e4765da7758fa5161f3c939da71a77eaf3fe3bc79bea1d WHIRLPOOL 34c292aab8997f1a1d8ee0a8c228ecc0b517996d3c610ff4e07a1d535d065447af949d4f534cc94c746e976c4d5d4e9b1277306758d4a030450f6b68e37e4ea1 DIST rack-2.0.2.gem 254464 SHA256 b9009b9acbefd85bea220ca13011e6f0f76630169289d9e433a0558dc73542d2 SHA512 c5ffe7fc83eab5f96cbf4b25869e8a0a2e2d8b60544a6186cd6eff9b2b645b36678bb0c9390f90b9cf316bfa0f27f1731c0bcf9560d654e3ce6b8c97855db2bc WHIRLPOOL 25bfc823117ebf7bf8f689742003c24281def10c618c084a2d8ceebe7428a8607ea9be51232d784ed8ee5396011cf055f794b020bfce86c7c2d4593ef4ef2b09 +DIST rack-2.0.3.gem 254464 SHA256 8c1c9bbafd74f11c78a29bd87c72a70e7b5b872712d1768ab83b33fec57d9fcd SHA512 c48e6681544c2f37797ee697f5c4f0d4de6008a3df2506665b52c248fca1ef7321a892dd28475e4d7b461a0b2d12112903a67e1bed7c7397742833fce85167e1 WHIRLPOOL 0134f345068739a3ba65b726f2146b33672a083f42601dd45ee85ffb33677d6e3282040c9df19d7a4f13925a032a4c68fa3885f5a0fd86d826780b17cad74deb 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..bce1580b6d5f --- /dev/null +++ b/dev-ruby/rack/rack-1.6.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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 ~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} !<dev-ruby/rack-1.4.5-r1:1.4 !<dev-ruby/rack-1.5.2-r4:1.5" + +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 +} + +each_ruby_test() { + # Since the Rakefile calls specrb directly rather than loading it, we + # cannot use it to launch the tests or only the currently-selected + # RUBY interpreter will be tested. + ${RUBY} -S bacon -Ilib -w -a \ + -q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \ + || die "test failed for ${RUBY}" +} diff --git a/dev-ruby/rack/rack-2.0.3.ebuild b/dev-ruby/rack/rack-2.0.3.ebuild new file mode 100644 index 000000000000..a941069667ac --- /dev/null +++ b/dev-ruby/rack/rack-2.0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.rdoc SPEC" + +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 ~hppa ~ppc ~ppc64 ~x86 ~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 ) + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 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.4.5-r1:1.4 !<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 +} |