From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5D4B91382D5 for ; Mon, 27 Jun 2016 04:41:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DA2E941EA; Mon, 27 Jun 2016 04:41:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E01E4941BF for ; Mon, 27 Jun 2016 04:41:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 742C9340CF7 for ; Mon, 27 Jun 2016 04:41:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F9972435 for ; Mon, 27 Jun 2016 04:41:51 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1467002507.4efd0b5943df2373ac245cc43ea09971d3c7ac60.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/http/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/http/Manifest dev-ruby/http/http-2.0.2.ebuild X-VCS-Directories: dev-ruby/http/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4efd0b5943df2373ac245cc43ea09971d3c7ac60 X-VCS-Branch: master Date: Mon, 27 Jun 2016 04:41:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d2e05154-ff6e-4c26-91af-f47c47590a58 X-Archives-Hash: 761c49ea10e290d4eb49f10a51d9cd85 commit: 4efd0b5943df2373ac245cc43ea09971d3c7ac60 Author: Hans de Graaff gentoo org> AuthorDate: Mon Jun 27 04:41:16 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jun 27 04:41:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4efd0b59 dev-ruby/http: add 2.0.2 Package-Manager: portage-2.2.28 dev-ruby/http/Manifest | 1 + dev-ruby/http/http-2.0.2.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/http/Manifest b/dev-ruby/http/Manifest index 04e732f..4140c93 100644 --- a/dev-ruby/http/Manifest +++ b/dev-ruby/http/Manifest @@ -3,3 +3,4 @@ DIST http-0.9.8.gem 66560 SHA256 517790c159adc2755c0a6dac5b64d719d4dd8fb4437409e DIST http-1.0.2.gem 62464 SHA256 90f0b96e221d6c4bd6cfbdb6e2ec5426e1bdbb61f833e2fa23ac8385cfdeb34b SHA512 fbfa76f588d46b10dfa0d3b319d0ca1a5a92749575cf27791febaf5d55f2e4458cf34f48d8b9792d4e220c89c702b75b039ca5b66d3c43d31bab982082312113 WHIRLPOOL 8c0d4a94aa182d0d38e2e27e2eb21272efa7b2b48309d7c225acb56aa6a169a1d399a693e897a2ae0cb19b98ba09972370d31fca7b74a24df8002ecf36cb2920 DIST http-2.0.0.gem 62464 SHA256 995c38950b382f3982ed1c3adaad27d087855fced1c62a256fcdd765bfe18671 SHA512 6d03a328e26b9a66cd29c1cb8178ac7b77251bf469464e342ed853f37a6e5cd5d18a112eac3ca813abf6680574535f9a837217c7461e939a179d8eacc6c5fe93 WHIRLPOOL e6a490e23be86a6348c88cd73cda99550bc01276da198e3694411362c523567a11544a37f2194244fff417a3e319ca400e3616dd4539836355b02389a29d7df0 DIST http-2.0.1.gem 62464 SHA256 f46f7ea5aec6e56b22fefe2de0d03d081156d348c6ff1f5c063f1f8c79dfe27b SHA512 db3166b11388974ca07acfd5de0cfeb5971363e6dbeb712abcba025b338d97704cc85593accf4a89c87c139fb2bd327c58665f4b12bc66cf4ab9eedb49c19ab2 WHIRLPOOL c69ccbfeafb5ac8d37942d6923df267136e225d9312c38d6e3999ec00bbf2c19f264a765ac9e90cf54e2cb082e56959411ba16ad90520e7af20f8c5f5c42e6eb +DIST http-2.0.2.gem 62976 SHA256 d881dfc7cb8f63fd25e522e8f99cdb922c9fe15410cd0d95b1bba083e07d6b76 SHA512 0466d270a5bc2fdbd0d5dff085373e16e99bd52142187ae6ec127ece982bfca2998fc369be724647725c7519bef61a4c8ad9a405e0a44a454729fa68984e8862 WHIRLPOOL 27ad8882f7d52d38c894ee0297826790a08941574f83f00e2cf2a6b282336857575818cfbf5451736671aa52475672b80b374553ade01b1fa8a9660c455bd3bd diff --git a/dev-ruby/http/http-2.0.2.ebuild b/dev-ruby/http/http-2.0.2.ebuild new file mode 100644 index 0000000..da335b5 --- /dev/null +++ b/dev-ruby/http/http-2.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +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="2.0" +KEYWORDS="~amd64 ~arm ~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 + + # Avoid spec that may fail with a running web server + sed -i -e '/unifies socket errors into HTTP::ConnectionError/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die +}