dev-ruby/http: version bump
authorHans de Graaff <graaff@gentoo.org>
Sat, 3 Oct 2015 05:34:45 +0000 (07:34 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 3 Oct 2015 05:35:17 +0000 (07:35 +0200)
Package-Manager: portage-2.2.20.1

dev-ruby/http/Manifest
dev-ruby/http/http-0.9.8.ebuild [new file with mode: 0644]

index 287fc580f1d61b98dd6e4b4490067a6c0fdbc0c5..d95e1d154a72b6aa7fec1622cee15fb8da35d6e8 100644 (file)
@@ -1,2 +1,3 @@
 DIST http-0.6.3.gem 67072 SHA256 bbefb6ab1255f2967437b0ea9b29058066c89b1e30448e3494ca3840432cb272 SHA512 e5fe784e833da30e5ef6bcdc43b45a04fcf03d827b8336853591c5ba67b5ccf45cc18849ec4a78f3a0526b05cc50da2a7aadd5ea211284fe73f8dddbe89c642b WHIRLPOOL e231732948a938310280ecdac254c98607a473d29e2ffbc9a36a9c0dc4144f5c54e8a52603581391eb6a5046e932d41817d57b516c8dcd4099c7fc8a2bcfe86f
 DIST http-0.9.3.gem 65024 SHA256 cb7c64d09c0d42255b3b881704bd1e3d282dd2170d7666ab0447c640fc046a2e SHA512 498ee87e97aed59e2a757c23e0013f3f5eaaf1fe4f51dc5caf91049124142eda43224e930a766c7c9104cc968ec8b2a4eb676f563d0adfd0249711f48e96bbd8 WHIRLPOOL 2283a2d2c3e6c5e99200949f85eeda0ef4cae5e864c0cf403c379b4332a7c9244f71be834100ffe25bea5f202fea3112d65ad41d0ccc4c2ef2c376d851984fda
+DIST http-0.9.8.gem 66560 SHA256 517790c159adc2755c0a6dac5b64d719d4dd8fb4437409e443f4a42b31ea89d2 SHA512 bb89147a3c28ebd75d2453e51c0c422557907e055b9a20a560b803bc64edfcdfe96e997ff225a26c9ca278211b0f70faaccf2d18ce2cdc9fd95bc4048093ef68 WHIRLPOOL 5a061560f2c34f951d862a11cdafae61a684f76b3a5298c46dc78f2f3536035cadae1c35ac26833774041a7687593b2b47a9b066e7a46cdaf1faa9d5bbb3217d
diff --git a/dev-ruby/http/http-0.9.8.ebuild b/dev-ruby/http/http-0.9.8.ebuild
new file mode 100644 (file)
index 0000000..196ca48
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An easy-to-use client library for making requests from Ruby"
+HOMEPAGE="https://github.com/tarcieri/http"
+
+LICENSE="MIT"
+SLOT="0.8"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+       >=dev-ruby/addressable-2.3
+       >=dev-ruby/http-cookie-1.0
+       >=dev-ruby/http-form_data-1.0.1:1.0
+       >=dev-ruby/http_parser_rb-0.6.0 =dev-ruby/http_parser_rb-0.6*"
+
+ruby_add_bdepend "
+       test? ( dev-ruby/certificate_authority dev-ruby/rspec-its )"
+
+all_ruby_prepare() {
+       sed -i -e '/simplecov/,/end/ s:^:#:' \
+               -e '1irequire "cgi"' spec/spec_helper.rb || die
+}