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 98D8B1384B4 for ; Tue, 10 Nov 2015 06:38:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6796521C004; Tue, 10 Nov 2015 06:37:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB71521C004 for ; Tue, 10 Nov 2015 06:37:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C2263405D5 for ; Tue, 10 Nov 2015 06:37:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC00D2320 for ; Tue, 10 Nov 2015 06:37:52 +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: <1447137313.c8e97925e88dde859305d7925652d508cacc8de6.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.7.0.1.ebuild X-VCS-Directories: dev-ruby/httpclient/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c8e97925e88dde859305d7925652d508cacc8de6 X-VCS-Branch: master Date: Tue, 10 Nov 2015 06:37:52 +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: 6e79e77a-08dc-4df5-9bb0-966336376797 X-Archives-Hash: a0148b6b54a02b3f26315316bb346d07 commit: c8e97925e88dde859305d7925652d508cacc8de6 Author: Hans de Graaff gentoo org> AuthorDate: Tue Nov 10 06:25:27 2015 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Nov 10 06:35:13 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e97925 dev-ruby/httpclient: add 2.7.0.1 Package-Manager: portage-2.2.20.1 dev-ruby/httpclient/Manifest | 1 + dev-ruby/httpclient/httpclient-2.7.0.1.ebuild | 62 +++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-ruby/httpclient/Manifest b/dev-ruby/httpclient/Manifest index a434fef..929087a 100644 --- a/dev-ruby/httpclient/Manifest +++ b/dev-ruby/httpclient/Manifest @@ -1,4 +1,5 @@ DIST httpclient-2.5.3.2.tgz 303735 SHA256 3605a897d393e90071dab35b153dbedd844fa92c4ef8d13e43115866b2bf3867 SHA512 17db0302b958f10b4a75167d8c03b77f195786b5b429b76fc883af992cc71703500b9a42e39b832ac3421b3b742160496bdeeccd160e48ad2c377d9d8666ba89 WHIRLPOOL 162badfe5619a9ed9d42f9d29c7d34f45eeb205bbc76715d66547b5bf8e5962ba41c535ed2b53075ce6c6abef76a58062a91e172195ec1ab56282c0a2cabbfb3 DIST httpclient-2.5.3.3.tgz 300578 SHA256 852b50cd771c659e38e4c4a31ace0ac3a2ab1da732b11b01e899827b1f2b424e SHA512 929dd4dfa5719367c61845f522aeb94059dff678716a22fc78b59f7cdce3c2a5fc88a01b6e0efd0ada06f3224cf52e7475b3a4c06f25383ad3702e1514c09292 WHIRLPOOL d6091a0d910474657d5fea0f91703f575fa7ff43e10240afc9312ea0d663c288b0a7dc7518c59e9a095a0c9d81eb18c6bf586db305543ee9217f09addec9a99d DIST httpclient-2.6.0.1.tgz 305847 SHA256 213f55639b85edf47fb32f865b59085a76d77c87355e9e13e747250f8da0f6e9 SHA512 bcb71a7b6be7d132df63c5434cb2d4be46fa9b5c585b68a8a8269e46acecde6403098555e219354c60fc193016651c1bda53bffd9d509a517a3104c9a4e04efe WHIRLPOOL 4ded5d0b5f93c3b58df1e1c2233ae3a6219d797c0fb193d4995a2863fda76bad10ef0429f79a01c9b3c7c9ae27e20879b81db34239ff901a502baea9d6436785 +DIST httpclient-2.7.0.1.tgz 456279 SHA256 734b885ab5310ff2da7a2f90c14f899f3884b1194db1dcb7da46d9277d8222e0 SHA512 f7be24dd59427578b665702cb5b33916caf4cc3d8eeca52e11f91e27f0e676b52056485dcf72284fed4f2db2eac3ed6654afb87f6f8a4580c1b8a59bf3ce2ee4 WHIRLPOOL 6025e4041df5bf78eb1574c5e11c7a49c809ad4aee74d08b1b35318cfc7d4481054de8be0a3efb68fb6273899c3a730e3541f96c3a70c93a740f256e58359752 DIST httpclient-2.7.0.tgz 455995 SHA256 95f839dc5c54853d84dd1658846d29b3d57d08326c58b8b1afdbc09c89d60a7e SHA512 b330cec27804832140e69d335baf204e11491ee764c2abd6010d41d67717849fba4dc6f4bbf955a380ec76286f1eb73a3346403723e74e9a70fd4451b3df1f08 WHIRLPOOL c48f3129e670e31673e19dbfa432d5b80afc5508a3db3e6cc1436d260ee975e4c2a48260a368552fe1db39a5c35cc5b45729f7685bad50705f350f14f775d6d0 diff --git a/dev-ruby/httpclient/httpclient-2.7.0.1.ebuild b/dev-ruby/httpclient/httpclient-2.7.0.1.ebuild new file mode 100644 index 0000000..25cf2f3 --- /dev/null +++ b/dev-ruby/httpclient/httpclient-2.7.0.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22" + +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 +}