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 6426E139083 for ; Tue, 13 Dec 2016 06:53:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59A61E0CD9; Tue, 13 Dec 2016 06:53:31 +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 24AC0E0CD9 for ; Tue, 13 Dec 2016 06:53:31 +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 17DF83413A6 for ; Tue, 13 Dec 2016 06:53:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4BCA01F2F for ; Tue, 13 Dec 2016 06:53:28 +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: <1481611357.74446bd903489bb36b48c2dc0d40f3e7709b9682.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.3.ebuild X-VCS-Directories: dev-ruby/httpclient/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 74446bd903489bb36b48c2dc0d40f3e7709b9682 X-VCS-Branch: master Date: Tue, 13 Dec 2016 06:53:28 +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: cead6ad3-ded2-4a06-838a-7480ef2c90bd X-Archives-Hash: 30bf147a00fc12020422c1c9d797a986 commit: 74446bd903489bb36b48c2dc0d40f3e7709b9682 Author: Hans de Graaff gentoo org> AuthorDate: Tue Dec 13 06:42:37 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Dec 13 06:42:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74446bd9 dev-ruby/httpclient: add 2.8.3 Package-Manager: portage-2.3.0 dev-ruby/httpclient/Manifest | 1 + dev-ruby/httpclient/httpclient-2.8.3.ebuild | 62 +++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-ruby/httpclient/Manifest b/dev-ruby/httpclient/Manifest index 84c4aed..d1931a8 100644 --- a/dev-ruby/httpclient/Manifest +++ b/dev-ruby/httpclient/Manifest @@ -1,2 +1,3 @@ DIST httpclient-2.7.1.tgz 457036 SHA256 d176c5177745d60434a05c3d85497f9a56c725aa6f9ee98ac14349f9ffe05cfc SHA512 960770fe351a82e4008ca706bc0f1c7ba255b67dcbcc2984b1f76b78bdb9236b799dbd81c98d706a6a3755677b8d11fe7d7dd5b3af6afaaf901d70d999a09ea2 WHIRLPOOL d6c70683f702c2b749d56ff011beb24e8b4d77acab6f587986e44ecd6a3c6ac73059b4080715b97b750d773c1c13bf4abcb91a0748087e233b0509b2592daa1d DIST httpclient-2.8.2.4.tgz 462907 SHA256 82c4a08d35f905a3031cdbdaaf838303cd90aaec7edfa12247c0f649c0dba397 SHA512 c225f302e6bd1f08fc089c202d4d870999ae9ef4bf1df416fb7f06b1732f50b9a7c69a5b73f1ee2f963665d5d436c243830555f8d42c60ac536abbae72b693a5 WHIRLPOOL 732c1c2ad18d47e0c424fc5922ab919f98e0df2e1f369ca43b212334f64944428caaafdaaee9b4f6e6952833282268d818f61211158579407074538faf7415cf +DIST httpclient-2.8.3.tgz 464624 SHA256 647f054736dbe5357eeb722e837b6e30d7ed60939302145cd6099eca3ab8810b SHA512 b65b5adb97af069d7ff6b6f4cccd6a42c6d9c88b797e9495768fe1f36a6bd93defe50190edc201de5e39c4e306ba0bd17a8ff2f8eba4d636dacafa06c172967d WHIRLPOOL 63a290d7cca6389eb3d947aa4245b8c88c53020c2afd6695fcdf74e0e4119986f235a3c02c19855772f7cf2dd977329e54cf062a6640b51eb01bf5fc5a3fea48 diff --git a/dev-ruby/httpclient/httpclient-2.8.3.ebuild b/dev-ruby/httpclient/httpclient-2.8.3.ebuild new file mode 100644 index 00000000..940c845 --- /dev/null +++ b/dev-ruby/httpclient/httpclient-2.8.3.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="~alpha ~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 +}