diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-02-13 07:38:34 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-02-13 07:46:45 +0100 |
commit | 8aef8fe98186b1c2a90e6e043818f83136b9f130 (patch) | |
tree | 6c6475539b70a6f75d0019b3134523867ad5b2e0 /dev-ruby/http | |
parent | sys-apps/man2html: new package #519390 (diff) | |
download | gentoo-8aef8fe98186b1c2a90e6e043818f83136b9f130.tar.gz gentoo-8aef8fe98186b1c2a90e6e043818f83136b9f130.tar.bz2 gentoo-8aef8fe98186b1c2a90e6e043818f83136b9f130.zip |
dev-ruby/http: add 1.0.2
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/http')
-rw-r--r-- | dev-ruby/http/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/http/http-1.0.2.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/http/Manifest b/dev-ruby/http/Manifest index d95e1d154a72..01186cb069e8 100644 --- a/dev-ruby/http/Manifest +++ b/dev-ruby/http/Manifest @@ -1,3 +1,4 @@ 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 +DIST http-1.0.2.gem 62464 SHA256 90f0b96e221d6c4bd6cfbdb6e2ec5426e1bdbb61f833e2fa23ac8385cfdeb34b SHA512 fbfa76f588d46b10dfa0d3b319d0ca1a5a92749575cf27791febaf5d55f2e4458cf34f48d8b9792d4e220c89c702b75b039ca5b66d3c43d31bab982082312113 WHIRLPOOL 8c0d4a94aa182d0d38e2e27e2eb21272efa7b2b48309d7c225acb56aa6a169a1d399a693e897a2ae0cb19b98ba09972370d31fca7b74a24df8002ecf36cb2920 diff --git a/dev-ruby/http/http-1.0.2.ebuild b/dev-ruby/http/http-1.0.2.ebuild new file mode 100644 index 000000000000..e29d6a7a9d66 --- /dev/null +++ b/dev-ruby/http/http-1.0.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="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="1.0" +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 + + # Avoid specs that require network access + sed -i -e '/.persistent/,/^ end/ s:^:#:' \ + spec/lib/http_spec.rb || die + sed -i -e '/with non-ASCII URLs/,/^ end/ s:^:#:' \ + spec/lib/http/client_spec.rb || die +} |