From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46C33139085 for ; Sun, 5 Feb 2017 09:18:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E16FB21C0C6; Sun, 5 Feb 2017 09:18:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B200721C0C6 for ; Sun, 5 Feb 2017 09:18:40 +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 9EBD334163E for ; Sun, 5 Feb 2017 09:18:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8EF03DC9 for ; Sun, 5 Feb 2017 09:18:31 +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: <1486286284.afb175996ca93635f6b521caed5151b4d230de68.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.2.0.ebuild X-VCS-Directories: dev-ruby/http/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: afb175996ca93635f6b521caed5151b4d230de68 X-VCS-Branch: master Date: Sun, 5 Feb 2017 09:18:31 +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: bb6a1dba-8513-4158-b7d0-412bd119ddc3 X-Archives-Hash: 40ca943391057368e6a32bfee10b4511 commit: afb175996ca93635f6b521caed5151b4d230de68 Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 5 08:56:46 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 5 09:18:04 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb17599 dev-ruby/http: add 2.2.0 Package-Manager: portage-2.3.3 dev-ruby/http/Manifest | 1 + dev-ruby/http/http-2.2.0.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/http/Manifest b/dev-ruby/http/Manifest index 2f794f3..7bbb567 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.3.gem 62976 SHA256 f8681ff9f77fbc1ca4b92e70f112d1664efd56172862a175912092082051eb56 SHA512 957f40b627f2da98632636053ddd37d7ca6fb29b94b78157eade3fd13696611808f74c8e12b6a458a47f9494d192656610968b5273754fb006876690a6d0211f WHIRLPOOL ed130b4e36d62e353c35c96ecd493c9805ff9372d1397dee89ad54828e57212f71f5d63a9d70390b2a89c90405af7aae745dcb3de71397dd7f1b81985919093e DIST http-2.1.0.gem 63488 SHA256 64c1a2811811e379f8ca0c1102f378242c09d1f721c17edcdb4d6c9250467fed SHA512 0562abd7e53520085559f388bd401475b0c09943dc842b5b1c25cc9f184f31ae41b75001940dd5c7b7a6b2727d52c2f4f701bdb60d0b233a93f66ea1b2434657 WHIRLPOOL 6d949451c565453c88b6f69c26bd87fd030344e2020d65cdd99ffabe9ad32085ca4b81e9363a3ce167c30fe5d2db05b490b3877e45912cb5eea6bf8f0bade51f +DIST http-2.2.0.gem 66560 SHA256 b01a96c88bffb5eb5340b842ef9647c91090915a1363e9d25452d53768d26eaf SHA512 82e3c11f8b5df23e42fea9528aab65d09e130ff12b919a0fda5539054883a29f7f512b0d120beec46e2879840c2525fdd2c8ce97311ba8417dc36947cae062f7 WHIRLPOOL 329f0349d318309594905b365118dc9d95faf319bdb3b0bdcac340c2ff6996d1ece600109554c494bcc10699a1ddd4a13d38c6028c036e78742ea5239e24dc6c diff --git a/dev-ruby/http/http-2.2.0.ebuild b/dev-ruby/http/http-2.2.0.ebuild new file mode 100644 index 00000000..13bd382 --- /dev/null +++ b/dev-ruby/http/http-2.2.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +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 +}