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 5201813832E for ; Fri, 19 Aug 2016 06:01:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 971F5E0B3E; Fri, 19 Aug 2016 06:01:01 +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 DB3DEE0B3A for ; Fri, 19 Aug 2016 06:01:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 406AF340806 for ; Fri, 19 Aug 2016 06:00:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E7152460 for ; Fri, 19 Aug 2016 06:00:57 +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: <1471586424.4c63aa6298c3698450f91c73195bfe253b0d7dcd.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/httpclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/httpclient/Manifest dev-ruby/httpclient/httpclient-2.8.2.2.ebuild X-VCS-Directories: dev-ruby/httpclient/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4c63aa6298c3698450f91c73195bfe253b0d7dcd X-VCS-Branch: master Date: Fri, 19 Aug 2016 06:00:57 +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: 87967660-c260-4974-97a9-6838ec96399e X-Archives-Hash: 004b8e795560656659ec387199c9fe0a commit: 4c63aa6298c3698450f91c73195bfe253b0d7dcd Author: Hans de Graaff gentoo org> AuthorDate: Fri Aug 19 05:21:57 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Aug 19 06:00:24 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c63aa62 dev-ruby/httpclient: add 2.8.2.2 Package-Manager: portage-2.2.28 dev-ruby/httpclient/Manifest | 1 + dev-ruby/httpclient/httpclient-2.8.2.2.ebuild | 62 +++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-ruby/httpclient/Manifest b/dev-ruby/httpclient/Manifest index bfaac39..cd08da1 100644 --- a/dev-ruby/httpclient/Manifest +++ b/dev-ruby/httpclient/Manifest @@ -3,3 +3,4 @@ DIST httpclient-2.7.1.tgz 457036 SHA256 d176c5177745d60434a05c3d85497f9a56c725aa DIST httpclient-2.7.2.tgz 457339 SHA256 5c2c5f505168effb167bc0580da2814cff893636c5a8bc75f1080d2c82c6d0ad SHA512 02793c21925449a6fb117c548a6fd80464a953e6496489b7cd36491026effd553e7447cb96d9ae1bbd8897c16a5efa8b7faf69ab19a02c5d182bcb2f737a07a3 WHIRLPOOL 1c81132d21a4d01faf37983e117f7ebeaafaa8b855bf04813fe32aaeb9123f0e305bf415330a833244e00311d0755fe3474fb2310ef50b82984ae2c3c5b1339b DIST httpclient-2.8.0.tgz 457364 SHA256 96c5551e48b1ab32e695a8cb7a3dcea425c6da2d0a56ee1aaa4c407d1a04104a SHA512 6ec42a2ba8345f5b9a77d8d26f41932ebba13675671190ca42b787bb0f83cb6d3307e00f32808e6b5b4fa5fe76e5db31301fa88ad8131c9bae2c91a822e546f6 WHIRLPOOL 7bd46526bcb87e79d5a03676f0d478745db998089d3c58cd215d550b73e2cf3bc7c02716c74af86418a91150d5fa980184100f63851537169dbbdd3cdbae77f8 DIST httpclient-2.8.1.tgz 458466 SHA256 a3852b8ecea14abc28c61fef734a473f7c7866c9d6853723165f91e69f9eb24b SHA512 3c90d741563047f5664d375b7228c94a7c6872b063feb01ae5820bb8e8794c92e59e660e239e9ea03a5fbee355771da13b8f1d8028f252e2d15424421a7e1230 WHIRLPOOL 92d74577d11b886aab52376d54cb94b058c26b354e551b738cc9cca5e8564ebe4af29d00227c52501faf26d3772af66d12323256830c49a84b492731a49893c0 +DIST httpclient-2.8.2.2.tgz 460627 SHA256 4f2c3ae4db46737ad1ec09d1e0e5e8e70011a5ec9825352f1b3bbd01335b80ba SHA512 606b88934528a43b004c21a6f62ad3f3412b01f50c8e8e2cac634903ff5a248b95d1b2f29f3e7203b320836e4acbd2b7c115fd729af0faa0320ff96090089352 WHIRLPOOL 1d310f7b09cf203248137dd75693050ae02880aa5f0772089568fe488c7cbbed52b473e07aff3ff2387ce6019768c045722c93f6c8830f97136dfcc3b708f01c diff --git a/dev-ruby/httpclient/httpclient-2.8.2.2.ebuild b/dev-ruby/httpclient/httpclient-2.8.2.2.ebuild new file mode 100644 index 0000000..51d6422 --- /dev/null +++ b/dev-ruby/httpclient/httpclient-2.8.2.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_TEST="-Ilib test" +RUBY_FAKEGEM_TASK_DOC="doc" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="httpclient.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby" +HOMEPAGE="https://github.com/nahi/httpclient" +SRC_URI="https://github.com/nahi/httpclient/archive/v${PV}.tar.gz -> ${P}.tgz" + +LICENSE="Ruby" +SLOT="0" + +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="${RDEPEND} + !dev-ruby/http-access2" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc )" +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/http-cookie )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[bB]undler/s:^:#:' Rakefile || die + + # Fix documentation task + sed -i -e 's/README.txt/README.md/' Rakefile || die + + # Remove mandatory CI reports since we don't need this for testing. + sed -i -e '/reporter/s:^:#:' Rakefile || die + + # Remove mandatory simplecov dependency + sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' test/helper.rb || die + + # Comment out test requiring network access that makes assumptions + # about the environment, bug 395155 + sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die + + # Skip tests using rack-ntlm which is not packaged. Weirdly these + # only fail on jruby. + rm test/test_auth.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'gem "test-unit"; Dir["test/test_*.rb"].each{|f| require f}' || die +}